Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

s:url and s: question

 
Andy Hahn
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two JSPs, and each contains a hyperlink (using s:url and s:a). The hyperlink in the first JSP has 2 params defined while the second JSP has only 1 defined.

The problem is if I click on the first hyperlink on the first page and get brought to the second page, an extra parameter from the first hyperlink is added to the send hyperlink.

Has anyone seen this before? Thanks.
 
Andy Hahn
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll answer my own question;)

Need to use the following in struts.xml:
<constant name="struts.url.includeParams" value="none"/>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic