struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "starki78" <stark...@libero.it>
Subject Re: Getting the server-port from a ContextListener
Date Wed, 20 Sep 2006 07:52:45 GMT
HI!

No I want to write the server name and port 
where the applikation is running
in the
Database within the ContextInitialized Event!

Is this possible somehow?

Nice greetings


---------- Initial Header -----------

>From      : "Li" ampyx.li@gmail.com
To          : "Struts Users Mailing List" user@struts.apache.org
Cc          : 
Date      : Wed, 20 Sep 2006 15:45:40 +0800
Subject : Re: Getting the server-port from a ContextListener







> r u trying to do some test case?
> 
> On 9/20/06, starki78 <starki78@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.
> 


------------------------------------------------------
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


Mime
View raw message