[opencms-dev] request.getHeader("Referer") doesn't work in JSP

Alexander Kandzior alex at opencms.org
Sun Nov 24 13:29:44 CET 2002


Mark,

thank you for reporting this bug. If I can verify it I will try to fix
it until the 5.0 release. 

Best Regards,
Alex.

Alexander Kandzior
OpenCms Group / Alkacon Software

> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org 
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of 
> mfoley5 at csc.com.au
> Sent: Sunday, November 24, 2002 9:26 AM
> To: opencms-dev at opencms.com
> Subject: [opencms-dev] request.getHeader("Referer") doesn't 
> work in JSP
> 
> 
> Hi All (Alex!),
> 
> We are (still) using the Flex version (until we can get v5 
> working) and have a problem in that within a JSP the 
> following fragment does not return the "Referer" header from 
> the request.
> 
>     <INPUT type='hidden' name='fromPage'
>            value='<%= request.getHeader("Referer") %>'>
> 
> This works fine when the JSP is delivered directly by the 
> Appserver, but not when it's in a URL like:
> 
http://myhost/bcnet/opencms/common/jsp/mailFriend.jsp

We need an "e-mail page to a friend" type function, but this isn't
happening!

Thanks for your urgent help!

Regards,
Mark



Mark Foley
__________________________________________________
CSC
212 Northbourne Ave, Braddon, ACT 2612
Ph: +61-2-62468487    Email: mfoley5 at csc.com.au
------------------------------------------------------------------------
----------------

This email, including any attachments, is intended only for use by the
addressee(s) and may contain confidential and/or personal information
and may also be the subject of legal privilege. Any personal information
contained in this email is not to be used or disclosed for any purpose
other than the purpose for which you have received it. If you are not
the intended recipient, you must not disclose or use the information
contained in it. In this case, please let me know by return email,
delete the message permanently from your system and destroy any copies.
------------------------------------------------------------------------
----------------





More information about the opencms-dev mailing list