-
single action to forward to different multiple JSP pages
Is there any possibility to on single action to forward to different multiple jsp pages.
Example:
When i click on login button in a.jsp i would like to go b.jsp, c.jsp, d.jsp
Question asked by visitor Sridhar
-
Junior Member
Re: single action to forward to different multiple JSP pages
When we submit any request it goes Action servlet if ur action servlet comprise of different taskaction thn u can return different values for Action forward object. Accordingly you can change the path to different jsp in web.xml.
-
Junior Member
Re: single action to forward to different multiple JSP pages
-
Junior Member
Re: single action to forward to different multiple JSP pages
for that perpose use DispatchAction
-
Junior Member
Re: single action to forward to different multiple JSP pages
Hi,
What DeepthiAgarwal said is right.But make modifications accordingly in struts-config.xml, not in web.xml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules