tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: getting the full URL
Date Wed, 01 Nov 2006 15:39:12 GMT
Martin,

Martin Gainty wrote:
> Dan-
> iterate thru all of the header variables and print the header variable..
> <%
> Enumeration headerNames = request.getHeaderNames();
> while(headerNames.hasMoreElements()) 
> {
> String headerName = (String)headerNames.nextElement();
> out.print("<TR><TD>" + headerName);
> out.println(request.getHeader(headerName)+"</TD></TR>");
> }
> %>

Dude, WTF are you talking about? Headers don't go in the URL. This
question was already answered correctly by someone who apparently
actually read the OP.

:(

-chris



Mime
View raw message