在eclipse下搭建struts2框架

2024-10-21 00:59:44

1、建立project,此处以demo为例。

在eclipse下搭建struts2框架

3、配置web.xml文件。图中1是头文件,2、3是struts2核心过滤器配置;

在eclipse下搭建struts2框架

5、到此为止基本的框架就搭建好了,能够满足初学用了。

猜你喜欢