0

每当我遇到控制器时,我都想重新启动 vaadin 应用程序。

<action path="/vaadinController"
      type="com.thomson.steam.steamadmin.action.VaadinController"
      scope="request">
      <forward name="createuser" path="/VaadinApplication/?restartApplication" />       
</action>

我正在传递?restartApplication给我的 VaadinApplication,但它不能通过 struts 工作。如果我通过直接点击 url 执行/VaadinApplication/?restartApplication它工作正常并且应用程序正在重新启动。

谁能帮我解决这个问题。在此先感谢

4

1 回答 1

0

终于问题解决了。而是在 struts-config.xml 文件中传递变量,我在调用动作类本身时传递了参数。它现在工作正常。

/vaadinController?restartApplication
于 2011-01-20T12:41:42.767 回答