Thanks. Completely agreed with the arguments for not
having the API.
Right now we put the port numbers in our own projects
property file also, apart from server.xml. May be
thats the way to do it.
-Saugata
--- Rick Knowles <[EMAIL PROTECTED]> wrote:
> Having this as a requirement makes an awful
Having this as a requirement makes an awful lot of assumptions about the
architecture of the container, none of which are helpful in the larger
scale. For example, what if you have 2 (or 50) http connectors and the
same for https ? And then what about ajp13 ? Or mod_caucho's protocol (I
think i
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
Hi,
> 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
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