This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP unable to find Struts2 action
 
Similar Threads
File Upload Question
html:link tag usage
Please help for Context root
How to invoke a web page on logout action
using modules with JSPs behind web-inf