tomcat 5.5.28 能打开localhost:8080但是无法打开examples jsp-examples

来源:百度知道 编辑:UC知道 时间:2024/06/02 02:44:05
安装tomcat 5.5.28
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-9-22 10:19:54 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 421 ms
2009-9-22 10:19:54 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-9-22 10:19:54 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.28
2009-9-22 10:19:54 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2009-9-22 10:19:55 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-9-22 10:19:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-9-22 10:19:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/16 config=null
2009-9-22 10:19:55 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2009-9-22

默认的安装时要选中之后才有那些例子的。你可能在安装的时候没有选择

对以后的jsp文件是没有影响的。

解决的方法是看看你的webapp 下面有没有example ,如果有的话,访问路径
localhost:8080/Examples/examples.jsp

没有的话去官网上下载。

如果是直接的exe文件安装包,注意安装时候的选项。选上应该就好了。

你去webapp文件夹下看有没有examples这个文件夹,没有的话说明没装全

通过你的信息看一看出Examples你的这个东西都没有加载进去卅,你看一下你的tomcat种有没有放入Examples这个文件夹,还有在写路径时要加上Examples。。。。localhost:8080/Examples...如果你没设定欢迎页的话,还要写上你的页面名称。。。。localhost:8080/Examples/examples.jsp

这种 又没事啊,安装时候全选 就可以了,那只不过是一个例子