GWT应用程序 - 部署在Tomcat或任何其他servlet容器上 [英] GWT app - deploying on Tomcat or any other servlet container

查看:100
本文介绍了GWT应用程序 - 部署在Tomcat或任何其他servlet容器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有Eclipse GWT插件或任何其他方法在Tomcat(或任何其他Serlvet容器)上自动部署和运行GWT应用程序?目前我知道的唯一方法是将编译后的类复制到WEB-INF目录中,但这是一项艰巨的工作。此外,您必须手动配置Apache Tomcat。我希望在Eclipse Dynamic Web Project中有类似的东西,您可以通过产生tomcat进程直接运行servlet。

Is there a plugin for Eclipse GWT or any other method to automatically deploy and run GWT app on Tomcat (or any other Serlvet container)? For the moment the only method I know is copying the compiled classes into WEB-INF directory but this is an arduous work. Additionally you have to configure Apache Tomcat manually. I'd like to have something like in Eclipse Dynamic Web Project where you can run your servlets directly by spawning tomcat process.

谢谢

Thanks

推荐答案

您可以编写一个Ant任务来部署和运行您的GWT应用程序。它可以复制文件,然后告诉你的servlet容器重新加载最新的文件。

You could write an Ant task to deploy and run your GWT app. It could copy the files and then tell your servlet container to reload the latest files.

这篇关于GWT应用程序 - 部署在Tomcat或任何其他servlet容器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆