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