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

mfoley5 at csc.com.au mfoley5 at csc.com.au
Mon Nov 25 09:43:08 CET 2002


Hi Alex,

sigh.   I'm sorry, but I think the problem lay elsewhere - after a few
hours looking at the problem, I eventually tried restarting WebLogic and
then it worked fine!  Days without sleep can be damaging to one's health...

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.
----------------------------------------------------------------------------------------


                                                                                                                                            
                      "Alexander Kandzior"                                                                                                  
                      <alex at opencms.org>            To:       <opencms-dev at www.opencms.org>                                                 
                      Sent by:                      cc:                                                                                     
                      owner-opencms-dev at www.        Subject:  RE: [opencms-dev] request.getHeader("Referer") doesn't work in JSP            
                      opencms.org                                                                                                           
                                                                                                                                            
                                                                                                                                            
                      24/11/2002 11:29 PM                                                                                                   
                      Please respond to                                                                                                     
                      opencms-dev                                                                                                           
                                                                                                                                            
                                                                                                                                            




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