Project Based on S2SH framework-detailed setup steps

Source: Internet
Author: User
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 ~~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.