<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Peter,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You probably looking for something
like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>HttpServletRequest req =
(HttpServletRequest)cmsobject.getRequestContext().getRequest().getOriginalRequest();</FONT></DIV>
<DIV><FONT face=Arial size=2>String ip=req.getRemoteAddr();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best wishes,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Andras.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Peter.Hagl@gmx.at href="mailto:Peter.Hagl@gmx.at">Peter Hagl</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, August 18, 2003 10:32
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Real Client IP
address in Open CMS</DIV>
<DIV><BR></DIV>Dear Users,<BR><BR>I have read the email "real client ip
adress" in OpenCms but I have not<BR>understood how I can use the Request
Object and how I can read out the<BR>REMOTE_ADDR. Can anyone send me an
example about that. I' m a newcomer of OpenCMS. I<BR>don' t know
anything about the Request Object and the REMOTE_ADDR.<BR><BR>Any help is
appreciated. Thank you very much for your support<BR><BR>Best
regards<BR><BR>Peter<BR><BR>-- <BR>COMPUTERBILD 15/03: Premium-e-mail-Dienste
im Test<BR>--------------------------------------------------<BR>1. GMX
TopMail - Platz 1 und Testsieger!<BR>2. GMX ProMail - Platz 2 und
Preis-Qualitätssieger!<BR>3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de -
7. daybyday - 8.
e-Post<BR><BR>_______________________________________________<BR>This mail is
send to you from the opencms-dev mailing list<BR>To change your list options,
or to unsubscribe from the list, please visit<BR><A
href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></BLOCKQUOTE></BODY></HTML>