Abdul Ashik Khan M
Abdul Ashik Khan M

Reputation: 33

In Struts, how do I give a value contained in key to a href

I have a key attribute that holds a value like, "www.google.com". In textbox, the value is being displayed. But how do I make it display as a link in href tag?

Upvotes: 1

Views: 46

Answers (1)

abhijeet prakash
abhijeet prakash

Reputation: 77

Please find below using this you can give value:

<s:url value="x" id="x"> <s:param name="y" value="y" /> </s:url>

Upvotes: 2

Related Questions