Decoding an HTTP Request : Request « JSP « Java Tutorial

        <TITLE>Decoding an HTTP Request</TITLE>
        <H1> Request Information </H1>
        JSP request method: <%= request.getMethod() %>
        URL for the request: <%= request.getRequestURI() %>
        Protocol of the request: <%= request.getProtocol() %>
        Server name: <%= request.getServerName() %>
        Path: <%= request.getServletPath() %>
        Server port: <%= request.getServerPort() %>
        Remote address: <%= request.getRemoteAddr() %>
        Remote host: <%= request.getRemoteHost() %>
        Locale: <%= request.getLocale() %>
        User agent: <%= request.getHeader("User-Agent") %>

23.34.1.Get HttpServletRequest
23.34.2.Reference Http Servlet Request in Bean
23.34.3.Put Request Header Name and Value to TreeMap
23.34.4.Get Parameter Name and Value from TreeMap
23.34.5.Get Servlet Request
23.34.6.Decoding an HTTP Request
23.34.7.Retrieving the Original URI