2

Is there a possibility to pass command line arguments via URL to RAP-Application? I'm using RAP 1.4.

Michael K.
  • 1,738
  • 2
  • 17
  • 35

1 Answers1

1

I've found a workaround. First I read the request parameters:

RWT.getRequest().getParameterMap();

Second I read the command line args to get the defaults which are entered in the web.xml:

Platform.getCommandLineArgs();

Finally I merge them with the http parameters as leading one.

Michael K.
  • 1,738
  • 2
  • 17
  • 35