« Return to Thread: Can you set parameters in using in the tag body?

Can you set parameters in <s:submit> using <s:param> in the tag body?

by edwin dela rosa :: Rate this Message:

Reply to Author | View in Thread

Hi,

I was trying to use the <s:submit> and invoke it with *some *parameters
using <s:param>.

i.e.,

*<s:submit ...>
  <s:param ../>
  <s:param ../>
  <s:param ../>
</submit>*

However, the parameters don't seem to be getting through to the
HttpServletRequest object
when interrogated inside the Action.

I know I can use the <s:url> instead, but I preferred the <s:submit>.

I'm implementing ServletRequestAware interface, by the way.

Thanks.

--
Eduardo Dela Rosa

 « Return to Thread: Can you set parameters in using in the tag body?