You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by Apache Wiki <wi...@apache.org> on 2008/06/27 11:17:33 UTC

[Struts Wiki] Update of "StrutsNetBeans" by Geertjan Wielenga

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by Geertjan Wielenga:
http://wiki.apache.org/struts/StrutsNetBeans

New page:
[http://www.netbeans.org/ NetBeans IDE 5.0] (and above, such as the current release, 6.1) supports Struts out of the box. That's right. There are no additional steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) the IDE. Tomcat is also bundled out of the box with the IDE, therefore creating and deploying web application with Struts requires NO ADDITIONAL PLUGINS.

The following features are supported in the IDE, specifically for Struts:
 * Project template that adds Struts 1.2.7 libraries to application's classpath, modifies web.xml, and add struts-config.xml to application sources.
 * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications  that were created without Struts support.
 * File templates for common artifacts, such as Struts Action class.
 * Right-clicking in the [http://www.netbeans.org/ NetBeans] editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml.
 * Holding down the Ctrl key while moving the mouse over identifiers in struts-config.xml produces hyperlinks that let you jump to referenced Struts artifacts, such as Struts Action class.
 * Code completion and Javadoc display for Struts tags in JSP files.

After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0] (or above), here are some specific Struts-related resources you can use with [http://www.netbeans.org/ NetBeans IDE 5.0] (and above):

[http://www.netbeans.org/kb/50/quickstart-webapps-struts.html Introduction to the Struts Web Framework]

[http://www.netbeans.org/kb/50/tutorial-webapps-struts.html NetBeans IDE Tutorial for Accessing Data with a Struts Data Source]