You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by starki78 <st...@libero.it> on 2006/09/20 09:44:22 UTC

Getting the server-port from a ContextListener

HI!

I've a Servlet implementing ServletContextListener 
and in the contextInitialized I needed the server-name
and the port of the server.
So I needed to simulate a request.
Is this possible somehow?

Thanks for any help!
Starki


------------------------------------------------------
Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla consegna.
http://click.libero.it/bol



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Getting the server-port from a ContextListener

Posted by Li <am...@gmail.com>.
r u trying to do some test case?

On 9/20/06, starki78 <st...@libero.it> wrote:
>
> HI!
>
> I've a Servlet implementing ServletContextListener
> and in the contextInitialized I needed the server-name
> and the port of the server.
> So I needed to simulate a request.
> Is this possible somehow?
>
> Thanks for any help!
> Starki
>
>
> ------------------------------------------------------
> Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla
> consegna.
> http://click.libero.it/bol
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
When we invent time, we invent death.