tomcat 5.0.16 无法访问 index.jsp 我的怎么都没有问题,你重起tomcat试试看。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你的ROOT\WEB-INF目录下应该有一个web.xml文件,对index.jsp做了map映射<?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>org.apache.jsp.index_jsp</servlet-name> <servlet-class>org.apache.jsp.index_jsp</servlet-class> </servlet> <servlet-mapping> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <url-pattern>/index.jsp</url-pattern> </servlet-mapping><!-- JSPC servlet mappings end --></web-app> 我把 servlet 和 servlet-mapping 注释掉就好了,谁能告诉我这些东西有什么用,该怎样设置? servlet指明你的servlet类,而servlet-mapping指明你要将servlet映射成的访问路径。 JBPM 堆栈溢出,查了2天了,没有结果 jsp中选中表单中的行 如何做四个角都是半圆的框 Struts中关于LookupDispatchAction的问题 在线急等,成功加分,救命呀。。。。。。。。。。。。 该项目如何下手!!! servlet线程安全问题请教 要面试了,大家进来吧 看过struts自带例子struts-example的进来看看? 一个页面向另外一个页面传送参数的问题! 寻求小数点位数的解决方法。 JSP中的表单问题!快帮我看看。。。
<?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>org.apache.jsp.index_jsp</servlet-name>
<servlet-class>org.apache.jsp.index_jsp</servlet-class>
</servlet> <servlet-mapping>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping><!-- JSPC servlet mappings end --></web-app>