- Go to nbstruts2support project's page and download two nbm files under the "release modules" folder.
- Open netbeans 6.5 > tools > plugins > downloaded > add plugins. Then choose both nbm files and click next until the installation is complete.
- 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.
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.
Subscribe to:
Post Comments (Atom)
Hi,
ReplyDeleteMy 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 (http://wiki.netbeans.org//CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.
Thank you !
ReplyDeleteHi,
ReplyDeleteYou have done really good job here.Thank you very much.
Thanks,
Neeraj Patel
Hi my Name is Ramesh Kumar very thanks for giving suggestion
ReplyDeleteHi,
ReplyDeleteI 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
Hi,
ReplyDeleteSorry,
This works fine,actually I was tring
https://nbstruts2support.dev.java.net/installation.html
with the the old nbm link given there and got the error as I mentioned above.
Same issue was mentioned here
e.g:-
http://www.netbeans.org/issues/show_bug.cgi?id=156119
(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.
https://nbstruts2support.dev.java.net/servlets/ProjectDocumentList is works fine.
hey i have installed the struts2 plugin from https://nbstruts2support.dev.java.net/servlets/ProjectDocumentList?folderID=9422&expandFolder=9422&folderID=8962 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
ReplyDeletethank you,
ReplyDeletehi
ReplyDeletethanks for posting such a nice reply...
it helped me alot...
keep it up...