System.out.println("ContextPath = "+request.getContextPath());
System.out.println("RequestURI = "+request.getRequestURI());
System.out.println("ServletPath = "+request.getServletPath());
System.out.println("RemoteUser = "+request.getRemoteUser());
System.out.println("submit urL = "+request.getRequestURL());
System.out.println("submit urL = "+request.getPathInfo());
Enumeration ttl = request.getHeaderNames();
while(ttl.hasMoreElements())
{
String tempstr = (String)ttl.nextElement();
System.out.println(tempstr+" = "+ request.getHeader(tempstr));
}