手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

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 如何配置struts2
myeclipse 如何配置struts2

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

myeclipse 如何配置struts2

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

© 手抄报圈