There are some cases where you just need to know what your deployment environment is going to be ... this is one of them.
Rick
saugata ghosh wrote:
request.getServerPort() -Thanks, but this returns the port number of the current request port. But my problem is, say the request is for http: and I want to redirect to https:/.../somefile.jsp. - then ? Basically what is required is a method that will return the port number set in the conf/server.xml file.
-Saugata
-- Servlet v2.4 container in a single 140KB jar file ? Try Winstone (http://winstone.sourceforge.net)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]