srinivasa varanasi wrote:
Hi
I have werid problem, I have downloaded a sample application of struts 2 from net and when i try to run it it gives me 404 error ,I have chked all the jars ever thing is fine and when I comment filter part in web.xml I am able to dispay welcome page ,and if i uncomment it same 404 error,

and also I have enclsoed my application pls find the attcahment I am using tomcat 5.5.23
and java 1.5

even I tried in tomcat 6 but same 404 , I feel Iam missing out some thing
A 404 is usually a major configuration error. First read your tomcat logs to see if any errors occurred. It's quite common to see "SEVERE: filter start" or "SEVERE: listener start" which means a filter or listener in web.xml couldn't start. It's also possible that it just couldn't deploy the webapp (common on Windows due to file locks).

A SEVERE: filter start and 404 implies the struts filter couldn't start. My experience of the two most contributing factors are:
 - not all the necessary jars are included in your deployment; or
- the tomcat security manager is enabled (but not configured to enable the filter to do its work)

If you confirm its a filter start error, you can investigate those two options, or increase your tomcat logging to obtain more information.

This information is applicable to any servlet/filter/listener. It's a good idea to get familiar with common tomcat errors and logging.

Hope that helps.
Jeromy Evans

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to