File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Multiple parameters in html:link tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple parameters in html:link tag" Watch "Multiple parameters in html:link tag" New topic

Multiple parameters in html:link tag

Pankaj Narang
Ranch Hand

Joined: Jun 07, 2004
Posts: 81
Hi all

I have a problem,in passing multiple parameters in html:link tag.

Let me explain the scenario

I have three links in my jsp called Active,Inactive and Review with all these links i am passing a id which is commomn to all three and ia a bean property , i want to pass a character "a" with Active , "I" with inactive and "R" with review link.

I am using only the taglibs so plz. do not sugest me to write scriplets in my jsp code , I am avoiding to write scriplets in Jsp code.

Thanks In advance

Best Regards
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
You should read the struts documentation for html:link -- it tells you which properties to use to include multiple parameters in the rendered link.

Pankaj Narang
Ranch Hand

Joined: Jun 07, 2004
Posts: 81
Thanks , can u give me the link for struts documetation
I agree. Here's the link:
subject: Multiple parameters in html:link tag
It's not a secret anymore!