Wednesday, February 16, 2011

HTTP Status 404 - There is no Action mapped for namespace / and action name

When u run the project from apache tomcat server alone if that shows
"HTTP Status 404 - There is no Action mapped for namespace / and action name  xxxx"
error means, You just ensure if classes folder in WEB-INF is exist.If not means copy the bin folder and paste in WEB-INF rename as classes.

Then restart the server now check it will work....

Because :
    We are generally not create classes folder under the WEB-INF folder when the project configure in eclipse. Mostly eclipse  take the bin as a default class path, But Tomcat only know class path as (WEB-INF --> classes) so that shows error....