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.


  1. Hi,
    My name is James Branam and I'm the NetBeans Community Docs Manager. Your blog entry would make a fantastic tips and tricks entry for our Community Docs wiki ( Would you be willing to contribute it? If you need any help or have any questions, please contact me at I look forward to hearing from you.

  2. Hi,

    You have done really good job here.Thank you very much.

    Neeraj Patel

  3. Hi my Name is Ramesh Kumar very thanks for giving suggestion

  4. Hi,
    I tried this but getting an error

    "Some plugins require plugin XML Text Editor to be installed.

    The plugin XML Text Editor is requested in implementation version 4.

    The following plugin is affected:       Struts2 Support"

    Could'nt proceed,waiting for reply

  5. Hi,

    This works fine,actually I was tring

    with the the old nbm link given there and got the error as I mentioned above.

    Same issue was mentioned here


    (There is a small file capacity difference between these 2 versions of struts2 support nbms,older one is about 127kb updated one is 131kb)

    Thanks a lot. is works fine.

  6. hey i have installed the struts2 plugin from but while restarting the netbeans 6.7 i got error of missing some thing. so i thier any way to use struts2 in netbeans 6.5 or 6.7

  7. hi
    thanks for posting such a nice reply...
    it helped me alot...
    keep it up...