社区
Web 开发
帖子详情
JSP中调用SERLET出现 description The requested resource (/SUB) is not available
xiehongtao
2006-02-27 05:14:05
JSP中有<form action="/SUB" method="post">
<input type="submit" name="OK" value="确定">
1,JSP和SERLET在一个目录中
但点击确定铵钮出现不能调用SERLVET
2.JBUILDER中JSP文件和SERLET文件默认不是在同一个目录中,这是为什么?
...全文
63
7
打赏
收藏
JSP中调用SERLET出现 description The requested resource (/SUB) is not available
JSP中有 1,JSP和SERLET在一个目录中 但点击确定铵钮出现不能调用SERLVET 2.JBUILDER中JSP文件和SERLET文件默认不是在同一个目录中,这是为什么?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ad1227
2006-02-28
打赏
举报
回复
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
<!-- JSPC servlet mappings start -->
<servlet>
<servlet-name>ViewServlet</servlet-name>
<servlet-class>servlet.ViewServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ViewServlet</servlet-name>
<url-pattern>/ViewServlet</url-pattern>
</servlet-mapping>
<!-- JSPC servlet mappings end -->
<!-- JSPC filter mappings start -->
<!-- JSPC filter mappings end -->
<!-- JSPC mysql-connection-pool start -->
<resource-ref>
<description>MySqlDBCP Connection</description>
<res-ref-name>jdbc/history</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<!-- JSPC mysql-connection-pool end-->
<!-- JSTL start-->
<!-- JSTL end-->
</web-app>
xiehongtao
2006-02-28
打赏
举报
回复
infowain(infowain)
如何配置呢???,谢谢大家帮助!
infowain
2006-02-28
打赏
举报
回复
servlet还需要在web.xml里面进行配置
xiehongtao
2006-02-27
打赏
举报
回复
servlet放在web-inf/classes不行哪,
dlxu
2006-02-27
打赏
举报
回复
你的Servlet有没有在Web.xml中配置,你的Servlet class有没有放到WEB-INF/classes目录下?
zorro09
2006-02-27
打赏
举报
回复
配置有问题,看看配置吧~。找本书看看
infowain
2006-02-27
打赏
举报
回复
SERLET是什么,servlet吗,应该把编译好的class文件放在web-inf/classes目录里面
Apache Tomcat 5.5 Servlet/
JSP
容器
怎样配制集群/Sess
ion
复制 print-friendlyvers
ion
快速入门 要在Tomcat 5.5容器里进行sess
ion
复制,必须完成下列步骤: 你的所有会话属性值必须实现java.io.Serializable 把server.xml文件里的群集(Cluster)元素的注释取消(Uncomment) 把server.xml文件里的V...
SpringMVC官方文档翻译
中
英文对照
Web on Servlet Stack Vers
ion
5.2.3.RELEASE This part of the documentat
ion
covers support for Servlet-stack web applicat
ion
s built on the Servlet API and deploy
ed
to Servlet containers. Individual ch...
Spring:核心技术——IoC容器
说明:本文翻译自Spring官方文档Core Technologies — 核心技术 (spring.io)。This part of the reference documentat
ion
covers all the technologies that are absolutely integral to the Spring Framework. 参考文档的这一部分涵盖了Spring框架
中
不可或缺的所有技术。Foremost amongst these is the Spring Framework’
Tomcat 源码解析一初识
从宏观上分析了Tomcat 的初始化,启动。
Apache Tomcat Configurat
ion
Reference
http://www.jaxmao.org/tomcat-docs/config/index.html 概 述 print-friendly vers
ion
Overview 这个手册包括可能被包括在conf/server.xml文件里来配置Tomcat 5 Servlet/
JSP
容器行为的所有配置指令的参考信息。这里
Web 开发
81,092
社区成员
341,716
社区内容
发帖
与我相关
我的任务
Web 开发
Java Web 开发
复制链接
扫一扫
分享
社区描述
Java Web 开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章