Hi:

I have a class called AddUserAction which of course extends Action. In the
perform method what I will do is add a record to a table in a database. The
values I will add I will of course get from the form object the method takes
as one of its parameters.

What I would like to do is that if there is some type of error in this
method, I want to be able to do a mapping.findForward("failure") and at the
same time be able to include some type of error message to the user in the
failure page. My failure page is probably the same form the user filled out,
but the second time around I would like to display the error message.

Any help with this topic is greatly appreciated.

Thanks

**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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

Reply via email to