This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes query string in html:link Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "query string in html:link" Watch "query string in html:link" New topic
Author

query string in html:link

Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
Hi all,
I want to pass a bean property value as query string in html:link action tag.How to do that?
i need exactly something like this
<html:link action="/Display?<bean:write name="XXX" property="xxx"/>">display data</html:link>
Thanks
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4118
    
    2

You can't nest tags the way you are trying to do. Check out the name, property, paramID, paramName, paramProperty, and paramScope attributes for the link tag.
See the descriptions of these attributes here: http://jakarta.apache.org/struts/userGuide/struts-html.html#link


Junilu - [How to Ask Questions] [How to Answer Questions] [MiH]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: query string in html:link
 
Similar Threads
use html:link pass two param
request parameter set in html:link showing the classname instead of value
Struts and Hibernate how to display in jsp file
html:link tag using chinese parameters
Getting Value From html:Link