错误提示是这样:
HTTP Status 404 - /struts/Login--------------------------------------------------------------------------------type Status reportmessage /struts/Logindescription The requested resource (/struts/Login) is not available.
--------------------------------------------------------------------------------Apache Tomcat/6.0.10
HTTP Status 404 - /struts/Login--------------------------------------------------------------------------------type Status reportmessage /struts/Logindescription The requested resource (/struts/Login) is not available.
--------------------------------------------------------------------------------Apache Tomcat/6.0.10
应该是action="Login.do"吧?
type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
java.lang.Thread.run(Unknown Source)
<init-param>
<param-name>application</param-name>
<param-value>resources.application</param-value>
</init-param>
这个appliation是资源文件名!
加上去!
这个文件名可以改成你的