Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Information about IP and GET variables
Information about IP and GET variables [message #92321] Sat, 07 June 2008 10:14 Go to next message
Eclipse UserFriend
Hi,

I have two problems:

1. I need the IP of the user

2. I want to include additional *variable* information in the URL passed to
the RAP site (like which words to highlight
....rap?startup=default&Highlight=test). How can I access such information
from within the RAP?

Thanks in advance,
Torge Kummerow
Re: Information about IP and GET variables [message #92367 is a reply to message #92321] Mon, 09 June 2008 02:13 Go to previous message
Eclipse UserFriend
Hi Torge,

you can use the servlet API to get these information, e.g.

RWT.getRequest().getParameterMap() for query url strings and
RWT.getRequest().getRemoteAddr() for the user IP.

However, the latter doesn't work in all scenarios, e.g. if you are
behind a proxy.

Hope that helps,
Stefan.

Torge Kummerow schrieb:
> Hi,
>
> I have two problems:
>
> 1. I need the IP of the user
>
> 2. I want to include additional *variable* information in the URL passed
> to the RAP site (like which words to highlight
> ...rap?startup=default&Highlight=test). How can I access such
> information from within the RAP?
>
> Thanks in advance,
> Torge Kummerow
Previous Topic:problems with invisible composites in wizards
Next Topic:Where to register IPartListener2??
Goto Forum:
  


Current Time: Thu Jul 10 08:30:18 EDT 2025

Powered by FUDForum. Page generated in 0.08969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top