Have the bean throw exception.
That way you can catch them in the JSP

> -----Original Message-----
> From: Lenin Lopez [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2001 2:14 PM
> To: [EMAIL PROTECTED]
> Subject: How to handle errors from a Java Bean
>
>
> Hi all,
>
> I have an appliation that works fine,  except that I do not
> have any arror
> handling ( other that the normal try and catch blocks)
> My question is how do you guys pass an error from a bean to the JSP.
>
> I know hoe to handle errors from a JSP but I don't quite know
> how to pass an
> error from a bean to the JSP
>
> thanks
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to