How can I find out as to which page (static or dynamic) was responsible for invoking a JSP page?
Created May 4, 2012
Frank Steidinger You can get the URI of the page that contained the link to your JSP from the HTTP header. The header contains a field "Referer" which you can read using the getHeader method:
String callingPage = request.getHeader("Referer")