On possible solution I &think& could be to specify your "different" page
in the input of the action. When there are errors, ServletController will
forward the user to the destination that u specified by input attribute of
the action. You would have to use the errors tag in your "different" page
to display the errors anyway.


--- Anthony Martin <[EMAIL PROTECTED]> wrote:
> I interpreted two possible questions form your message:
> 
>       1. You want to have a JSP devoted to showing a form and a separate
> JSP devoted to showing the validation errors?
>       2. You want to have a general error page for handling exceptions
> that occur.
> 
> Which one were you asking?  Or was I wildly off base?
> 
> 
> Anthony
> 
> -----Original Message-----
> From: Charlemagne L. Rey [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 12, 2001 10:40 AM
> To: Jakarta Struts Users
> Subject: handling the errors
> 
> 
> hello everyone,
> 
> i studied the struts example and tried to create my
> own application. now, i would like to have my errors
> or a separate page. do you have idea how i would deal
> with it? something like a separate error page...
> what are the neccessary things i need to do?
> 
> cheers!
> charlemagne


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to