Vaadin Struts 重启问题
每当控制器被击中时,我想重新启动 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
来执行,它可以正常工作并且应用程序正在重新启动。
谁能帮我解决这个问题。提前致谢
I want to restart the vaadin application whenever I got a hit to the controller.
<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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后问题解决了。我在调用操作类本身时传递了参数,而不是在 struts-config.xml 文件中传递变量。现在工作正常。
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.