1. clicked next button on a jsp page 2. it's action is called 3. forward is set as "next". 4. The Action for the next page is called 5. it's forward is set as "success" 6. jsp of next page is called
what actually happens
1. clicked next button on a jsp page. 2. it's action, Action1 is called. 3. forward is set as "next". 4. The action for the next page, Action2 is called. 5. forward is set as "success". 6. Action1 is called. 7. forward is set as "success" 8. the same page is displayed, instead of next page.
"success" is mapped to a jsp page in struts-config.xml. But even after setting the forward to "success", how in the world an Action file (*.do) is called. I have debugged the code in jboss eclipse, and i tracked the series of events. Even RequestProcessor's 'name' is set as "success" and 'path' has been set to a jsp file, but how the Action file being called is...i couldn't figure out.