Netbeans support for struts 2?
I have just started learning struts 2. I have purchased the book named Struts 2 in action. But I want to use an IDE for developing Struts 2 applications. I basically use netbeans.
Please tell me how can i develop applications using netbeans. Also, it would be great if somebody can point out a few tutorials on the same.
regards
P.S. I haven't used eclipse. Is it advisable to switch to it for struts 2, (if it is better than netbeans in this ca开发者_运维技巧se)?
If you are already using NetBeans IDE then it is a good idea to find a plugin for Struts2 in NetBeans IDE as it will provide you tools for Struts2 maintaining the comfort you are already having with NetBeans IDE.
- For NetBeans IDE 6.9 and above the plugin for Struts2 is available in the NetBeans Plugin Portal. Please visit the link http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=23467 and download the plugin. This plugin will get downloaded as a ZIP file. After unzipping it you will find three NBM files.
- Using the Tools Menu > Plugin option open the Plugins dialog box and using the Downloaded plugin. Select those NBM files and install all of them.
- Now when you start a new Java Web > Web Application project, you will get option to choose web framework with Struts2 as one option, choose Struts2
with regards
Tushar Joshi, Nagpur
I don't use Netbeans, but this IDE seems to handle natively only Struts 1.x, but you can use plugins for the Struts 2.x framework.
Regarding the tutorials, Google can help you to find some of them, like this one. The NetBeans wiki seems also helpful..
精彩评论