[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

Re: action mappings help

2007-08-17 Thread Eugen Stoianovici
Laurie Harper wrote: Eugen Stoianovici wrote: I'm using struts 2.0.9. Where do i read about action mappings and how to configure them? In the Struts2 documentation of course ;-) These pointers may help: http://struts.apache.org/2.x/docs/action-configuration.html

action mappings help

2007-08-16 Thread Eugen Stoianovici
I'm using struts 2.0.9. Where do i read about action mappings and how to configure them? Is there any detailed documentation? Right now i'm doing something like this...but i don't really know why i need the result name=input tag and couldn't find any info about it on my own: action

Re: action mappings help

2007-08-16 Thread Laurie Harper
Eugen Stoianovici wrote: I'm using struts 2.0.9. Where do i read about action mappings and how to configure them? In the Struts2 documentation of course ;-) These pointers may help: http://struts.apache.org/2.x/docs/action-configuration.html http://struts.apache.org/2.x/docs/result-types.html