This page discusses
how you retrieve CGI variables should you wish to access.
|
||
CGI Variable | How to Access in Servlet
r = instance of HttpServletRequest |
|
AUTH_TYPE |
|
|
CONTENT_LENGTH |
|
|
CONTENT_TYPE |
|
|
DOCUMENT_ROOT |
|
|
HTTP_XXX_YYY |
|
|
PATH_INFO |
|
|
QUERY_STRING |
|
|
REMOTE_ADDR |
|
|
REMOTE_HOST |
|
|
REMOTE_USER |
|
|
REQUEST_METHOD |
|
|
SCRIPT_NAME |
|
|
SERVER_NAME |
|
|
SERVER_PORT |
|
|
SERVER_PROTOCOL |
|
|
SERVER_SOFTWARE |
|