Hello I want to use environment variables in my JSP pages like HTTP_REFERER and such.How do I go about it? Any help would be appreciated.
posted 16 years ago
You can get the value for any environment variable that your browser returns in request object. Just add the following line of code to your jsp file. Here is the referer page <%=request.getHeader("Referer")%> Good luck.