struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Dela Rosa" <eduardo.delar...@gmail.com>
Subject Can you set parameters in <s:submit> using <s:param> in the tag body?
Date Thu, 08 May 2008 02:17:10 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message