Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Passing parameters
Passing parameters [message #78636] Tue, 18 March 2008 07:39 Go to next message
Eclipse UserFriend
Originally posted by: topgun.in.gmail.com

I need to pass a few parameters to the RAP application the first time it
is launched from an html page by a click of a button. Is there any way to
pass parameters to the RAP application?

Thanks,
Pushkar
Re: Passing parameters [message #78651 is a reply to message #78636] Tue, 18 March 2008 09:07 Go to previous message
Eclipse UserFriend
Hi Pushkar,

you can pass parameter either as query string or as post parameters from
an html form. Example: http://localhost:9080/rap?param1=HelloWorld

In your application, call

RWT.getRequest().getParameter("param1")

This works for both kind of parameters.
Hope this helps,
Stefan.


Pushkar Raj Pande schrieb:
> I need to pass a few parameters to the RAP application the first time it
> is launched from an html page by a click of a button. Is there any way
> to pass parameters to the RAP application?
>
> Thanks,
> Pushkar
>
Previous Topic:RAP Workbench Demo Source ?
Next Topic:M4 - Qooxdoo 0.7.3 migration
Goto Forum:
  


Current Time: Wed Apr 30 15:22:46 EDT 2025

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

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

Back to the top