Is there an example or tutorial showing this item.  Or does Appfuse examples
exposes this exception handling.

TKS

On Thu, Mar 13, 2008 at 10:09 AM, Matt Raible <[EMAIL PROTECTED]>
wrote:

> In a FormController, you should be able to add an error (using
> addError) and then showForm() to return to the form.
>
> Matt
>
> On 3/13/08, Carlos Ortiz <[EMAIL PROTECTED]> wrote:
> > Hi guys
> >
> >
> >
> >  I now Spring MVC knows how to handle exceptions redirecting to a page.
> But
> > what about if I have a page and want to intercept exceptions and post a
> > message in the same page. i.e, suppose you have a form to capture a
> record,
> > then submit to the controller to save data but a primary key is
> violated,
> > then the page must inform this by telling a friendly message to user,
> not
> > redirecting him to another error page (well in some circumstances).
> >
> >  Any help
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to