dcsimg
html:link tag
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Biju_Nair
Posted On:   Wednesday, August 11, 2004 09:30 PM

hi,
I am having a problem while using the html:link tag
it is showing broken link when i am trying to append the the parameter as query string.my code look as below

click
here

how can i solve the problem
thanks
K.Biju

Re: html:link tag

Posted By:   Kofler_Ingo  
Posted On:   Friday, August 13, 2004 01:54 AM

hi!



you have to do it like that.





action is the action as defined in your struts config xml

paramId specifies the name of the parameter you want to add

paramName specifies a bean which is evaluated for the value of the parameter



optionally you can use paramProperty if you want to access a certain property of the bean specified. this solution only works for exactly one parameter. if you want to provide more parameters you have to use a map of name/value pairs.



for further details look at

http://struts.apache.org/userGuide/struts-html.html



hth, ingo

About | Sitemap | Contact