aspose file tools*
The moose likes Struts and the fly likes how to use  html:link to pass two different parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to use  html:link to pass two different parameter" Watch "how to use  html:link to pass two different parameter" New topic
Author

how to use html:link to pass two different parameter

charlse li
Greenhorn

Joined: Aug 03, 2004
Posts: 14
i can pass only one parameter with html:link ,,but now i want to pass two different parameters with html:link


thanks
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

According to the Documentation (which is pretty handy btw)


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.



  • GenRocket - Experts at Building Test Data
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: how to use html:link to pass two different parameter