From: Heng S. L. <low...@ya...> - 2002-03-13 01:45:05
Hi,
I think webwork.action.standard.Referer is missing
from the sourceforge cvs.
Regards,
Low
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
Hello,
Heng Sin Low wrote:
>
> Hi,
>
> I think webwork.action.standard.Referer is missing
> from the sourceforge cvs.
Not only that, Referer is misspelled. Should be Referrer.
-Bill
Bill Burton wrote:
>>I think webwork.action.standard.Referer is missing
>>from the sourceforge cvs.
>>
>=20
> Not only that, Referer is misspelled. Should be Referrer.
I didn't know how it should be so I used the name of the HTTP field,=20
which is "referer":
setUrl(request.getHeader("referer"));
This is wrong then?
/Rickard
--=20
Rickard =D6berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
The Middleware Company - We Build Experts!
Bill Burton wrote:
>>I think webwork.action.standard.Referer is missing
>>from the sourceforge cvs.
>>
>=20
> Not only that, Referer is misspelled. Should be Referrer.
You're right, I checked the HTTP RFC and it actually says in there that=20
it is misspelled. I've changed the action to be Referrer instead=20
(although it still uses the "referer" header of course).
Thanks!
/Rickard
--=20
Rickard =D6berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
The Middleware Company - We Build Experts!