<%--
Copyright (c) 2002 by Phil Hanna
All rights reserved.
You may study, use, modify, and distribute this
software for any purpose provided that this
copyright notice appears in all copies.
This software is provided without warranty
either expressed or implied.
--%>
<%@ page import="java.util.*" %>
<%
String title = "HttpServletRequest Method Values";
Map entries = new TreeMap();
entries.put("getCharacterEncoding", request.getCharacterEncoding());
entries.put("getContentLength", "" + request.getContentLength());
entries.put("getContentType", request.getContentType());
entries.put("getLocale", request.getLocale());
entries.put("getProtocol", request.getProtocol());
entries.put("getRemoteAddr", request.getRemoteAddr());
entries.put("getRemoteHost", request.getRemoteHost());
entries.put("getScheme", request.getScheme());
entries.put("getServerName", request.getServerName());
entries.put("getServerPort", "" + request.getServerPort());
entries.put("isSecure", "" + request.isSecure());
request.setAttribute("_table_title", title);
request.setAttribute("_table_entries", entries);
out.println(request.getCharacterEncoding());
%>
|