Hi - I'm fairly new to
Struts. I thought I understood the configuration setup, but I guess not.
I have a form that, when submitted, sets the form's action value (based on a user-selected value from the form.) This part seems to work (I can output the form.action value thru Javascript & see the correct value).
Before I started the project, the form forwarded to only one ActionForm. I am giving the form more functionality, and would like to put the new functionality into a different ActionForm class, since the logic is not similar.
I have entered a new forward tag in the global-forwards section, as well as a new action tag in action-mappings section of the struts-config file. I literally copy & pasted the old ones, & copy & pasted the new name in all places that held the old name. This new name is the same (copy & pasted) as the form's action value I mentioned above.
The only way I can get my new ActionForm class to be called is if I revert back to the original configuration and simply replace the old class name with my new one. Other than that, I get nothing - no error, no stack trace, and no page.
I've reverted back to just hard-coding my new action in the
jsp:
Here's the except from the struts-config file:
Not much to go on, but maybe someone can see the error I've made?
Many Thanks!