Showing posts with label struts 2. Show all posts
Showing posts with label struts 2. Show all posts

Thursday, March 19, 2009

netbeans 6.5 and struts 2

It is not really straightforward to add Struts 2 capabilities to Netbeans 6.5, so I'll try to explain it in details.


  1. Go to nbstruts2support project's page and download two nbm files under the "release modules" folder.
  2. Open netbeans 6.5 > tools > plugins > downloaded > add plugins. Then choose both nbm files and click next until the installation is complete.
  3. You can now create java web projects with struts 2 framework support (Don't forget to tick Struts 2 on Frameworks window). Notice that you can automatically generate a "hello world" page using Struts 2.