wood burning stoves 2.0*
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
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP unable to find Struts2 action
 
Similar Threads
using modules with JSPs behind web-inf
File Upload Question
How to invoke a web page on logout action
html:link tag usage
Please help for Context root