Hi, have you checked in the mailing-list-archives at:
http://www.mail-archive.com/struts-user@jakarta.apache.org/ Searching for "HashMap" resulted in a list containing a reference to this message: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg19443.html Which seems to do what you want... hope this helps Alexander Jesse -----Original Message----- From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 12:27 PM To: Struts Users Mailing List Subject: Re: URL Rewriting Can anybody please mail me the syntax for sending multiple (3-4) parameters through the <html:link> tag , if possible with some code if using the Map inter face. thanks, Sudhir ----- Original Message ----- From: "Tom Klaasen (TeleRelay)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 18:23 Subject: RE: URL Rewriting <hint> <url> http://jakarta.apache.org/struts/struts-html.html#link </url> <quote> If you prefer to specify a java.util.Map that contains all of the request parameters to be added to the hyperlink, use one of the following techniques: Specify only the name attribute - The named JSP bean (optionally scoped by the value of the scope attribute) must identify a java.util.Map containing the parameters. Specify both name and property attributes - The specified property getter method will be called on the bean identified by the name (and optional scope) attributes, in order to return the java.util.Map containing the parameters. As the Map is processed, the keys are assumed to be the names of query parameters to be appended to the hyperlink. The value associated with each key must be either a String or a String array representing the parameter value(s), or an object whose toString() method will be called. If a String array is specified, more than one value for the same query parameter name will be created. </quote> </hint> hth, tomK > -----Original Message----- > From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 18 december 2001 13:48 > To: Struts Users Mailing List > Subject: URL Rewriting > > > Hi Everybody, > I've just started using struts in my > application, I > have a Overview Screen from which I have to pass 2 request > parameters to the > ActionForward bean, I dont have a Form Bean for this overview screen. > The problem I face is using URL rewiting, when i pass these > parametrs in the > <html:link > tag it gives me an error, and if i use the <a href> tag I > bypass the servlet, Kindly suggest me a method, or the right > syntax for > <html:link>. > The Link I've used in my app is as follows :- > <html:link > page="fee.do?action=Edit&ls_company_name=<%=rs.getString(2)%>& > ls_rate_table= > <%=rs.getString(3)%>"> <%=rs.getString(1)%><html:link> > > > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-> [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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>