%@ taglib uri="/tags/struts-bean" prefix="bean" %>
Test struts-bean:header Tag
Test struts-bean:header Tag
Display the values of the headers included in this request.
<%
java.util.Enumeration names =
((HttpServletRequest) request).getHeaderNames();
%>
Header Name |
Header Value |
<%
while (names.hasMoreElements()) {
String name = (String) names.nextElement();
%>
<%= name %>
|
<%= head %>
|
<%
}
%>
UNKNOWN HEADER |
|