How do I use a JSP Error Page with a servlet?   I assume I use a
RequestDispatcher object to forward the request and response objects to the JSP,
but does anyone have a code example of how to accomplish this?  Do I have to
store it as a request attribute and then have code in the JSP to pull it out and
print it to the screen?  What is the easiest way here?

I want to use the same JSP error page for both my controller servlet and the
associated JSP's.

pat









"This may contain information that is confidential or privileged. If you are not
the addressee indicated in this message (or responsible for delivery of this
message to such person), you should not  copy or deliver this message to
anyone or make any other use of the information set forth herein.  In such
case, you should destroy this  message and notify the sender by telephone
or e-mail."

===========================================================================
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