tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: need to find out the URL of the page that sent the request
Date Wed, 28 Aug 2002 19:47:55 GMT

It shouldn't be...JSPs are compiled into servlets.

When you access your JSP page, is there an intervening page, like an HTML
page?  There has to be one for Referer to be set.

John

> -----Original Message-----
> From: Peter Choe [mailto:choepete@mindspring.com]
> Sent: Wednesday, August 28, 2002 3:42 PM
> To: Tomcat Users List
> Subject: RE: need to find out the URL of the page that sent 
> the request
> 
> 
> i tried printing out the names of the headers and 'referer' 
> doesn't come up 
> in the jsp file.
> 
> it seems that it doesn't record the referer header.
> 
> but i did try the servlet example and that worked.
> 
> there shouldn't be an issue whether it is a jsp or a servlet, right?
> 
> Peter
> 
> At 03:33 PM 8/28/2002, you wrote:
> 
> >Incidentally, the value will be null if you access the 
> servlet URL directly,
> >without an intervening page.
> >
> >John
> >

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message