Are these parameters static?  If they are you could set them up in
struts config and get the submit button to direct to a specific action
mapping with these parameters defined.

Cheers,
Steve


On Thu, May 8, 2008 at 9:24 PM, Jeromy Evans
<[EMAIL PROTECTED]> wrote:
> Eduardo Dela Rosa wrote:
> > 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.
> >
> >
> >
>
> No, that's not supported.  It would have to append the parameters to the
> query string or create post parameters after the specific submit button is
> pressed. That would need to be implemented using a javascript listener
> attached to the click or submit event.  It's a nice idea though.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to