Hi Nuwan', +1 for multiple forwards... And, as I can remember this is possible only if we use a Dispatch Base Action..is'nt that?
Regards, Mano -----Original Message----- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 3:52 PM To: Struts Users Mailing List Subject: Re: Forwarding to Different JSP Hi, Having your forwards configured in the struts-config.xml is good for maintenace, if you need to change a forwad its just a matter of chaning the .xml, hard codeing the forwards in action class is not good when you have configuareable framework like struts. for my understanding i would have 10 forwards in my struts-config.xml Regards, Nuwan. ----- Original Message ----- From: "Mano Chinthaka Dasanayaka" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <user@struts.apache.org> Sent: Tuesday, November 21, 2006 6:33 AM Subject: RE: Forwarding to Different JSP Hi, Yes I also had this type of a scenario to cover. I also used the same way as you have mentioned. I used multiple forwards in the config file so that based on the forward user is directed to the relevant page. But if your pages are very much similar you can hide several controls .. Regards, mano -----Original Message----- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Monday, November 20, 2006 3:55 PM To: Struts Users Mailing List Subject: Forwarding to Different JSP Hi I have requirement like this. I have a pop up JSP,where I need to open 10 different JSPs based on user profile. And I am using common method called popUpAction in my Struts Action. In this method,now based on user I need to foward to different JSP, one way is to use 10 forwards for each JSPs.(which I am currently using) I am looking whether we have any other logic to do the same. -- Thanks and Regards Hanmayya Udgiri --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]