You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Odo <go...@heaven.club.ne.jp> on 2002/02/06 11:28:01 UTC

Get Document.Url

How can I get in my servlet Javascript's "document.URL" variable?
How it be scripted in servlet?




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Get Document.Url

Posted by Odo <go...@heaven.club.ne.jp>.
getRemoteUser() returns null value.


David Cassidy wrote:

> wouldn't that come across as the basic auth username ?
> 
> getRemoteUser()
> 
> ;-}
> 
> D
> 
> Odo wrote:
> 
> 
>>I know.
>>...Actually I wanted to process URLs with '@' in Servlet
>>ex: http://test@test.myserver.com
>>
>>????
>>
>>Galbayar wrote:
>>
>>
>>>JavaScript is Server Side
>>>Servlet is Server Side use getRequestURI()
>>>
>>>
>>>----- Original Message -----
>>>From: "Odo" <go...@heaven.club.ne.jp>
>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>Sent: Wednesday, February 06, 2002 18:28
>>>Subject: Get Document.Url
>>>
>>>
>>>
>>>
>>>>How can I get in my servlet Javascript's "document.URL" variable?
>>>>How it be scripted in servlet?
>>>>
>>>>
>>>>
>>>>
>>>>--
>>>>To unsubscribe:   <ma...@jakarta.apache.org>
>>>>For additional commands: <ma...@jakarta.apache.org>
>>>>Troubles with the list: <ma...@jakarta.apache.org>
>>>>
>>>>
>>>>
>>>
>>>
>>>--
>>>To unsubscribe:   <ma...@jakarta.apache.org>
>>>For additional commands: <ma...@jakarta.apache.org>
>>>Troubles with the list: <ma...@jakarta.apache.org>
>>>
>>>
>>>
>>--
>>To unsubscribe:   <ma...@jakarta.apache.org>
>>For additional commands: <ma...@jakarta.apache.org>
>>Troubles with the list: <ma...@jakarta.apache.org>
>>
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Get Document.Url

Posted by David Cassidy <dc...@hotgen.com>.
wouldn't that come across as the basic auth username ?

getRemoteUser()

;-}

D

Odo wrote:

> I know.
> ...Actually I wanted to process URLs with '@' in Servlet
> ex: http://test@test.myserver.com
>
> ????
>
> Galbayar wrote:
>
> > JavaScript is Server Side
> > Servlet is Server Side use getRequestURI()
> >
> >
> > ----- Original Message -----
> > From: "Odo" <go...@heaven.club.ne.jp>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Wednesday, February 06, 2002 18:28
> > Subject: Get Document.Url
> >
> >
> >
> >>How can I get in my servlet Javascript's "document.URL" variable?
> >>How it be scripted in servlet?
> >>
> >>
> >>
> >>
> >>--
> >>To unsubscribe:   <ma...@jakarta.apache.org>
> >>For additional commands: <ma...@jakarta.apache.org>
> >>Troubles with the list: <ma...@jakarta.apache.org>
> >>
> >>
> >>
> >
> >
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
> >
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Get Document.Url

Posted by Odo <go...@heaven.club.ne.jp>.
I know.
...Actually I wanted to process URLs with '@' in Servlet
ex: http://test@test.myserver.com

????


Galbayar wrote:

> JavaScript is Server Side
> Servlet is Server Side use getRequestURI()
> 
> 
> ----- Original Message ----- 
> From: "Odo" <go...@heaven.club.ne.jp>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Wednesday, February 06, 2002 18:28
> Subject: Get Document.Url
> 
> 
> 
>>How can I get in my servlet Javascript's "document.URL" variable?
>>How it be scripted in servlet?
>>
>>
>>
>>
>>--
>>To unsubscribe:   <ma...@jakarta.apache.org>
>>For additional commands: <ma...@jakarta.apache.org>
>>Troubles with the list: <ma...@jakarta.apache.org>
>>
>>
>>
> 
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Get Document.Url

Posted by Galbayar <ga...@mobicom.mn>.
JavaScript is Server Side
Servlet is Server Side use getRequestURI()


----- Original Message ----- 
From: "Odo" <go...@heaven.club.ne.jp>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 06, 2002 18:28
Subject: Get Document.Url


> How can I get in my servlet Javascript's "document.URL" variable?
> How it be scripted in servlet?
> 
> 
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>