myeclipse中加入struts支持

2026-02-16 10:53:45

1、新建一个项目,这个就不详细说明了,大家都会的

myeclipse中加入struts支持

2、笔者新建了一个SSH_TEST的web项目

myeclipse中加入struts支持

3、右击这个Web项目

2、选择“myeclipse”

3、选择“add struts capabilities”(如图)

myeclipse中加入struts支持

4、选择struts 2.1

2、选择/*

3、点击next

myeclipse中加入struts支持

5、选择所需的库

2、点击finish

myeclipse中加入struts支持

6、增加了Struts之后,文件夹中会出现如图所示的文件,struts.xml

myeclipse中加入struts支持

猜你喜欢