myeclipse 如何配置struts2

时间:2024-10-12 13:15:05

1、首先打开MyEclipse工具,并创建一个web项目

myeclipse 如何配置struts2

2、在弹出的对话框中输入项目名称

myeclipse 如何配置struts2

3、在新建的项目“demo2”上右键MyEclipse-->Add Struts Capabilities...

myeclipse 如何配置struts2

4、选择Struts版本为Struts 2.1 ,点击next

myeclipse 如何配置struts2myeclipse 如何配置struts2

5、我们打开web项目查看,系统自动给配置好了

myeclipse 如何配置struts2

6、接下来就是写个Action类和在struts,.xml配置一下就好了

© 2025 途途旅游
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com