Where to store config parameters in GWT?

前端 未结 5 1085
伪装坚强ぢ
伪装坚强ぢ 2021-01-12 09:30

Where I can store configuration parameters in client side? I haven\'t possibility to store parameters in Servlet init parameters(web.xml) (because I must use PHP). So how I

5条回答
  •  再見小時候
    2021-01-12 09:49

    You can use MultiValuedConfigProperties (see also this other helpful tutorial) to store configuration values. Using them, you can store your configuration in your module's .gwt.xml configuration file. The configuration values will be compiled into the JavaScript output.

提交回复
热议问题