Hey Jimbo,

Are you feeling better after pissing off as a net junky? I saw
many of postings from you discouraging the participation.

If you need to develop your ugly attitude, get of the net. We
do not need a junky like you who waste the bandwidth. Otherwise,
behave yourself.


Pae



>well for starters, you can use anything you want to in a Servlet (including
>java.net.URL).
>I find using things like getRequestURI() to be a pain, simply put, because
I
>don't WANT the URI. I also don't want the local server's verison of the URL
>since I use proxies.  java.net.URL provides more functionality for my needs
>:-P
>
>-----Original Message-----
>From: Filip Hanik [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 05, 2001 12:07 PM
>To: [EMAIL PROTECTED]
>Subject: RE: How to get server URL?
>
>
>java.net.URL???? I believe you are a little bit off topic here :)
>
>take a look at the HttpServletRequest
>http://java.sun.com/j2ee/j2sdkee/techdocs/api/index.html
>
>*getRequestURI()
>Returns the part of this request's URL from the protocol name up to the
>query string in the first line of the HTTP request.
>
>*getHeaders(java.lang.String name)
>Returns all the values of the specified request header as an Enumeration of
>String objects
>
>the headers may or may not contain such information, check the HTTP spec
for
>more details
>
>Filip
>
>~
>Namaste - I bow to the divine in you
>~
>Filip Hanik
>Software Architect
>[EMAIL PROTECTED]
>www.filip.net
>
>>-----Original Message-----
>>From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, June 05, 2001 11:00 AM
>>To: '[EMAIL PROTECTED]'
>>Subject: RE: How to get server URL?
>>
>>
>>I know there are methods in the java.net.URL class for this:
>>
>>Attatched is the entire java.net.URL class for you to reference.
>>
>>see the examples that comes with tomcat too!
>>
>>-----Original Message-----
>>From: Pernica, Jan [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, June 04, 2001 11:57 PM
>>To: Tomcat-User (E-mail)
>>Subject: How to get server URL?
>>
>>
>>Hi
>>
>>How can I get the server name?
>>I do not like HttpServlet.getServerName() because if I access it from
local
>>network the name differs from the name when
>>accessing it from internet.
>>
>>Any suggestions?
>>
>>Regards
>>
>>Jan
>>
>>> Mgr. Jan Pernica, MSc.
>>> Project Manager
>>> DCB Actuaries and Consultants
>>> Tel: +420 5 4221 7390-5
>>> Mobile: +420 602 52 42 51
>>> Fax:+420 5 4221 7399
>>> http://www.dcb.cz
>>> mailto:[EMAIL PROTECTED]
>>>
>>>
>>>
>>__________________________________________________________________
>>Tato komunikace je urcena vyhradne pro adresata a je duverna.
>>This communication is intended solely for the addressee and is
>>confidential.
>>
>>
>>
>>

Reply via email to