关于response.sendRedirect的问题(在线给分) response.sendRedirect("http://localhost:8080/jspbook/ec");带全文件名试试。或用相对路径。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我在例子的原文件下没看到jspbook文件夹,ec文件夹到有一个,不过里面放的是类jspbook/ec应该指什么? 一个jsp页面。看你想让他显示哪一页了! response.sendRedirect("http://localhost:8080/jspbook/ec");description The requested resource (/jspbook/ec) is not available.你的代码你不知道ec是什么?你没有写后缀,应该指的是servlet.错误原因是没有找到/jspbook/ec --not available jspbook/ec指。jspbook/ec目录下默认的主页,见conf/tomcat-users.xml中的 <welcome-file-list> <welcome-file>logon.jsp</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> </welcome-file-list>没有就不能显示 关于session取值的疑惑 JSP + ACCESS 数据库 读取乱码问题 jsp中读取bean中返回的LinkedList<String[]>问题? 如何让最新发表或回复的文章显示在最前面,正如本站一样 如何在客户端读取excel文件 请高手给提供点意见,急急急!!!! JAVA做下载的问题? 如何在两个frame传递数据? 树形显示,高分求解……………… 急,很急切的一个问题,关于用jsp来写数据库的查询,修改,访问,打印等? 寻找一个oracle驱动!!!!!!!!!!!!急死我了!!!!!!!!!!!! jsp执行后的刷新问题
jspbook/ec应该指什么?
<welcome-file-list>
<welcome-file>logon.jsp</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
没有就不能显示