Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:14 Go to next message
Torge Kummerow is currently offline Torge KummerowFriend
Messages: 26
Registered: July 2009
Junior Member
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 06:13 Go to previous message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
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: Tue Apr 23 09:21:38 GMT 2024

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

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

Back to the top