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
[B]Question asked by visitor Sridhar[/b]
Printable View
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
[B]Question asked by visitor Sridhar[/b]
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.
<jsp:Forward tag to forward to another resources.
for that perpose use DispatchAction
Hi,
What DeepthiAgarwal said is right.But make modifications accordingly in [B]struts-config.xml, not in web.xml[/B]