tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Hunter <jhun...@acm.org>
Subject Re: CGI Fields
Date Sun, 19 Mar 2000 18:33:12 GMT
Hans Bergsten wrote:
> 
> Chris Bruce wrote:
> >
> > Are the Server CGI fields available to servlets and jsp pages?  I am
> > specifically interested in the REMOTE_ADDR field.
> 
> All information about the request (i.e. the same info as in GCI environment
> variables and more) is available to a servlet/JSP through the request
> object (HttpServletRequest), see the Servlet API spec for details,
> <http://java.sun.com/products/servlet/2.2/>

I have a "cheat sheet" showing how CGI variables map to servlet calls 
in Chapter 4 of my book too.  See my sig.

-jh-

-- 
Jason Hunter
jhunter@acm.org
Book:    http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html

Mime
View raw message