----- Original Message ----- From: "Dirk Markert" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 10:36 AM Subject: Re: <html:link /> - add parameters
> Hello Alen, > > > > *************************************************************** > > AR> Hi all > > AR> I see that when using <html:link /> tag I can add parameters to be passed on > AR> to the destination / action too. > AR> So far I only needed a single parameter "id" but now I need one more. > AR> I see that one can use java.util.Map to pass a list of parameters via a > AR> link. > AR> The thing is how and where do I populate this Map. > > You populate your map in the action forwarding to your jsp. If you > call your jsp directly without an action, you should consider using an > action. thanks for your feedback. I thought my action mapping was just redirecting to a view, but it's not true. I do take a trip through action method to collect some info. So populating the map and adding it to the list of attributes in action method will probably work for me. --Alen > > AR> The link I click on just basically goes through a action mapping that > AR> redirects to a desired jsp page. > > AR> Could someone show me a snippet regarding this please. > > AR> Thanks > AR> --Alen > > > AR> --------------------------------------------------------------------- > AR> To unsubscribe, e-mail: [EMAIL PROTECTED] > AR> For additional commands, e-mail: [EMAIL PROTECTED] > > > > Regards, > Dirk > > +------- Quality leads ---------------------------------------+ > | Dirk Markert [EMAIL PROTECTED] | > | Dr. Markert Softwaretechnik AG | > | Joseph-von-Fraunhofer-Str. 20 | > | 44227 Dortmund | > +---------------------------------->>>>>>> to success! <<<<<<-+ > > > --------------------------------------------------------------------- > 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]

