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