06 - Struts Installation: Page 2 of 2

  1. Installing Editor (optional):

  • Programmers now-a-days have a habit of programming web applications in editors. The reason is, using editors makes the compilation + running + debugging + deployment of web application very easy.
  • The editors which can be used for developing Struts application are:
    • NetBeans (current version is 8.0.1)
    • Eclipse (current version is 4.0.1)
  • Install any of the editors and give the path of installed JDK when prompted for the installed version of Java.
  • Make sure you download the version compatible with your Operating System bit (i.e. 32 bit or 64 bit).
  • If you install an editor, skip the second step (of installing and configuring web server). Because, the editors come with full package of compiler + editor + debugger console + web server + exe creator.

Snapshot: NetBeans editor

Snapshot: Eclipse editor

  • In our tutorial, we will be using NetBeans as editor. To install NetBeans with Apache Tomcat web server use following steps:
    • Install NetBeans.exe:
  •  

Snapshot: Configuring NetBeans

 

  • Click on Customize editor:

Figure - Net Beans Installer

 

  • Enable Apache Tomcat 8.0.3 option :

Figure - Enable Apache Tomcat 8.0.3 option

 

No need to select Junit

Skip JUnit

 

  • Make sure that correct JDK version is selected in NetBeans installation:

NetBeans IDE Installer

 

  • Give the path for Apache Software Foundation installation. If not necessary, do not change this path. Because the same path will be added as the environment variables in your computer properties:

Figure - Path for Apache Software Foundation

 

  • Check the option for updates if necessary (preferable). 

 

Like us on Facebook