[opencms-dev] Access of user IP address via OpenCMS JSP

Olli Aro olli_aro at yahoo.co.uk
Wed Oct 15 14:35:02 CEST 2003


Try request.getRemoteAddr()

Regards,

Olli

> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org]On Behalf Of Ralf Bierig
> Sent: 15 October 2003 13:00
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Access of user IP address via OpenCMS JSP
>
>
> Hi,
>
> how can I access the IP address of a user, wich accesses my OpenCMS JSP
> page. This is obviously a task of Tomcat but there should be a
> kind of mechanism
> to access this information from Tomcat withing my JSP code. It
> would be also
> very usefull if I could directly do that from the the Java code,
> which my JSP
> file is calling...
>
> Any ideas would be highly appreciated.
>
> Cheers,
> Ralf
>
> --
> NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
> Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
>
> Jetzt kostenlos anmelden unter http://www.gmx.net
>
> +++ GMX - die erste Adresse für Mail, Message, More! +++
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003





More information about the opencms-dev mailing list