How to install struts2 plugin in Netbeans

Follow us

Adding the struts plugin into Netbeans IDE makes our work easy. With quick action, we can access the libraries for the struts2 framework.

Here are the simple steps to install struts2 plugins in Netbeans.

Open Netbeans IDE and go to Tools –> Plugins
https://i.imgur.com/dJe7ToG.png
Plugin Navigation
Open Netbeans IDE and go to Tools -Once the Plugins windows is opened, click on “Add Plugins” and select the following located plugin files and click on “Open” –> Plugins
https://i.imgur.com/UuYDLXY.png
Plugin Window
https://i.imgur.com/fKyAh8L.png
Add Plugins

Download the struts2 plugin files from here

https://i.imgur.com/lUCsrhw.png
After adding the plugins
Select the plugins and click on Install and click “Next”
https://i.imgur.com/fbFa1rp.png
Plugin Installer
Accept License Agreement and Install 
https://i.imgur.com/nASlpmK.png
Accept License Agreement
Verify the plugins 
https://i.imgur.com/eoTqQg0.png
Verify the Plugins
Restart the IDE with finish option
https://i.imgur.com/UgIzajI.png
Complete Installation Window

Now check whether the plugins are installed or not.

  • Create new project –> Java Web –> Web Application –> Next
https://i.imgur.com/G7AI9zk.png
Create project window
  • Name the Project –> Next –> Next
https://i.imgur.com/e9KFaQR.png
Naming the project
https://i.imgur.com/LBXYlke.png
Assigning the server

Now if you see the framework window select option, then  congratulations you have installed the plugins successfully

https://i.imgur.com/aG0on8Y.png
Verified the plugin installation

Select the frameworks you want to use. Here you can create one sample example.

https://i.imgur.com/ZHX4TKd.png
Creating example

If you don’t want to create then click on “None”. Once the creation is done, you check with the project structure, libraries. Here is a sample of the created project with the used frameworks and their files.

https://i.imgur.com/XogJteh.png
Project Structure

Hey, now it’s time to see the results.

https://i.imgur.com/YC16JrW.png
Result