eclipse 下配置 struts 开发环境

来源:互联网 发布:淘宝网能微信支付吗 编辑:程序博客网 时间:2024/04/29 01:31

在eclipse下开发struts应用的配置:

先到网上下载以下插件,要是不想找的话,联系我,我可以直接打包传给你,qq 149028264

tk.eclipse.plugin.htmleditor_1.6.9

GEF-ALL-3.1

tk.eclipse.plugin.struts_2.0.0

tomcatPluginV31

然后将它们plugins下面的文件 放到eclipse的plugins文件夹下,features下的文件放到eclipse的features下

启动eclipse就可以看到,tomcat的图标出现了,而且在菜单栏也出现了tomcat的选项。

然后,再选择窗口-》首选项-》tomcat把tomcat version改为你自己的tomcat版本。

新建项目-》java-》tomcat project  然后填写项目的名称和路径,完成。

右击刚新建的项目-》新建-》其他-》amateras-》struts-》add struts support。即可添加struts支持到该项目。

以后,你可以用同样的方法建立struts action 或struts form等。

基本的配置就行了,至于还有什么更多的需要,就自己好好琢磨吧!

原创粉丝点击