aspose file tools*
The moose likes Struts and the fly likes JSP unable to find Struts2 action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSP unable to find Struts2 action" Watch "JSP unable to find Struts2 action" New topic
Author

JSP unable to find Struts2 action

Abhilash Chander
Ranch Hand

Joined: Oct 18, 2009
Posts: 39
Hi All,

I use resin 3.0.25 web server for my application. Earlier application's context path was "/myApp". But now I have deployed it as ROOT, So I changed the context path to "". I have an index.jsp which is the welcome page of the application and it does nothing except for redirecting to my struts 2 action. When the context path was "myApp" everything was fine but now that I have changed it to "", index.jsp page gets called but redirection fails as application is unable to find struts 2 action and throws an HTTP 404 not found error. Please help

Thanks
Abhay
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

But... how can we help without seeing the code that's doing the redirect?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP unable to find Struts2 action