问题描述
今天到新公司上班,拿了一份jsp网站,配置好java运行环境.运行任何jsp网站都没出错,可就是我拿到这份jsp程序怎么都不行.现在把web.xml文件代码发出来给大家看下,高手帮我看看怎么搞.小弟4年没摸java了.实在搞不到了.崩溃的底部了.<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEweb-appPUBLIC"-//SunMicrosystems,Inc.//DTDWebApplication2.3//EN""http://java.sun.com/dtd/web-app_2_3.dtd"><web-app><display-name>Shane</display-name><description>ShaneProjectFrame</description><distributable/><!--========================================================================ContextParams=========================================================================--><!--Acegiconfig--><context-param><param-name>contextConfigLocation</param-name><param-value>/WEB-INF/security.xml,/WEB-INF/services.xml,/WEB-INF/dispatcher-servlet.xml</param-value></context-param><!--log4jconfig--><context-param><param-name>log4jConfigLocation</param-name><param-value>/WEB-INF/log4j.properties</param-value></context-param><!--========================================================================Filters=========================================================================--><!--<filter><filter-name>performanceFilter</filter-name><filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class><init-param><param-name>targetClass</param-name><param-value>com.shaneall.web.filter.PerformanceFilter</param-value></init-param></filter>--><filter><filter-name>encodingFilter</filter-name><filter-class>com.shaneall.web.filter.EncodingFilter</filter-class><init-param><param-name>encoding</param-name><param-value>UTF-8</param-value></init-param></filter><filter><filter-name>forbiddenFilter</filter-name><filter-class>com.shaneall.web.filter.ForbiddenFilter</filter-class></filter><filter><filter-name>expiresFilter</filter-name><filter-class>com.shaneall.web.filter.ExpiresFilter</filter-class><init-param><param-name>.css</param-name><param-value>3600</param-value></init-param><init-param><param-name>.jpg</param-name><param-value>3600</param-value></init-param><init-param><param-name>.gif</param-name><param-value>3600</param-value></init-param><init-param><param-name>.js</param-name><param-value>3600</param-value></init-param></filter><filter><filter-name>memoryCacheFilter</filter-name><filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class><init-param><param-name>targetClass</param-name><param-value>com.shaneall.web.filter.MemoryCacheFilter</param-value></init-param></filter><filter><filter-name>fileCacheFilter</filter-name><filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class><init-param><param-name>targetClass</param-name><param-value>com.shaneall.web.filter.FileCacheFilter</param-value></init-param></filter><filter><filter-name>acegiFilterChain</filter-name><filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class><init-param><param-name>targetClass</param-name><param-value>org.acegisecurity.util.FilterChainProxy</param-value></init-param></filter><!--<filter-mapping><filter-name>performanceFilter</filter-name><url-pattern>*.shane</url-pattern><dispatcher>REQUEST</dispatcher></filter-mapping>--><filter-mapping><filter-name>encodingFilter</filter-name><url-pattern>*.shane</url-pattern><dispatcher>REQUEST</dispatcher></filter-mapping><filter-mapping><filter-name>forbiddenFilter</filter-name><url-pattern>*.htm</url-pattern><dispatcher>REQUEST</dispatcher></filter-mapping><filter-mapping><filter-name>expiresFilter</filter-name><url-pattern>*.css</url-pattern></filter-mapping><filter-mapping><filter-name>expiresFilter</filter-name><url-pattern>*.jpg</url-pattern></filter-mapping><filter-mapping><filter-name>expiresFilter</filter-name><url-pattern>*.gif</url-pattern></filter-mapping><filter-mapping><filter-name>expiresFilter</filter-name><url-pattern>*.png</url-pattern></filter-mapping><filter-mapping><filter-name>expiresFilter</filter-name><url-pattern>*.js</url-pattern></filter-mapping><filter-mapping><filter-name>memoryCacheFilter</filter-name><url-pattern>*.shane</url-pattern></filter-mapping><filter-mapping><filter-name>fileCacheFilter</filter-name><url-pattern>*.shane</url-pattern></filter-mapping><filter-mapping><filter-name>acegiFilterChain</filter-name><url-pattern>*.shane</url-pattern></filter-mapping><!--========================================================================Listeners=========================================================================--><listener><listener-class>org.springframework.web.util.Log4jConfigListener</listener-class></listener><listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener><!--========================================================================Servlets=========================================================================--><servlet><servlet-name>dispatcher</servlet-name><servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class><load-on-startup>0</load-on-startup></servlet><servlet-mapping><servlet-name>dispatcher</servlet-name><url-pattern>*.shane</url-pattern></servlet-mapping><servlet><servlet-name>ValidateCodeServlet</servlet-name><servlet-class>com.shaneall.web.ValidateCodeServlet</servlet-class><init-param><param-name>width</param-name><param-value>80</param-value></init-param><init-param><param-name>height</param-name><param-value>24</param-value></init-param><init-param><param-name>codeCount</param-name><param-value>4</param-value></init-param></servlet><servlet-mapping><servlet-name>ValidateCodeServlet</servlet-name><url-pattern>/validateCodeServlet.shane</url-pattern></servlet-mapping><!--========================================================================Session=========================================================================--><session-config><session-timeout>30</session-timeout></session-config><welcome-file-list><welcome-file>welcome.jsp</welcome-file></welcome-file-list><!--Uncommentthisifusingwebserver'sJNDI-DataSource<resource-ref><description>Container-managedDataSource</description><res-ref-name>java:comp/env/jdbc/bookstore</res-ref-name><res-type>javax.sql.DataSource</res-type><res-auth>Container</res-auth></resource-ref>--></web-app>
解决方案
解决方案二:
源代码没有,只有封装好的程序.现在求解了.急!!!!!!!!!!!!!!!
解决方案三:
运行环境JDK1.6+TOMCAT6.0.18+MYSQL5.1.40
解决方案四:
没有人帮忙解答吗>???