You will need to extend the html:link functionality by writing your own custom taglib that accepts a collection or map of some sort. Allowing it to iterate and append your name=value pairs to the end of the link.
This is actually quite easy to do. JM > -----Original Message----- > From: siraj [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 21, 2000 12:35 AM > To: Struts Users Mailing List > Subject: Re: how do i pass multiple parameters > > > thanx mark . but i have to use a hyperlink there , infact i am using > multiple hyperlink where in for each hyperlink the parameter i am > passing is > diffrent its a dynamic value. > > Siraj > > ----- Original Message ----- > From: Galbreath, Mark <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Sent: Monday, May 20, 2002 7:24 PM > Subject: RE: how do i pass multiple parameters > > > > Don't use <html:link>. Use <html:form action="index" method="post">. > > Submit will pass all the values as a hashmap and you can > retrieve them by > > simply calling the getParameter() method of the request object. > > Alternatively, if you are using an ActionForm (and you should be), the > form > > object passed to your Action class will contain all the values > and can be > > retrieved by instantiating the form like > > > > MyActionForm myBean = (MyActionForm) form; > > String value = myBean.getValue(); > > String value1 = myBean.getValue1(); > > > > etc. > > > > Mark > > > > -----Original Message----- > > From: siraj [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, May 20, 2000 6:34 AM > > > > hello team , > > > > can some one help in passing multiple parameters with a html link > > > > i have a link > > > > index.do where i need to pass around 10 parameters which have dynamic > > values > > sy > > > > index.do?value=leve1?value1=xyz?value2=4............ > > > > any how i used > > > > <html:link page="index.do" paramid="value" pramName="xyz" > > parampropery="value"> which allows me to pass only one parameter > > > > i would highly appreciate for the help thanks in advance > > > > Siraj > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>