Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Go to Struts Action (include parameter) with a hyperlink, without using <html:link>

 
Phuc Bui
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
Is there anyway else to go to Struts Action (include parameter) with a hyperlink ? Except struts tag <html:link>
By the way, how can I include 2 or more parameters with <html:link> ? If I use <a href="">
I can include many parameters like url?id=123&name=abc for example
Thanks
Phuc Bui
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a plain HTML link if you want, you just need to make sure you include the app context and the Struts action suffix.

The <html:link> tag also accepts the "property" and "name" attributes which will use a map to create the params. See the html:link tag documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic