tomcat首页显示问题 tomcat和jdk的环境变量设置了没有 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 jdk的环境变量设置了tomcat的还没有呢 还要添加<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file></welcome-file-list> 禁用文件服务,是在哪里禁用的?这段话添在 哪里? tomcat的配置文件 server.xml里吗? 1。在tomcat安装目录下的conf文件夹里找到web.xml,然后找到下面的内容:<servlet> <servlet-name>default</servlet-name> <servlet-class> org.apache.catalina.servlets.DefaultServlet </servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet>将listings改成false,这样就不会把文件目录列出来了;2。在你的应用的web-inf目录下的web.xml文件中指明<welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file></welcome-file-list>这样你的欢迎界面就会改成你自己定义的页面了 想在网站内嵌一个发送短信的功能,请问大侠们,如何实现? mysql数据库问题 求关注 Linux下如何定位JAVA进程直接内存的泄漏及top和jmap查看内存的关系 关于web数据实时更新的问题 如何在J2EE服务器端调用远程dll?并向远程传递参数? javamail发送大量邮件是发生错误 llegalStateException 错误 struts-config--> forward--> redirect 一个很简单的问题,急用! 关于proxool使用的问题(来者有分)!! 如何用lomboz生成主键类?
tomcat的还没有呢
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>
org.apache.catalina.servlets.DefaultServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
将listings改成false,这样就不会把文件目录列出来了;2。在你的应用的web-inf目录下的web.xml文件中指明
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
这样你的欢迎界面就会改成你自己定义的页面了