It's called exception handling. Any errors that occur at the lower levels of
MVC, such as in your model (Java business logic) classes, should be caught
and throw up a level (to the servlet, or controller level), and then to the
JSP level, which should trigger your error page to be displayed.

Bill Hines
Hershey Foods

-----Original Message-----
From: Kumaravel Kandasami [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 9:38 AM
To: [EMAIL PROTECTED]
Subject: Error handling in MVC model

Hi,

I have a paculiar problem..
i am coding in a MVC (JSP-Servlet-Java classes) model.
I am confused on picking up a common strategy to be
applied on handle Business Errors, System Errors and
Screen Errors. Any ideas on this?

Thanx in advance,
Kumar


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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