RE: Setting error page for servlets

2003-08-15 Thread Shapira, Yoav
Howdy, >I've checked the servlet specs and found that the request.getRemoteAddr >() method does not throw any exceptions, but I'd like to know if this >method is always guaranteed to return a non-null, valid IP address. You should start a different thread for a different question ;) ;) No, it's

RE: Setting error page for servlets

2003-08-15 Thread James Michelich
non-null, valid IP address. Thanks, James -- Original message -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 15, 2003 2:36:33 PM Subject: RE: Setting error page for servlets Howdy, >The problem with that solution is this - I have written my own >

RE: Setting error page for servlets

2003-08-15 Thread Shapira, Yoav
Howdy, >The problem with that solution is this - I have written my own >exception, and cannot override the list of exceptions associated with >the doPost() method. Hmmm... I think the error page might still be able to work. Try making your exception a runtime one, so that you don't have to decl

RE: Setting error page for servlets

2003-08-15 Thread James Michelich
-- Original message -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:14:07 PM Subject: RE: Setting error page for servlets Howdy, Seeing how a JSP is a servlet, I'd be very surprised if there was something you could do with JSPs and not with a se

RE: Setting error page for servlets

2003-08-15 Thread Shapira, Yoav
Howdy, Seeing how a JSP is a servlet, I'd be very surprised if there was something you could do with JSPs and not with a servlet ;) Use the directive in web.xml ;) The Servlet Spec section on the deployment descriptor has details and examples. Yoav Shapira Millennium ChemInformatics >-Or