wood burning stoves 2.0*
The moose likes Struts and the fly likes query string in html:link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 4445
    
    5

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]
 
Consider Paul's rocket mass heater.
 
subject: query string in html:link
 
Similar Threads
Struts and Hibernate how to display in jsp file
html:link tag using chinese parameters
Getting Value From html:Link
request parameter set in html:link showing the classname instead of value
use html:link pass two param