tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: CGI Fields
Date Sun, 19 Mar 2000 18:11:19 GMT
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/>

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com

Mime
View raw message