[S2] action mappings help

2007-09-19 Thread Eugen Stoianovici
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

Re: [S2] action mappings help

2007-09-19 Thread Cory D. Wiles
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

Re: [S2] action mappings help

2007-09-19 Thread Eugen Stoianovici
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