开发者

Vaadin Restart Problem with Struts

I want to restart the vaadin application whenever I got a hit to the controller.

&开发者_StackOverflow社区lt;action path="/vaadinController"
      type="com.thomson.steam.steamadmin.action.VaadinController"
      scope="request">
      <forward name="createuser" path="/VaadinApplication/?restartApplication" />       
</action>

I am passing ?restartApplication to my VaadinApplication but it does not work through struts. If I execute by directly hitting the url /VaadinApplication/?restartApplication it works fine and the application is getting restarted.

Can anyone help me out to solve this.Thanks in advance


Finally the problem is resolved. Instead passing the variable in the struts-config.xml file I passed the parameter while invoking the action class itself.It works fine now.

/vaadinController?restartApplication
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜