Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以通过 URL 将命令行参数传递给 RAP-Application?我正在使用 RAP 1.4。
我找到了解决方法。首先我阅读了请求参数:
RWT.getRequest().getParameterMap();
其次,我阅读了命令行参数以获取在 web.xml 中输入的默认值:
Platform.getCommandLineArgs();
最后,我将它们与 http 参数合并为前导参数。