当前页面: 开发资料首页 → JSP 专题 → tomcat的问题
tomcat的问题
摘要: tomcat的问题
server.xml内容如下
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
在jspweb中有index.htm
http://127.0.0.1:8080/
为什么出The page cannot be found的问题?
谢谢各位
使用默认的设置试试行不行?
直接在默认的server.xml中的标记前面加上上面的语句就可以了;默认的首页就是你自己的jsp文件
appBase="d:/JSPWEB应该加到context的属性中,host.addChild(context), 是的子元素.