I'm trying to create an index with an action mapped to it for a
subfolder in my webapp. The ideea was to create a index.jsp file that has:
jsp:forward page=/myapp/subfolder/welcome.action/
so it redirects me to a mapped action. The problem is that even though
the url is correct, i get a
The
If you are trying to truly redirect then the below line is your problem. It
is trying to forward not redirect.
jsp:forward page=/myapp/subfolder/welcome.action/
Use:
%
String redirectAction = /myapp/subfolder/welcome.action;
response.sendRedirect(redirectAction);
%
On 9/19/07, Eugen
Thanks,
I added
dispatcherREQUEST/dispatcher
dispatcherREDIRECT/dispatcher
in my web.xml file for filter-mapping. Which made perfect sense right
after i read it.
Cory D. Wiles wrote:
If you are trying to truly redirect then the below line is your problem. It
is trying to forward not
3 matches
Mail list logo