RE: Errorpage for Servlets

2003-12-17 Thread Shapira, Yoav
Howdy, >My question: Is there a portable way to use the same errorpage for servlets >and JSPs? How about mapping the error page in web.xml and throwing the mapped exception type? It's very simple and clean. Yoav Shapira > >I can think of these solutions: > >1. use an

Errorpage for Servlets

2003-12-17 Thread Reinhard Moosauer
question: Is there a portable way to use the same errorpage for servlets and JSPs? I can think of these solutions: 1. use another attribute instead of "javax.servlet.jsp.jspException" and get it back in the errorpage 2. Simply use "exception" as the attribute name. thanks