It will be very usefull if the port number on which
the SSL and Http non-ssl ports are running, is
available runtime. (Ex:- 8080 and 8443).
Is it possible?
The "int getPort()" method of the CoyoteConnector
class returns the port number but its not accessible
at runtime. If there is a "sendRedirect
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.x
> think it's called hessian) ? The reason this is not
> in the servlet api
> spec is because it would create more problems than
> it would solve.
>
> There are some cases where you just need to know
> what your deployment
> environment is going t