如何用一个servlet做一个网站的默认页面 可以详细说说吗,这个filter是servlet吗,在apache的httpd.conf里面写默认页面写什么? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 index.jsp<% response.sendRedirect("/servlet");%>或者用forward标签 在web.xml中配置,将<welcome-file-list> <welcome-file>/index.jsp</welcome-file> </welcome-file-list>的index.jsp该成你想做默认首页的servlet,不过注意要在web.xml中配置好servelt. 编程题 求一个SQL语句 Tomcat administration在日志中报错 web service发布是报错,请高手帮帮忙 如何配置JFreeChart Oracle的连接池能开多少大? 在hibernate中一对多操作出现问题. 关于容器内对象之间的访问 上海做java的朋友进来留下qq多多交流 JAVA,给SSH每一框架的练习题(初学者) 请大家推荐好的奸莫工具 rose还是together 谁有lomboz.21
<%
response.sendRedirect("/servlet");
%>
或者用forward标签
将
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
的index.jsp该成你想做默认首页的servlet,不过注意要在web.xml中配置好servelt.