问两天了没人能解决的问题? http://localhost:8080是从webapps下的root下开始找的吧。如果要从webapps下开始是不是要配置web.xml和server.xml文件吧。我jsp做了不久,就知道这些了。不好意思 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在tomcat的安装目录下的conf目录中需要修改server.xml中一个定位web目录的内容 <!-- Tomcat Examples Context --> <Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">把上面的一些内容改成你需要指定的目录试试看吧。 1.如果 http://localhost:8080/libin/test.jsp 就只能把libin目录放在ROOT目录下!2.如果webapps下建了一个自已的目录(libin) 就改tomcat的安装目录下的conf目录中的server.xml <!-- Tomcat Examples Context --> <Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">把上面的一些内容改成你需要指定的目录试试看吧。 帮忙:hibernate连接sql server数据库用windows身份登录要怎样写? struts,spring的几个初级问题 request的setAttribute() 求救 关于 JSP 的问题 jsp中使用bean查询数据出现问题,求帮忙 JSP写Sybase数据库不能保存怎么解决???? 翻译英语 jsp页面中include另一个jsp文件能不能带参数呀? 插入oracle数据库问题。 对Servlet中的ServletContext一个疑问,求解释! 小问题----- 字符串处理函数!
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
把上面的一些内容改成你需要指定的目录试试看吧。
2.如果webapps下建了一个自已的目录(libin) 就改tomcat的安装目录下的conf目录中的server.xml
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
把上面的一些内容改成你需要指定的目录试试看吧。