Get started Bring yourself up to speed with our introductory content.

Struts 2 development with the Eclipse IDE tutorial

Apache Struts is one of the most popular web development frameworks in the history of the Java language, and the Eclipse IDE remains one of the most popular Java IDEs on the market. As such, it only makes sense to combine the two offerings together when developing applications quickly and efficiently is the goal.

Apache Struts and Eclipse

To get working with Apache Struts and Eclipse, follow the following steps:

  1. Acquire and install the JDK on your local workstation
  2. Obtain and install a recent distribution of the Eclipse IDE
  3. Install a build tool such as Apache Maven to handle dependencies
  4. Use the Maven project wizard to create a Java web application in Eclipse
  5. Add the required Struts dependencies to the Maven POM file
  6. Use the Eclipse IDE to write Struts actions, HTML files and JSPs.
    1. A Hello World Struts application is always a good place to start
  7. Use JUnit to test Struts actions and Java POJOs
  8. Install Tomcat or Jetty so you can run your Struts applications locally
  9. Version your Eclipse applications with Git and share your code with others on GitHub or GitLab

Both Apache Struts 2 and Eclipse are open source projects. Combining the two is a great way to accelerate the application development process.

Learn Apache Struts 2 Quickly

Here’s how to learn the fundamentals of Struts 2.5:

Follow these steps and you’ll be an Apache Struts 2 expert in no time!

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

SearchAppArchitecture

SearchSoftwareQuality

SearchCloudComputing

SearchSecurity

SearchAWS

Close