Here is the example code:
Enumeration enumeration = request.getHeaderNames(); while (enumeration.hasMoreElements()) { String name = (String) enumeration.nextElement(); String value = request.getHeader(name); System.out.println(value); }
Thanks
Hi,
Check more tutorials at:
Thanks
Ads