Hi Gino,

Try:

context().request().headerForKey("")

I'm not sure exactly what the key is to get the URL but if you use:

context().request().headerKeys()

I think you can get a list of all the headers that are set in the request you are referring to.

Regards,
David.

On 27 Oct 2005, at 14:19, Gino Pacitti wrote:

Hi All

Very simple question but I just cant find any reference to it.

I want to send into a webobjects app a request from a FORM

What I want to do is collect the URL from where it came from

ie

www.somedomain.com/thepagewiththeform.html


Im trying to get the headers from the request object but cant find any referer key.

Thanks in advance

Gino
_______________________________________________
WebObjects-dev mailing list



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to