1. Create a WebProject, such as: 2. Add the Struts2 framework, right-click the created HelloS2SH project, and select MyEclipseaddStruts2Capabilities ..., for example, a dialog box is displayed. Here we select Struts2.1 and *, for example, click next. The following interface is displayed: Click finish, s
1. Create a WebProject, such as: 2. add the Struts2 framework, right-click the created HelloS2SH project, and select MyEclipse add Struts2 Capabilities ..., for example, a dialog box is displayed. Here we select Struts2.1 and/*, for example, click next. The following interface is displayed: Click finish, s
1. Create a WebProject, such:
2. Add the Struts2 framework
Right-click the created HelloS2SH project and choose MyEclipse> add Struts2 Capabilities..., as shown in the following figure:
Then a dialog box is displayed. Here we select Struts2.1 and/*, for example:
Click next. The following page is displayed:
Click finish. The strust2 framework is successfully added.
3. Add Spring framework
Right-click the created HelloS2SH project and choose MyEclipse> add Spring Capabilities..., for example:
Then a dialog box is displayed. Here we select Spring 3.0, for example:
Click next. The following dialog box is displayed:
Finally, the Spring framework is successfully added.
4. Add a Hibernate framework
Right-click the created HelloS2SH project and choose MyEclipse> add Hibernate Capabilities..., for example:
The following dialog box is displayed:
Click Next and the following dialog box appears. Select the second Spring config ......:
Click Next and select the second Existing Spring ......:
Click Next and select a data source in DB Driver:
Click Next To uncheck Create Session ......
Click Finish to add the Hibernate framework.
After completing the above steps, the S2SH framework is basically built. I hope you can build a pleasant job ~~