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]

Reply via email to