D.J.,
Perhaps you should try it yourself. It works for me.
If the html:submit tag is used, and the property
attribute is specified, then that property is
available in the action class as
request.getParameter("the_submit_button_property_name");

I don't see any code that wraps HttpServletRequest.

-Richard


--- Dakota Jack <[EMAIL PROTECTED]> wrote:

> Actually this won't work either.  The problem is
> that the request
> object has been purloined and given another wrapper
> name.  You might
> want to look at the code before giving these ideas.
> 
> On 10/10/05, Richard Yee <[EMAIL PROTECTED]> wrote:
> > Try getParameter() instead of getAttribute().
> >
> > -Richard
> >
> >
> > C.F. Scheidecker Antunes wrote:
> > > Hello all,
> > >
> > > I have two submit buttons, one with a value of
> Continue and the other
> > > Back.
> > >
> > > How do I check their values?
> > >
> > > I've tried
> request.getAttribute("submit").toString() but I do
> not get
> > > anything.
> > >
> > > My buttons are like this:
> > >
> > > <html:submit value="back">back</html:submit>
> > > <html:submit
> value="continue">continue</html:submit>
> > >
> > > They are within the same form structure.
> > >
> > > My action has already a Session Bean scope to
> save the form contents.
> > > But the submit is not
> > > in that DynaBean.
> > >
> > > I will decide on what to do within the action
> based on what button is
> > > pressed.
> > >
> > > Thanks,
> > > C.F.
> > >
> > >
>
---------------------------------------------------------------------
> > > 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]
> >
> >
> 
> 
> --
> "You can lead a horse to water but you cannot make
> it float on its back."
> ~Dakota Jack~
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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

Reply via email to