cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Soddemann <thomas.soddem...@rzg.mpg.de>
Subject Re: Get port of ServletEngine
Date Wed, 28 Nov 2007 11:21:33 GMT
Felix Knecht wrote:
> Hi all
>
> I'd like to get the port of the servlet engine (jetty/tomcat/...) where
> cocoon-2.2 is running in (.e.g. 8888).
> Is this possible and if so how can I get the port?
>
> Thanks
> Felix
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>   
Hi Felix,

what about the getServerPort() method from javax.servlet.ServletRequest?
Or do you need the port before are request was made? In that case I am 
curious, what is the use case?

Cheers,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message