错误提示是这样:
HTTP Status 404 - /struts/Login--------------------------------------------------------------------------------type Status reportmessage /struts/Logindescription The requested resource (/struts/Login) is not available.
--------------------------------------------------------------------------------Apache Tomcat/6.0.10

解决方案 »

  1.   

    你的URL请求应该为/Login 而不是 /struts/Login吧
      

  2.   

    <form id="form1" name="form1" method="post" action="Login">
    应该是action="Login.do"吧?
      

  3.   

    改成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)
      

  4.   

    <form id="form1" name="form1" method="post" action="/Login.do">应该就可以 了。
      

  5.   

    你在web.xml中少了
    <init-param>
          <param-name>application</param-name>
          <param-value>resources.application</param-value>
        </init-param>
    这个appliation是资源文件名!
    加上去!
      

  6.   

    上面的resources是放application.resources的文件夹!放在classes里面的
      

  7.   

    错了,是application.properties呵呵
    这个文件名可以改成你的