Pass n paramters to action (struts 1.1)

  • Thread starter Thomas Felber via JavaKB.com
  • Start date
T

Thomas Felber via JavaKB.com

Hey everone,

i'd like to pass n (>1) paramters to my action.

With one i can do it with:
<html:link action="editBugPreAction" paramId="bugid" paramName="bug" paramProperty="details.bugid">
...
</html:link>

A manuel getPath and path.add does not work because i need Struts to rewrite my URL in case the client does not support cookies. (jessionid is added by struts to the url)

Who can help?

Cheers,

Thomas
 
R

Ryan Stewart

Thomas Felber via JavaKB.com said:
Hey everone,

i'd like to pass n (>1) paramters to my action.

With one i can do it with:
<html:link action="editBugPreAction" paramId="bugid" paramName="bug"
paramProperty="details.bugid">
...
</html:link>

A manuel getPath and path.add does not work because i need Struts to rewrite
my URL in case the client does not support cookies. (jessionid is added by
struts to the url)

Who can help?

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top