Re: Newbie : Obtain the name of a server in Java
Re: Newbie : Obtain the name of a server in Java
- Subject: Re: Newbie : Obtain the name of a server in Java
- From: Paul Lynch <email@hidden>
- Date: Fri, 8 Sep 2006 21:22:49 +0100
On 8 Sep 2006, at 18:33, Gilles MATHURIN wrote:
it's the simpliest answer i obtain along with the DirectAction
trick and because i am a newbie, it is the one i manage to include
in my App.
However i will try to implement it in a more complete way by
integrating the various solutions that came along thoses last days.
In orfer to get a method that work with the as many browsers as
possible.
But for now, it fits my needs.
Le 8 sept. 06 à 11:23, Thomas Meyer a écrit :
try this.host() in Application.java
It may be simple, but host() returns the server that the application
is running on. This isn't usually the same as the web server domain
name that you access your app by.
Paul _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden