in your web.xml suppose your login page is login.jsp so when you go to a url, it shows u the login page before you are able to access the page that you wish to access
how can you set it in the configuration such that when the webserver shows you the login page, it simulates a redirection so that you can get the value of request.getHeader("referer") problem is, that value is always null. unless i do a response.sendRedirect() to a certain page, and it shows the login page mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002 -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>