Use URLConnection.setRequestProperty().

Aaron

> -----Original Message-----
> From: Adam Neilson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 01, 1999 12:55 AM
> To: [EMAIL PROTECTED]
> Subject: REFERER from an applet to servlet
>
>
> hi all,
> does anyone know a trick to send a REFERER header value to a
> servlet from an
> applet using jason's HttpMessage class. i need to get the REFERER to
> uniquely identify the applet.
>
> i realise it will be something along the lines of:
> "/MyServlet?"+java.net.URLEncoder.encode("HTTP_REFERER")+"=" +
> java.net.URLEncoder.encode(refererVal)
>
> but how do i get refererVal?
>
> all suggestions welcome..
>
> cheers
> adam
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to