Error while running an application (Struts1)
HTTP Statu开发者_C百科s 404 - /login.do
type Status report
message /login.do
description The requested resource (/login.do) is not available.
Apache Tomcat/6.0.28
What may be the possible cause?
HTTP 404 is the generic "file not found" error. Is this Tomcat 6? Maybe try running your app with higher privileges? Do you also have log4j? Any tracing in place? Maybe that info could help you find out what is wrong.
Couple of issues:
- Have you configured your Struts ActionServlet in
web.xml
correctly? - If 1 is yes, have you configured your LoginAction to your
<action>
instruts-config.xml
? - If 2 is yes, what is the error found in Tomcat error log (found in
TOMCAT_HOME/logs
)
Besides that, I can't really help you.
精彩评论