I have tried it, however, returned a null String.
Özgür KISIR Vikramjit Singh <vikramjits@GTLLI To: [EMAIL PROTECTED] MITED.COM> cc: Sent by: A Subject: Re: HTTP_REFERER mailing list about Java Server Pages specification and reference <JSP-INTEREST@JAV A.SUN.COM> 02/05/2002 01:32 PM Please respond to A mailing list about Java Server Pages specification and reference String refString = request.getParameter("REFERRER"); Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-3140 -----Original Message----- From: OZGUR KISIR [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 1:50 AM To: [EMAIL PROTECTED] Subject: HTTP_REFERER Hi all, I have a web application composed of servlets and JSP's which does some jobs using JDBC etc.. I have an authentication mechanism also. I want to prevent form posting from the clients local machine by saving the HTML code into local. Some people told me about HTTP_REFERER environment variable. How can I use it in Java?(I have never used environment variables) Also any suggestions about security is welcome(I will be so pleased, in fact) Özgür KISIR ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com