1.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/about/about_create_webapps.html Wed Apr 15 11:45:24 2009 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,63 +0,0 @@
1.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1.5 -<!--
1.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
1.7 - * Use is subject to license terms.
1.8 --->
1.9 -<html>
1.10 -<head>
1.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
1.12 -<meta name="lastupdated" content="4Jul07">
1.13 -<!-- p2 -->
1.14 -
1.15 -<title>About Creating Web Applications</title>
1.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
1.17 -</head>
1.18 -
1.19 -<body>
1.20 -
1.21 -<h2>About Creating Web Applications</h2>
1.22 -<p><small>
1.23 -<a href="#seealso">See Also</a>
1.24 -</small></p>
1.25 -<p>Web applications have a defined folder structure. </p>
1.26 -<p>When you create a web project, the IDE does the following:</p>
1.27 -<ul>
1.28 - <li>Displays the new project in the
1.29 -<object classid=java:com.sun.java.help.impl.JHSecondaryViewer>
1.30 - <param name="content" value="../../../ui_elements/project_nav/project_nav_win.html">
1.31 - <param name="viewerActivator" value="javax.help.LinkLabel">
1.32 - <param name="viewerStyle" value="javax.help.Popup">
1.33 - <param name="viewerSize" value="350,560">
1.34 - <param name="text" value="Projects window."></object>
1.35 -
1.36 -
1.37 - If the Set as Main Project checkbox was selected in the New Project wizard, the new project becomes the main project. If necessary, you can <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/proj_main.html">change the
1.38 - main project</a>.</li>
1.39 - <li>Opens a page for you to edit.</li>
1.40 - <li>Puts all the files in the <code>$HOME/NetBeansProjects/<i>project-name</i></code> directory on
1.41 - a UNIX® or Mac OS system or in the <code>\Documents and Settings\<i>username</i>\My Documents\NetBeansProjects\<i>project-name</i> </code> folder on a Microsoft Windows system.</li>
1.42 -<ul class="note">
1.43 - <li><b>Note:</b> You can also specify where the file are located.</li>
1.44 -</ul>
1.45 -</ul>
1.46 -<p>After you create the project, you can view the files in the
1.47 - <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/csh/proj_project_window.html">Projects window</a> or
1.48 - the Files window.</p>
1.49 -<p>When you import a web project from an earlier version of the IDE, the project is structured according to Sun Java BluePrints guidelines. A web application <i>must</i> also contain a deployment descriptor file (<tt>WEB-INF/web.xml</tt>), and <i>can</i> contain one or more <a href="about_create_webcomps.html">web components</a>. </p>
1.50 -<ul class="note">
1.51 - <li>You can add a framework to a web application project after creating it. To do so, choose Tools > Libraries to access the Library Manager.</li>
1.52 -</ul>
1.53 -<dl>
1.54 - <dt><a name="seealso">See Also</a></dt>
1.55 - <dd><a href="../tag/framework/framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
1.56 - <dd><a href="../tag/framework/framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
1.57 - <dd><a href="../tag/framework/framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
1.58 - <dd><a href="../tag/framework/framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
1.59 -</dl>
1.60 -
1.61 -<hr><font size=-2><a href="../../../credits.html">Legal Notices</a></font>
1.62 -
1.63 -<table border="0" cellpadding="50">
1.64 -<tr><td> </td></tr>
1.65 -</table></body>
1.66 -</html>
2.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/about/about_create_webcomps.html Wed Apr 15 11:45:24 2009 +0200
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,58 +0,0 @@
2.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2.5 -<!--
2.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
2.7 - * Use is subject to license terms.
2.8 --->
2.9 -<html>
2.10 -<head>
2.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
2.12 -<meta name="lastupdated" content="4Jul07">
2.13 -<!-- p2 -->
2.14 -
2.15 -<title>About Creating Web Components</title>
2.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
2.17 -</head>
2.18 -
2.19 -<body>
2.20 -
2.21 -<h2>About Creating Web Components</h2>
2.22 -<p><small>
2.23 -<a href="#seealso">See Also</a>
2.24 -</small></p>
2.25 -<p>A web component is an object that provides services in response to requests, within the context of a <a href="../../about/about_webapps.html">web application</a>.
2.26 -
2.27 -<p>The main web components are as follows:</p>
2.28 -
2.29 -<ul>
2.30 -<li>JSP pages, HTML files, and JSP segments.</li>
2.31 -<li>Applets.</li>
2.32 -<li>Java class files for the servlets, filters, and listeners.</li>
2.33 -<li>Java class files for the classes that the JSP pages, applets, servlets, filters, and listeners
2.34 -depend on such as JavaBeans components. Optionally, you can package these classes as library JAR files.</li>
2.35 -<li>Static documents, such as HTML files, images, sound files, and so on.</li>
2.36 -<li>Tag files and tag segments.</li>
2.37 -<li>Custom tag libraries with tag library descriptor files (TLD files). TLD files are typically
2.38 -included in the tag library's JAR file. </li>
2.39 -</ul>
2.40 -Before you can create a web component, you must <a href="about_create_webapps.html">create a web application</a> to contain it.
2.41 -<dl>
2.42 -<dt><a name="seealso">See Also</a></dt>
2.43 -<dd><a href="../jsp/jsp_create.html">Creating a JSP File</a></dd>
2.44 -<dd><a href="../html/html_create.html">Creating an HTML File</a></dd>
2.45 -<dd><a href="../applet/applet_create.html">Creating an Applet</a></dd>
2.46 -<dd><a href="../servlet/servlet_create.html">Creating a Servlet</a></dd>
2.47 -<dd><a href="../filter/filter_create.html">Creating a Filter</a></dd>
2.48 -<dd><a href="../listener/listener_create.html">Creating a Web Application Listener</a></dd>
2.49 -<dd><a href="../tag/tld/tld_create.html">Creating a Tag Library Descriptor</a></dd>
2.50 -<dd><a href="../tag/tagfile/tagfile_create.html">Creating a Tag File</a></dd>
2.51 -<dd><a href="../tag/taghandler/taghandler_create.html">Creating a Tag Handler</a></dd>
2.52 -</dl>
2.53 -
2.54 -<hr><font size=-2><a href="../../../credits.html">Legal Notices</a></font>
2.55 -
2.56 -<table border="0" cellpadding="20">
2.57 -<tr><td> </td></tr>
2.58 -<tr><td> </td></tr>
2.59 -<tr><td> </td></tr>
2.60 -</table></body>
2.61 -</html>
3.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/about/create_webapps_proj.html Wed Apr 15 11:45:24 2009 +0200
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,70 +0,0 @@
3.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3.5 -<!--
3.6 -* Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
3.7 -* Use is subject to license terms.
3.8 --->
3.9 -<html>
3.10 -<head>
3.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
3.12 -<title>Creating a Web Application Project</title>
3.13 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
3.14 -</head>
3.15 -<body>
3.16 -
3.17 -<h2>Creating a Web Application Project</h2>
3.18 -<p> <small><a href="#seealso">See Also</a> </small>
3.19 -
3.20 -<p>In the IDE, you create applications and modules in projects. The web application project is the project that
3.21 -you use to create web applications and web application modules.</p>
3.22 -<b>To create a web application project:</b>
3.23 -<ol>
3.24 - <li>Choose File > New Project
3.25 - (Ctrl-Shift-N). </li>
3.26 - <li>From the Java Web category, select one of the following project templates:
3.27 - <ul>
3.28 - <li><a href="../../csh/projwiz_standard/PanelConfigureProject.html">Web Application</a>. Creates an empty
3.29 - web application in a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
3.30 - <param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/glossary_standard.html">
3.31 - <param name="viewerActivator" value="javax.help.LinkLabel">
3.32 - <param name="viewerStyle" value="javax.help.Popup">
3.33 - <param name="viewerSize" value="400,220">
3.34 - <param name="text" value="standard project">
3.35 - <param name="textFontSize" value="medium">
3.36 - <param name="textFontFamily" value="SansSerif">
3.37 - <param name="textFontStyle" value="italic">
3.38 - <param name="textFontWeight" value="bold">
3.39 - <param name="textColor" value="blue">
3.40 - </object>.</li>
3.41 - <li><a href="../../csh/projwiz_standard/ThePanel.html">Web Application with Existing
3.42 - Sources</a>. Imports an existing web application into a standard project.</li>
3.43 - <li><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/proj_j2sefree_props_sources.html">Web Free-Form Project</a>.
3.44 - Imports an existing web application into a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
3.45 - <param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/glossary_freeform.html">
3.46 - <param name="viewerActivator" value="javax.help.LinkLabel">
3.47 - <param name="viewerStyle" value="javax.help.Popup">
3.48 - <param name="viewerSize" value="400,160">
3.49 - <param name="text" value="free-form project">
3.50 - <param name="textFontSize" value="medium">
3.51 - <param name="textFontFamily" value="SansSerif">
3.52 - <param name="textFontStyle" value="italic">
3.53 - <param name="textFontWeight" value="bold">
3.54 - <param name="textColor" value="blue">
3.55 - </object>.</li>
3.56 - </ul>
3.57 - </li>
3.58 -<li>Follow the steps in the rest of the wizard.</li>
3.59 -</ol>
3.60 -<dl>
3.61 -<dt><a name="seealso">See Also</a></dt>
3.62 -<dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/proj_stand_about.html">About Standard Projects</a></dd>
3.63 -<dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/proj_free_about.html">About Free-Form Projects</a></dd>
3.64 -</dl>
3.65 -
3.66 -<hr><font size=-2><a href="../../../credits.html">Legal Notices</a></font>
3.67 -
3.68 -<table border="0" cellpadding="20">
3.69 -<tr><td> </td></tr>
3.70 -<tr><td> </td></tr>
3.71 -<tr><td> </td></tr>
3.72 -</table></body>
3.73 -</html>
4.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/applet/applet_create.html Wed Apr 15 11:45:24 2009 +0200
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,103 +0,0 @@
4.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4.5 -<!--
4.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
4.7 - * Use is subject to license terms.
4.8 -> -->
4.9 -<html>
4.10 -<head>
4.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
4.12 -<title>Creating an Applet</title>
4.13 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
4.14 -</head>
4.15 -<body>
4.16 -
4.17 -<h2>Creating an Applet</h2>
4.18 -<p><small>
4.19 -<a href="#seealso">See Also</a>
4.20 -</small></p>
4.21 -<p>Before you create an applet in the IDE, you must determine the type of project
4.22 -from which you want to run the applet. You can create the applet in one of the
4.23 -following two places:</p>
4.24 -<ol>
4.25 - <li>Within a Java Application project with Java WebStart enabled and with
4.26 - an applet descriptor specified in the application's JNLP file.</li>
4.27 - <li>Within a Java Class Library project that is a library for a Web Application
4.28 - project.</li>
4.29 -</ol>
4.30 -<a name="applet-jnlp"/>
4.31 -<b>To create and run an applet that is called from a JNLP file:</b>
4.32 -<ol>
4.33 - <li> Choose File > New Project.
4.34 - Under Categories, select Java. Under Projects, select Java Application.
4.35 - Complete the wizard. </li>
4.36 - <li>Right-click the node of the new project in the Projects window
4.37 - and select New > Other. Under Categories,
4.38 -select Swing GUI Forms.
4.39 -Under File Types, select JApplet Form. Click Next.</li>
4.40 -<li>
4.41 -In the Class Name text field, type the name of your applet.
4.42 -In the Package text field, enter the package to which the applet
4.43 -will belong.</li>
4.44 -<li>Click Finish. The IDE creates the applet in the
4.45 -specified package. The applet opens in the Source editor.</li>
4.46 -<li>
4.47 -Design the applet with the GUI Builder or type code in the source view.
4.48 -</li>
4.49 -<li>Right-click the project's node, choose Properties, and select the Web Start panel.</li>
4.50 -<li>Select the Enable Web Start checkbox.</li>
4.51 -<li>Select the Applet Descriptor radio button and make sure that your applet
4.52 -is selected in the Applet Class combo box.</li>
4.53 -<li>Close the Project Properties dialog box.</li>
4.54 -<li>Right click the project node in the Projects window and choose Build from the pop-up menu.</li>
4.55 -<li>Right-click the project node and choose Run Project.</li></ol>
4.56 -
4.57 -<b>To create an applet in a web application:</b>
4.58 -<ol>
4.59 - <li> Choose File > New Project.
4.60 - Under Categories, select Java. Under Projects, select Java Class Library.
4.61 - Complete the wizard. </li>
4.62 - <li>Right-click the node of the new project in the Projects window
4.63 - and select New > Other. Under Categories,
4.64 -select Swing GUI Forms.
4.65 -Under File Types, select JApplet Form. Click Next.</li>
4.66 -<li>
4.67 -In the Class Name text field, type the name of your applet.
4.68 -In the Package text field, enter the package to which the applet
4.69 -will belong.</li>
4.70 -<li>Click Finish. The IDE creates the applet in the
4.71 -specified package. The applet opens in the Source editor.</li>
4.72 -<li>
4.73 -Design the applet with the GUI Builder or type code in the source view.
4.74 -</li>
4.75 -<li>Right click the project node in the Projects window and choose Build from the pop-up menu.</li>
4.76 -<li><a href="applet_run.html">Run the applet</a>.</li></ol>
4.77 -
4.78 - <ul class="note">
4.79 - <li><b>Note:</b> When you create the applet, you can also choose from the JApplet
4.80 - or Applet templates in the Java category. These templates do not work with the
4.81 - IDE's GUI Builder.</li>
4.82 -</ul>
4.83 -
4.84 -
4.85 -<dl>
4.86 -<dt><a name="seealso">See Also</a></dt>
4.87 -<dd><a href="../../build/build_externalresource.html">Packaging a Resource in a WAR File</a></dd>
4.88 -<dd><a href="applet_security.html">Setting Permissions for an Applet</a></dd>
4.89 -<dd><a href="../jsp/jsp_useapplet.html">Accessing an Applet from a JSP Page</a></dd>
4.90 -</dl>
4.91 -
4.92 -
4.93 -<hr>
4.94 -<small><a href="../../../credits.html">Legal Notices</a></small>
4.95 -<table cellpadding="20" border="0">
4.96 - <tr>
4.97 - <td> </td>
4.98 - </tr>
4.99 - <tr>
4.100 - <td> </td>
4.101 - </tr>
4.102 -</table>
4.103 -
4.104 -</body>
4.105 -</html>
4.106 -
5.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/applet/applet_run.html Wed Apr 15 11:45:24 2009 +0200
5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
5.3 @@ -1,89 +0,0 @@
5.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5.5 -<!--
5.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
5.7 - * Use is subject to license terms.
5.8 -> -->
5.9 -<html>
5.10 -<head>
5.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
5.12 -<title>Running an Applet</title>
5.13 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
5.14 -</head>
5.15 -<body>
5.16 -
5.17 -<h2>Running an Applet</h2>
5.18 -<p><small>
5.19 -<a href="#seealso">See Also</a>
5.20 -</small></p>
5.21 -<p>If you
5.22 - <a href="applet_create.html#applet-jnlp">create an applet as part of a Java WebStart-enabled project</a>, you can run
5.23 -the applet by running the project.</p>
5.24 -<p>If your applet is not part of a WebStart-enabled project, the applet is
5.25 -not run as part of the project.</p>
5.26 -<p><b>To run an applet invidually:</b></p>
5.27 -<ol>
5.28 - <li>Right-click an applet class in the Projects window or Files window.</li>
5.29 - <li>Select Run File from the pop-up menu.
5.30 - <p>
5.31 - The <i>myappletclass</i>.html launcher file, with the applet embedded, is created
5.32 - in the <tt>build</tt> folder and launched in the Applet Viewer.
5.33 - </li>
5.34 - <p>To run or debug an applet with the parameters, you need to edit the launcher,
5.35 - copy it from the <tt>build</tt> folder
5.36 - to the package where the applet class lives in the <tt>src</tt> folder. Make sure that the
5.37 - <i>myappletclass</i>.html launcher file has the same name as the applet class. Now edit
5.38 - the <i>myappletclass</i>.html launcher file as needed. When you build the project, the
5.39 - <i>myappletclass</i>.html launcher file is copied from the <tt>src</tt> folder to the <tt>build</tt>
5.40 -folder.</p>
5.41 -
5.42 - <ul class="note">
5.43 - <li><b>Note:</b> The <i>myappletclass</i>.html launcher file
5.44 - in your <tt>build</tt> folder is overwritten each time
5.45 - you run or debug the applet. Therefore, do not modify the <i>myappletclass</i>.html launcher file
5.46 - in your <tt>build</tt> folder.</li>
5.47 -</ul>
5.48 -</li>
5.49 -<li>To exclude the <i>myappletclass</i>.html launcher file from the JAR file,
5.50 -right-click the project, choosing Properties, clicking Packaging, and
5.51 - adding an expression to exclude them.
5.52 -<table cellpadding="3" cellspacing="0" border="0">
5.53 - <tr valign="top">
5.54 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
5.55 - <td valign=top align=left>An HTML file is created by the IDE when you run
5.56 - or debug an applet. When you copy it to your <tt>src</tt> folder for
5.57 - editing, it will automatically be included in the JAR file when
5.58 - you build the project.</td>
5.59 - </tr>
5.60 -</table></li></ul>
5.61 -<li><a href="../../build/build_externalresource.html">Package</a> the applet in the web application.</li>
5.62 -<li><a href="../jsp/jsp_useapplet.html">Define</a> the applet in a JSP file.</li>
5.63 -<li><a href="../jsp/jsp_run.html">Run</a> the JSP file that contains the applet or
5.64 -<a href="../../deploy/deploy_webapp.html">deploy</a> the web application that contains the JSP file.</li></ol>
5.65 -<h3>Debugging an Applet</h3>
5.66 -<p>Applets run in the virtual machine
5.67 - of the IDE's default web browser. The IDE uses a different
5.68 - virtual machine and therefore applets are not included
5.69 - in a web application's debug session. Therefore,
5.70 - debug the applet launcher file as described in step 2 above.</p>
5.71 -
5.72 -<dl>
5.73 -<dt><a name="seealso">See Also</a></dt>
5.74 -<dd><a href="applet_create.html">Creating an Applet</a></dd>
5.75 -<dd><a href="../../build/build_externalresource.html">Packaging a Resource in a WAR File</a></dd>
5.76 -<dd><a href="applet_security.html">Setting Permissions for an Applet</a></dd>
5.77 -</dl>
5.78 -
5.79 -<hr>
5.80 -<small><a href="../../../credits.html">Legal Notices</a></small>
5.81 -<table cellpadding="20" border="0">
5.82 - <tr>
5.83 - <td> </td>
5.84 - </tr>
5.85 - <tr>
5.86 - <td> </td>
5.87 - </tr>
5.88 -</table>
5.89 -
5.90 - </body>
5.91 -</html>
5.92 -
6.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/applet/applet_security.html Wed Apr 15 11:45:24 2009 +0200
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,73 +0,0 @@
6.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6.5 -<!--
6.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
6.7 - * Use is subject to license terms.
6.8 -> -->
6.9 -<html>
6.10 -<head>
6.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
6.12 -<meta name="lastupdated" content="4Jul07">
6.13 -<!-- p2 -->
6.14 -<title>Setting Permissions for an Applet</title>
6.15 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
6.16 -</head>
6.17 -<body>
6.18 -
6.19 -<h2>Setting Permissions for an Applet</h2>
6.20 -<p><small>
6.21 -<a href="#seealso">See Also</a>
6.22 -</small></p>
6.23 -<p>By default, applets do not have access to resources on a client's computer, such
6.24 -as threads and disk operations. An applet's permissions are defined in its <tt>applet.policy</tt> file.
6.25 -If you have an applet policy file, you can specify its location in the IDE. Then,
6.26 -when you run the application, the IDE uses the applet policy file that you specified.
6.27 - If you do not specify an applet policy file, the IDE generates one for you
6.28 - when you run the applet. The applet policy file that the IDE generates for you
6.29 - grants all permissions to the applet. You can use the Source Editor to modify
6.30 - the policy file, so that appropriate security checks are done. </p>
6.31 -<p><b>To specify the location of an existing applet policy file:</b></p>
6.32 -<ol><li>Right-click the project node and choose Properties.</li>
6.33 - <li>In the left pane of the Project Properties dialog box, select Run.</li>
6.34 - <li>In VM Options, specify the location of the applet policy file. For example,
6.35 - use the following setting to specify that the applet policy file is in the
6.36 - project's root folder:
6.37 - <p><tt>-Djava.security.policy=applet.policy</tt></p></li>
6.38 - <li>Click OK.</li>
6.39 -</ol>
6.40 -<p><b>To use the IDE to generate an applet policy file:</b></p>
6.41 -<ol><li><a href="applet_run.html">Run the applet</a>.
6.42 - <p>The IDE creates an applet policy file.</p></li>
6.43 - <li>In the Files window, expand the project node and double-click the <tt>applet.policy</tt> file.</li>
6.44 - <li>In the Source Editor, set permissions according to your needs.</li>
6.45 - <li>Right-click the project node and choose Properties.</li>
6.46 - <li>In the Project Properties dialog box, select Run.</li>
6.47 - <li>In VM Options, note that the IDE has specified the location of the applet policy file.
6.48 - By default, the applet policy file is in the
6.49 - project's root folder:
6.50 - <p><tt>-Djava.security.policy=applet.policy</tt></p></li>
6.51 - <li>Click OK.</li>
6.52 -</ol>
6.53 -<dl>
6.54 -<dt><a name="seealso">See Also</a></dt>
6.55 -<dd><a href="applet_create.html">Creating an Applet</a></dd>
6.56 -<dd><a href="applet_run.html">Running an Applet</a></dd>
6.57 -<dd><a href="../../build/build_externalresource.html">Packaging a Resource in a WAR File</a></dd>
6.58 -<dd><a href="../jsp/jsp_useapplet.html">Accessing an Applet from a JSP Page</a> </dd>
6.59 -</dl>
6.60 -
6.61 -
6.62 -
6.63 -<hr>
6.64 -<small><a href="../../../credits.html">Legal Notices</a></small>
6.65 -<table cellpadding="20" border="0">
6.66 - <tr>
6.67 - <td> </td>
6.68 - </tr>
6.69 - <tr>
6.70 - <td> </td>
6.71 - </tr>
6.72 -</table>
6.73 -
6.74 - </body>
6.75 -</html>
6.76 -
7.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/filter/about_filter.html Wed Apr 15 11:45:24 2009 +0200
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,73 +0,0 @@
7.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
7.5 -<!--
7.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
7.7 - * Use is subject to license terms.
7.8 --->
7.9 -<html>
7.10 -<head>
7.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
7.12 -<meta name="lastupdated" content="4Jul07">
7.13 -<!-- p2 -->
7.14 -
7.15 -<title>About Filters</title>
7.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
7.17 -</head>
7.18 -<body>
7.19 -
7.20 -<h2>About Filters</h2>
7.21 -<p><small>
7.22 -<a href="#seealso">See Also</a>
7.23 -</small></p>
7.24 -
7.25 -<p>A filter is a piece of re-usable code that modifies requests to and responses
7.26 - from a servlet. Filters can perform many functions, including (but not limited
7.27 - to):</p>
7.28 -<ul>
7.29 - <li>Authentication, that is, blocking requests based on user identity</li>
7.30 - <li>Logging and auditing, that is, tracking users of a web application</li>
7.31 - <li>Localization, that is, tailoring the request and response to a particular
7.32 - locale</li>
7.33 - <li>Data compression, that is, making downloads smaller</li>
7.34 - <li>XSLT transformations of XML content, that is, targeting web application
7.35 - responses to more than one type of client</li>
7.36 -</ul>
7.37 -<p>The IDE provides a wizard to help you create both simple and more advanced
7.38 -filter elements. </p>
7.39 -<table cellpadding="3" cellspacing="0" border="0">
7.40 - <tr valign="top">
7.41 - <td><img src="../../images/tip.gif" alt="tip"> </td>
7.42 - <td>Filters are run on each mapped request, therefore you cannot run or debug them individually.</td>
7.43 - </tr>
7.44 -</table>
7.45 -<p>Filters are declared using the <tt><a href="filter_addtodd.html">filter</a></tt>
7.46 - element in the web application's deployment descriptor (<tt>web.xml</tt>) and are
7.47 - packaged in a WAR file along with the static content and servlets that make
7.48 - up a web application. A filter or collection of filters can be configured for invocation
7.49 - by defining the filter mapping elements in the deployment descriptor.</p>
7.50 -<p>For more information about filters, see the
7.51 -<i>Java Servlet Technology Documentation</i> available at
7.52 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
7.53 - <param name="content" value="http://java.sun.com/products/servlet/docs.html ">
7.54 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/docs.html </u></html>">
7.55 - <param name="textFontSize" value="medium">
7.56 - <param name="textColor" value="blue">
7.57 -</object>
7.58 -
7.59 -</p>
7.60 -
7.61 -<dl>
7.62 -<dt><a name="seealso">See Also</a></dt>
7.63 -<dd><a href="filter_create.html">Creating a Filter</a></dd>
7.64 -<dd><a href="filter_addtodd.html">Registering a Filter</a></dd>
7.65 -</dl>
7.66 -
7.67 -<hr>
7.68 -<small><a href="../../../credits.html">Legal Notices</a>
7.69 -<table cellpadding="20" border="0">
7.70 -<tr><td> </td></tr>
7.71 -<tr><td> </td></tr>
7.72 -<tr><td> </td></tr>
7.73 -</table>
7.74 -
7.75 -
7.76 -</small></body></html>
8.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/filter/filter_addtodd.html Wed Apr 15 11:45:24 2009 +0200
8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
8.3 @@ -1,52 +0,0 @@
8.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8.5 -<!--
8.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
8.7 - * Use is subject to license terms.
8.8 -> -->
8.9 -<html>
8.10 -<head>
8.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
8.12 -<meta name="lastupdated" content="4Jul07">
8.13 -<!-- p2 -->
8.14 -
8.15 -<title>Registering a Filter</title>
8.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
8.17 -</head>
8.18 -
8.19 -<body>
8.20 -<h2>Registering a Filter</h2>
8.21 -<p><small>
8.22 -<a href="#seealso">See Also</a>
8.23 -</small></p>
8.24 -<p>You can add a filter to a web application deployment descriptor (<tt>web.xml</tt>)
8.25 - in two ways:</p>
8.26 -<ul>
8.27 -<li>Using the New Filter wizard when you <a href="filter_create.html">create the filter</a>.
8.28 - On the Configure Filter Deployment page, select the Add information to deployment
8.29 - descriptor (web.xml) checkbox, type the filter's internal name, and add the
8.30 - filter's mappings. Optionally, you can add the filter's initialization parameters
8.31 - from the Filter Init Parameters page, which is the next step in the wizard.</li>
8.32 -
8.33 - <li>Using the <a href="../../csh/graphic_editor/dd_multiview_filters_filtersNode.html">Servlet Filters section</a>
8.34 - of the <tt>web.xml</tt> Visual Editor. </li>
8.35 -</ul>
8.36 -<p>The filter element defines a filter in the deployment descriptor.
8.37 - Filter class instances are scoped to one filter
8.38 - per deployment descriptor declaration per Java virtual machine. </p>
8.39 -<p>For more information about filters, see the <i>Java Servlet Specification</i>
8.40 - available at <p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
8.41 - <param name="content" value="http://java.sun.com/products/servlet/download.html">
8.42 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/download.html</u></html>">
8.43 - <param name="textFontSize" value="medium">
8.44 - <param name="textColor" value="blue">
8.45 -</object>.</p>
8.46 -
8.47 -<dl>
8.48 -<dt><a name="seealso">See Also</a></dt>
8.49 -<dd><a href="about_filter.html">About Filters</a></dd>
8.50 -<dd><a href="filter_create.html">Creating a Filter</a></dd>
8.51 -</dl>
8.52 -
8.53 -<hr>
8.54 -<small><a href="../../../credits.html">Legal Notices</a> </small>
8.55 -</body></html>
9.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/filter/filter_create.html Wed Apr 15 11:45:24 2009 +0200
9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
9.3 @@ -1,80 +0,0 @@
9.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
9.5 -<!--
9.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
9.7 - * Use is subject to license terms.
9.8 - -->
9.9 -<html>
9.10 -<head>
9.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
9.12 -<meta name="lastupdated" content="4Jul07">
9.13 -<!-- p2 -->
9.14 -
9.15 -<title>Creating a Filter</title>
9.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
9.17 -</head>
9.18 -
9.19 -<body>
9.20 -<h2>Creating a Filter</h2>
9.21 -<p><small>
9.22 -<a href="#seealso">See Also</a>
9.23 -</small></p>
9.24 -
9.25 -<p>You create a filter by implementing the <tt>javax.servlet.Filter</tt> interface
9.26 - and providing a public constructor taking no arguments. The IDE provides a wizard
9.27 - to help you create two types of filters:</p>
9.28 -<ul>
9.29 - <li>A basic filter class</li>
9.30 - <li>A filter class that wraps
9.31 - the Request and Response objects prior to passing on the request. </li>
9.32 -</ul>
9.33 -<p><b>To create a Filter:</b></p>
9.34 -<ol>
9.35 - <li>Right-click the package where you want to put the filter and choose
9.36 - New > Other from the pop-up menu.</li>
9.37 - <li>Under Categories, select Web. Under File Types, select Filter. Click Next.</li>
9.38 - <li>Specify the fully
9.39 - qualified class name, the location and the servlet's package. Do not include
9.40 - a filename extension to the class name as this is added
9.41 - automatically when the file is created.
9.42 - </li>
9.43 - <li>Select the Wrap Request and Response Objects checkbox if you want
9.44 - the filter to wrap the request and response objects.
9.45 - For example, you can extend the capabilities of the
9.46 - request and response by allowing parameters to be set
9.47 - on the request before it is sent to the rest of the filter chain.
9.48 - Or you can keep track of the cookies that are set on the response.
9.49 - Note that some servers do not handle wrappers very well for forward or
9.50 - include requests.
9.51 - </li>
9.52 - <li>Click Finish to register the filter in the deployment descriptor. You can also
9.53 - register the filter afterwards, using
9.54 - the <a href="../../csh/graphic_editor/dd_multiview_filters_filtersNode.html">Servlet Filters section</a>
9.55 - of the <tt>web.xml</tt> Visual Editor.
9.56 - <li> Click Next to define initialization parameters or
9.57 - click Finish to accept the default configuration. The IDE opens
9.58 - the filter source code in the Source Editor.</li>
9.59 -</ol>
9.60 -
9.61 -<p>For more information about filters, see the <i>Java Servlet Technology Documentation</i>
9.62 - available at<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
9.63 - <param name="content" value="http://java.sun.com/products/servlet/docs.html ">
9.64 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/docs.html </u></html>">
9.65 - <param name="textFontSize" value="medium">
9.66 - <param name="textColor" value="blue">
9.67 -</object>.</p>
9.68 -
9.69 -<dl>
9.70 -<dt><a name="seealso">See Also</a></dt>
9.71 -<dd><a href="about_filter.html">About Filters</a></dd>
9.72 -<dd><a href="filter_addtodd.html">Registering a Filter</a></dd>
9.73 -</dl>
9.74 -
9.75 -<hr>
9.76 -<small><a href="../../../credits.html">Legal Notices</a>
9.77 -<table cellpadding="20" border="0">
9.78 -<tr><td> </td></tr>
9.79 -<tr><td> </td></tr>
9.80 -<tr><td> </td></tr>
9.81 -</table>
9.82 -
9.83 -</small></body></html>
10.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/filter/filter_run.html Wed Apr 15 11:45:24 2009 +0200
10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
10.3 @@ -1,38 +0,0 @@
10.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
10.5 -<!--
10.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
10.7 - * Use is subject to license terms.
10.8 -> -->
10.9 -<html>
10.10 -<head>
10.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
10.12 -<meta name="lastupdated" content="4Jul07">
10.13 -<!-- p2 -->
10.14 -
10.15 -<title>Running a Filter</title>
10.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
10.17 -</head>
10.18 -
10.19 -<body>
10.20 -<h2>Running a Filter</h2>
10.21 -<p><small>
10.22 -<a href="#seealso">See Also</a>
10.23 -</small></p>
10.24 -<ul>
10.25 -<li><a href="filter_addtodd.html">Register the filter</a> in the <tt>web.xml</tt> file. </li>
10.26 -<table cellpadding="3" cellspacing="0" border="0">
10.27 - <tr valign="top">
10.28 - <td><img src="../../images/tip.gif" alt="tip"> </td>
10.29 - <td>Filters are run on each mapped request, therefore you cannot run or debug them individually.</td>
10.30 - </tr>
10.31 -</table>
10.32 -</ul>
10.33 -
10.34 -<dl>
10.35 -<dt><a name="seealso">See Also</a></dt>
10.36 -<dd><a href="about_filter.html">About Filters</a></dd>
10.37 -<dd><a href="filter_create.html">Creating a Filter</a></dd>
10.38 -</dl>
10.39 -<hr>
10.40 -<small><a href="../../../credits.html">Legal Notices</a> </small>
10.41 -</body></html>
11.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/html/html_create.html Wed Apr 15 11:45:24 2009 +0200
11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
11.3 @@ -1,64 +0,0 @@
11.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
11.5 -<!--
11.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
11.7 - * Use is subject to license terms.
11.8 --->
11.9 -<html>
11.10 -<head>
11.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
11.12 -
11.13 -<title>Creating an HTML File</title>
11.14 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
11.15 -</head>
11.16 -
11.17 -<body>
11.18 -
11.19 -<h2>Creating an HTML File</h2>
11.20 -<p><small>
11.21 -<a href="#seealso">See Also</a>
11.22 -</small></p>
11.23 -
11.24 -<p>HTML files that are used by web applications are stored under the root folder
11.25 - of the web application hierarchy. In the Projects or Files window, HTML files are represented
11.26 - by the <img src="../../images/html.gif" alt="HTML"> node icon.
11.27 -<p><b>To create an HTML file within a web application:</b>
11.28 -<ol>
11.29 -<li>Right-click any node in the Projects or Files window and
11.30 - choose New > Other
11.31 - from the pop-up menu.
11.32 - <ol>
11.33 - <li>Under Categories, select Web. Under File Types, select HTML. Click Next.</li>
11.34 - </ol>
11.35 -</li>
11.36 - <li>Type the name of your HTML file.
11.37 - Do not include a filename extension as this is added automatically when the file
11.38 - is created.</li>
11.39 - <li>Click Finish. The IDE opens the HTML file for editing in the Source Editor.</li>
11.40 -</ol>
11.41 -<ul class="note">
11.42 - <li>HTML files that are in the <tt>src</tt>
11.43 - directory are automatically packaged when you build your
11.44 - project. HTML files are created by the IDE when you run
11.45 - or debug an applet. Typically, you do not need to package these
11.46 - HTML files. The IDE can filter them out when it builds the WAR file.
11.47 - Right-click the project, click Packaging, click Add Filter, and
11.48 - add an expression to exclude the applet HTML files. </li>
11.49 -</ul>
11.50 -
11.51 -
11.52 -<dl>
11.53 -<dt><a name="seealso">See Also</a></dt>
11.54 -<dd><a href="../../about/about_webapps.html">About Web Applications</a></dd>
11.55 -<dd><a href="../jsp/jsp_edit.html">Editing a JSP or HTML File</a></dd>
11.56 -</dl>
11.57 -
11.58 -<hr>
11.59 -<small><a href="../../../credits.html">Legal Notices</a>
11.60 -<table cellpadding="20" border="0">
11.61 -<tr><td> </td></tr>
11.62 -<tr><td> </td></tr>
11.63 -<tr><td> </td></tr>
11.64 -</table>
11.65 -
11.66 -</small></body></html>
11.67 -
12.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/about_jsp_edit.html Wed Apr 15 11:45:24 2009 +0200
12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
12.3 @@ -1,105 +0,0 @@
12.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
12.5 -<!--
12.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
12.7 - * Use is subject to license terms.
12.8 --->
12.9 -<html>
12.10 -<head>
12.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
12.12 -<meta name="lastupdated" content="4Jul07">
12.13 -<!-- p2 -->
12.14 -
12.15 -<title>About Creating and Editing JSP, HTML, and Tag Files</title>
12.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
12.17 -</head>
12.18 -<body>
12.19 -
12.20 -<h2>About Creating and Editing JSP, HTML, and Tag Files</h2>
12.21 -<p><small>
12.22 -<a href="#seealso">See Also</a>
12.23 -</small></p>
12.24 -<p>The JSP Editor shows you the JavaServer<sup><small>TM</small></sup> Pages
12.25 - (JSP) code generated by the IDE for the page you are editing. The JSP code is in XHTML format, and follows standard JSP conventions for
12.26 - the XML representation of a JSP page. The code uses the JavaServer Faces tag
12.27 - libraries to declare components, event handlers, validators, and so on. In
12.28 - addition, there are expressions written in the JavaServer Faces expression
12.29 - language (JSF EL). </p>
12.30 -<p>Creating and editing JSP, HTML, and tag files is similar to creating and editing Java files.
12.31 - The <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/editing/editing_about.html">Source Editor</a> provides support for HTML, JSP, and customized tags, including
12.32 - code completion for the following JSP elements:</p>
12.33 -<ul>
12.34 - <li>JSP tags</li>
12.35 - <li>JavaBeans that are defined with the <tt><jsp:useBean></tt> tag. </li>
12.36 - <li>Attributes that are defined in tag files</li>
12.37 - <li>Java code in scriptlets</li>
12.38 -</ul>
12.39 -<ul class="note">
12.40 - <li>The IDE provides many features for the creation and editing of XML documents.
12.41 - For details, see <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/xml/xml_about.html">About
12.42 - Editing XML Documents</a>.
12.43 -</ul>
12.44 -<h3>Source Editor Features for JSP, HTML, and Tag Files</h3>
12.45 -
12.46 -<p>When you open a JSP or HTML file in the IDE, a Palette (Ctrl-Shift-8) is displayed
12.47 -on the right side of the Source Editor. Code snippets for many of the most common JSP and HTML tags
12.48 -are provided -- grouped according to their function:
12.49 -<ul>
12.50 - <li><b>HTML.</b> Table, Ordered List, Unordered List, Image, Link, MetaData.
12.51 - <li><b>HTML Forms.</b> Form, Multi-line Input, Checkbox, File Select, Text Input, drop down list,
12.52 - Radio Button, Button.
12.53 - <li><b>JSP.</b> Use Bean, Get Bean Property, Set Bean Property, JSTL Choose,
12.54 - JSTL If, JSTL For Each.
12.55 - <li><b>Database.</b> DB Query, DB Insert, DB Delete, DB Report, DB Update.
12.56 -
12.57 -</ul>
12.58 -
12.59 -<p>To use an item in the Palette, drag it from the Palette into the Source Editor and drop
12.60 - it exactly where you want the tags to appear. A dialog box appears. You can fill in values for
12.61 - the item's standard properties, click OK, and then the IDE generates the tags with your specified values.
12.62 -<p>The IDE provides smart-case code completion
12.63 -for JSP, HTML, and customized tags. When you start writing
12.64 - a tag, the IDE offers code completion in upper case or lower case, depending
12.65 - on the case you are using.</p>
12.66 -
12.67 -<table cellpadding="3" cellspacing="0" border="0">
12.68 - <tr valign="top">
12.69 - <td><img src="../../images/tip.gif" alt="tip"> </td>
12.70 -
12.71 - <td> To enable code completion for a JavaBean class, the JSP file must have
12.72 - a valid <tt>jsp:useBean</tt> directive, the class must be in a package,
12.73 - and the class must be available from the <tt>src</tt>
12.74 - folder or from a library that is included in the compilation classpath.
12.75 - To enable code completion for tags in tag libraries, the JSP file must have
12.76 - a valid <tt>taglib</tt> directive for the library and the library must be
12.77 - included in the compilation classpath.</td>
12.78 - </tr>
12.79 -</table>
12.80 -
12.81 -<p>Other examples of additional JSP support are the highlighting of JSP tags,
12.82 - JSP directives, and EL expressions, <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/shortcuts/abbreviations-list.html">code
12.83 - templates</a>, code
12.84 - folding, the display of matching JSP tags, JSP delimiters (<tt><>)</tt>,
12.85 - and EL delimiters (<tt>{}</tt>), and <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/editing/editor_navigation.html">code
12.86 - navigation</a> features such as hyperlinking for JSP identifiers. For example,
12.87 - you can jump to the tag source file that defines a tag referenced in a JSP file
12.88 - if you simultaneously hold down the Ctrl key and move the mouse over the tag,
12.89 - as illustrated in <a href="jsp_usetaglib.html">Accessing a Custom Tag from
12.90 - a JSP Page</a>.
12.91 -<p>To format selected code, right-click in the Source Editor and choose Format (Alt-Shift-F)
12.92 - from the pop-up menu. If no code is selected, the IDE acts as if the
12.93 - whole file has been selected. The IDE indents nested tags only if both the start
12.94 - and end parent tags are in the selected area. Note that this action does not
12.95 - format scriptlets.
12.96 -
12.97 -<dl>
12.98 - <dt><a name="seealso">See Also</a></dt>
12.99 -<dd><a href="jsp_create.html">Creating a JSP File</a></dd>
12.100 -<dd><a href="../html/html_create.html">Creating an HTML File</a></dd>
12.101 -<dd><a href="about_jsp_encoding.html">About JSP Character Encoding</a></dd>
12.102 -</dl>
12.103 -
12.104 -
12.105 -<hr>
12.106 -<small><a href="../../../credits.html">Legal Notices</a></small>
12.107 -</body>
12.108 -</html>
13.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/about_jsp_encoding.html Wed Apr 15 11:45:24 2009 +0200
13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
13.3 @@ -1,100 +0,0 @@
13.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
13.5 -<!--
13.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
13.7 - * Use is subject to license terms.
13.8 --->
13.9 -<html>
13.10 -<head>
13.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
13.12 -<meta name="lastupdated" content="4Jul07">
13.13 -<!-- p2 -->
13.14 -
13.15 -<title>About JSP Character Encoding</title>
13.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
13.17 -</head>
13.18 -<body>
13.19 -
13.20 -<h2>About JSP Character Encoding</h2>
13.21 -<p><small>
13.22 -<a href="#seealso">See Also</a>
13.23 -</small></p>
13.24 -<p>A character encoding maps a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
13.25 - <param name="content" value="../../glossary/character-set.html">
13.26 - <param name="viewerActivator" value="javax.help.LinkLabel">
13.27 - <param name="viewerStyle" value="javax.help.Popup">
13.28 - <param name="viewerSize" value="400,160">
13.29 - <param name="text" value="character set">
13.30 - <param name="textFontFamily" value="SansSerif">
13.31 - <param name="textFontSize" value="medium">
13.32 - <param name="textFontWeight" value="bold">
13.33 - <param name="textFontStyle" value="italic">
13.34 - <param name="textColor" value="blue">
13.35 -</object> to units of a specific width and defines byte
13.36 -serialization and ordering rules. Many character sets have more than one encoding.
13.37 -For example, Java programs can represent Japanese character sets using the EUC-JP
13.38 -or Shift-JIS encodings, among others. Each encoding has rules for representing and serializing
13.39 -a character set. Two of the more popular character encodings are the following:</p>
13.40 -<ul><li><b>The ISO 8859 series.</b> This series defines 13 character encodings that
13.41 -can represent texts in dozens of languages. Each ISO 8859 character encoding can
13.42 -have up to 256 characters. ISO 8859-1 (Latin-1) comprises the ASCII character set,
13.43 -characters with diacritics (accents, diaereses, cedillas, circumflexes, and so on), and additional symbols.</li>
13.44 -<li><b>UTF-8 (Unicode Transformation Format, 8-bit form).</b> This a variable-width character encoding
13.45 -that encodes 16-bit Unicode characters as one to four bytes. A byte in UTF-8 is equivalent to 7-bit
13.46 -ASCII if its high-order bit is zero; otherwise, the character comprises a variable number of bytes.
13.47 -UTF-8 is compatible with the majority of existing web content and provides access to the Unicode
13.48 -character set. Current versions of browsers and email clients support UTF-8. In addition, many new web
13.49 -standards specify UTF-8 as their character encoding. For example, UTF-8 is one of the two required
13.50 -encodings for XML documents (the other is UTF-16). </li>
13.51 -</ul>
13.52 -<p>To produce an internationalized web application, you need to encode the following:</p>
13.53 -<ul>
13.54 -<li><b>Request Character Encoding.</b> The character encoding in which parameters in an
13.55 -incoming request are interpreted.
13.56 -This encoding converts parameters to string objects. For details, click <a href="jsp_encoding_request.html">here</a>.</li>
13.57 -<li><b>Page Character Encoding.</b> The character encoding in which the JSP file is written.
13.58 -Unless the page character encoding is set correctly, the JSP parser,
13.59 -web container, or web server that reads the page cannot understand the characters before they do anything with them,
13.60 - such as translating the JSP file into a servlet.
13.61 -Page character encoding is used for the rendering of JSP files only if the
13.62 -response character encoding has not been set separately. For details, click <a href="jsp_encoding_page.html">here</a>.</li>
13.63 -<li><b>Response Character Encoding.</b> The character encoding of the textual
13.64 -response generated by a web
13.65 -component. This lets you control the encoding that the page uses when it is sent to the
13.66 -browser. The web page encoding must be set appropriately so that the characters are rendered correctly
13.67 -for a given locale. For details, click <a href="jsp_encoding_response.html">here</a>.</li></ul>
13.68 -<p>All modern web browsers understand UTF-8, so that is a safe encoding to pick for the response.
13.69 -In the IDE, it is a good encoding at the page level too. This is why UTF-8 is the default page character encoding
13.70 -and also the default response character encoding for JSP files created in the IDE.</p>
13.71 -
13.72 -<dl>
13.73 -<dt><a name="seealso">See Also</a> </dt>
13.74 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
13.75 - <param name="content" value="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
13.76 - <param name="text" value="<html><u>Supported Encodings</u></html>">
13.77 - <param name="textFontSize" value="medium">
13.78 - <param name="textColor" value="blue">
13.79 -</object>
13.80 -</dd>
13.81 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
13.82 - <param name="content" value="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebI18N5.html">
13.83 - <param name="text" value="<html><u>Character Sets and Encodings</u></html>">
13.84 - <param name="textFontSize" value="medium">
13.85 - <param name="textColor" value="blue">
13.86 -</object>
13.87 -</dd>
13.88 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
13.89 - <param name="content" value="http://java.sun.com/developer/technicalArticles//Intl/MultilingualJSP/">
13.90 - <param name="text" value="<html><u>Developing Multilingual Web Applications Using JavaServer Pages Technology</u></html>">
13.91 - <param name="textFontSize" value="medium">
13.92 - <param name="textColor" value="blue">
13.93 -</object>
13.94 -</dd>
13.95 -</dl>
13.96 -
13.97 -
13.98 -
13.99 -
13.100 -<hr>
13.101 -<small><a href="../../../credits.html">Legal Notices</a></small>
13.102 -</body>
13.103 -</html>
14.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/about_jsp_syntax.html Wed Apr 15 11:45:24 2009 +0200
14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
14.3 @@ -1,155 +0,0 @@
14.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
14.5 -<!--
14.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
14.7 - * Use is subject to license terms.
14.8 --->
14.9 -
14.10 -<html>
14.11 -<head>
14.12 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
14.13 -<meta name="lastupdated" content="4Jul07">
14.14 -<!-- p2 -->
14.15 -
14.16 -<title>About JSP Syntax</title>
14.17 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
14.18 -</head>
14.19 -
14.20 -<body>
14.21 -<h2>About JSP Syntax</h2>
14.22 -<p><small>
14.23 -<a href="#seealso">See Also</a>
14.24 -</small></p>
14.25 -<p>JSP files have four main characteristics:</p>
14.26 -<ul>
14.27 - <li>A host language, which is the language of the file that results when the
14.28 - page is executed</li>
14.29 - <li>JSP elements, which include JSP tags, directives, and comments</li>
14.30 - <li>Embedded Expression Language (EL) syntax within <tt>${</tt> and <tt>}</tt>
14.31 - delimiters</li>
14.32 - <li>Embedded Java code in the form of scriptlets, declarations, and expressions</li>
14.33 -</ul>
14.34 -
14.35 -<p>You can compose a JSP page using either standard JSP syntax or JSP document
14.36 -syntax.</p>
14.37 -<table cellpadding="3" cellspacing="0" border="0">
14.38 - <tr valign="top">
14.39 - <td><img src="../../images/tip.gif" alt="tip"> </td>
14.40 -
14.41 - <td>You can use the <tt>web.xml</tt> Visual Editor to
14.42 - <a href="../../csh/graphic_editor/dd_multiview_pages_jspPropertyGroupsNode.html">group</a> a set of JSP files
14.43 - and redefine them as JSP documents. This has a variety of consequences.
14.44 - For example, a JSP file's <a href="about_jsp_encoding.html">page encoding</a> is interpreted differently
14.45 - to that of a JSP document.</td>
14.46 - </tr>
14.47 -</table>
14.48 -<p>This topic first describes <a href="#standard">standard JSP syntax</a>
14.49 -and then describes <a href="#document">JSP document syntax</a>. Whether you use standard
14.50 - JSP syntax or JSP document syntax, the JSP Source
14.51 - Editor provides code completion and syntax coloring facilities to help you construct
14.52 - a valid JSP page.</p>
14.53 -<h3>Standard JSP Syntax<a name="standard"></a></h3>
14.54 -<p><b>JSP Element Syntax</b></p>
14.55 -<p>The three types of JSP elements are:</p>
14.56 -<ul>
14.57 - <li><b>Directive elements.</b> For example <tt><%@</tt> <i>directive</i>
14.58 - <tt>%></tt></li>
14.59 - <li><b>Action elements.</b> For example <tt><startTag></tt> <i>body</i>
14.60 - <tt></startTag></tt> </li>
14.61 - <li><b>Scripting elements.</b> For example <tt><%!</tt> <i>declaration</i> <tt>!%></tt>, <tt><%</tt> <i>scriptlet</i> <tt>%></tt>,
14.62 - and <tt><%=</tt> <i>expression</i> <tt>%></tt></li>
14.63 -</ul>
14.64 -<p> JSP syntax is similar to XML. Action elements have a start tag, including
14.65 - the element name, possibly with attributes, an optional body, and a matching
14.66 - end tag. For example:</p>
14.67 - <blockquote><tt><mytag1 attr1="attribute value"
14.68 -...>...</mytag1></tt>
14.69 -</blockquote>
14.70 -<p>or</p>
14.71 - <blockquote><tt><mytag2 attr1="attribute value"
14.72 -.../../../../../../../../></tt></blockquote>
14.73 -
14.74 -<p>JSP tags are case-sensitive, as in XML and XHTML.</p>
14.75 -<p><b>Start and End Tags</b></p>
14.76 -<p>Elements that have distinct start and end tags with an enclosed body must
14.77 -start
14.78 - and end in the same file. You cannot begin a tag in one file and end that tag in
14.79 -another file.
14.80 - This rule also applies to elements in the alternate syntax. For example, a
14.81 -scriptlet
14.82 - has the syntax <tt><%</tt><i> scriptlet </i><tt>%></tt>. Both the opening
14.83 -<tt><%</tt>
14.84 - delimiter and the closing <tt>%></tt> delimiter must be in the same
14.85 - physical file.</p>
14.86 -<p><b>Empty Elements</b></p>
14.87 -<p>Following the XML specification, an element described using an empty tag is
14.88 - indistinguishable from an element using a start tag, an empty body, and an end
14.89 -tag.</p>
14.90 -<p><b>Attribute Values</b></p>
14.91 -<p>Attribute values always appear quoted. Both single and double quotes can be
14.92 -used. The entities <tt>&apos;</tt> and <tt>&quot;</tt> are
14.93 -available
14.94 - to describe single and double quotes in output text. You can also use
14.95 -<tt>\"</tt> and <tt>\'</tt>
14.96 -within quoted text.</p>
14.97 -
14.98 -<p><b>Comments Within JSP Files</b></p>
14.99 - <p> The syntax for comments within JSP files is as follows: </p>
14.100 -<p><tt><%-- and --%> </tt> </p>
14.101 -<h3>JSP Document Syntax<a name="document"></a></h3>
14.102 -<p>A JSP document is a JSP page that is written using XML syntax. A JSP file identifies
14.103 - itself as a JSP document using one of the following methods:</p>
14.104 -<ul>
14.105 - <li>The JSP file has a <tt>.jspx</tt> extension and the web application is using
14.106 - a version 2.4 web.xml file that recognizes this extension.</li>
14.107 - <li>The JSP file has a <tt>jsp:root</tt> element.</li>
14.108 -</ul>
14.109 -<p><b>JSP Document Elements</b></p>
14.110 -<p>A JSP document can contain the following elements:</p>
14.111 -<ul>
14.112 - <li><b>Directive elements.</b> For example, <tt><jsp:directive.include file="</tt><i>spec</i><tt>"/></tt>.</li>
14.113 - <li><b>Standard action elements.</b> For example, <tt><startTag></tt>
14.114 - <i>body</i> <tt></startTag></tt> within a <tt><jsp:></tt> prefix.</li>
14.115 - <li><b>Custom action elements.</b> For example, <tt><jsp:element</tt> <i>attributes</i>
14.116 - <tt>></tt> <i>body</i> <tt></jsp:element></tt>. Note that custom action elements
14.117 - may not use a a <tt><jsp:></tt> prefix.</li>
14.118 - <li><b>Scriptlets.</b> For example, <tt><jsp:scriptlet></tt> <i>scriptlet</i>
14.119 - <tt></jsp:scriptlet></tt>.</li>
14.120 - <li><b>Scriptlet expressions.</b> For example <tt>%=</tt><i>expression</i><tt>%</tt>
14.121 - and <tt><jsp:expression></tt> <i>expression</i> <tt></jsp:expression></tt>.</li>
14.122 - <li><b>Scriptlet declarations.</b> For example <tt><%!</tt> <i>declaration</i> <tt>!%></tt>
14.123 - and <tt><jsp:declaration></tt> <i>declaration</i> <tt></jsp:declaration></tt>.</li>
14.124 - <li><b>EL expressions. </b>EL expressions are allowed in the body of elements
14.125 - and in attribute values.</li>
14.126 - <li><b>Output elements.</b> The output elements are <tt>jsp:root</tt>,
14.127 - <tt>jsp:text</tt>, and <tt>jsp:output</tt>.</li>
14.128 - <li><b>Template data.</b> Template data is described through <tt>jsp:text</tt>
14.129 - elements and XML fragments.</li>
14.130 -</ul>
14.131 -<p>For more information about JSP syntax and JSP document syntax, see
14.132 - <i>JavaServer Pages Specification Version</i>, available at
14.133 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
14.134 - <param name="content" value="http://java.sun.com/products/jsp/download.html">
14.135 - <param name="text" value="<html><u>http://java.sun.com/products/jsp/download.html</u></html>">
14.136 - <param name="textFontSize" value="medium">
14.137 - <param name="textColor" value="blue">
14.138 -</object>
14.139 -</p>
14.140 -
14.141 -
14.142 -<dl>
14.143 -<dt><a name="seealso">See Also</a></dt>
14.144 -<dd><a href="jsp_compile.html">Compiling a JSP File</a></dd>
14.145 -<dd><a href="about_jsp_technology.html">About JavaServer Pages Technology</a></dd>
14.146 -<dd><a href="about_jsp_encoding.html">About JSP Character Encoding</dd>
14.147 -</dl>
14.148 -
14.149 -<hr>
14.150 -<small><a href="../../../credits.html">Legal Notices</a>
14.151 -<table cellpadding="20" border="0">
14.152 -<tr><td> </td></tr>
14.153 -<tr><td> </td></tr>
14.154 -<tr><td> </td></tr>
14.155 -</table>
14.156 -
14.157 -</small></body></html>
14.158 -
15.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/about_jsp_technology.html Wed Apr 15 11:45:24 2009 +0200
15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
15.3 @@ -1,86 +0,0 @@
15.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
15.5 -<!--
15.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
15.7 - * Use is subject to license terms.
15.8 - -->
15.9 -<html>
15.10 -<head>
15.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
15.12 -<meta name="lastupdated" content="4Jul07">
15.13 -<!-- p2 -->
15.14 -
15.15 -
15.16 -<title>About JavaServer Pages Technology</title>
15.17 -
15.18 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
15.19 -</head>
15.20 -
15.21 -<body>
15.22 -
15.23 -
15.24 -<h2>About JavaServer Pages Technology</h2>
15.25 -<p><small>
15.26 -<a href="#seealso">See Also</a>
15.27 -</small></p>
15.28 -
15.29 -JavaServer Pages<sup><small>TM</small></sup> technology, abbreviated as JSP, provides
15.30 -a simplified, fast way to create web pages and applications that display dynamically
15.31 -generated content. Such content includes HTML, DHTML, XHTML, and XML. In essence,
15.32 -a JSP page describes how to process a request to create a response.
15.33 -<p>A JSP page is a server-side, text-based J2EE<sup><small>TM</small></sup> component.
15.34 - Such a component executes in a container installed on a web server or on a web-enabled
15.35 - application server. The JSP container delivers requests from a client to a JSP
15.36 - page and responses from the JSP page to the client. When compiling a JSP page,
15.37 - the container dynamically translates the JSP source into a Java<sup><small>TM</small></sup>
15.38 - class that implements the <tt>javax.servlet.Servlet</tt> interface. </p>
15.39 -<p>A JSP page looks like a standard HTML or XML page, with additional directive elements,
15.40 - scripting elements, and action elements
15.41 - that the JSP engine processes and strips out. Typically, JSP elements
15.42 - create text that is inserted into the results page. </p>
15.43 -<p>There are three types of JSP pages:</p>
15.44 -<p><b>Standard JSP pages.</b> Standard JSP pages are written using the
15.45 -<a href="about_jsp_syntax.html">standard JSP syntax</a>.
15.46 -Standard JSP pages typically use the <tt>.jsp</tt> extension. </p>
15.47 -<p><b>JSP documents.</b> JSP documents are written using the JSP document syntax,
15.48 -which is well formed XML. JSP documents typically have the <tt>.jspx</tt> extension.
15.49 - Two examples of the advantages that JSP documents have over standard JSP pages
15.50 - are:</p>
15.51 -<ul>
15.52 - <li>You can edit, verify, and view them with XML capable tools, such as the
15.53 - IDE's Source Editor.</li>
15.54 - <li>You can transform them using XSLT tools, such as the IDE's XSL Transformation
15.55 - command.</li>
15.56 -</ul>
15.57 -<p><b>JSP segments.</b> A segment is a file that contains a fragment of JSP text
15.58 - for inclusion by standard JSP pages and JSP documents. JSP segments typically
15.59 - use the <tt>.jspf </tt>extension.</p>
15.60 -<p>For additional information, see the <i>JavaServer Pages Specification</i> available
15.61 - at
15.62 -
15.63 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
15.64 - <param name="content" value="http://java.sun.com/products/jsp/download.html">
15.65 - <param name="text" value="<html><u>http://java.sun.com/products/jsp/download.html</u></html>">
15.66 - <param name="textFontSize" value="medium">
15.67 - <param name="textColor" value="blue">
15.68 -</object>.</p>
15.69 -<dl>
15.70 -<dt><a name="seealso">See Also</a></dt>
15.71 -<dd><a href="about_jsp_syntax.html">About JSP Syntax</a></dd>
15.72 -<dd><a href="about_jsp_encoding.html">About JSP Character Encoding</a></dd>
15.73 -<dd><a href="jsp_create.html">Creating a JSP File</a></dd>
15.74 -<dd><a href="jsp_compile.html">Compiling a JSP File</a></dd>
15.75 -<dd><a href="jsp_servletview.html">Viewing a JSP's Servlet</a></dd>
15.76 -</dl>
15.77 -
15.78 -<hr>
15.79 -<small><a href="../../../credits.html">Legal Notices</a>
15.80 -<table cellpadding="20" border="0">
15.81 -<tr><td> </td></tr>
15.82 -<tr><td> </td></tr>
15.83 -<tr><td> </td></tr>
15.84 -</table>
15.85 -
15.86 -
15.87 -
15.88 -</small></body></html>
15.89 -
16.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_compile.html Wed Apr 15 11:45:24 2009 +0200
16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
16.3 @@ -1,95 +0,0 @@
16.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
16.5 -<!--
16.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
16.7 - * Use is subject to license terms.
16.8 - -->
16.9 -<html>
16.10 -<head>
16.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
16.12 -<meta name="lastupdated" content="4Jul07">
16.13 -<!-- p2 -->
16.14 -
16.15 -<title>Compiling a JSP File</title>
16.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
16.17 -</head>
16.18 -<body>
16.19 -<h2>Compiling a JSP File</h2>
16.20 -<p><small>
16.21 -<a href="#seealso">See Also</a>
16.22 -</small></p>
16.23 -
16.24 -<p>When you compile a JSP file you can detect syntax problems
16.25 - before you execute the file on a server. Compilation also
16.26 - translates the JSP file into a servlet. Therefore, compilation
16.27 - discovers syntax errors that occur at translation time and at compile time. If
16.28 - a JSP file references a tag file, the referenced tag file is compiled with the JSP file. </p>
16.29 -
16.30 -<p><b>To compile a JSP file:</b></p>
16.31 -
16.32 -<ol>
16.33 - <li>Do one of the following:
16.34 - <ul><li><b>Compile a single file.</b>
16.35 - In the Projects window, right-click the JSP file and choose Compile
16.36 - File (F9) from the pop-up menu. </li>
16.37 - <li><b>Compile selected files.</b>
16.38 - In the Projects window, use the Ctrl key and the Shift key to select the files
16.39 - that you want to compile, right-click the selection and choose Compile
16.40 - File (F9) from the pop-up menu. </li>
16.41 - <li><b>Compile all JSP files in a project.</b>
16.42 - In the Projects window, right-click the project node, choose Properties,
16.43 - click Compiling, and select the Test compile all JSP files during builds checkbox.
16.44 - Close the Project Properties dialog box, right-click the project node, and choose
16.45 - Build from the pop-up menu.
16.46 - <table cellpadding="3" cellspacing="0" border="0">
16.47 - <tr valign="top">
16.48 - <td><img src="../../images/tip.gif" alt="tip"> </td>
16.49 -
16.50 - <td>By default, the IDE does not compile JSP files while building a project. This is because
16.51 - JSP compilation can take a long time because JSP files have to be translated to servlets
16.52 - before they can be compiled.</td></tr>
16.53 -</table></li></ul></li>
16.54 - <li>In the Output window, click an error to jump to the source of the error
16.55 - in the Source Editor.</li>
16.56 -</ol>
16.57 -
16.58 -<p><b>Troubleshooting</b></p>
16.59 -<p>The following list shows some typical compilation messages
16.60 -and possible solutions:</p>
16.61 -<ul>
16.62 - <li><b>Invalid expression.</b> Might be caused by an unmatched curly brace (<tt>{</tt>).
16.63 - Look for EL syntax highlighting that extends past the EL expression. If the
16.64 - ending brace is missing, the Source Editor automatically highlights the next
16.65 - beginning brace as an error. When you select a brace, the Source Editor highlights
16.66 - the matching brace.
16.67 - <li><b>Missing equal symbol.</b> This error can be caused by a missing quote
16.68 - mark (<tt>"</tt>). Look for code that has the same color as the text or text
16.69 - that has the same color as the code. Look for tag highlighting that extends
16.70 - past the tag's end delimiter.</li>
16.71 - <li><b>Missing mandatory attribute</b>. Might be caused by a misspelled attribute.
16.72 - Use the code completion feature to verify the correct spelling.</li>
16.73 - <li><b>Unterminated tag.</b> Can be caused by a missing percent sign (<tt>%</tt>)
16.74 - in the directive's closing delimiter. Look for an end delimiter. that is a
16.75 - different color from the start delimiter.</li>
16.76 - <li><b>Tag must be empty.</b> Check for a missing forward slash (<tt>/</tt>)
16.77 - in the tag's closing delimiter.</li>
16.78 -</ul>
16.79 -<p>Forgetting to delimit EL expressions with curly braces (<tt>{}</tt>) is a common
16.80 - error that cannot be caught through compilation, because the text is valid syntax.
16.81 - To catch this type of error, look for expressions that are not highlighted with
16.82 - the color used for EL expressions. </p>
16.83 -
16.84 -<p>If you see a the following compilation output, there might be an internal cache
16.85 - problem. You might need to reboot the IDE to be able to compile the JSP file.</p>
16.86 -<pre>java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/SimpleTagSupport</pre>
16.87 -
16.88 -<dl>
16.89 - <dt><a name="seealso">See Also</dt>
16.90 -<dd><a href="about_jsp_syntax.html">About JSP Syntax</a></dd>
16.91 -<dd><a href="jsp_edit.html">Editing a JSP File</a></dd>
16.92 -<dd><a href="jsp_servletview.html">Viewing the JSP's Servlet</a></dd>
16.93 -<dd><a href="../../debug/about_debug.html">About Debugging and Testing Web Applications</a></dd>
16.94 -</dl>
16.95 -<hr>
16.96 -<small><a href="../../../credits.html">Legal Notices</a></small>
16.97 -</body>
16.98 -</html>
17.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_create.html Wed Apr 15 11:45:24 2009 +0200
17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
17.3 @@ -1,81 +0,0 @@
17.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
17.5 -<!--
17.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
17.7 - * Use is subject to license terms.
17.8 - -->
17.9 -<html>
17.10 -<head>
17.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
17.12 -<meta name="lastupdated" content="4Jul07">
17.13 -<!-- p2 -->
17.14 -
17.15 -<title>Creating a JSP File</title>
17.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
17.17 -</head>
17.18 -<body>
17.19 -<h2>Creating a JSP File</h2>
17.20 -<p><small>
17.21 -<a href="#seealso">See Also</a>
17.22 -</small></p>
17.23 -
17.24 -
17.25 -<p>JSP files are created and managed in the IDE in much the same way as other
17.26 - file types. </p>
17.27 -<ul class="note">
17.28 -<li>If you put a JSP file in the <tt>WEB-INF
17.29 - </tt>folder or any of its subfolder, users cannot access the
17.30 - JSP file directly through a URL. Instead the JSP must be accessed
17.31 - through another JSP or through a servlet. You might want to put a
17.32 - JSP file under the <tt>WEB-INF</tt> folder to prevent users from
17.33 - using the JSP file as an entry point to the application.
17.34 -</li>
17.35 -</ul>
17.36 -
17.37 -<p><b>To create a JSP file:</b></p>
17.38 -
17.39 -<ol>
17.40 -<li>From the Projects window or Files window, right-click the project's node
17.41 - and choose New > Other
17.42 - from the pop-up menu.
17.43 -
17.44 - </li>
17.45 - <li>Under Categories, select Web. Under File Types, select JSP. Click Next. </li>
17.46 - <li>Type the name of your JSP. Do not include
17.47 - a filename extension as this is added automatically when the file is created.
17.48 - </li>
17.49 - <li>Click Browse to select a folder to house your JSP file. By default, the
17.50 - JSP file is created in the <tt>web</tt> subfolder.</li>
17.51 - <li>Select the type of JSP file that you want to create:
17.52 - <ul><li><b>JSP File (Standard Syntax).</b> Standard JSP pages are written using
17.53 - the <a href="about_jsp_syntax.html#standard">standard JSP syntax</a>.
17.54 - Standard JSP pages typically use the <tt>.jsp</tt> extension.</li>
17.55 - <li><b>JSP Document (XML Syntax).</b> JSP documents are written
17.56 - using the <a href="about_jsp_syntax.html#document">JSP document syntax</a>,
17.57 - which is well formed XML. JSP documents typically have the
17.58 - <tt>.jspx</tt> extension. Two examples of the advantages that JSP documents
17.59 - have over standard JSP pages are:</li>
17.60 - <ul><li>You can edit, verify, and view them with XML capable tools,
17.61 - such as the IDE's Source Editor.</li>
17.62 - <li>You can transform them using XSLT tools, such
17.63 - as the IDE's XSL Transformation command.</li></ul>
17.64 - </ul>
17.65 - </li>
17.66 - <li>(Optional) Click the Create as a JSP Segment checkbox.
17.67 - A segment is a file that contains a fragment of JSP text for inclusion
17.68 - by standard JSP pages and JSP documents. JSP segments typically use the <tt>.jspf</tt> extension.</li>
17.69 - <li>Click Finish. The IDE opens the JSP file for editing in the Source Editor.</li>
17.70 -</ol>
17.71 -
17.72 -<dl>
17.73 -<dt><a name="seealso">See also</a>
17.74 -<dd><a href="../../about/about_webapps.html">About Web Applications</a></dd>
17.75 -<dd><a href="about_jsp_technology.html">About JavaServer Pages Technology</a></dd>
17.76 -<dd><a href="about_jsp_syntax.html">About JSP Syntax</a></dd>
17.77 -<dd><a href="about_jsp_encoding.html">About JSP Character Encoding</a></dd>
17.78 -<dd><a href="jsp_edit.html">Editing a JSP or HTML File</a></dd>
17.79 -</dl>
17.80 -
17.81 -<hr>
17.82 -<small><a href="../../../credits.html">Legal Notices</a></small>
17.83 -</body>
17.84 -</html>
18.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_edit.html Wed Apr 15 11:45:24 2009 +0200
18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
18.3 @@ -1,56 +0,0 @@
18.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
18.5 -<!--
18.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
18.7 - * Use is subject to license terms.
18.8 --->
18.9 -<html>
18.10 -<head>
18.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
18.12 -<meta name="lastupdated" content="4Jul07">
18.13 -<!-- p2 -->
18.14 -
18.15 -<title>Editing a JSP, HTML, or Tag File</title>
18.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
18.17 -</head>
18.18 -<body>
18.19 -
18.20 -<h2>Editing a JSP, HTML, or Tag File</h2>
18.21 -<p><small>
18.22 -<a href="#seealso">See Also</a>
18.23 -</small></p>
18.24 -
18.25 -<ol>
18.26 - <li>In the Projects or Files window, locate your JSP, XML, HTML, or tag file.</li>
18.27 -
18.28 - <li>Double-click the selected file to open it in the <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/editing/editing_about.html">Source Editor</a>.
18.29 - </li>
18.30 -
18.31 - <li>Edit your JSP or HTML file as you would any Java file, including the use of
18.32 - <a href="about_jsp_edit.html">Source Editor features for JSP, HTML, or tag files</a>.
18.33 - <table cellpadding="3" cellspacing="0" border="0">
18.34 - <tr valign="top">
18.35 - <td><img src="../../images/tip.gif" alt="tip"> </td>
18.36 -
18.37 - <td> The IDE provides many features for the creation
18.38 - and editing of XML documents. For details,
18.39 - see <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/xml/xml_about.html">About Editing XML Documents</a>.</td>
18.40 - </tr>
18.41 -</table></li>
18.42 -
18.43 - <li>Choose File > Save to save
18.44 - your file. Unsaved changes are indicated by an asterisk in the file's tab
18.45 - in the Source Editor.
18.46 -</ol>
18.47 -<dl>
18.48 - <dt><a name="seealso">See Also</a></dt>
18.49 -<dd><a href="about_jsp_edit.html">About Creating and Editing JSP, HTML, and Tag Files</a></dd>
18.50 -<dd><a href="jsp_create.html">Creating a JSP File</a></dd>
18.51 -<dd><a href="../html/html_create.html">Creating an HTML File</a></dd>
18.52 -<dd><a href="../tag/tagfile/tagfile_create.html">Creating a Tag File</a></dd>
18.53 -<dd><a href="about_jsp_encoding.html">About JSP Character Encoding</dd>
18.54 -</dl>
18.55 -
18.56 -<hr>
18.57 -<small><a href="../../../credits.html">Legal Notices</a></small>
18.58 -</body>
18.59 -</html>
19.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_encoding_page.html Wed Apr 15 11:45:24 2009 +0200
19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
19.3 @@ -1,137 +0,0 @@
19.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
19.5 -<!--
19.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
19.7 - * Use is subject to license terms.
19.8 --->
19.9 -<html>
19.10 -<head>
19.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
19.12 -<meta name="lastupdated" content="4Jul07">
19.13 -<!-- p2 -->
19.14 -
19.15 -<title>Setting Page Character Encoding for a JSP File</title>
19.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
19.17 -</head>
19.18 -<body>
19.19 -
19.20 -<h2>Setting Page Character Encoding for a JSP File</h2>
19.21 -<p><small>
19.22 -<a href="#seealso">See Also</a>
19.23 -</small></p>
19.24 -<p>Page character encoding is the encoding in which the JSP source file is written.
19.25 -The JSP 2.0 specification distinguishes between two syntaxes when detecting
19.26 -the page character encoding:<ul><li>For files in standard JSP syntax, encoding is detected
19.27 -by looking at two primary sources of information: First in the deployment descriptor
19.28 -(the <tt>web.xml</tt> file) for a <tt>page-encoding</tt> element in a <tt>jsp-property-group</tt> whose URL
19.29 -pattern matches the file; then for a <tt>pageEncoding</tt> attribute in the page itself.
19.30 -If neither is present, the <tt>charset</tt> of a JSP file's <tt>contentType</tt> attribute is used,
19.31 -or the ISO 8859-1 character encoding is used as the ultimate fallback.</li>
19.32 -<li>For files in JSP document syntax, the encoding is detected as
19.33 -described in the XML specification; this means that UTF-8 is the
19.34 -default and any other encoding must be declared in the XML declaration at
19.35 -the beginning of the file.</li></ul>
19.36 -<b>To set the page character encoding for a file in standard JSP syntax:</b>
19.37 -<p>For JSP files (standard syntax), the page encoding is set as follows: </p>
19.38 -<ol>
19.39 - <li><a href="jsp_create.html">Create a JSP file</a> that uses
19.40 - standard JSP syntax. Right-click the JSP file and
19.41 -choose Properties. Note that the Encoding property is set to the encoding for the project. This is the
19.42 - JSP file's page encoding. You cannot
19.43 - change the page encoding in the Properties sheet.
19.44 -
19.45 -The place where you set the page encoding depends on whether you want to
19.46 -set it for an individual JSP file or for a group of JSP files together. The
19.47 - following step guides you through the setting of the page encoding for JSP files.
19.48 -</li>
19.49 -
19.50 -<li>Do one of the following to change the JSP file's page encoding:
19.51 -<ul>
19.52 -<li><b>Set the page character encoding for an individual JSP file.</b>
19.53 -Double-click the JSP file so that it opens in the Source Editor. The
19.54 -default <tt>pageEncoding</tt> attribute of a JSP file created in the IDE is as follows:
19.55 -<pre> <%@page pageEncoding="UTF-8"%></pre>
19.56 -You can change the page encoding in the JSP file and save it. Note that
19.57 -the IDE warns you if you try to save a character set that is not valid for JSP pages.
19.58 -<p>Alternatively, set the page encoding in the <tt>contentType</tt> attribute
19.59 - of the <tt>page</tt> directive instead. The
19.60 - default <tt>contentType</tt> attribute of a JSP file does not contain a <tt>charset</tt> value,
19.61 - because the <tt>pageEncoding</tt> attribute handles page encoding by default.
19.62 - However, you can add a <tt>charset</tt> value as follows:
19.63 -<pre> <%@page contentType="text/html;charset=UTF-8"%></pre></li>
19.64 - <li><b>Set the page character encoding for groups of JSP files.</b>
19.65 -Expand the Web Pages node, then the WEB-INF node, and then double-click the web.xml file.
19.66 -Click Pages at the top of the editor and then click the JSP Property Groups header to open
19.67 -the <a href="../../csh/graphic_editor/dd_multiview_pages_jspPropertyGroupsNode.html">JSP Property Groups section</a>.
19.68 -Use the JSP Property Groups section to add, remove, and
19.69 -view a web application's JSP property groups. A JSP property group is a set of properties
19.70 -defined for a group of JSP files within a web application. One of the properties you can
19.71 -set here is the page encoding value for a group of JSP files.
19.72 -<ul class="note">
19.73 - <li>Only if the other two are absent is the <tt>contentType</tt> attribute of a JSP file's
19.74 - <tt>page</tt> directive used as the page encoding.
19.75 -If none of these are provided, utf-8 is used as the page encoding.
19.76 -A translation-time error results if you define the page encoding with one value in the JSP
19.77 -property group and then give it a different value in an invidual JSP file's <tt>pageEncoding</tt> directive.</li>
19.78 -</ul>
19.79 - </li>
19.80 -</ul>
19.81 -</li>
19.82 -</ol>
19.83 -
19.84 -<b>To set the page character encoding for a file in JSP document syntax:</b>
19.85 -<p>For JSP documents (XML syntax), the page encoding is set as follows:</p>
19.86 -<ol>
19.87 - <li><a href="jsp_create.html">Create a JSP file</a> that uses XML syntax.
19.88 -Right-click the JSP document and
19.89 -choose Properties. Note that the Encoding property is set to the encoding for the project. This is the
19.90 - JSP document's page encoding. You cannot
19.91 - change the page encoding in the Properties sheet.
19.92 - For JSP documents, you can change the page character encoding in one place only:
19.93 - <ul><li>The <tt>encoding</tt> attribute of an XML declaration at the beginning
19.94 - of the file. The XML declaration is also known as the XML prolog.</li></ul>
19.95 -<ul class="note">
19.96 - <li>
19.97 - The page encoding for JSP documents may also be <i>described
19.98 - </i> in an individual JSP document's page directive or in a JSP property
19.99 - group, as long as the values described there match the value derived from
19.100 - the XML prolog. It is a translation-time error to specify different encodings
19.101 - in the XML prolog and in the declarations in a JSP document or JSP property
19.102 - group. If the XML prolog does not specify an encoding, the UTF-8 encoding
19.103 - is derived instead.</li>
19.104 -</ul>
19.105 -</li>
19.106 -<li>Double-click the JSP file so that it opens in the Source Editor. The
19.107 -default XML declaration of a JSP document created in the IDE includes an
19.108 - encoding attribute as follows:
19.109 -<pre> <?xml version="1.0" encoding="UTF-8"?></pre>
19.110 - You can change the encoding in the XML declaration and save the JSP document.</li></ol>
19.111 -
19.112 -<dl>
19.113 -
19.114 -<dt><a name="seealso">See Also</a> </dt>
19.115 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
19.116 - <param name="content" value="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
19.117 - <param name="text" value="<html><u>Supported Encodings</u></html>">
19.118 - <param name="textFontSize" value="medium">
19.119 - <param name="textColor" value="blue">
19.120 -</object>
19.121 -</dd>
19.122 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
19.123 - <param name="content" value="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebI18N5.html">
19.124 - <param name="text" value="<html><u>Character Sets and Encodings</u></html>">
19.125 - <param name="textFontSize" value="medium">
19.126 - <param name="textColor" value="blue">
19.127 -</object>
19.128 -</dd>
19.129 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
19.130 - <param name="content" value="http://java.sun.com/developer/technicalArticles//Intl/MultilingualJSP/">
19.131 - <param name="text" value="<html><u>Developing Multilingual Web Applications Using JavaServer Pages Technology</u></html>">
19.132 - <param name="textFontSize" value="medium">
19.133 - <param name="textColor" value="blue">
19.134 -</object>
19.135 -</dd>
19.136 -</dl>
19.137 -
19.138 - <hr>
19.139 -<small><a href="../../../credits.html">Legal Notices</a></small> </body>
19.140 -</html>
20.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_encoding_request.html Wed Apr 15 11:45:24 2009 +0200
20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
20.3 @@ -1,58 +0,0 @@
20.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
20.5 -<!--
20.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
20.7 - * Use is subject to license terms.
20.8 --->
20.9 -<html>
20.10 -<head>
20.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
20.12 -<meta name="lastupdated" content="4Jul07">
20.13 -<!-- p2 -->
20.14 -
20.15 -<title>Setting Request Character Encoding for a JSP File</title>
20.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
20.17 -</head>
20.18 -<body>
20.19 -
20.20 -<h2>Setting Request Character Encoding for a JSP File</h2>
20.21 -<p><small>
20.22 -<a href="#seealso">See Also</a>
20.23 -</small></p>
20.24 -<p>The request encoding is the character encoding in which parameters in an incoming request are interpreted.
20.25 -Many browsers do not send a request encoding qualifier with the Content-Type header. In such cases, a web
20.26 -container will use the default encoding--utf-8--to parse request data. For detailed information on
20.27 -request character encoding, see the references at the end of this topic. </p>
20.28 -
20.29 -<dl>
20.30 -
20.31 -<dt><a name="seealso">See Also</a> </dt>
20.32 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
20.33 - <param name="content" value="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
20.34 - <param name="text" value="<html><u>Supported Encodings</u></html>">
20.35 - <param name="textFontSize" value="medium">
20.36 - <param name="textColor" value="blue">
20.37 -</object>
20.38 -</dd>
20.39 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
20.40 - <param name="content" value="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebI18N5.html">
20.41 - <param name="text" value="<html><u>Character Sets and Encodings</u></html>">
20.42 - <param name="textFontSize" value="medium">
20.43 - <param name="textColor" value="blue">
20.44 -</object>
20.45 -</dd>
20.46 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
20.47 - <param name="content" value="http://java.sun.com/developer/technicalArticles//Intl/MultilingualJSP/">
20.48 - <param name="text" value="<html><u>Developing Multilingual Web Applications Using JavaServer Pages Technology</u></html>">
20.49 - <param name="textFontSize" value="medium">
20.50 - <param name="textColor" value="blue">
20.51 -</object>
20.52 -</dd>
20.53 -</dl>
20.54 -
20.55 -
20.56 -
20.57 -
20.58 -<hr>
20.59 -<small><a href="../../../credits.html">Legal Notices</a></small>
20.60 -</body>
20.61 -</html>
21.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_encoding_response.html Wed Apr 15 11:45:24 2009 +0200
21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
21.3 @@ -1,92 +0,0 @@
21.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
21.5 -<!--
21.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
21.7 - * Use is subject to license terms.
21.8 --->
21.9 -<html>
21.10 -<head>
21.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
21.12 -<meta name="lastupdated" content="4Jul07">
21.13 -<!-- p2 -->
21.14 -
21.15 -<title>Setting Response Character Encoding for a JSP File</title>
21.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
21.17 -</head>
21.18 -<body>
21.19 -
21.20 -<h2>Setting Response Character Encoding for a JSP File</h2>
21.21 -<p><small>
21.22 -<a href="#seealso">See Also</a>
21.23 -</small></p>
21.24 -<p>The response character encoding is the encoding of the textual response generated by a web
21.25 -component. The response character encoding must be set appropriately so that the characters are rendered correctly
21.26 -for a given locale. An initial response character encoding for a JSP page is set from the same sources
21.27 -as for page character encoding:</p>
21.28 -<ul>
21.29 - <li>The <tt>charset</tt> value of a <tt>contentType</tt> attribute in a <tt>page</tt> directive. </li>
21.30 - <li>The <tt>pageEncoding</tt> attribute of a <tt>page</tt> directive.</li>
21.31 - <li>The <tt><page-encoding></tt> tags of a <tt>web.xml</tt> file's JSP property group.</li></ul>
21.32 -<p>However, note that the <tt>charset</tt> value of a <tt>contentType</tt> attribute is the place
21.33 - where you are recommended to set the response character encoding. The other two places are meant
21.34 - for the page character encoding; these are only used for the response character encoding when no
21.35 - specific response character encoding has been defined.</p>
21.36 -<b>To set the response character encoding for a JSP file:</b>
21.37 -<ol><li>Double-click the JSP file so that it opens in the Source Editor. The
21.38 -default <tt>pageEncoding</tt> attribute of a JSP file created in the IDE is as follows:
21.39 -<pre> <%@page pageEncoding="UTF-8"%></pre>
21.40 -You can change the page encoding in the JSP file and save it. Note that
21.41 -the IDE warns you if you try to save a character set that is not valid for JSP pages.
21.42 -The place where you set the response character encoding depends on whether you want it
21.43 -to be the same as the page character encoding or not.</li>
21.44 -<li>Do one of the following:
21.45 -<ul>
21.46 - <li><b>Set a distinct response character encoding.</b>
21.47 -Use the <tt>contentType</tt> attribute
21.48 -of the <tt>page</tt> directive. The
21.49 - default <tt>contentType</tt> attribute of a JSP file created in the IDE does not contain a <tt>charset</tt> value,
21.50 - because the <tt>pageEncoding</tt> attribute handles page encoding by default.
21.51 - However, you can add a <tt>charset</tt> value as follows:
21.52 -<pre> <%@page contentType="text/html;charset=UTF-8"%></pre></li>
21.53 - <li><b>Use the page character encoding as the response character encoding.</b>
21.54 - Do not add a <tt>charset</tt> value to the <tt>page</tt> directive's <tt>contentType</tt> attribute
21.55 - attribute. In the absence of the <tt>charset</tt> value, the encoding specified for
21.56 - the page by means of the <tt>page</tt> directive's <tt>pageEncoding</tt> attribute
21.57 - is also that of the response.</li>
21.58 -</ul>
21.59 -</li></ol>
21.60 -
21.61 -<p>For detailed information on response character
21.62 -encoding, see the references below.</p>
21.63 -<dl>
21.64 -
21.65 -<dt><a name="seealso">See Also</a> </dt>
21.66 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
21.67 - <param name="content" value="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
21.68 - <param name="text" value="<html><u>Supported Encodings</u></html>">
21.69 - <param name="textFontSize" value="medium">
21.70 - <param name="textColor" value="blue">
21.71 -</object>
21.72 -</dd>
21.73 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
21.74 - <param name="content" value="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebI18N5.html">
21.75 - <param name="text" value="<html><u>Character Sets and Encodings</u></html>">
21.76 - <param name="textFontSize" value="medium">
21.77 - <param name="textColor" value="blue">
21.78 -</object>
21.79 -</dd>
21.80 -<dd><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
21.81 - <param name="content" value="http://java.sun.com/developer/technicalArticles//Intl/MultilingualJSP/">
21.82 - <param name="text" value="<html><u>Developing Multilingual Web Applications Using JavaServer Pages Technology</u></html>">
21.83 - <param name="textFontSize" value="medium">
21.84 - <param name="textColor" value="blue">
21.85 -</object>
21.86 -</dd>
21.87 -</dl>
21.88 -
21.89 -
21.90 -
21.91 -
21.92 -<hr>
21.93 -<small><a href="../../../credits.html">Legal Notices</a></small>
21.94 -</body>
21.95 -</html>
22.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_queryparams.html Wed Apr 15 11:45:24 2009 +0200
22.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
22.3 @@ -1,69 +0,0 @@
22.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22.5 -<!--
22.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
22.7 - * Use is subject to license terms.
22.8 -> -->
22.9 -<html>
22.10 -<head>
22.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
22.12 -<meta name="lastupdated" content="4Jul07">
22.13 -<!-- p1 -->
22.14 -
22.15 -<title>Passing Request Parameters</title>
22.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
22.17 -</head>
22.18 -<body>
22.19 -
22.20 - <h2>Passing Request Parameters</h2>
22.21 -<p><small>
22.22 -<a href="#seealso">See Also</a>
22.23 -</small></p>
22.24 -You can pass request parameters in URL query string format
22.25 -to JSP pages and servlets from the IDE. Specifying input data
22.26 -in this fashion provides a useful aid in testing for expected JSP and servlet output.
22.27 -<p><b>To specify parameters for a JSP page:</b></p>
22.28 -<ol>
22.29 - <li>In the Projects window or Files window, right-click the JSP file and choose
22.30 - Properties.</li>
22.31 - <li>In the Request Parameters dialog box, type the parameters
22.32 - in the <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
22.33 - <param name="content" value="../../glossary/URL_query_string.html">
22.34 - <param name="viewerActivator" value="javax.help.LinkLabel">
22.35 - <param name="viewerStyle" value="javax.help.Popup">
22.36 - <param name="viewerSize" value="400,160">
22.37 - <param name="text" value="URL query string">
22.38 - <param name="textFontFamily" value="SansSerif">
22.39 - <param name="textFontSize" value="medium">
22.40 - <param name="textFontWeight" value="bold">
22.41 - <param name="textFontStyle" value="italic">
22.42 - <param name="textColor" value="blue">
22.43 -</object>
22.44 - format. </li>
22.45 - <li>Click OK. </li>
22.46 - <li>Click Close to exit the Properties window. </li>
22.47 -</ol>
22.48 -<p>The IDE saves the parameters and automatically passes them
22.49 -to the JSP or servlet the next time you select the file and choose Run File
22.50 - from the pop-up menu.</p>
22.51 -<table cellpadding="3" cellspacing="0" border="0">
22.52 - <tr valign="top">
22.53 - <td><img src="../../images/tip.gif" alt="tip"> </td>
22.54 - <td>The HTTP Monitor enables you to
22.55 -<a href="nbdocs://org.netbeans.modules.web.monitor/org/netbeans/modules/web/monitor/docs/monitor/ctx_monitorintro.html">monitor data flow on the server</a>.</td>
22.56 - </tr>
22.57 -</table>
22.58 -
22.59 -
22.60 -<dl>
22.61 - <dt><a name="seealso">See Also</a></dt>
22.62 -<dd><a href="../../deploy/about_deploy.html">About Deploying Web Applications</a></dd>
22.63 -<dd><a href="about_jsp_technology.html">About JavaServer Pages Technology</a></dd>
22.64 -<dd><a href="../servlet/about_servlet.html">About Servlets</a></dd>
22.65 -<dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/webbrowser/default.html">Changing the Default Web Browser</a></dd>
22.66 -<dd><a href="../../deploy/deploy_changeserver.html">Changing the Target Server</a></dd>
22.67 -</dl>
22.68 -
22.69 -<hr>
22.70 -<small><a href="../../../credits.html">Legal Notices</a></small>
22.71 -</body>
22.72 -</html>
23.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_run.html Wed Apr 15 11:45:24 2009 +0200
23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
23.3 @@ -1,80 +0,0 @@
23.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
23.5 -<!--
23.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
23.7 - * Use is subject to license terms.
23.8 -> -->
23.9 -<html>
23.10 -<head>
23.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
23.12 -<meta name="lastupdated" content="4Jul07">
23.13 -<!-- p1 -->
23.14 -
23.15 -<title>Running a JSP File</title>
23.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
23.17 -</head>
23.18 -<body>
23.19 -<h2>Running a JSP File</h2>
23.20 -<p><small>
23.21 -<a href="#seealso">See Also</a>
23.22 -</small></p>
23.23 -<p>
23.24 -When you run a JSP file, the IDE displays the file in the IDE's
23.25 - default web browser. If the JSP file that you run from the IDE has not been
23.26 - compiled, or if it has changed since
23.27 - it was last compiled, the IDE automatically compiles it before executing it.
23.28 - If the server or the IDE's default web browser have not been started, the IDE automatically starts it. </p>
23.29 - <p><b>To run a JSP file:</b></p>
23.30 -<ol>
23.31 - <li>(Optional) <a href="jsp_queryparams.html">Define request parameters</a>
23.32 - to pass to the JSP file.
23.33 - <li>Select the JSP file in the Source Editor or Projects window. </li>
23.34 - <li>Choose Run > Run File
23.35 - > Run "<i>filename</i>.jsp"
23.36 - (Shift-F6) from the main menu. If there are no errors, the server
23.37 - displays the file in the IDE's default web browser. </li>
23.38 -</ol>
23.39 -<table>
23.40 - <tr valign="top">
23.41 - <td><img src="../../images/tip.gif" alt="tip"></td>
23.42 - <td>
23.43 - <p>If you are using a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
23.44 - <param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/glossary_freeform.html">
23.45 - <param name="viewerActivator" value="javax.help.LinkLabel">
23.46 - <param name="viewerStyle" value="javax.help.Popup">
23.47 - <param name="viewerSize" value="400,160">
23.48 - <param name="text" value="free-form project">
23.49 - <param name="textFontSize" value="medium">
23.50 - <param name="textFontFamily" value="SansSerif">
23.51 - <param name="textFontStyle" value="italic">
23.52 - <param name="textFontWeight" value="bold">
23.53 - <param name="textColor" value="blue">
23.54 - </object>, this command is disabled by default.
23.55 - You have to write an Ant target for running the currently selected file
23.56 - in the IDE and hook it up to the Run Class command. For a full guide to
23.57 - configuring free-form projects, see: <p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
23.58 - <param name="content" value="http://www.netbeans.org/kb/55/freeform-config.html">
23.59 - <param name="text" value="<html><u>http://www.netbeans.org/kb/55/freeform-config.html</u></html>">
23.60 - <param name="textFontSize" value="medium">
23.61 - <param name="textColor" value="blue">
23.62 - </object> </p>
23.63 - </td>
23.64 - </tr>
23.65 -</table>
23.66 -<b>Troubleshooting</b>
23.67 -<p>If you get "File not found" errors when you execute a JSP file, see <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/webbrowser/bypassproxy.html">Accessing
23.68 - Local Files Through a Proxy</a> for possible solutions.</p>
23.69 -<dl>
23.70 -<dt><a name="seealso">See Also</a></dt>
23.71 -<dd><a href="../../deploy/about_deploy.html">About Deploying Web Applications</a></dd>
23.72 -<dd><a href="../../deploy/deploy_webapp.html">Deploying a Web Application</a></dd>
23.73 -<dd><a href="../servlet/servlet_run.html">Running a Servlet </a></dd>
23.74 -</dl>
23.75 -
23.76 -<hr>
23.77 -<small><a href="../../../credits.html">Legal Notices</a></small>
23.78 -<table cellpadding="50" border="0">
23.79 -<tr><td> </td></tr>
23.80 -</table>
23.81 -
23.82 -</body>
23.83 -</html>
24.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_servletview.html Wed Apr 15 11:45:24 2009 +0200
24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
24.3 @@ -1,57 +0,0 @@
24.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
24.5 -<!--
24.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
24.7 - * Use is subject to license terms.
24.8 - -->
24.9 -<html>
24.10 -<head>
24.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
24.12 -<meta name="lastupdated" content="4Jul07">
24.13 -<!-- p2 -->
24.14 -
24.15 -<title>Viewing a JSP File's Servlet</title>
24.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
24.17 -</head>
24.18 -<body>
24.19 -<h2>Viewing a JSP File's Servlet</h2>
24.20 -<p><small>
24.21 -<a href="#seealso">See Also</a>
24.22 -</small></p>
24.23 -
24.24 -
24.25 -<p>When you execute a JSP file, the server translates the contents of
24.26 -the JSP file into a Java servlet and compiles the servlet. You
24.27 -can view, but not edit, the translated servlet source in the Source Editor.
24.28 -You cannot set breakpoints in the servlet source code. You
24.29 -can set breakpoints in the JSP file only. </p>
24.30 -<p><b>To view the servlet generated from a JSP file:</b></p>
24.31 -
24.32 -<ol>
24.33 - <li><a href="jsp_run.html">Run the JSP file</a>.</li>
24.34 - <li>In the Projects window, right-click the JSP file and choose View Servlet.
24.35 - <table cellpadding="3" cellspacing="0" border="0">
24.36 - <tr valign="top">
24.37 - <td><img src="../../images/tip.gif" alt="tip"> </td>
24.38 -
24.39 - <td>The View Servlet menu item is enabled only if the target
24.40 - server has successfully executed the JSP file and the target server supports the viewing of translated
24.41 - servlets.</td></tr></table></li></ol>
24.42 - The servlet appears in the Source Editor. This servlet is based on the
24.43 - state of the JSP file when the file was last executed. If you have changed
24.44 - the JSP file but have not executed it, the servlet does not reflect the
24.45 - changes. While this file is opened, if you execute the JSP file or if
24.46 - you change the target server
24.47 - in the Run section of the Project Properties dialog box,
24.48 - the file changes to reflect the latest translated
24.49 - servlet on the selected server.
24.50 -<dl>
24.51 - <dt><a name="seealso">See Also</a></dt>
24.52 -<dd><a href="about_jsp_technology.html">About JavaServer Pages Technology</a></dd>
24.53 -<dd><a href="../servlet/about_servlet.html">About Servlets</a></dd>
24.54 -</dl>
24.55 -
24.56 -
24.57 -<hr>
24.58 -<small><a href="../../../credits.html">Legal Notices</a></small>
24.59 -</body>
24.60 -</html>
25.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_useapplet.html Wed Apr 15 11:45:24 2009 +0200
25.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
25.3 @@ -1,51 +0,0 @@
25.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
25.5 -<!--
25.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
25.7 - * Use is subject to license terms.
25.8 -> -->
25.9 -<html>
25.10 -<head>
25.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
25.12 -<meta name="lastupdated" content="4Jul07">
25.13 -<!-- p2 -->
25.14 -<title>Accessing an Applet in a JSP File</title>
25.15 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
25.16 -</head>
25.17 -<body>
25.18 -
25.19 -<h2>Accessing an Applet from a JSP Page</h2>
25.20 -<p><small>
25.21 -<a href="#seealso">See Also</a>
25.22 -</small></p>
25.23 -<ol>
25.24 -<li>Ensure that the applet is
25.25 -<a href="../../build/build_externalresource.html">correctly packaged</a> in the web application.
25.26 -<li>Define the applet in the JSP file by using the following applet tag:
25.27 - <pre><applet code="mypkg.MyApplet" archive="JavaAppletLibrary.jar"/> </pre>
25.28 - <ul><li><tt>mypkg.MyApplet</tt> is the full classname to your applet</li>
25.29 - <li><tt>JavaAppletLibrary.jar</tt> is the JAR file built from the
25.30 - Java class library project where your <a href="../applet/applet_create.html">applet was created</a>.</li>
25.31 - </ul>
25.32 -
25.33 -</ol>
25.34 -<dl>
25.35 - <dt><a name="seealso">See Also</a></dt>
25.36 -<dd><a href="../jsp/jsp_run.html">Running a JSP File</a></dd>
25.37 -<dd><a href="../../deploy/deploy_webapp.html">Deploying a Web Application</a></dd>
25.38 -<dd><a href="../applet/applet_security.html">Setting Permissions for an Applet</dd>
25.39 -</dl>
25.40 -
25.41 -<hr>
25.42 -<small><a href="../../../credits.html">Legal Notices</a></small>
25.43 -<table cellpadding="20" border="0">
25.44 - <tr>
25.45 - <td> </td>
25.46 - </tr>
25.47 - <tr>
25.48 - <td> </td>
25.49 - </tr>
25.50 -</table>
25.51 -
25.52 - </body>
25.53 -</html>
25.54 -
26.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/jsp/jsp_usetaglib.html Wed Apr 15 11:45:24 2009 +0200
26.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
26.3 @@ -1,96 +0,0 @@
26.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
26.5 -<!--
26.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
26.7 - * Use is subject to license terms.
26.8 -> -->
26.9 -<html>
26.10 -<head>
26.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
26.12 -<meta name="lastupdated" content="4Jul07">
26.13 -<!-- p2 -->
26.14 -
26.15 -<title>Accessing a Custom Tag in a JSP File</title>
26.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
26.17 -</head>
26.18 -<body>
26.19 -
26.20 -<h2>Accessing a Custom Tag from a JSP Page</h2>
26.21 -<p><small> <a href="#seealso">See Also</a> </small></p>
26.22 -<p>The JavaServer Pages technology provides a set of standard action elements
26.23 - for performing actions on information. The <tt><jsp:getProperty></tt>
26.24 - element is an example of a commonly used action element. You can extend the
26.25 - set of action elements through custom tags that are defined in tag libraries,
26.26 - such as the <a href="../tag/about/about_jstl.html">JSTL tag library</a>. </p>
26.27 -<p>This topic shows how to use a tag from a tag library JAR file, and then shows
26.28 - how to use a tag from a tag library folder that contains tag files.</p>
26.29 -<p><b>To access a custom tag from a tag library JAR file:</b></p>
26.30 -<ol>
26.31 - <li>Ensure that the tag library's JAR file is on the web application's classpath, as
26.32 - described in
26.33 - <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/compile/comp_classpath.html">Managing the Classpath</a>.</li>
26.34 - <li><i>Before</i> referencing one of its tags in a JSP file, add a taglib
26.35 - directive with a <tt>uri</tt> and <tt>prefix</tt> attribute to the JSP file:
26.36 -<pre> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%></pre>
26.37 - <ul>
26.38 - <li>The <tt>uri</tt> attribute shows the location of the tag library and should be unique within the web application.
26.39 - The <tt>uri</tt> can either be the URI specified by the TLD file, or the <tt>uri</tt> can
26.40 - be the location of the TLD file in the <tt>WEB-INF</tt> folder, if the <tt>uri</tt>
26.41 - element is missing in TLD file. When you type the <tt>uri</tt> attribute, press Ctrl-Space after you
26.42 - type the first quotation mark. The IDE shows the list of URIs for available
26.43 - tag libraries.</li>
26.44 - <li>The <tt>prefix</tt> attribute is used to identify tags from the library. The TLD file
26.45 - usually recommends a prefix, but you can use any prefix you want.</li>
26.46 - </ul></li>
26.47 - <li>At any point after the taglib directive, you can use the tag prefix to reference
26.48 - tags from the tag library. For example:
26.49 -<pre> <c:if test="${param.sayHello}">
26.50 - Hello ${param.name}!
26.51 - </c:if></pre>
26.52 -</ol>
26.53 -
26.54 -<p><b>To access a custom tag from a tag library folder:</b></p>
26.55 -<ol>
26.56 - <li>Ensure that the tag library's JAR file is on the web application's classpath, as
26.57 - described in
26.58 - <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/compile/comp_classpath.html">Managing the Classpath</a>.</li>
26.59 - <li><i>Before</i> referencing one of its tags in a JSP source file, add a <tt>taglib</tt>
26.60 - directive to the file:
26.61 -<pre> <%@ taglib tagdir="/WEB-INF/tags/" prefix="a" %></pre>
26.62 - <ul>
26.63 - <li>The <tt>tagdir</tt> attribute shows the location
26.64 - of the tag library within the web application.</li>
26.65 - <li>The <tt>prefix</tt> attribute is used to identify
26.66 - tags from the library. The tag file usually recommends a prefix, but you
26.67 - can use any prefix you want.</li></ul>
26.68 - <li>At any point after the taglib directive, you can use the tag prefix to reference
26.69 - tags from the tag library. For example:
26.70 -<pre> <a:mytagfile>abc</a:mytagfile></pre></li></ol>
26.71 -
26.72 -<p><b>To quickly locate a tag's source file:</b></p>
26.73 -<ol>
26.74 - <li>Hold down the Ctrl key and, at the same time, move your mouse over a tag
26.75 - in the JSP file.
26.76 - <p>Notice that the Source Editor displays the tag as a hyperlink and that
26.77 - the cursor changes to a hand symbol:</p>
26.78 - <p><img src="../../images/ctrl.png" alt="screenshot of hyperlink"></p></li>
26.79 - <li>Click the hyperlink.<p>The tag file referenced by the tag opens in the Source Editor.</li>
26.80 -</ol>
26.81 -
26.82 -<dl>
26.83 -<dt><a name="seealso">See Also</a></dt>
26.84 -<dd><a href="../tag/about/about_taglib.html">About Tag Libraries</a></dd>
26.85 -<dd><a href="../tag/tagfile/tagfile_create.html">Creating a Tag File</a></dd>
26.86 -<dd><a href="../tag/tld/tld_create.html">Creating a TLD File</a></dd>
26.87 -<dd><a href="../tag/taghandler/taghandler_create.html">Creating a Tag Handler</a></dd>
26.88 -</dl>
26.89 -
26.90 -<hr>
26.91 -<small><a href="../../../credits.html">Legal Notices</a></small>
26.92 -<table cellpadding="20" border="0">
26.93 -<tr><td> </td></tr>
26.94 -<tr><td> </td></tr>
26.95 -<tr><td> </td></tr>
26.96 -</table>
26.97 -
26.98 -
26.99 -</body></html>
27.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/listener/about_listener.html Wed Apr 15 11:45:24 2009 +0200
27.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
27.3 @@ -1,96 +0,0 @@
27.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
27.5 -<!--
27.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
27.7 - * Use is subject to license terms.
27.8 --->
27.9 -<html>
27.10 -<head>
27.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
27.12 -<meta name="lastupdated" content="4Jul07">
27.13 -<!-- p2 -->
27.14 -
27.15 -<title>About Web Application Listeners</title>
27.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
27.17 -</head>
27.18 -<body>
27.19 -
27.20 -<h2>About Web Application Listeners</h2>
27.21 -<p><small>
27.22 -<a href="#seealso">See Also</a>
27.23 -</small></p>
27.24 -
27.25 -<p>Listeners allow you more control over interactions with the <tt>ServletContext</tt>
27.26 - and <tt>HttpSession</tt> objects and let you efficiently manage the resources
27.27 - used by a web application. </p>
27.28 -<p>Application event listeners are classes that implement one or more of the servlet
27.29 - event listener interfaces. Application events let listener objects be notified
27.30 - when servlet contexts and sessions are initialized and destroyed, as well as
27.31 - when attributes are added or removed from a context or session.</p>
27.32 -<p>Use Servlet context listeners to manage resources or state held at a virtual
27.33 - machine level for the web application. The IDE helps you create two types of context
27.34 - event listeners:</p>
27.35 -<ul>
27.36 - <li><b><tt>ServletContextListener</tt></b>, which notifies you that the
27.37 - servlet context has just been created and is available to service its first
27.38 - request, or that the servlet context is about to be shut down.</li>
27.39 - <li><b><tt>ServletContextAttributesListener</tt></b>, which notifies you
27.40 - that attributes on the servlet context have been added, removed, or replaced.</li>
27.41 -</ul>
27.42 -<p>Use HTTP session listeners to manage state or resources associated with a series
27.43 - of requests made to a web application from the same client or users. The IDE helps
27.44 - you create two types of session event listeners: </p>
27.45 -<ul>
27.46 - <li><b><tt>HttpSessionListener</tt></b>, which notifies you that an HttpSession
27.47 - has been created, invalidated, or timed out.</li>
27.48 - <li><b><tt>HttpSessionAttributesListener</tt></b>, which notifies you that
27.49 - attributes have been added, removed, or replaced on an HttpSession.</li>
27.50 -</ul>
27.51 -<p>Use Servlet request listeners to observe as requests are created and destroyed,
27.52 - and as attributes are added and removed from a request. This is supported by
27.53 - J2EE 1.4 only. The IDE helps you create
27.54 - two types of request event listeners:</p>
27.55 -<ul>
27.56 - <li><b><tt>ServletRequestListener</tt></b>, which notifies you that the
27.57 - request is coming in or out of a web application's scope.</li>
27.58 - <li><b><tt>ServletRequestAttributesListener</tt></b>, which notifies you
27.59 - that request attributes have been added, removed, or replaced.</li>
27.60 -</ul>
27.61 -<p>Listener classes are declared in the deployment descriptor (<tt>web.xml</tt>)
27.62 - using the <tt>listener</tt> element. They are listed by class name in the
27.63 - order in which they are to be invoked.</p>
27.64 - <p>The IDE provides a wizard to help you create listener classes.</p>
27.65 -<table cellpadding="3" cellspacing="0" border="0">
27.66 - <tr valign="top">
27.67 - <td><img src="../../images/tip.gif" alt="tip"> </td>
27.68 - <td>Listeners are run on each mapped event, therefore you cannot run or debug them individually.</td>
27.69 - </tr>
27.70 -</table>
27.71 -
27.72 - <p>For more information
27.73 - about listeners, see the <i>Java Servlet Specification</i> available
27.74 - at
27.75 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
27.76 - <param name="content" value="http://java.sun.com/products/servlet/download.html">
27.77 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/download.html</u></html>">
27.78 - <param name="textFontSize" value="medium">
27.79 - <param name="textColor" value="blue">
27.80 -</object>
27.81 -</p>
27.82 -
27.83 -
27.84 -<dl>
27.85 -<dt><a name="seealso">See Also</a></dt>
27.86 -<dd><a href="listener_create.html">Creating a Web Application Listener</a></dd>
27.87 -<dd><a href="listener_addtodd.html">Registering a Web Application Listener</a></dd>
27.88 -</dl>
27.89 -
27.90 -<hr>
27.91 -<small><a href="../../../credits.html">Legal Notices</a>
27.92 -<table cellpadding="20" border="0">
27.93 -<tr><td> </td></tr>
27.94 -<tr><td> </td></tr>
27.95 -<tr><td> </td></tr>
27.96 -</table>
27.97 -
27.98 -
27.99 -</small></body></html>
28.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/listener/listener_addtodd.html Wed Apr 15 11:45:24 2009 +0200
28.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
28.3 @@ -1,50 +0,0 @@
28.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
28.5 -<!--
28.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
28.7 - * Use is subject to license terms.
28.8 -> -->
28.9 -<html>
28.10 -<head>
28.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
28.12 -<meta name="lastupdated" content="4Jul07">
28.13 -<!-- p2 -->
28.14 -
28.15 -<title>Registering a Web Application Listener</title>
28.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
28.17 -</head>
28.18 -
28.19 -<body>
28.20 -<h2>Registering a Web Application Listener</h2>
28.21 -<p><small>
28.22 -<a href="#seealso">See Also</a>
28.23 -</small></p>
28.24 -<p>You can add a listener to a web application deployment descriptor (<tt>web.xml</tt>)
28.25 - in two ways: </p>
28.26 -<ul>
28.27 -<li>Using the New Web Application Listener wizard when you <a href="listener_create.html">create the listener</a>.
28.28 - On the Name and Location page, select the Add information
28.29 - to deployment descriptor (<tt>web.xml</tt>) checkbox.</li>
28.30 - <li>Using the <a href="../../csh/graphic_editor/dd_multiview_overview_listenersNode.html">Web Application Listeners section</a>
28.31 - of the <tt>web.xml</tt> Visual Editor.</li>
28.32 -</ul>
28.33 -<p>The listener element defines a listener in the deployment descriptor.
28.34 - Listener class instances are scoped to one listener
28.35 - per deployment descriptor declaration per Java virtual machine. </p>
28.36 -<p>For more information about listeners, see the <i>Java Servlet Specification</i>
28.37 - available at <p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
28.38 - <param name="content" value="http://java.sun.com/products/servlet/download.html">
28.39 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/download.html</u></html>">
28.40 - <param name="textFontSize" value="medium">
28.41 - <param name="textColor" value="blue">
28.42 -</object>.</p>
28.43 -
28.44 -<dl>
28.45 -<dt><a name="seealso">See Also</a></dt>
28.46 -<dd><a href="about_listener.html">About Web Application Listeners</a></dd>
28.47 -<dd><a href="listener_create.html">Creating a Web Application Listener</a></dd>
28.48 -</dl>
28.49 -
28.50 -
28.51 -<hr>
28.52 -<small><a href="../../../credits.html">Legal Notices</a> </small>
28.53 -</body></html>
29.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/listener/listener_create.html Wed Apr 15 11:45:24 2009 +0200
29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
29.3 @@ -1,67 +0,0 @@
29.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29.5 -<!--
29.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
29.7 - * Use is subject to license terms.
29.8 -> -->
29.9 -<html>
29.10 -<head>
29.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
29.12 -<meta name="lastupdated" content="4Jul07">
29.13 -
29.14 -<!-- p2 -->
29.15 -<title>Creating a Web Application Listener</title>
29.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
29.17 -</head>
29.18 -
29.19 -<body>
29.20 -<h2>Creating a Web Application Listener</h2>
29.21 -<p><small>
29.22 -<a href="#seealso">See Also</a>
29.23 -</small></p>
29.24 -<p>The <i>Java Servlet Specification</i> supports application level events for
29.25 - controlling interactions with the <tt>ServletContext</tt> and <tt>HttpSession</tt>
29.26 - objects and for managing the resources that a web application uses. </p>
29.27 -<p>Application event listeners are classes that implement one or more of the servlet
29.28 - event listener interfaces. Application events notify listener objects when servlet
29.29 - contexts and sessions are initialized and destroyed, as well as when attributes
29.30 - are added or removed from a context or session.</p>
29.31 - <p>The IDE provides a wizard to help you create listener classes. Use
29.32 - the Web Application Listener wizard to create listener classes that manage resources
29.33 - or state held at a virtual machine level for the web application.</p>
29.34 -<p>You use the listener element to declare listeners in the deployment descriptor
29.35 - (<tt>web.xml</tt>). List the listener elements in the order in which they
29.36 - are to be invoked.</p>
29.37 -<p><b>To create a listener:</b></p>
29.38 -<ol>
29.39 - <li>In the Projects or Files window, right-click the package node and
29.40 - choose New >
29.41 - Other from the pop-up menu.</li>
29.42 - <li>Under Categories, select Web. Under File Types, select Web Application Listener.</li>
29.43 - <li>Follow the instructions in the New Web Application Listener wizard and click Finish. The source code
29.44 - appears in the Source Editor.</li>
29.45 -</ol>
29.46 -<p>For more information about listeners, see the <i>Java Servlet Specification</i>
29.47 -available at
29.48 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
29.49 - <param name="content" value="http://java.sun.com/products/servlet/download.html">
29.50 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/download.html</u></html>">
29.51 - <param name="textFontSize" value="medium">
29.52 - <param name="textColor" value="blue">
29.53 -</object>.</p>
29.54 -
29.55 -<dl>
29.56 -<dt><a name="seealso">See Also</a></dt>
29.57 -<dd><a href="about_listener.html">About Web Application Listeners</a></dd>
29.58 -<dd><a href="listener_addtodd.html">Registering a Web Application Listener</a></dd>
29.59 -</dl>
29.60 -
29.61 -
29.62 -<hr>
29.63 -<small><a href="../../../credits.html">Legal Notices</a>
29.64 -<table cellpadding="20" border="0">
29.65 -<tr><td> </td></tr>
29.66 -<tr><td> </td></tr>
29.67 -<tr><td> </td></tr>
29.68 -</table>
29.69 -
29.70 -</small></body></html>
30.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/listener/listener_run.html Wed Apr 15 11:45:24 2009 +0200
30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
30.3 @@ -1,39 +0,0 @@
30.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
30.5 -<!--
30.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
30.7 - * Use is subject to license terms.
30.8 -> -->
30.9 -<html>
30.10 -<head>
30.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
30.12 -<meta name="lastupdated" content="4Jul07">
30.13 -<!-- p2 -->
30.14 -
30.15 -<title>Running a Web Application Listener</title>
30.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
30.17 -</head>
30.18 -
30.19 -<body>
30.20 -<h2>Running a Web Application Listener</h2>
30.21 -<p><small>
30.22 -<a href="#seealso">See Also</a>
30.23 -</small></p>
30.24 -<ul>
30.25 -<li><a href="listener_addtodd.html">Register the listener</a> in the <tt>web.xml</tt> file. </li>
30.26 -<table cellpadding="3" cellspacing="0" border="0">
30.27 - <tr valign="top">
30.28 - <td><img src="../../images/tip.gif" alt="tip"> </td>
30.29 - <td>Listeners are run on each mapped event, therefore you cannot run or debug them individually.</td>
30.30 - </tr>
30.31 -</table>
30.32 -</ul>
30.33 -
30.34 -<dl>
30.35 -<dt><a name="seealso">See Also</a></dt>
30.36 -<dd><a href="about_listener.html">About Web Application Listeners</a></dd>
30.37 -<dd><a href="listener_create.html">Creating a Web Application Listener</a></dd>
30.38 -</dl>
30.39 -
30.40 -<hr>
30.41 -<small><a href="../../../credits.html">Legal Notices</a> </small>
30.42 -</body></html>
31.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/servlet/about_servlet.html Wed Apr 15 11:45:24 2009 +0200
31.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
31.3 @@ -1,72 +0,0 @@
31.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
31.5 -<!--
31.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
31.7 - * Use is subject to license terms.
31.8 - -->
31.9 -<html>
31.10 -<head>
31.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
31.12 -<meta name="lastupdated" content="4Jul07">
31.13 -<!-- p2 -->
31.14 -
31.15 -<title>About Servlets</title>
31.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
31.17 -</head>
31.18 -
31.19 -<body>
31.20 -
31.21 -<h2>About Servlets</h2>
31.22 -<p><small>
31.23 -<a href="#seealso">See Also</a>
31.24 -</small></p>
31.25 -<p>Servlets are server-side programs that give Java technology-enabled servers additional
31.26 -features. Servlets provide web developers with a simple, consistent mechanism
31.27 -for extending the features of a web server and for gaining access to existing
31.28 -business systems. In other words, servlets are programs written in the Java programming
31.29 -language that execute on the server. You can contrast servlets to Java programs
31.30 -written for the client browser, that is, applets. </p>
31.31 -<p>Servlets are Java classes that can be loaded dynamically into a web server
31.32 - and executed by a web server to extend its feature set. Servlets are useful
31.33 - for tasks that involve processing an HTTP request. Servlets are also helpful
31.34 - for tasks that do not generate an HTTP response at all or that generate a relatively
31.35 - simple HTTP response. Servlets use the <tt>javax.servlet</tt> API. </p>
31.36 -<p> JSP technology was designed to simplify
31.37 - the process of creating servlets. In fact, the main function of servlets is to generate HTML
31.38 -output
31.39 - in cases where dynamic portions can be encapsulated. Servlets are generated by JSP pages
31.40 - when compiled. In many applications, the
31.41 - response sent to the client is a combination of template data and
31.42 -dynamically-generated
31.43 - data. In this situation, it is often easier to work with JSP pages than to do
31.44 - everything with servlets. </p>
31.45 - <p>For more information about servlet technology, see the <i>Java Servlet Technology Documentation</i>
31.46 - available
31.47 - at
31.48 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
31.49 - <param name="content" value="http://java.sun.com/products/servlet/docs.html">
31.50 - <param name="text" value="<html><u>http://java.sun.com/products/servlet/docs.html</u></html>">
31.51 - <param name="textFontSize" value="medium">
31.52 - <param name="textColor" value="blue">
31.53 -</object></p>
31.54 -
31.55 -<dl>
31.56 -<dt><a name="seealso">See Also</a></dt>
31.57 -<dd><a href="servlet_create.html">Creating a Servlet</a></dd>
31.58 -<dd><a href="servlet_edit.html">Editing a Servlet</a></dd>
31.59 -<dd><a href="../jsp/jsp_servletview.html">Viewing a JSP's Servlet</a></dd>
31.60 -<dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_webapp.html">Adding Java Persistence to a Web Application</a></dd>
31.61 -<dd><a href="../../build/build_externalresource.html">Packaging a Resource in a WAR File</a></dd>
31.62 -</dl>
31.63 -
31.64 -<hr>
31.65 -<small><a href="../../../credits.html">Legal Notices</a></small>
31.66 -<table cellpadding="20" border="0">
31.67 -<tr><td> </td></tr>
31.68 -<tr><td> </td></tr>
31.69 -<tr><td> </td></tr>
31.70 -</table>
31.71 -
31.72 -
31.73 - </body>
31.74 -</html>
31.75 -
32.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/servlet/servlet_create.html Wed Apr 15 11:45:24 2009 +0200
32.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
32.3 @@ -1,57 +0,0 @@
32.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
32.5 -<!--
32.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
32.7 - * Use is subject to license terms.
32.8 -> -->
32.9 -<html>
32.10 -<head>
32.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
32.12 -<meta name="lastupdated" content="4Jul07">
32.13 -<!-- p2 -->
32.14 -
32.15 -<title>Creating a Servlet</title>
32.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
32.17 -</head>
32.18 -<body>
32.19 -<h2>Creating a Servlet</h2>
32.20 -<p><small>
32.21 -<a href="#seealso">See Also</a>
32.22 -</small></p>
32.23 -
32.24 -<p>When you create a servlet in the web application's <tt>src</tt> folder and
32.25 - compile it, the IDE includes it in the web application's WAR file. When you
32.26 - create the servlet using the following steps, the IDE compiles the class and
32.27 - its package structure to the <tt>build/web/WEB-INF/classes</tt> folder. </p>
32.28 -<p><b>To create a servlet source file:</b></p>
32.29 -
32.30 -<ol>
32.31 - <li>In the Projects or Files window, right-click the project's node and
32.32 - choose New > Other
32.33 - from the pop-up menu. The New File wizard appears.</li>
32.34 - <li>Under Categories, choose Web. Under File Types, choose Servlet. Click Next.
32.35 - </li>
32.36 - <li>Specify the fully
32.37 - qualified class name, the location and the servlet's package. Do not include
32.38 - a filename extension to the class name as this is added
32.39 - automatically when the file is created.
32.40 - </li>
32.41 - <li>Click Next to specify the server deployment configuration for
32.42 - the servlet. <p>This page does not enable the Finish button until you enter a
32.43 - servlet name and URL mappings that are unique to the deployment descriptor. After you create
32.44 - the servlet, you can edit this information in the deployment descriptor (<tt>web.xml</tt>).</li>
32.45 - <li>Click Finish. The IDE opens the file for editing in the Source Editor. </li>
32.46 -</ol>
32.47 -
32.48 -<dl>
32.49 - <dt><a name="seealso">See Also</a></dt>
32.50 -<dd><a href="about_servlet.html">About Servlets</a></dd>
32.51 -<dd><a href="servlet_edit.html">Editing a Servlet</a></dd>
32.52 -<dd><a href="../jsp/jsp_servletview.html">Viewing a JSP's Servlet</a></dd>
32.53 -<dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_webapp.html">Adding Java Persistence to a Web Application</a></dd>
32.54 -<dd><a href="../../build/build_externalresource.html">Packaging a Resource in a WAR File</a></dd>
32.55 -</dl>
32.56 -
32.57 -<hr>
32.58 -<small><a href="../../../credits.html">Legal Notices</a></small>
32.59 -</body>
32.60 -</html>
33.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/servlet/servlet_edit.html Wed Apr 15 11:45:24 2009 +0200
33.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
33.3 @@ -1,57 +0,0 @@
33.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
33.5 -<!--
33.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
33.7 - * Use is subject to license terms.
33.8 -> -->
33.9 -<html>
33.10 -<head>
33.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
33.12 -<meta name="lastupdated" content="4Jul07">
33.13 -<!-- p2 -->
33.14 -
33.15 -<title>Editing a Servlet</title>
33.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
33.17 -</head>
33.18 -<body>
33.19 -
33.20 -<h2>Editing a Servlet</h2>
33.21 -<p><small>
33.22 -<a href="#seealso">See Also</a>
33.23 -</small></p>
33.24 -<p>The IDE provides support for editing Java source files, such as syntax highlighting,
33.25 - Java SE API code completion, automatic formatting, bracket matching, and macros,
33.26 - to name a few of the many features. In addition to the Java support, the IDE
33.27 - provides code completion for the Servlet API. Note that although you can view
33.28 - the servlet that generated from a JSP file by right-clicking the JSP file and
33.29 - choosing View Servlet from the pop-up menu, you cannot edit this servlet.</P>
33.30 -<p><b>To edit a servlet source file:</b></p>
33.31 -<ol>
33.32 - <li>Locate your servlet file in the Projects window or Files window. </li>
33.33 - <li>Double-click the selected file to open it in the Source Editor. </li>
33.34 - <li>Edit your file as you would any Java source file, including the use of code
33.35 - completion and editor abbreviations. </li>
33.36 - <li>Choose File > Save to
33.37 - save your file. Unsaved changes are indicated by an asterisk in the file's
33.38 - tab in the Source Editor.
33.39 -</ol>
33.40 -<p>Note that if you create the servlet outside of the IDE or turn an existing
33.41 - class into a servlet, the IDE may
33.42 - not recognize the file as a servlet. If this is the case, manually register
33.43 - the servlet in the <tt>web.xml</tt> file. </p>
33.44 -
33.45 -
33.46 -<dl>
33.47 - <dt><a name="seealso">See Also</a></dt>
33.48 -<dd><a href="about_servlet.html">About Servlets</a></dd>
33.49 -<dd><a href="servlet_create.html">Creating a Servlet</a></dd>
33.50 -<dd><a href="../jsp/jsp_servletview.html">Viewing a JSP's Servlet</a></dd>
33.51 -<dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_webapp.html">Adding Java Persistence to a Web Application</a></dd>
33.52 -<dd><a href="../../build/build_externalresource.html">Packaging a Resource in a WAR File</a></dd>
33.53 -</dl>
33.54 -
33.55 -
33.56 -
33.57 -<hr>
33.58 -<small><a href="../../../credits.html">Legal Notices</a></small>
33.59 -</body>
33.60 -</html>
34.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/servlet/servlet_run.html Wed Apr 15 11:45:24 2009 +0200
34.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
34.3 @@ -1,88 +0,0 @@
34.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
34.5 -<!--
34.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
34.7 - * Use is subject to license terms.
34.8 -> -->
34.9 -<html>
34.10 -<head>
34.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
34.12 -<meta name="lastupdated" content="4Jul07">
34.13 -<!-- p1 -->
34.14 -
34.15 -<title>Running a Servlet</title>
34.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
34.17 -</head>
34.18 -<body>
34.19 -<h2>Running a Servlet</h2>
34.20 -<p><small>
34.21 -<a href="#seealso">See Also</a>
34.22 -</small></p>
34.23 -<p>When you run a servlet, the IDE sends a URL to the server. The URL is
34.24 -comprised of the server's URL, the Execution URI value, and Request Parameters.
34.25 -The default URI value is specified in the deployment
34.26 -descriptor (the <tt>web.xml</tt> file). </p>
34.27 -<table>
34.28 - <tr valign="top">
34.29 - <td><img src="../../images/tip.gif" alt="tip"></td>
34.30 - <td>
34.31 - <p>Your servlet must have an entry defined in the deployment descriptor (the <tt>web.xml</tt> file)
34.32 - in order to be able to run. The entry can be created automatically by the IDE when you create a servlet
34.33 - in the New File wizard. Otherwise, you have to create it by hand in the <tt>web.xml</tt> file.</p>
34.34 - </td>
34.35 - </tr>
34.36 -</table>
34.37 -<p><b>To run a servlet:</b></p>
34.38 -<ol>
34.39 - <li>(Optional) <a href="../jsp/jsp_queryparams.html">Define request parameters</a> to pass to the servlet.
34.40 - <li>Select the servlet in the Source Editor or Projects window. </li>
34.41 - <li>Choose Run > Run File
34.42 - > Run "<i>filename</i>.java"
34.43 - (Shift-F6) from the main menu. If the compiled servlet is newer,
34.44 - the server reloads the servlet.</li>
34.45 -</ol>
34.46 -<table>
34.47 - <tr valign="top">
34.48 - <td><img src="../../images/tip.gif" alt="tip"></td>
34.49 - <td>
34.50 - <p>If you are using a <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
34.51 - <param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/project/csh/glossary_freeform.html">
34.52 - <param name="viewerActivator" value="javax.help.LinkLabel">
34.53 - <param name="viewerStyle" value="javax.help.Popup">
34.54 - <param name="viewerSize" value="400,160">
34.55 - <param name="text" value="free-form project">
34.56 - <param name="textFontSize" value="medium">
34.57 - <param name="textFontFamily" value="SansSerif">
34.58 - <param name="textFontStyle" value="italic">
34.59 - <param name="textFontWeight" value="bold">
34.60 - <param name="textColor" value="blue">
34.61 - </object>, this command is disabled by default.
34.62 - You have to write an Ant target for running the currently selected file
34.63 - in the IDE and hook it up to the Run Class command. For a full guide to
34.64 - configuring free-form projects, see: <p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
34.65 - <param name="content" value="http://www.netbeans.org/kb/55/freeform-config.html">
34.66 - <param name="text" value="<html><u>http://www.netbeans.org/kb/55/freeform-config.html</u></html>">
34.67 - <param name="textFontSize" value="medium">
34.68 - <param name="textColor" value="blue">
34.69 - </object> </p>
34.70 - </td>
34.71 - </tr>
34.72 -</table>
34.73 -<p><b>Troubleshooting</b></p>
34.74 -<p>If you get "file not found" errors when you execute a servlet, see <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/webbrowser/bypassproxy.html">Accessing
34.75 - Local files Through a Proxy</a> for possible solutions.</p>
34.76 -
34.77 -<dl>
34.78 -<dt><a name="seealso">See Also</a></dt>
34.79 -<dd><a href="../../deploy/about_deploy.html">About Deploying Web Applications</a></dd>
34.80 -<dd><a href="../../deploy/deploy_webapp.html">Deploying a Web Application</a></dd>
34.81 -<dd><a href="../jsp/jsp_run.html">Running a JSP File</a></dd>
34.82 -</dl>
34.83 -
34.84 -<hr>
34.85 -<small><a href="../../../credits.html">Legal Notices</a></small>
34.86 -<table cellpadding="50" border="0">
34.87 -<tr><td> </td></tr>
34.88 -</table>
34.89 -
34.90 -</body>
34.91 -</html>
35.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/about/about_jstl.html Wed Apr 15 11:45:24 2009 +0200
35.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
35.3 @@ -1,55 +0,0 @@
35.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
35.5 -<!--
35.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
35.7 - * Use is subject to license terms.
35.8 -> -->
35.9 -<html>
35.10 -<head>
35.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
35.12 -<meta name="lastupdated" content="9Jul07">
35.13 -<!-- p2 -->
35.14 -
35.15 -<title>About the JSTL</title>
35.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
35.17 -</head>
35.18 -<body>
35.19 -
35.20 -<h2>About the JSTL</h2>
35.21 -<p><small>
35.22 -<a href="#seealso">See Also</a>
35.23 -</small></p>
35.24 -<p>The IDE is bundled with the JSTL (JSP Standard Tag Library), which is a set of compatible
35.25 - tag libraries that you can use in your JSP pages. The JSTL supports iteration,
35.26 - control-flow, text inclusion, and formatting features, as well as XML manipulation
35.27 - capabilities. The JSTL also supports an expression language to simplify page
35.28 - development, as well as extensibility mechanisms that allow you to integrate
35.29 - your own custom tags with JSTL tags. </p>
35.30 -<p>For a complete description of the JSTL, including documentation and tutorials, see:
35.31 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
35.32 - <param name="content" value="http://jakarta.apache.org/taglibs/doc/standard-doc/GettingStarted.html">
35.33 - <param name="text" value="<html><u>http://jakarta.apache.org/taglibs/doc/standard-doc/GettingStarted.html</u></html>">
35.34 - <param name="textFontSize" value="medium">
35.35 - <param name="textColor" value="blue">
35.36 -</object>
35.37 -</p>
35.38 -<table cellpadding="3" cellspacing="0" border="0">
35.39 - <tr valign="top">
35.40 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
35.41 - <td>When the JSTL tag library exists in the web application's <tt>WEB-INF/lib</tt>
35.42 - folder and the JSP file has taglib
35.43 - directives with URIs for the parts of the library that you are using, the
35.44 - Source Editor provides code completion for this library.</td>
35.45 - </tr>
35.46 -</table>
35.47 -<dl>
35.48 - <dt><a name="seealso">See Also</a></dt>
35.49 - <dd><a href="about_taglib.html">About Tag Libraries</a></dd>
35.50 - <dd><a href="../../jsp/jsp_usetaglib.html">Accessing a Custom Tag from a JSP Page</a></dd>
35.51 -</dl>
35.52 -<hr>
35.53 -<small><a href="../../../../credits.html">Legal Notices</a></small>
35.54 -<table cellpadding="50" border="0">
35.55 -<tr><td> </td></tr>
35.56 -</table>
35.57 - </body>
35.58 -</html>
36.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/about/about_taglib.html Wed Apr 15 11:45:24 2009 +0200
36.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
36.3 @@ -1,54 +0,0 @@
36.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
36.5 -<!--
36.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
36.7 - * Use is subject to license terms.
36.8 -> -->
36.9 -<html>
36.10 -<head>
36.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
36.12 -<meta name="lastupdated" content="09Jul07">
36.13 -<!-- p2 -->
36.14 -
36.15 -<title>About Tag Libraries</title>
36.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
36.17 -</head>
36.18 -<body>
36.19 -<h2>About Tag Libraries</h2>
36.20 -<p><small>
36.21 -<a href="#seealso">See Also</a>
36.22 -</small></p>
36.23 -<p>Rather than writing action code directly in your JSP file, you can store common
36.24 - functions in a tag library and implement the functions using simple tags. This
36.25 - practice makes the JSP file more readable and isolates the JSP file from any
36.26 - underlying implementation changes. </p>
36.27 -<p>Tag libraries can be in one of the following forms:</p>
36.28 -<ul>
36.29 - <li>Java class <a href="../taghandler/taghandler_create.html">tag handlers</a>
36.30 - or JSP <a href="../tagfile/tagfile_create.html">tag files</a> (or both) bundled with a TLD (tag library
36.31 - descriptor) into a JAR file.</li>
36.32 - <li>A tag library folder containing tag files. The tag files
36.33 - can use standard JSP syntax or JSP document syntax.</li>
36.34 - <li>A tag library folder containing tag handlers. The tag handlers
36.35 - must be written in the Java programming language.</li>
36.36 -</ul>
36.37 -<p>You use the IDE to <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/compile/comp_classpath.html">add the tag library
36.38 - to the web application's classpath</a>. You use <a href="../../jsp/jsp_usetaglib.html">taglib directives</a>
36.39 -in a JSP file to declare the tag libraries that
36.40 - the JSP file uses and to give each library a namespace unique within the JSP file.
36.41 - The tags are used in the same manner as regular XML tags with namespaces. The Source Editor
36.42 - provides code completion and Javadoc for tags and tag attributes of all types of tag libraries mentioned above.</p>
36.43 -
36.44 -
36.45 -<dl>
36.46 -<dt><a name="seealso">See Also</a></dt>
36.47 - <dd> <a href="../about/about_jstl.html">About the JSTL</a></dd>
36.48 -</dl>
36.49 -<hr>
36.50 -<small><a href="../../../../credits.html">Legal Notices</a></small>
36.51 -<table cellpadding="20" border="0">
36.52 -<tr><td> </td></tr>
36.53 -<tr><td> </td></tr>
36.54 -<tr><td> </td></tr>
36.55 -</table>
36.56 -</body></html>
36.57 -
37.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/about_framework.html Wed Apr 15 11:45:24 2009 +0200
37.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
37.3 @@ -1,158 +0,0 @@
37.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
37.5 -
37.6 -<!--
37.7 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
37.8 - * Use is subject to license terms.
37.9 ->-->
37.10 -
37.11 -<html>
37.12 - <head>
37.13 - <meta http-equiv="content-type" content="text/html; charset=UTF-8">
37.14 - <title>About Web Application Frameworks</title>
37.15 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
37.16 - rel="stylesheet" type="text/css">
37.17 - <meta name="KEYWORDS" content="FRAMEWORK, WEB APPLICATION FRAMEWORK, WEB FRAMEWORK">
37.18 - </head>
37.19 -
37.20 - <body>
37.21 - <h2>About Web Application Frameworks</h2>
37.22 -
37.23 - <p><small><a href="#seealso">See Also</a></small></p>
37.24 -
37.25 - <p>Sun's JavaServer Faces (JSF) technology (JSR-127) is the standard Java API for building user
37.26 - interface components in web applications. JSF defines a component-based web application
37.27 - framework, enabling vendors and open source projects to create sophisticated user-interface
37.28 - widgets that you can then develop to create easy-to-use web applications, with portability
37.29 - between tools and application servers. Its list of features is as follows:</p>
37.30 -
37.31 - <ul>
37.32 - <li><b>Standard component API for user interface components.</b> The range is from simple
37.33 - input fields to more complex tree controls and menus, to sophisticated scrollable tables
37.34 - which allow both input and output. Components also support standard JavaBeans style
37.35 - events and event listeners.</li>
37.36 - <li><b>Decoupled rendering model.</b> The same component can be rendered in different ways,
37.37 - for example, a command component used to submit a form can be rendered as either a button
37.38 - or a hyperlink.</li>
37.39 - <li><b>Request processing lifecycle.</b> The lifecycle focuses on the handling of user interface
37.40 - events (such as the node of a tree control being expanded or contracted), coupled with
37.41 - support for data type conversions and component level validation rules.</li>
37.42 - <li><b>Utility technologies supporting the component APIs.</b> This includes value binding
37.43 - and method binding expressions, managed beans (create on demand), and page navigation
37.44 - support.</li>
37.45 - </ul>
37.46 -
37.47 - <p>JSF also includes the <a href="jsf/about_visweb_framework.html">Visual Web JavaServer Faces
37.48 - framework</a>, enabling drag and drop functionality and providing a more visual approach to
37.49 - web application design.</p>
37.50 -
37.51 - <p>For a complete description of the JSF framework, including documentation and tutorials, see:</p>
37.52 -
37.53 - <p>
37.54 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
37.55 - <param name="content" value="http://java.sun.com/j2ee/javaserverfaces/index.jsp">
37.56 - <param name="text" value="<html><u>http://java.sun.com/j2ee/javaserverfaces/index.jsp</u></html>">
37.57 - <param name="textFontSize" value="medium">
37.58 - <param name="textColor" value="blue">
37.59 - </object>
37.60 - </p>
37.61 -
37.62 - <table cellpadding="3" cellspacing="0" border="0">
37.63 - <tr valign="top">
37.64 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
37.65 - <td>The IDE provides sample applications that make use of JSF Visual Web technology.
37.66 - Press Ctrl-Shift-N, and expand the Samples > Java Web (Visual JSF) folder. Select
37.67 - any sample, click Next, and then click Finish. The sample opens in the IDE.</td>
37.68 - </tr>
37.69 - </table>
37.70 -
37.71 - <p>Other web application frameworks are available. They can be integrated with the IDE just as
37.72 - easily as the JSF technology. Some of the more popular alternative web application frameworks
37.73 - are as follows:</p>
37.74 -
37.75 - <ul>
37.76 - <li><b>Grails.</b>
37.77 -
37.78 - <p>
37.79 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
37.80 - <param name="content" value="http://grails.org/">
37.81 - <param name="text" value="<html><u>http://grails.org/</u></html>">
37.82 - <param name="textFontSize" value="medium">
37.83 - <param name="textColor" value="blue">
37.84 - </object>
37.85 - </p></li>
37.86 -
37.87 - <li><b>Struts.</b>
37.88 -
37.89 - <p>
37.90 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
37.91 - <param name="content" value="http://struts.apache.org/">
37.92 - <param name="text" value="<html><u>http://struts.apache.org/</u></html>">
37.93 - <param name="textFontSize" value="medium">
37.94 - <param name="textColor" value="blue">
37.95 - </object>
37.96 - </p></li>
37.97 -
37.98 - <li><b>Spring.</b>
37.99 -
37.100 - <p>
37.101 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
37.102 - <param name="content" value="http://www.springframework.org/">
37.103 - <param name="text" value="<html><u>http://www.springframework.org/</u></html>">
37.104 - <param name="textFontSize" value="medium">
37.105 - <param name="textColor" value="blue">
37.106 - </object>
37.107 - </p></li>
37.108 -
37.109 - <li><b>Tapestry.</b>
37.110 -
37.111 - <p>
37.112 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
37.113 - <param name="content" value="http://jakarta.apache.org/tapestry/">
37.114 - <param name="text" value="<html><u>http://jakarta.apache.org/tapestry/</u></html>">
37.115 - <param name="textFontSize" value="medium">
37.116 - <param name="textColor" value="blue">
37.117 - </object>
37.118 - </p></li>
37.119 -
37.120 - <li><b>Hibernate.</b>
37.121 - <p>
37.122 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
37.123 - <param name="content" value="http://www.hibernate.org/">
37.124 - <param name="text" value="<html><u>http://www.hibernate.org/</u></html>">
37.125 - <param name="textFontSize" value="medium">
37.126 - <param name="textColor" value="blue">
37.127 - </object>
37.128 - </p>
37.129 - </ul>
37.130 -
37.131 - <table cellpadding="3" cellspacing="0" border="0">
37.132 - <tr valign="top">
37.133 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
37.134 - <td>When you use the IDE to add the framework's tag libraries in your web application's
37.135 - <tt>WEB-INF/lib</tt> folder, and the JSP file has taglib directives with URIs for
37.136 - the parts of the libraries that you are using, the Source Editor provides code completion
37.137 - for these libraries.</td>
37.138 - </tr>
37.139 - </table>
37.140 -
37.141 - <dl>
37.142 - <dt><a name="seealso">See Also</a></dt>
37.143 - <dd><a href="jsf/about_jsf_support.html">About JavaServer Faces Framework Support</a></dd>
37.144 - <dd><a href="jsf/about_visweb_framework.html">About the Visual Web JSF Framework</a></dd>
37.145 - <dd><a href="spring/about.html">About Spring Web MVC Framework Support</a></dd>
37.146 - <dd><a href="grails/about.html">About Grails Framework Support</a></dd>
37.147 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/hibernate/hibernate_about.html">About Hibernate Support</a></dd>
37.148 - </dl>
37.149 -
37.150 - <hr>
37.151 - <small><a href="../../../../credits.html">Legal Notices</a></small>
37.152 -
37.153 - <table cellpadding="20" border="0">
37.154 - <tr><td> </td></tr>
37.155 - <tr><td> </td></tr>
37.156 - <tr><td> </td></tr>
37.157 - </table>
37.158 -
37.159 - </body>
37.160 -</html>
37.161 -
38.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_jsf_aboutcrud.html Wed Apr 15 11:45:24 2009 +0200
38.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
38.3 @@ -1,69 +0,0 @@
38.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
38.5 -<!--
38.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
38.7 - * Use is subject to license terms.
38.8 -> -->
38.9 -<html>
38.10 -<head>
38.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
38.12 -<meta name="lastupdated" content="9Jul07">
38.13 -<!-- p2 -->
38.14 -<title>About CRUD Applications</title>
38.15 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
38.16 -</head>
38.17 -<body>
38.18 -<h2>About CRUD Applications</h2>
38.19 -<p><small> <a href="#seealso">See Also</a> </small></p>
38.20 -
38.21 -<p>A Create, Read, Update, and Delete (CRUD) application is a simple programming pattern that allows you to read
38.22 -and manage the data in a data source.
38.23 -The IDE provides support for this common programming task by letting you quickly generate code for CRUD
38.24 -functionality based on entity classes in your project.</p>
38.25 -
38.26 -<p>A JSF application that implements CRUD functionality typically contains the following artefacts.</p>
38.27 -
38.28 -<ul>
38.29 - <li><b>JPA Controller classes.</b>
38.30 - A typical JSF application may have JPA and JSF controller classes.
38.31 - A JPA controller class is a wrapper for an entity class that provides clients with access to the database
38.32 - through the methods in the entity class.
38.33 - A JPA controller class contains the logic for creating, editing and destorying an entry in the data source,
38.34 - getting all of the entries in the data source, and getting a specific entry in the data source.
38.35 - Generally you would not need to modify the JPA controller classes unless the database schema changed, in which case
38.36 - you could regenerate the classes for the new schema.</li>
38.37 - <li><b>JSF Controller classes.</b>
38.38 - A JSF controller class generally contains code that invokes methods in the JPA controller classes and
38.39 - demonstrates which exceptions to catch.
38.40 - To modify your application you would generally modify the JSF controller classes.</li>
38.41 - <li><b>JSF Converter classes.</b> A JSF converter class takes input from the form and converts it into the type that matches the data
38.42 - in the data source.</li>
38.43 - <li><b>JSP pages.</b> The JSP pages are the web user interface for accessing and modifying the data in the data source.</li>
38.44 -</ul>
38.45 -
38.46 -<p>The following wizards generate code for implementing CRUD functionality in the application.</p>
38.47 - <ul>
38.48 - <li><b>JPA Controller Classes from Entity Classes.</b> This wizard generates the CRUD controller classes based on the entity classes in the project.
38.49 - The wizard creates one controller for each entity class and places the controller in the same package as the entity class.</li>
38.50 - <li><b>JSF Pages from Entity Classes.</b> This wizard generates the JSF controller classes, converters and JSP pages based on the entity classes in the project.
38.51 - For each entity class, the wizard creates four JSP pages that let you view, edit, create, and destroy entries in the data source.
38.52 - The JSP pages use the JSF framework and access the JSF converter and controller classes. </li>
38.53 - </ul>
38.54 -
38.55 -<dl>
38.56 - <dt><a name="seealso">See Also</a></dt>
38.57 - <dd><a href="framework_jsf_fromentity.html">Generating JSF Pages from an Entity Class</a></dd>
38.58 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_entityclasses.html">Creating an Entity Class</a></dd>
38.59 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persist_jpa_fromentity.html">Generating JPA Controller Classes from an Entity Class</a></dd>
38.60 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_fromdb.html">Generating Persistent Entity Classes from a Database</a></dd>
38.61 - <dd><a href="framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
38.62 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
38.63 -</dl>
38.64 -<hr>
38.65 -<small><a href="../../../../credits.html">Legal Notices</a></small>
38.66 -<table cellpadding="50" border="0">
38.67 - <tr>
38.68 - <td> </td>
38.69 - </tr>
38.70 -</table>
38.71 -</body>
38.72 -</html>
39.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_jsf_add.html Wed Apr 15 11:45:24 2009 +0200
39.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
39.3 @@ -1,57 +0,0 @@
39.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
39.5 -
39.6 -<!--
39.7 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
39.8 - * Use is subject to license terms.
39.9 ->-->
39.10 -
39.11 -<html>
39.12 - <head>
39.13 - <meta http-equiv="content-type" content="text/html; charset=UTF-8">
39.14 - <title>Adding JSF Support to an Existing Application</title>
39.15 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
39.16 - rel="stylesheet" type="text/css">
39.17 - </head>
39.18 -
39.19 - <body>
39.20 - <h2>Adding JSF Support to an Existing Application</h2>
39.21 -
39.22 - <p><small><a href="#seealso">See Also</a></small></p>
39.23 -
39.24 - <p><a href="about_framework.html">Sun's JavaServer Faces</a> (JSF) technology (JSR-127) is
39.25 - the standard Java API for building user interface components in web applications. JSF
39.26 - also includes the Visual Web JavaServer Faces framework, enabling drag and drop functionality
39.27 - and providing a more visual approach to web application design.</p>
39.28 -
39.29 - <p>The JSF tag libraries and supporting files are bundled with the IDE.</p>
39.30 -
39.31 - <p><b>To add JSF support to an existing web application:</b></p>
39.32 -
39.33 - <p>The JSF tag libraries and supporting files are bundled with the IDE. To add the JSF tag
39.34 - libraries and supporting files to an existing web application, do the following:</p>
39.35 -
39.36 - <ol>
39.37 - <li>Right-click a standard web application project's node and choose Properties.</li>
39.38 - <li>Click Frameworks and select either JavaServer Faces or Visual Web JavaServer Faces.</li>
39.39 - <li>Click OK to confirm your selection and exit the Project Properties dialog box.</li>
39.40 - </ol>
39.41 -
39.42 - <p>After you add JSF support, you can use the <a href="jsf/file_ManagedBeanPanel.html">New JSF
39.43 - Managed Bean Wizard</a>.</p>
39.44 -
39.45 - <dl>
39.46 - <dt><a name="seealso">See Also</a></dt>
39.47 - <dd><a href="jsf/about_jsf_support.html">About JavaServer Faces Framework Support</a></dd>
39.48 - <dd><a href="framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
39.49 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
39.50 - </dl>
39.51 -
39.52 - <hr>
39.53 - <small><a href="../../../../credits.html">Legal Notices</a></small>
39.54 -
39.55 - <table cellpadding="50" border="0">
39.56 - <tr><td> </td></tr>
39.57 - </table>
39.58 -
39.59 - </body>
39.60 -</html>
39.61 \ No newline at end of file
40.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_jsf_create.html Wed Apr 15 11:45:24 2009 +0200
40.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
40.3 @@ -1,56 +0,0 @@
40.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
40.5 -
40.6 -<!--
40.7 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
40.8 - * Use is subject to license terms.
40.9 ->-->
40.10 -
40.11 -<html>
40.12 - <head>
40.13 - <meta http-equiv="content-type" content="text/html; charset=UTF-8">
40.14 - <title>Creating a New Application with JSF Support</title>
40.15 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
40.16 - rel="stylesheet" type="text/css">
40.17 - </head>
40.18 -
40.19 - <body>
40.20 - <h2>Creating a New Application with JSF Support</h2>
40.21 -
40.22 - <p><small><a href="#seealso">See Also</a></small></p>
40.23 -
40.24 - <p><a href="about_framework.html">Sun's JavaServer Faces</a> (JSF) technology (JSR-127) is the
40.25 - standard Java API for building user interface components in web applications. JSF also includes
40.26 - the Visual Web JavaServer Faces framework, enabling drag and drop functionality and providing
40.27 - a more visual approach to web application design.</p>
40.28 -
40.29 - <p>The JSF tag libraries and supporting files are bundled with the IDE.</p>
40.30 -
40.31 - <p><b>To create a new web application with JSF support:</b></p>
40.32 -
40.33 - <ol>
40.34 - <li>Choose File > New Project (Ctrl-Shift-N). </li>
40.35 - <li>From the Java Web category, select <a href="../../../csh/projwiz_standard/PanelConfigureProject.html">Web Application</a>.</li>
40.36 - <li>Continue with the wizard until you reach the Frameworks panel. Select JavaServer Faces
40.37 - or Visual Web JavaServer Faces and click Finish. The new project opens in the IDE.</li>
40.38 - </ol>
40.39 -
40.40 - <p>After you create a web application with JSF support, you can use the <a href="jsf/file_ManagedBeanPanel.html">New
40.41 - JSF Managed Bean Wizard</a>.</p>
40.42 -
40.43 - <dl>
40.44 - <dt><a name="seealso">See Also</a></dt>
40.45 - <dd><a href="jsf/about_jsf_support.html">About JavaServer Faces Framework Support</a></dd>
40.46 - <dd><a href="framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
40.47 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
40.48 - </dl>
40.49 -
40.50 - <hr>
40.51 - <small><a href="../../../../credits.html">Legal Notices</a></small>
40.52 -
40.53 - <table cellpadding="50" border="0">
40.54 - <tr><td> </td></tr>
40.55 - </table>
40.56 -
40.57 - </body>
40.58 -</html>
40.59 -
41.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_jsf_datatable.html Wed Apr 15 11:45:24 2009 +0200
41.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
41.3 @@ -1,121 +0,0 @@
41.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
41.5 -
41.6 -<!--
41.7 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
41.8 - * Use is subject to license terms.
41.9 ->-->
41.10 -
41.11 -<html>
41.12 - <head>
41.13 - <meta http-equiv="content-type" content="text/html; charset=UTF-8">
41.14 - <title>Adding a JSF Data Table to a JSP Page</title>
41.15 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
41.16 - rel="stylesheet" type="text/css">
41.17 - </head>
41.18 -
41.19 - <body>
41.20 - <h2>Adding a JSF Data Table to a JSP Page</h2>
41.21 -
41.22 - <p><small><a href="#seealso">See Also</a></small></p>
41.23 -
41.24 - <p>A JSF data table is a JSF component that provides a way of iterating over each entry in a
41.25 - data source and displaying the entry's information in an HTML table. You can create an
41.26 - empty data table or generate data table code from an existing entity class.</p>
41.27 -
41.28 - <ul class="note">
41.29 - <li><b>Note:</b> This functionality is not available for the Visual Web JSF framework.</li>
41.30 - </ul>
41.31 -
41.32 - <p><b>To generate an empty JSF data table:</b></p>
41.33 -
41.34 - <ol>
41.35 - <li>Open any JSP page.</li>
41.36 - <li>Make sure that you have declared the JSF tag libaries in the page, as shown below:
41.37 -
41.38 -<pre><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
41.39 -<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%></pre>
41.40 - </li>
41.41 -
41.42 - <li>In the Palette window, expand the JSF category. Click and drag the JSF Data Table
41.43 - entry into the desired location in the JSP file and release the mouse button.</li>
41.44 - <li>In the Insert JSF Data Table dialog box, select Empty Table and click OK.
41.45 -
41.46 - <p>The IDE enters the following code in the JSP page:
41.47 -
41.48 -<pre><f:view>
41.49 - <h:form>
41.50 - <h:dataTable value="#{arrayOrCollectionOf}" var="item">
41.51 - </h:dataTable>
41.52 - </h:form>
41.53 -</f:view></pre>
41.54 - </li>
41.55 -
41.56 - <li>Replace the <tt>arrayOrCollectionOf</tt> variable with a property in a JSF managed
41.57 - bean that holds all of the items in your data source. Then code a data column for
41.58 - each of the data source's columns that you want to display in the file.</li>
41.59 - </ol>
41.60 -
41.61 - <p><b>To generate a JSF data table from an entity class:</b>
41.62 -
41.63 - <ol>
41.64 - <li>Open any JSP page.</li>
41.65 - <li>Make sure that you have declared the JSF tag libaries in the page, as shown below:
41.66 -
41.67 -<pre><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
41.68 -<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%></pre>
41.69 - </li>
41.70 - <li>In the Palette window, expand the JSF category. Click and drag the JSF Data Table
41.71 - entry into the desired location in the JSP file and release the mouse button.</li>
41.72 - <li>In the Insert JSF Data Table dialog box, select from Table Generated for Entity Class
41.73 - and specify the full entity class name, including the package name. You can click Browse
41.74 - to search all classes in the project contents and classpath. When you have entered the
41.75 - class name, click OK.
41.76 -
41.77 - <p>The IDE enters the following code in the page:
41.78 -
41.79 -<pre><f:view>
41.80 - <h:form>
41.81 - <h2><h:outputText value="List"/></h2>
41.82 - <h:dataTable value="#{arrayOrCollectionOf<i>class-name</i>}" var="item">
41.83 - <h:column>
41.84 - <f:facet name="header">
41.85 - <h:outputText value="<i>column1</i>"/>
41.86 - </f:facet>
41.87 - <h:outputText value="#{item.<i>column1</i>}"/>
41.88 - </h:column>
41.89 - ...
41.90 - </h:dataTable>
41.91 - </h:form>
41.92 -</f:view></pre>
41.93 - </li>
41.94 -
41.95 - <li>Replace the <tt>arrayOrCollectionOfclass-name</tt> variable with a property in a JSF
41.96 - managed bean that holds all of the entries in the data source. Note that the JSF managed
41.97 - bean is often not the entity class itself but a separate controller class.</li>
41.98 - <li>The IDE generates a <tt>column</tt> entity for each column of data to which the entity
41.99 - class provides access. Remove any of the <tt>column</tt> entities for columns that you
41.100 - do not want to display in your JSP file.</li>
41.101 - </ol>
41.102 -
41.103 - <dl>
41.104 - <dt><a name="seealso">See Also</a></dt>
41.105 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
41.106 - <dd><a href="framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
41.107 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_entityclasses.html">Creating
41.108 - an Entity Class</a></dd>
41.109 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_fromdb.html">Generating
41.110 - Persistent Entity Classes from a Database</a></dd>
41.111 - </dl>
41.112 -
41.113 - <hr>
41.114 - <small><a href="../../../../credits.html">Legal Notices</a></small>
41.115 -
41.116 - <table cellpadding="20" border="0">
41.117 - <tr><td> </td></tr>
41.118 - <tr><td> </td></tr>
41.119 - <tr><td> </td></tr>
41.120 - </table>
41.121 -
41.122 - </body>
41.123 -</html>
41.124 -
42.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_jsf_form.html Wed Apr 15 11:45:24 2009 +0200
42.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
42.3 @@ -1,128 +0,0 @@
42.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
42.5 -
42.6 -<!--
42.7 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
42.8 - * Use is subject to license terms.
42.9 ->-->
42.10 -
42.11 -<html>
42.12 - <head>
42.13 - <meta http-equiv="content-type" content="text/html; charset=UTF-8">
42.14 - <title>Adding a JSF Form to a JSP Page</title>
42.15 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
42.16 - rel="stylesheet" type="text/css">
42.17 - </head>
42.18 -
42.19 - <body>
42.20 - <h2>Adding a JSF Form to a JSP Page</h2>
42.21 -
42.22 - <p><small><a href="#seealso">See Also</a></small></p>
42.23 -
42.24 - <p>A JSF Form component represents an input form that has child components representing data
42.25 - that is either presented to the user or submitted with the form. You can create an empty
42.26 - form or generate form code from an existing entity class.</p>
42.27 -
42.28 - <ul class="note">
42.29 - <li><b>Note: </b>This functionality is not available for the Visual Web JSF framework.</li>
42.30 - </ul>
42.31 -
42.32 - <p><b>To generate an empty JSF form:</b></p>
42.33 -
42.34 - <ol>
42.35 - <li>Open any JSP page.</li>
42.36 - <li>Make sure that you have declared the JSF tag libaries in the page, as shown below:
42.37 -
42.38 -<pre><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
42.39 -<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%></pre>
42.40 - </li>
42.41 - <li>In the Palette window, expand the JSF category. Click and drag the JSF Form entry into
42.42 - the desired location in the JSP file and release the mouse button.</li>
42.43 - <li>In the Insert JSF Form dialog box, select Empty Table and click OK.
42.44 -
42.45 - <p> The IDE enters the following code in the JSP page:
42.46 -
42.47 -<pre><f:view>
42.48 - <h:form>
42.49 - </h:form>
42.50 -</f:view></pre></li>
42.51 -
42.52 - </ol>
42.53 -
42.54 - <p><b>To generate a JSF form from an entity class:</b>
42.55 -
42.56 - <ol>
42.57 - <li>Open any JSP page.</li>
42.58 - <li>Make sure that you have declared the JSF tag libaries in the page, as shown below:
42.59 -
42.60 -<pre><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
42.61 -<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%></pre>
42.62 - </li>
42.63 -
42.64 - <li>In the Palette window, expand the JSF category. Click and drag the JSF Form entry
42.65 - into the desired location in the JSP file and release the mouse button.</li>
42.66 - <li>In the Insert JSF Form dialog box, select Form Generated from Entity Class and specify
42.67 - the full entity class name, including the package name. You can click Browse to search
42.68 - all classes in the project contents and classpath. Specify whether the form should be
42.69 - editable or read-only and click OK.
42.70 -
42.71 - <p>If you specified a read-only form, the IDE enters the following code into the page:
42.72 -
42.73 - <pre><f:view>
42.74 - <h2>Detail</h2>
42.75 - <h:form>
42.76 - <h:panelGrid columns="2">
42.77 - <h:outputText value="<i>column1-title</i>:"/>
42.78 - <h:outputText value="#{anInstanceOf<i>class-name</i>.<i>column1</i>}" title="<i>column1-title</i>" />
42.79 - ...
42.80 - </h:panelGrid>
42.81 - </h:form>
42.82 -</f:view></pre>
42.83 -
42.84 - <p>If you specified an editable form, the IDE enters the following code:</p>
42.85 -
42.86 - <pre><f:view>
42.87 - <h2>Create</h2>
42.88 - <h:form>
42.89 - <h:panelGrid columns="2">
42.90 - <h:outputText value="<i>column1-title</i>:"/>
42.91 - <h:inputText title="<i>column1-title</i>" value="#{anInstanceOf<i>class-name</i>.<i>column1</i>}"
42.92 - title="<i>column1-title</i>" />
42.93 - </h:panelGrid>
42.94 - </h:form>
42.95 -</f:view></pre>
42.96 - </li>
42.97 -
42.98 - <li>Replace the <tt>anInstanceOf<i>class-name</i></tt> variable with a property in a JSF
42.99 - managed bean that refers to a single entry in the data source. Note that the JSF managed
42.100 - bean is often not the entity class itself but a separate controller class.</li>
42.101 -
42.102 - <li>The IDE generates an entry for each column of data to which the entity class provides
42.103 - access. Remove any of the entries for columns that you do not want to display in your
42.104 - JSP file.</li>
42.105 - </ol>
42.106 -
42.107 - <dl>
42.108 - <dt><a name="seealso">See Also</a></dt>
42.109 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
42.110 - <dd><a href="framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
42.111 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_entityclasses.html">Creating
42.112 - an Entity Class</a></dd>
42.113 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_fromdb.html">Generating
42.114 - Persistent Entity Classes from a Database</a></dd>
42.115 - </dl>
42.116 -
42.117 - <hr>
42.118 - <small><a href="../../../../credits.html">Legal Notices</a></small>
42.119 - <table cellpadding="20" border="0">
42.120 - <tr>
42.121 - <td> </td>
42.122 - </tr>
42.123 - <tr>
42.124 - <td> </td>
42.125 - </tr>
42.126 - <tr>
42.127 - <td> </td>
42.128 - </tr>
42.129 - </table>
42.130 - </body>
42.131 -</html>
43.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_jsf_fromentity.html Wed Apr 15 11:45:24 2009 +0200
43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
43.3 @@ -1,72 +0,0 @@
43.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
43.5 -<!--
43.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
43.7 - * Use is subject to license terms.
43.8 -> -->
43.9 -<html>
43.10 -<head>
43.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
43.12 -<!-- p2 -->
43.13 -<title>Generating JSF Pages from an Entity Class</title>
43.14 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
43.15 -</head>
43.16 -<body>
43.17 -<h2>Generating JSF Pages from an Entity Class</h2>
43.18 -<p><small> <a href="#seealso">See Also</a> </small></p>
43.19 -
43.20 -
43.21 -<p>An entity class is a class that uses the Java Persistence API to access a data source.
43.22 -In a web application project, you can use the JSF Pages from Entity Classes wizard to
43.23 -generate a series of JSP pages that use the JSF framework and the
43.24 -entity classes to access entries in the database and provide CRUD functionality (Create, Read, Update, Delete).
43.25 -The JSP pages use JSF components.</p>
43.26 -
43.27 -<p><b>To generate JSF pages from an entity class:</b></p>
43.28 -<ol>
43.29 - <li>Choose File > New (Ctrl-N) from the main menu.</li>
43.30 - <li>From the Persistence category, select JSF Pages from Entity Class and click Next. The wizard displays all of the entity classes in the project.</li>
43.31 - <li>Add all of the entity classes for which you want to generate JSF pages to the Selected Entity Classes list and click Next.</li>
43.32 - <li>Specify a package for the JPA controller and JSF classes.
43.33 - The default location is the folder containing the selected entity classes. </li>
43.34 - <li>(Optional) Specify a folder in which to place the JSF pages. </li>
43.35 - <li>Select Ajax-enabled generated pages if you want the IDE to add the necessary libraries and JavaScript files
43.36 - to enable the use of Ajax requests.</li>
43.37 - <li>Click Finish.</li>
43.38 -</ol>
43.39 -<p>When you click Finish the IDE generates the following artifacts for each entity class.</p>
43.40 -<ul>
43.41 - <li><b>JPA controller classes.</b>
43.42 - For each entity class the IDE creates one JPA controller class in the specified location.</li>
43.43 - <li><b>JSF classes.</b> For each entity class the IDE creates one JSF controller class and one JSF converter class and places the classes in the specified location. </li>
43.44 - <li><b>JSP pages.</b>
43.45 - For each entity class, the IDE creates four JSP pages that are used to view, edit, create, and destroy entries in the data source.</li>
43.46 -</ul>
43.47 -
43.48 -<p>The IDE also creates the following:</p>
43.49 -<ul>
43.50 - <li>Four Java classes used by the JPA controller classes for handling exceptions
43.51 - (<tt>IllegalOrphanException.java</tt>, <tt>NonexistentEntityException.java</tt>, <tt>PreexistingEntityException.java</tt>,
43.52 - <tt>RollbackFailureException.java</tt>)</li>
43.53 - <li>Three JSF utility classes
43.54 - (<tt>JsfUtil.java</tt>, <tt>PagingInfo.java</tt>, and <tt>JsfCrudELResolver.java</tt>)</li>
43.55 - <li>Default stylesheet and JavaScript files</li>
43.56 -</ul>
43.57 -
43.58 -<dl>
43.59 - <dt><a name="seealso">See Also</a></dt>
43.60 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
43.61 - <dd><a href="framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
43.62 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persist_jpa_fromentity.html">Generating JPA Controller Classes from an Entity Class</a></dd>
43.63 - <dd><a href="framework_jsf_aboutcrud.html">About CRUD Applications</a></dd>
43.64 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_entityclasses.html">Creating an Entity Class</a></dd>
43.65 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_fromdb.html">Generating Persistent Entity Classes from a Database</a></dd>
43.66 -</dl>
43.67 -<hr>
43.68 -<small><a href="../../../../credits.html">Legal Notices</a></small>
43.69 -<table cellpadding="50" border="0">
43.70 - <tr>
43.71 - <td> </td>
43.72 - </tr>
43.73 -</table>
43.74 -</body>
43.75 -</html>
44.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_struts_add.html Wed Apr 15 11:45:24 2009 +0200
44.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
44.3 @@ -1,48 +0,0 @@
44.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
44.5 -<!--
44.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
44.7 - * Use is subject to license terms.
44.8 -> -->
44.9 -<html>
44.10 -<head>
44.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
44.12 -<meta name="lastupdated" content="9Jul07">
44.13 -<!-- p2 -->
44.14 -
44.15 -<title>Adding Struts Support to an Existing Application</title>
44.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
44.17 -</head>
44.18 -<body>
44.19 -<h2>Adding Struts Support to an Existing Application</h2>
44.20 -<p><small>
44.21 -<a href="#seealso">See Also</a>
44.22 -</small></p>
44.23 -
44.24 -<p>The Struts tag libraries and supporting files, such as the <tt>struts-config.xml</tt> file, are bundled with the IDE.
44.25 -<p><b>To add Struts support to an existing web application:</b>
44.26 -
44.27 -<ol>
44.28 - <li>Right-click a standard web application project's node and choose Properties. </li>
44.29 - <li>Click Frameworks and select Struts.</li>
44.30 - <li>Click OK to confirm your selection and exit the Project Properties dialog box.
44.31 -</ol>
44.32 -
44.33 -<p>After you add Struts support, you can use the <a href="struts/file_ActionPanel.html">New Struts Action Wizard</a> and the
44.34 -<a href="struts/file_FormBeanNewPanel.html">New Struts ActionForm Bean Wizard</a>.
44.35 -<dl>
44.36 - <dt><a name="seealso">See Also</a></dt>
44.37 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
44.38 -<dd> <a href="framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
44.39 -
44.40 -</dl>
44.41 -
44.42 -
44.43 -<hr>
44.44 -<small><a href="../../../../credits.html">Legal Notices</a></small>
44.45 -<table cellpadding="20" border="0">
44.46 -<tr><td> </td></tr>
44.47 -<tr><td> </td></tr>
44.48 -<tr><td> </td></tr>
44.49 -</table>
44.50 -</body></html>
44.51 -
45.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/framework_struts_create.html Wed Apr 15 11:45:24 2009 +0200
45.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
45.3 @@ -1,48 +0,0 @@
45.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
45.5 -<!--
45.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
45.7 - * Use is subject to license terms.
45.8 -> -->
45.9 -<html>
45.10 -<head>
45.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
45.12 -<meta name="lastupdated" content="9Jul07">
45.13 -<!-- p2 -->
45.14 -
45.15 -<title>Creating a New Application with Struts Support</title>
45.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
45.17 -</head>
45.18 -<body>
45.19 -<h2>Creating a New Application with Struts Support</h2>
45.20 -<p><small>
45.21 -<a href="#seealso">See Also</a>
45.22 -</small></p>
45.23 -<p>The Struts tag libraries and supporting files, such as the <tt>struts-config.xml</tt> file, are bundled with the IDE.
45.24 -<p><b>To create a new application with Struts support:</b>
45.25 -
45.26 -<ol>
45.27 - <li>Choose File > New Project
45.28 - (Ctrl-Shift-N). </li>
45.29 - <li>From the Java Web category, select <a href="../../../csh/projwiz_standard/PanelConfigureProject.html">Web Application</a>.</li>
45.30 - <li>Continue with the wizard until you reach the Frameworks panel. Select Struts and click Finish.<br>
45.31 -The new project opens in the IDE. </li>
45.32 -</ol>
45.33 -<p>After you create a web application with Struts support, you can use the <a href="struts/file_ActionPanel.html">New Struts Action Wizard</a> and the
45.34 -<a href="struts/file_FormBeanNewPanel.html">New Struts ActionForm Bean Wizard</a>.
45.35 -<dl>
45.36 - <dt><a name="seealso">See Also</a></dt>
45.37 - <dd><a href="about_framework.html">About Web Application Frameworks</a></dd>
45.38 -<dd> <a href="framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
45.39 -
45.40 -</dl>
45.41 -
45.42 -
45.43 -<hr>
45.44 -<small><a href="../../../../credits.html">Legal Notices</a></small>
45.45 -<table cellpadding="20" border="0">
45.46 -<tr><td> </td></tr>
45.47 -<tr><td> </td></tr>
45.48 -<tr><td> </td></tr>
45.49 -</table>
45.50 -</body></html>
45.51 -
46.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/grails/NewGrailsArtifact.html Wed Apr 15 11:45:24 2009 +0200
46.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
46.3 @@ -1,39 +0,0 @@
46.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
46.5 -<!--
46.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
46.7 - * Use is subject to license terms.
46.8 -> -->
46.9 -<html>
46.10 -<head>
46.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
46.12 - <meta name="lastupdated" content="30Jul08">
46.13 -<!-- p2 -->
46.14 -
46.15 -<title>New Grails Artifact Wizard</title>
46.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
46.17 -</head>
46.18 -<body>
46.19 - <h2>New Grails Artifact Wizard</h2>
46.20 -<p> <small><a href="#seealso">See Also</a> </small>
46.21 -<p>The New Grails Artifact wizard creates new file-level artifacts,
46.22 - such as domain classes, controllers, and scripts.
46.23 -<p>Click Finish to let the IDE run the related Grails artifact command,
46.24 - which will generate the Grails artifact with the specified class name value.
46.25 -
46.26 -<dl>
46.27 - <dt><a name="seealso">See Also</a></dt>
46.28 - <dd><a href="about.html">About Grails Framework Support</a></dd>
46.29 - <dd><a href="create.html">Creating a New Web Application with Grails Framework Support</a></dd>
46.30 - <dd><a href="install.html">Installing a Grails Plugin into a Grails Application</a></dd>
46.31 -</dl>
46.32 -
46.33 -
46.34 -<hr>
46.35 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
46.36 -<table cellpadding="20" border="0">
46.37 -<tr><td> </td></tr>
46.38 -<tr><td> </td></tr>
46.39 -<tr><td> </td></tr>
46.40 -</table>
46.41 -</body></html>
46.42 -
47.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/grails/NewGrailsProjectWizard.html Wed Apr 15 11:45:24 2009 +0200
47.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
47.3 @@ -1,70 +0,0 @@
47.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
47.5 -<!--
47.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
47.7 - * Use is subject to license terms.
47.8 -> -->
47.9 -<html>
47.10 -<head>
47.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
47.12 - <meta name="lastupdated" content="30Jul08">
47.13 -<!-- p2 -->
47.14 -
47.15 -<title>New Grails Application Wizard</title>
47.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
47.17 -</head>
47.18 -<body>
47.19 - <h2>New Grails Application Wizard</h2>
47.20 -<p> <small><a href="#seealso">See Also</a> </small>
47.21 -<p>The New Grails Application wizard creates a new <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
47.22 - <param name="content" value="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/csh/glossary_standard.html">
47.23 - <param name="viewerActivator" value="javax.help.LinkLabel">
47.24 - <param name="viewerStyle" value="javax.help.Popup">
47.25 - <param name="viewerSize" value="400,220">
47.26 - <param name="text" value="standard project">
47.27 - <param name="textFontSize" value="medium">
47.28 - <param name="textFontFamily" value="SansSerif">
47.29 - <param name="textFontStyle" value="italic">
47.30 - <param name="textFontWeight" value="bold">
47.31 - <param name="textColor" value="blue">
47.32 - </object>
47.33 - containing a basic Grails application. The Grails application is
47.34 - created by the IDE: it runs the "grails create-app" command for you. Before
47.35 - you can use this wizard, you need to set the location of your Grails
47.36 - distribution in the Options window, within the Miscellaneous panel's Grails tab.
47.37 - You open the New Grails Application
47.38 - wizard by opening the <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/csh/proj_wiz.html">New Project wizard</a> and selecting
47.39 -the Grails Application template from the Groovy category.</p>
47.40 -<p>In the Name and Location page, you have to set the following properties:</p>
47.41 -<ul>
47.42 - <li><b>Project Name. </b>Specifies the display name of the project. This name
47.43 - is also used to create the project folder.</li>
47.44 - <li><b>Project Location. </b>Specifies the location where you want to store the
47.45 - source code.</li>
47.46 - <li><b>Project Folder. </b>Show the folder where you want
47.47 - to store the project metadata and source code. The folder is a concatenation
47.48 - of the project location and the project name.</li>
47.49 - <li><b>Set as Main Project.</b> Sets the newly created project as the <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/proj_main.html">main
47.50 - project</a>.</li>
47.51 -</ul>
47.52 -
47.53 -
47.54 -<p>Click Finish to let the IDE run the "grails create-app" command,
47.55 - which will generate the Grails application with the values specified above.
47.56 -
47.57 -<dl>
47.58 - <dt><a name="seealso">See Also</a></dt>
47.59 - <dd><a href="about.html">About Grails Framework Support</a></dd>
47.60 - <dd><a href="create.html">Creating a New Web Application with Grails Framework Support</a></dd>
47.61 - <dd><a href="install.html">Installing a Grails Plugin into a Grails Application</a></dd>
47.62 -</dl>
47.63 -
47.64 -
47.65 -<hr>
47.66 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
47.67 -<table cellpadding="20" border="0">
47.68 -<tr><td> </td></tr>
47.69 -<tr><td> </td></tr>
47.70 -<tr><td> </td></tr>
47.71 -</table>
47.72 -</body></html>
47.73 -
48.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/grails/about.html Wed Apr 15 11:45:24 2009 +0200
48.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
48.3 @@ -1,74 +0,0 @@
48.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
48.5 -<!--
48.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
48.7 -* Use is subject to license terms.
48.8 --->
48.9 -<html>
48.10 -<head>
48.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
48.12 - <title>About Grails Framework Support</title>
48.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
48.14 - rel="StyleSheet" type="text/css">
48.15 - </head>
48.16 -
48.17 - <body>
48.18 - <h2>About Grails Framework Support</h2>
48.19 -
48.20 - <p><small><a href="#seealso">See Also</a></small></p>
48.21 -
48.22 - <p>Grails aims to bring the
48.23 - "coding by convention" paradigm to Groovy.
48.24 - It's an open-source web application framework
48.25 - that leverages the Groovy language and complements
48.26 - Java Web development.
48.27 -
48.28 - <p>The IDE's support for Grails encompasses
48.29 - the following features:
48.30 -
48.31 - <ul>
48.32 - <li>Registration for Grails distribution
48.33 - in the Options window (Tools > Options > Groovy).
48.34 - <li>Grails Application project template listed in the
48.35 - New Project wizard (Ctrl-Shift-N).
48.36 - <li>Grails libraries automatically added
48.37 - to the project path.
48.38 - <li>Grails Plugins Manager for installing Grails plugins
48.39 - into the current project.
48.40 - <li>Integration of common
48.41 - Grails command line functionality settings.
48.42 - </ul>
48.43 -
48.44 -<p>Grails ships with a lot of command line functionality
48.45 -out of the box. The IDE provides menu items and other
48.46 -tools that invoke the related scripts:
48.47 -
48.48 -<ul>
48.49 - <li><b>grails compile.</b> Right-click the application and choose Compile.
48.50 - <li><b>grails create-app.</b> <a href="create.html">Create a new Grails application.</a>
48.51 - <li><b>grails create-controller.</b> Right-click the Controllers node and choose
48.52 - New > Grails Controller.
48.53 - <li><b>grails create-domain-class.</b> Right-click the Domain Classes node and choose
48.54 - New > Grails Domain Class.
48.55 - <li><b>grails create-script.</b> Right-click the Scripts node and choose
48.56 - New > Grails Gant Script or Groovy Script.
48.57 - <li><b>grails create-views.</b> Right-click a Grails domain class node and choose
48.58 - Create View.
48.59 - <li><b>grails generate-all.</b> Right-click a Grails domain class node and choose
48.60 - Generat All.
48.61 - <li><b>grails run-app.</b> Right-click the application and choose Run.
48.62 - <li><b>grails shell.</b> Right-click the application and choose Grails Shell.
48.63 - <li><b>grails stats.</b> Right-click the application and choose Statistics.
48.64 - <li><b>grails upgrade.</b> Right-click the application and choose Upgrade.
48.65 - <li><b>grails war.</b> Right-click the application and choose Create War File.
48.66 -</ul>
48.67 -
48.68 - <dl>
48.69 - <dt><a name="seealso">See Also</a></dt>
48.70 - <dd><a href="create.html">Creating a New Web Application with Grails Framework Support</a></dd>
48.71 - </dl>
48.72 -
48.73 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
48.74 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
48.75 - </body>
48.76 -</html>
48.77 -
49.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/grails/create.html Wed Apr 15 11:45:24 2009 +0200
49.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
49.3 @@ -1,43 +0,0 @@
49.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
49.5 -<!--
49.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
49.7 -* Use is subject to license terms.
49.8 --->
49.9 -<html>
49.10 -<head>
49.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
49.12 - <title>Creating a New Web Application with Grails Framework Support</title>
49.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
49.14 - rel="StyleSheet" type="text/css">
49.15 - </head>
49.16 -
49.17 - <body>
49.18 - <h2>Creating a New Web Application with Grails Framework Support</h2>
49.19 -
49.20 - <p><small><a href="#seealso">See Also</a></small></p>
49.21 -
49.22 - <p>The Grails framework libraries and supporting files are bundled with the IDE.</p>
49.23 -
49.24 - <p><strong>To create a new web application with Grails support:</strong></p>
49.25 -
49.26 - <ol>
49.27 - <li>Choose Tools > Options > Miscellaneous and
49.28 - set your Grails installation directory in the Grails tab.
49.29 - <li>Choose File > New Project (Ctrl-Shift-N). The New Project wizard displays.</li>
49.30 - <li>Under Categories select Groovy, then under Projects, select Grails Application. Click Next.</li>
49.31 - <li>Set a project name and location. Click Finish.</li>
49.32 - </ol>
49.33 -
49.34 - <p>The IDE creates a new Grails application and displays its structure
49.35 - in the Projects window.
49.36 -
49.37 - <dl>
49.38 - <dt><a name="seealso">See Also</a></dt>
49.39 - <dd><a href="about.html">About Grails Framework Support</a></dd>
49.40 - </dl>
49.41 -
49.42 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
49.43 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
49.44 - </body>
49.45 -</html>
49.46 -
50.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/grails/install.html Wed Apr 15 11:45:24 2009 +0200
50.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
50.3 @@ -1,54 +0,0 @@
50.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
50.5 -<!--
50.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
50.7 -* Use is subject to license terms.
50.8 --->
50.9 -<html>
50.10 -<head>
50.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
50.12 - <title>Installing a Grails Plugin into a Grails Application</title>
50.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
50.14 - rel="StyleSheet" type="text/css">
50.15 - </head>
50.16 -
50.17 - <body>
50.18 - <h2>Installing a Grails Plugin into a Grails Application</h2>
50.19 -
50.20 - <p><small><a href="#seealso">See Also</a></small></p>
50.21 -
50.22 - <p>You can use the IDE to install plugins into a Grails application. The
50.23 - plugins can be obtained from the online Grails plugin repository, as well
50.24 - as locally from disk.</p>
50.25 -
50.26 - <p><strong>To install a plugin into a Grails application:</strong></p>
50.27 -
50.28 - <ol>
50.29 - <li>Right-click a Grails application and choose Plugins.
50.30 - <li>Select one of the following:
50.31 - <ul>
50.32 - <li>Installed. Shows the
50.33 - plugins currently installed in the application.
50.34 - Select an installed plugin and click Uninstall
50.35 - to uninstall it.
50.36 - <li>New plugins. Click Reload Plugins to let the the
50.37 - Plugins Manager access the online Grails repository and display the
50.38 - results in the New Plugins tab. Select a plugin and click Install
50.39 - to install the plugin. Alternatively, browse to a Grails plugin
50.40 - locally using the Browse button.
50.41 - </ul>
50.42 - <li>Click Close.
50.43 - </ol>
50.44 -
50.45 - <p>If you installed a new Grails plugin, you can view it by opening the
50.46 - Files window (Ctrl-2) and then expanding the "plugins" folder.
50.47 -
50.48 - <dl>
50.49 - <dt><a name="seealso">See Also</a></dt>
50.50 - <dd><a href="about.html">About Grails Framework Support</a></dd>
50.51 - </dl>
50.52 -
50.53 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
50.54 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
50.55 - </body>
50.56 -</html>
50.57 -
51.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/hibernate/hibernate-createweb.html Wed Apr 15 11:45:24 2009 +0200
51.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
51.3 @@ -1,52 +0,0 @@
51.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
51.5 -<!--
51.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
51.7 -* Use is subject to license terms.
51.8 --->
51.9 -<html>
51.10 -<head>
51.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
51.12 - <title>Creating a New Web Application with Hibernate Support</title>
51.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
51.14 - rel="StyleSheet" type="text/css">
51.15 - </head>
51.16 -
51.17 - <body>
51.18 - <h2>Creating a New Web Application with Hibernate Support</h2>
51.19 -
51.20 - <p><small><a href="#seealso">See Also</a></small></p>
51.21 -
51.22 - <p>The Hibernate libraries and wizards to generate supporting files are bundled with the IDE.</p>
51.23 -
51.24 - <p><strong>To create a new web application with Hibernate support:</strong></p>
51.25 -
51.26 - <ol>
51.27 - <li>Choose File > New Project (Ctrl-Shift-N). The New Project wizard displays.</li>
51.28 - <li>Under Categories select Java Web, then under Projects, select Web Application. Click Next.</li>
51.29 - <li>Continue through the wizard to Step 4, the Frameworks panel, and select Hibernate 3.2.5.</li>
51.30 - <li>Under the Hibernate 3.2.5 Configuration section of the panel, choose the database connection
51.31 - for the application from the drop down list. Click Finish.</li>
51.32 - </ol>
51.33 -
51.34 - <p>When you click Finish the IDE creates the Hibernate configuration file <tt>hibernate.cfg.xml</tt>
51.35 - in a source package with the name <tt><default package></tt>.
51.36 - The wizard also adds the Hibernate library to the project classpath.
51.37 - After you create a web application with Hibernate support,
51.38 - you can use wizards to generate Hibernate
51.39 - <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/hibernate/hibernate_mapping.html">mapping files</a>,
51.40 - a <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/hibernate/hibernate_util.html">helper file</a>
51.41 - and <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/hibernate/hibernate_fromdb.html">POJOs from a database</a>.
51.42 - </p>
51.43 -
51.44 - <dl>
51.45 - <dt><a name="seealso">See Also</a></dt>
51.46 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/hibernate/hibernate_about.html">About Hibernate Support</a></dd>
51.47 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/hibernate/hibernate_addsupport.html">Adding Hibernate Support to a Project</a></dd>
51.48 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
51.49 - </dl>
51.50 -
51.51 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
51.52 - <table cellpadding="50" border="0"><tr><td> </td></tr></table>
51.53 - </body>
51.54 -</html>
51.55 -
52.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/AddDataTable.html Wed Apr 15 11:45:24 2009 +0200
52.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
52.3 @@ -1,94 +0,0 @@
52.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
52.5 -<!--
52.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
52.7 -* Use is subject to license terms.
52.8 --->
52.9 -<html>
52.10 -<head>
52.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
52.12 - <title>Insert JSF Data Table Dialog Box</title>
52.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
52.14 - rel="StyleSheet" type="text/css">
52.15 - </head>
52.16 -
52.17 -<body>
52.18 -<h2>Insert JSF Data Table Dialog Box</h2>
52.19 -<p><small>
52.20 -<a href="#seealso">See Also</a>
52.21 -</small></p>
52.22 -<p>You use the Insert JSF Data Table dialog box to generate JSF data table in
52.23 - a JSP page. A JSF data table is a JSF component that provides a way of iterating
52.24 - over each entry in a data source and displaying the entry's information in an
52.25 - HTML table. You open the dialog box by opening any JSP file and dragging the
52.26 - JSF Data Table item from the Palette window into the desired location in the
52.27 - JSP file. </p>
52.28 -<p>You can generate either of the following:</p>
52.29 -<ul>
52.30 - <li><b>An empty JSF data table.</b> The IDE enters the following code in the
52.31 - JSP page:
52.32 - <pre><f:view>
52.33 - <h:form>
52.34 - <h:dataTable value="#{arrayOrCollectionOf}" var="item">
52.35 - </h:dataTable>
52.36 - </h:form>
52.37 -</f:view></pre>
52.38 - <p>In the generated code, you have to replace the <tt>arrayOrCollectionOf</tt>
52.39 - variable with a property in a JSF managed bean that holds all of the items
52.40 - in your data source. You then code a data column for each of the data source's
52.41 - columns that you want to display in the file.
52.42 - </li>
52.43 - <li><b>A JSF data table from an entity class.</b> Specify the full entity class
52.44 - name, including the package name. You can click Browse to search all classes
52.45 - in the project contents and classpath.
52.46 - <p> The IDE enters the following code in the page:
52.47 - <pre><f:view>
52.48 - <h:form>
52.49 - <h2><h:outputText value="List"/></h2>
52.50 - <h:dataTable value="#{arrayOrCollectionOf<i>class-name</i>}" var="item">
52.51 - <h:column>
52.52 - <f:facet name="header">
52.53 - <h:outputText value="<i>column1</i>"/>
52.54 - </f:facet>
52.55 - <h:outputText value="#{item.<i>column1</i>}"/>
52.56 - </h:column>
52.57 - ...
52.58 - </h:dataTable>
52.59 - </h:form>
52.60 -</f:view></pre>
52.61 - <p>In the generated code, you have to replace the <tt>arrayOrCollectionOf<i>class-name</i></tt>
52.62 - variable with a property in a JSF managed bean that holds all of the entries
52.63 - in the data source. Note that the JSF managed bean is often not the entity
52.64 - class itself but a separate controller class.
52.65 - </li>
52.66 -</ul>
52.67 -<p><b>Notes:</b></p>
52.68 -<ul class="tip">
52.69 - <li>The IDE generates a <tt>column</tt> entity for each column of data to which
52.70 - the entity class provides access. Remove any of the <tt>column</tt> entities
52.71 - for columns that you do not want to display in your JSP file.</li>
52.72 - <li>In order to use JSF components, you have to declare the JSF tag libraries
52.73 - in the JSP page by adding the following to the top of the file:
52.74 - <pre><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
52.75 -<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%></pre>
52.76 - </li>
52.77 -</ul>
52.78 -
52.79 -<dl>
52.80 - <dt><a name="seealso">See Also</a></dt>
52.81 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
52.82 - <dd> <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
52.83 -
52.84 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_entityclasses.html">Creating
52.85 - an Entity Class</a></dd>
52.86 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_fromdb.html">Generating
52.87 - Persistent Entity Classes from a Database</a></dd>
52.88 -</dl>
52.89 -<hr>
52.90 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
52.91 -<table cellpadding="20" border="0">
52.92 -<tr><td> </td></tr>
52.93 -<tr><td> </td></tr>
52.94 -<tr><td> </td></tr>
52.95 -</table>
52.96 -</body></html>
52.97 -
53.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/AddForm.html Wed Apr 15 11:45:24 2009 +0200
53.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
53.3 @@ -1,98 +0,0 @@
53.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
53.5 -<!--
53.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
53.7 -* Use is subject to license terms.
53.8 --->
53.9 -<html>
53.10 -<head>
53.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
53.12 - <title>Insert JSF Form Dialog Box</title>
53.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
53.14 - rel="StyleSheet" type="text/css">
53.15 - </head>
53.16 -
53.17 -<body>
53.18 -<h2>Insert JSF Form Dialog Box</h2>
53.19 -<p><small> <a href="#seealso">See Also</a> </small></p>
53.20 -<p>You use the Insert JSF Form to insert a JSF <tt>UIForm</tt> component into
53.21 - a JSP page. A <tt>UIForm</tt> component represents an input form that has child
53.22 - components representing data that is either presented to the user or submitted
53.23 - with the form. You open the dialog box by opening any JSP page and dragging
53.24 - the JSF Form entry from the Palette window into the JSP file.</p>
53.25 -<p>You can generate either of the following:</p>
53.26 -<ul>
53.27 - <li><b>An empty JSF form.</b> The IDE enters the following code in the JSP page:
53.28 - <pre><f:view>
53.29 - <h:form>
53.30 - </h:form>
53.31 -</f:view></pre>
53.32 - </li>
53.33 - <li><b>A JSF form from an entity class.</b> Specify the full entity class name,
53.34 - including the package name. You can click Browse to search all classes in
53.35 - the project contents and classpath. Specify whether the form should be editatble
53.36 - or read-only and click OK.
53.37 - <p> If you speficied a read-only form, the IDE enters the following code in
53.38 - the page:
53.39 - <pre><f:view>
53.40 - <h2>Detail</h2>
53.41 - <h:form>
53.42 - <h:panelGrid columns="2">
53.43 - <h:outputText value="<i>column1-title</i>:"/>
53.44 - <h:outputText value="#{anInstanceOf<i>class-name</i>.<i>column1</i>}" title="<i>column1-title</i>" />
53.45 - ...
53.46 - </h:panelGrid>
53.47 - </h:form>
53.48 -</f:view></pre>
53.49 - If you speficied an editable form, the IDE enters the following code:
53.50 - <pre><f:view>
53.51 - <h2>Create</h2>
53.52 - <h:form>
53.53 - <h:panelGrid columns="2">
53.54 - <h:outputText value="<i>column1-title</i>:"/>
53.55 - <h:inputText title="<i>column1-title</i>" value="#{anInstanceOf<i>class-name</i>.<i>column1</i>}"
53.56 - title="<i>column1-title</i>" />
53.57 - </h:panelGrid>
53.58 - </h:form>
53.59 -</f:view></pre>
53.60 - In the generated code, you have to replace the <tt>anInstanceOf<i>class-name</i></tt>
53.61 - variable with a property in a JSF managed bean that refers to a single entry
53.62 - in the data source. Note that the JSF managed bean is often not the entity
53.63 - class itself but a separate controller class. </li>
53.64 -</ul>
53.65 -<p><b>Notes:</b></p>
53.66 -<ul class="tip">
53.67 - <li>The IDE generates a <tt>column</tt> entity for each column of data to which
53.68 - the entity class provides access. Remove any of the <tt>column</tt> entities
53.69 - for columns that you do not want to display in your JSP file.</li>
53.70 - <li>In order to use JSF components, you have to declare the JSF tag libraries
53.71 - in the JSP page by adding the following to the top of the file:
53.72 - <pre><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
53.73 -<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%></pre>
53.74 - </li>
53.75 -</ul>
53.76 -
53.77 -<dl>
53.78 - <dt><a name="seealso">See Also</a></dt>
53.79 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
53.80 - <dd> <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
53.81 -
53.82 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_entityclasses.html">Creating
53.83 - an Entity Class</a></dd>
53.84 - <dd><a href="bdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/persistence/general/persistence_fromdb.html">Generating
53.85 - Persistent Entity Classes from a Database</a></dd>
53.86 -</dl>
53.87 -<hr>
53.88 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
53.89 -<table cellpadding="20" border="0">
53.90 - <tr>
53.91 - <td> </td>
53.92 - </tr>
53.93 - <tr>
53.94 - <td> </td>
53.95 - </tr>
53.96 - <tr>
53.97 - <td> </td>
53.98 - </tr>
53.99 -</table>
53.100 -</body>
53.101 -</html>
54.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/AddManagedBeanDialog.html Wed Apr 15 11:45:24 2009 +0200
54.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
54.3 @@ -1,56 +0,0 @@
54.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
54.5 -<!--
54.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
54.7 -* Use is subject to license terms.
54.8 --->
54.9 -<html>
54.10 -<head>
54.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
54.12 - <title>Add Managed Bean Dialog Box</title>
54.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
54.14 - rel="StyleSheet" type="text/css">
54.15 - </head>
54.16 -
54.17 - <body>
54.18 - <h2>Add Managed Bean Dialog Box</h2>
54.19 -
54.20 - <p><small><a href="#seealso">See Also</a></small></p>
54.21 -
54.22 - <p>A managed bean is a JavaBeans component, a particular Java class that is dynamically
54.23 - instantiated at runtime if it is referenced as the first element of a value reference
54.24 - expression, and no corresponding bean can be identified in any scope. In addition to
54.25 - the creation of the managed bean, and the optional storing of it into the specified
54.26 - scope, the nested managed-property elements can be used to initialize the contents of
54.27 - settable JavaBeans properties of the created instance.</p>
54.28 -
54.29 - <ul>
54.30 - <li><b>Bean Name.</b> Specifies the attribute name under which a managed bean will be
54.31 - searched for and stored (unless the "managed-bean-scope" value is "none").</li>
54.32 - <li><b>Bean Class.</b> Specifies the fully qualified class name of the Java class
54.33 - that will be used to instantiate a new instance, if creation of the specified
54.34 - managed bean is requested. The specified class must conform to standard JavaBeans
54.35 - conventions. In particular, it must have a public, no-argument constructor, and
54.36 - zero or more public property setters.</li>
54.37 - <li><b>Scope.</b> Specifies the scope into which a newly created instance of the specified
54.38 - managed bean will be stored (unless the value is "none").</li>
54.39 - <li><b>Bean Description.</b> Specifies a textual description of the element it is nested
54.40 - in, optionally flagged with a language code using the <tt>xml:lang</tt> attribute.</li>
54.41 - </ul>
54.42 -
54.43 - <dl>
54.44 - <dt><a name="seealso">See Also</a></dt>
54.45 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
54.46 - <dd><a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
54.47 - <dd><a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
54.48 - </dl>
54.49 -
54.50 - <hr>
54.51 - <small><a href="../../../../../credits.html">Legal Notices</a></small>
54.52 -
54.53 - <table cellpadding="20" border="0">
54.54 - <tr><td> </td></tr>
54.55 - <tr><td> </td></tr>
54.56 - <tr><td> </td></tr>
54.57 - </table>
54.58 - </body>
54.59 -</html>
54.60 \ No newline at end of file
55.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/AddNavigationCaseDialog.html Wed Apr 15 11:45:24 2009 +0200
55.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
55.3 @@ -1,55 +0,0 @@
55.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
55.5 -<!--
55.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
55.7 -* Use is subject to license terms.
55.8 --->
55.9 -<html>
55.10 -<head>
55.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
55.12 - <title>Add Navigation Case Dialog Box</title>
55.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
55.14 - rel="StyleSheet" type="text/css">
55.15 - </head>
55.16 -
55.17 -<body>
55.18 -<h2>Add Navigation Case Dialog Box</h2>
55.19 -<p><small>
55.20 -<a href="#seealso">See Also</a>
55.21 -</small></p>
55.22 -<p>A navigation case describes a particular combination of conditions that must
55.23 -match for the case to be executed, and the view <tt>id</tt> of the component tree that should be selected next.
55.24 -<ul>
55.25 - <li><b>From View.</b> Specifies the view identifier of the view for which the containing
55.26 - navigation rule is relevant. If no "from-view" element is specified, this rule applies
55.27 - to navigation decisions on all views. If this element is not specified, a value of "*"
55.28 - is assumed, meaning that this navigation rule applies to all views.</li>
55.29 - <li><b>From Action.</b> Specifies an action reference expression
55.30 - that must have been executed (by the default <tt>ActionListener</tt> for handling application level events)
55.31 - in order to select this navigation rule. If not specified, this rule will be relevant no matter
55.32 - which action reference was executed (or if no action reference was executed).</li>
55.33 - <li><b>From Outcome.</b> Specifies a logical outcome string returned by the execution of an application
55.34 - action method selected via an <tt>actionRef</tt> property (or a literal value specified by an <tt>action</tt> property)
55.35 - of a <tt>UICommand</tt> component. If specified, this rule will be relevant only if the outcome value matches this
55.36 - element's value. If not specified, this rule will be relevant no matter what the outcome value was.</li>
55.37 - <li><b>To View.</b> Specifies the view identifier of the next view that should be displayed if this navigation rule is matched.</li>
55.38 - <li><b>Redirect.</b> Specifies that navigation to the specified <tt>to-view-id</tt> should be accomplished by performing
55.39 - an HTTP redirect rather than the usual <tt>ViewHandler</tt> mechanisms.</li>
55.40 - <li><b>Rule Description.</b> Specifies a textual description of the element it is nested in,
55.41 - optionally flagged with a language code using the <tt>xml:lang</tt> attribute. </li>
55.42 -</ul>
55.43 -<dl>
55.44 - <dt><a name="seealso">See Also</a></dt>
55.45 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
55.46 -<dd> <a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
55.47 -<dd> <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
55.48 -</dl>
55.49 -
55.50 -<hr>
55.51 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
55.52 -<table cellpadding="20" border="0">
55.53 -<tr><td> </td></tr>
55.54 -<tr><td> </td></tr>
55.55 -<tr><td> </td></tr>
55.56 -</table>
55.57 -</body></html>
55.58 -
56.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/AddNavigationRuleDialog.html Wed Apr 15 11:45:24 2009 +0200
56.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
56.3 @@ -1,47 +0,0 @@
56.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
56.5 -<!--
56.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
56.7 -* Use is subject to license terms.
56.8 --->
56.9 -<html>
56.10 -<head>
56.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
56.12 - <title>Add Navigation Rule Dialog Box</title>
56.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
56.14 - rel="StyleSheet" type="text/css">
56.15 - </head>
56.16 -
56.17 -<body>
56.18 -<h2>Add Navigation Rule Dialog Box</h2>
56.19 -<p><small>
56.20 -<a href="#seealso">See Also</a>
56.21 -</small></p>
56.22 -<p>A navigation rule is an individual decision rule that will be
56.23 -utilized by the default <tt>NavigationHandler</tt> implementation to make decisions
56.24 -on what view should be displayed next, based on the view <tt>id</tt> being processed.
56.25 -<ul>
56.26 - <li><b>Rule from View.</b> Specifies the view identifier of the view for which the containing
56.27 - navigation rule is relevant. If no "from-view" element is specified, this rule applies to
56.28 - navigation decisions on all views. If this element is not specified, a value of "*" is assumed,
56.29 - meaning that this navigation rule applies to all views.</li>
56.30 - <li><b>Rule Description.</b> Specifies a textual description of the element it is nested in,
56.31 - optionally flagged with a language code using the <tt>xml:lang</tt> attribute. </li>
56.32 -
56.33 -</ul>
56.34 -
56.35 -<dl>
56.36 - <dt><a name="seealso">See Also</a></dt>
56.37 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
56.38 -<dd> <a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
56.39 -<dd> <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
56.40 -</dl>
56.41 -
56.42 -<hr>
56.43 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
56.44 -<table cellpadding="20" border="0">
56.45 -<tr><td> </td></tr>
56.46 -<tr><td> </td></tr>
56.47 -<tr><td> </td></tr>
56.48 -</table>
56.49 -</body></html>
56.50 -
57.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/about_jsf_support.html Wed Apr 15 11:45:24 2009 +0200
57.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
57.3 @@ -1,107 +0,0 @@
57.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
57.5 -<!--
57.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
57.7 -* Use is subject to license terms.
57.8 --->
57.9 -<html>
57.10 -<head>
57.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
57.12 - <title>About JavaServer Faces Framework Support</title>
57.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
57.14 - rel="StyleSheet" type="text/css">
57.15 - </head>
57.16 -
57.17 - <body>
57.18 - <h2>About JavaServer Faces Framework Support</h2>
57.19 -
57.20 - <p><small><a href="#seealso">See Also</a></small></p>
57.21 -
57.22 - <p>The IDE provides functional support for the JavaServer Faces framework by including the
57.23 - following features:</p>
57.24 -
57.25 - <ul>
57.26 - <li>JavaServer Faces structural template included in the Frameworks panel of the New Web
57.27 - Application wizard.</li>
57.28 - <li>JSF framework libraries can be optionally added to the project path.</li>
57.29 - <li><a href="#editor">Editor support</a> is provided for JSF configuration files and JSP
57.30 - pages.</li>
57.31 - <li><a href="#palette">Taglib prefixes are added to the Palette</a> as drag-and-drop
57.32 - components.</li>
57.33 - <li>A wizard for a <a href="AddManagedBeanDialog.html">JSF Managed Bean</a> becomes available
57.34 - for quick code template generation.</li>
57.35 - <li>Bean and Java class and method usages are processed and catalogued by the IDE, enabling
57.36 - refactoring support, Find Usages and Safe Delete support.</li>
57.37 - </ul>
57.38 -
57.39 - <a name="editor"></a>
57.40 - <h4>Editor Support</h4>
57.41 -
57.42 - <p>The IDE provides editor support when you work in JSP pages and JSF configuration files. When
57.43 - you add a JSF <tt>taglib</tt> declaration to a JSP page, code completion becomes active for
57.44 - that tag library. Code completion is also enabled in JSP pages for managed beans and resource
57.45 - bundles. When working in configuration files, child elements under <tt>faces-config</tt>
57.46 - become available when invoking code completion.</p>
57.47 -
57.48 - <ul class="note">
57.49 - <li>You can invoke code completion manually by pressing Ctrl-Space.</li>
57.50 - </ul>
57.51 -
57.52 - <p>Hyperlinking is available in JSF configuration files and JSP pages within JSF tags, enabling
57.53 - you to quickly navigate between a source and its reference. To make use of hyperlinking in
57.54 - configuration files, hover the mouse over a JSF class entity while pressing Ctrl. The class
57.55 - declaration displays as a hyperlink. Clicking on the link opens the appropriate Java class
57.56 - in the Source Editor. In JSP pages, you can press Ctrl while hovering over managed beans, or
57.57 - accessor methods used within JSF tags. Clicking the hyperlink that displays opens the respective
57.58 - class or property in the Source Editor.</p>
57.59 -
57.60 - <a name="palette"></a>
57.61 - <h4>Palette Usage</h4>
57.62 -
57.63 - <p>You can make use of JSF components listed in the Palette (Window > Palette). Components
57.64 - in the Palette represent code snippets which you can drag-n-drop into the opened file in
57.65 - the Source Editor. JSF components include:</p>
57.66 -
57.67 - <ul>
57.68 - <li><a href="AddForm.html">JSF Form</a></li>
57.69 - <li><a href="AddDataTable.html">JSF Data Table</a></li>
57.70 - </ul>
57.71 -
57.72 - <p>You can also employ components from other categories that represent standard prefixes:</p>
57.73 -
57.74 - <ul>
57.75 - <li><b>JSP category.</b> Components representing the core ("<tt>c</tt>") prefix.</li>
57.76 - <li><b>Database category.</b> Components representing the ("<tt>sql</tt>") prefix.</li>
57.77 - </ul>
57.78 -
57.79 - <p>For more information on the JSF Framework, see the following resources:</p>
57.80 -
57.81 - <ul>
57.82 - <li> Introduction to the JavaServer Faces Framework:<br>
57.83 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
57.84 - <param name="content" value="http://www.netbeans.org/kb/docs/web/jastrologer-intro.html">
57.85 - <param name="text" value="<html><u>http://www.netbeans.org/kb/61/web/jastrologer-intro.html</u></html>">
57.86 - <param name="textFontSize" value="medium">
57.87 - <param name="textColor" value="blue">
57.88 - </object></li>
57.89 -
57.90 - <li>Official JavaServer Faces Framework documentation:<br>
57.91 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
57.92 - <param name="content" value="http://java.sun.com/javaee/javaserverfaces/reference/docs/">
57.93 - <param name="text" value="<html><u>http://java.sun.com/javaee/javaserverfaces/reference/docs/</u></html>">
57.94 - <param name="textFontSize" value="medium">
57.95 - <param name="textColor" value="blue">
57.96 - </object></li>
57.97 - </ul>
57.98 -
57.99 - <dl>
57.100 - <dt><a name="seealso">See Also</a></dt>
57.101 - <dd><a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
57.102 - <dd><a href="../framework_jsf_add.html">Adding JavaServer Faces Framework Support to an Existing Application</a></dd>
57.103 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
57.104 - </dl>
57.105 -
57.106 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
57.107 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
57.108 - </body>
57.109 -</html>
57.110 -
58.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/about_visweb_framework.html Wed Apr 15 11:45:24 2009 +0200
58.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
58.3 @@ -1,58 +0,0 @@
58.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
58.5 -<!--
58.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
58.7 - * Use is subject to license terms.
58.8 -> -->
58.9 -<html>
58.10 -<head>
58.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
58.12 - <meta name="lastupdated" content="9Jul07"><!--p2-->
58.13 - <link rel="stylesheet" href=
58.14 - "nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type=
58.15 - "text/css">
58.16 - <meta name="generator" content="Helen">
58.17 - <meta name="KEYWORDS" content="VISUAL WEB, VISUAL WEB JSF">
58.18 - <title>About the Visual Web JSF Framework</title>
58.19 - </head>
58.20 - <body>
58.21 - <h2>
58.22 - About the Visual Web JSF Framework
58.23 - </h2>
58.24 - <p>
58.25 - <small><a href="#seealso">See Also</a></small>
58.26 - </p>
58.27 - <p>
58.28 - The Visual Web JavaServer Faces framework is part of Sun's JavaServer Faces (JSF) technology
58.29 - (JSR-127), the standard Java API for building user interface components in web applications.
58.30 - JSF defines a component-based web application framework, enabling vendors and open source
58.31 - projects to create sophisticated user-interface widgets that you can then develop to create
58.32 - easy-to-use web applications, with portability between tools and application servers.
58.33 - </p>
58.34 - <p>
58.35 - The Visual Web JSF framework is based on drag and drop functionality and provides a more
58.36 - visual approach to web application design.
58.37 - </p>
58.38 - <dl>
58.39 - <dt>
58.40 - <a name="seealso">See Also</a>
58.41 - </dt>
58.42 - <dd>
58.43 - <a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a>
58.44 - </dd>
58.45 - <dd>
58.46 - <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a>
58.47 - </dd>
58.48 - </dl>
58.49 - <hr>
58.50 - <p>
58.51 - <small><a href="../../../../../credits.html">Legal Notices</a></small>
58.52 - </p>
58.53 - <table cellpadding="20" border="0">
58.54 - <tr>
58.55 - <td>
58.56 -
58.57 - </td>
58.58 - </tr>
58.59 - </table>
58.60 - </body>
58.61 -</html>
59.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/file_ManagedBeanPanel.html Wed Apr 15 11:45:24 2009 +0200
59.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
59.3 @@ -1,74 +0,0 @@
59.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
59.5 -<!--
59.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
59.7 -* Use is subject to license terms.
59.8 --->
59.9 -<html>
59.10 -<head>
59.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
59.12 - <title>New JSF Managed Bean Wizard: Name and Location</title>
59.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
59.14 - rel="StyleSheet" type="text/css">
59.15 - </head>
59.16 -
59.17 - <body>
59.18 - <h2>New JSF Managed Bean Wizard: Name and Location</h2>
59.19 -
59.20 - <p><small><a href="#seealso">See Also</a></small></p>
59.21 -
59.22 - <p>JSF managed beans are JavaBean components that are managed by a JSF implementation.
59.23 - A JSF managed bean describes how a bean is created and managed.</p>
59.24 -
59.25 - <p>The New JSF Managed Bean wizard creates a new JSF managed bean. You open the New JSF Managed
59.26 - Bean wizard by right-clicking a web application, choosing New > Other and selecting JSF
59.27 - Managed Bean from the Java Server Faces category.</p>
59.28 -
59.29 - <p>In the Name and Location page, you have to set the following properties:</p>
59.30 -
59.31 - <ul>
59.32 - <li><b>Class Name.</b> Specifies the JSF managed bean class name.</li>
59.33 - <li><b>Project.</b> Specifies the project in which the JSF managed bean will be located.</li>
59.34 - <li><b>Location.</b> Specifies a folder to house the JSF managed bean.</li>
59.35 - <li><b>Package.</b> Specifies a package within the location to house the JSF managed bean.</li>
59.36 - <li><b>Created File.</b> Specifies the file of the new JSF managed bean.</li>
59.37 - <li><b>Configuration File.</b> Specifies the JSF configuration file. If none exists, you
59.38 - cannot create a JSF managed bean. To create a JSF configuration file quickly and efficiently,
59.39 - right-click the project node, choose Properties and use the Frameworks panel. Not only
59.40 - does this provide you with a JSF configuration file, but you also get the JSF 1.2 libraries
59.41 - and a <tt>welcomeJSF.jsp</tt> file.</li>
59.42 - <li><b>Scope.</b> Sets the scope of the JSF managed bean. Use the drop down list to set the
59.43 - scope to one of the following:
59.44 -
59.45 - <ul>
59.46 - <li><strong>request.</strong> Request scope contains data specific to an individual
59.47 - server request, and is discarded when the <tt>service</tt> method returns. This
59.48 - is the most common scope usage in web applications, and is the default setting
59.49 - for the IDE.</li>
59.50 - <li><strong>session.</strong> Session scope contains data specific to a user session.</li>
59.51 - <li><strong>application.</strong> Application scope contains data for the entire web
59.52 - application.</li>
59.53 - <li><strong>none.</strong> No scope is selected.</li>
59.54 - </ul></li>
59.55 -
59.56 - <li><b>Bean Description.</b> Sets a description for the JSF managed bean.</li>
59.57 - </ul>
59.58 -
59.59 - <dl>
59.60 - <dt><a name="seealso">See Also</a></dt>
59.61 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
59.62 - <dd><a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
59.63 - <dd><a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
59.64 - </dl>
59.65 -
59.66 - <hr>
59.67 - <small><a href="../../../../../credits.html">Legal Notices</a></small>
59.68 -
59.69 - <table cellpadding="20" border="0">
59.70 - <tr><td> </td></tr>
59.71 - <tr><td> </td></tr>
59.72 - <tr><td> </td></tr>
59.73 - </table>
59.74 -
59.75 - </body>
59.76 -</html>
59.77 -
60.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/file_jsffromentity_panel1.html Wed Apr 15 11:45:24 2009 +0200
60.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
60.3 @@ -1,82 +0,0 @@
60.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
60.5 -<!--
60.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
60.7 - * Use is subject to license terms.
60.8 -> -->
60.9 -<html>
60.10 -<head>
60.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
60.12 - <meta name="lastupdated" content="9Jul07">
60.13 -
60.14 -<title>New JSF Pages from Entity Class Wizard: Entity Classes</title>
60.15 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
60.16 -</head>
60.17 -<body>
60.18 -<h2>New JSF Pages from Entity Class Wizard: Entity Classes</h2>
60.19 -<p><small>
60.20 -<a href="#seealso">See Also</a>
60.21 -</small></p>
60.22 -
60.23 -<p>This wizard generates JSP pages with JSF components based on entity classes in your web application.
60.24 -The generated JSP pages provide a web interface for the entity classes.
60.25 -The left column lists the entity classes in the module with data to be persisted.
60.26 -For each entity class, the IDE creates four JSP pages enabling you to view, edit, create, and destroy entries in the data source.
60.27 -The IDE also creates controller and converter classes for each entity class.</p>
60.28 -<ul class="notes"><li>To use JSF components in your web application, you must make sure that your project supports the JSF Framework.</li></ul>
60.29 -<p>You open the wizard by right-clicking a web application project node and choosing Other, selecting the Persistence category and then selecting JSF Pages from Entity Classes.</p>
60.30 -<p>Use this page as follows:</p>
60.31 -<ul>
60.32 - <li>Select any entity classes from the available entity classes in the left panel and click Add.
60.33 - When you click Add, the entity classes you select are listed in the right pane.
60.34 - Any entity classes referenced by the entity classes you select are also listed in the right pane.
60.35 - An entity class is greyed to indicate that it is referenced by another entity classes.
60.36 - The IDE automatically generates JSP pages for each of the entity classes listed in the right pane.
60.37 - <ul class="notes"><li>Include Referenced Classes.</b> Deselect this if you do not want JSF pages created from referenced entity classes.</li></ul>
60.38 - </li>
60.39 - <li>Click Next to specify where to save the generated pages.</li>
60.40 -</ul>
60.41 -
60.42 -
60.43 -
60.44 -
60.45 -
60.46 -<p>JSF managed beans are JavaBean components that are managed by a JSF implementation.
60.47 -A JSF managed bean describes how a bean is created and managed.
60.48 -<p>The New JSF Managed Bean wizard creates a new JSF managed bean.
60.49 -You open the New JSF Managed Bean wizard by right-clicking a web application,
60.50 -choosing New > Other and selecting JSF Managed Bean from the Java Server Faces category.
60.51 -
60.52 -<p>In the Name and Location page, you have to set the following properties:
60.53 -
60.54 -<ul>
60.55 - <li><b>Class Name.</b> Specifies the JSF managed bean class name.</li>
60.56 - <li><b>Project.</b> Specifies the project in which the JSF managed bean will be located. </li>
60.57 - <li><b>Location.</b> Specifies a folder to house the JSF managed bean.</li>
60.58 - <li><b>Package.</b> Specifies a package within the location to house the JSF managed bean.</li>
60.59 - <li><b>Created File.</b> Specifies the file of the new JSF managed bean.</li>
60.60 - <li><b>Configuration File.</b> Specifies the JSF configuration file. If none exists, you cannot create
60.61 - a JSF managed bean. To create a JSF configuration file quickly and efficiently, right-click the project node, choose Properties
60.62 - and use the Frameworks panel. Not only does this provide you with a JSF configuration file, but you also
60.63 - get the JSF 1.1 libraries and a <tt>welcomeJSF.jsp</tt> file.</li>
60.64 - <li><b>Scope.</b> Sets the scope of the JSF managed bean. Use the drop down list to set the scope to one of the following:
60.65 - <ul>
60.66 - <li><strong>request.</strong> Request scope contains data specific to an individual server request, and is discarded when the <tt>service</tt> method returns. This is the most common use of scope in web applications, and the IDE default to this setting. </li>
60.67 - <li><strong>session.</strong> Session scope contains data specific to a user session.</li>
60.68 - <li><strong> application.</strong> Application scope contains data for an entire web application.</li>
60.69 - <li><strong>none.</strong> No scope is selected. </li>
60.70 - </ul></li>
60.71 - <li><b>Bean Description.</b> Sets a description for the JSF managed bean.</li>
60.72 -</ul>
60.73 -<dl>
60.74 - <dt><a name="seealso">See Also</a></dt>
60.75 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
60.76 -<dd> <a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
60.77 -<dd> <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
60.78 -</dl>
60.79 -<hr>
60.80 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
60.81 -<table cellpadding="50" border="0">
60.82 -<tr><td> </td></tr>
60.83 -</table>
60.84 -</body></html>
60.85 -
61.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/jsf/file_jsffromentity_panel2.html Wed Apr 15 11:45:24 2009 +0200
61.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
61.3 @@ -1,48 +0,0 @@
61.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
61.5 -<!--
61.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
61.7 - * Use is subject to license terms.
61.8 -> -->
61.9 -<html>
61.10 -<head>
61.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
61.12 - <meta name="lastupdated" content="9Jul07">
61.13 -
61.14 -<title>New JSF Pages from Entity Class Wizard: Generated JSF Pages</title>
61.15 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
61.16 -</head>
61.17 -<body>
61.18 -<h2>New JSF Pages from Entity Class Wizard: Generated JSF Pages</h2>
61.19 -<p><small>
61.20 -<a href="#seealso">See Also</a>
61.21 -</small></p>
61.22 -
61.23 -<p>This wizard generates JSP pages with JSF components based on entity classes in your web application.
61.24 -The generated JSP pages provide a web interface for the entity classes.
61.25 -The left column lists the entity classes in the module with data to be persisted.
61.26 -For each entity class, the IDE creates four JSP pages enabling you to view, edit, create, and destroy entries in the data source.
61.27 -The IDE also creates controller and converter classes for each entity class.</p>
61.28 -<p>To use JSF components in your web application, you must make sure that your project supports the JSF Framework.</p>
61.29 -<p>You open the wizard by right-clicking a web application node and choosing New > JSF Pages from Entity Classes.</p>
61.30 -<p>In this page of the wizard you set the following:</p>
61.31 -<ul>
61.32 - <li><b>JSF Pages Folder.</b> Specify the location of the JSF Pages folder.
61.33 - If no folder is specified, the JSF pages are saved in the default location, project's WEB-INF folder.</li>
61.34 - <li><b>Project.</b> Specifies the project in which the JSF pages and classes will be located.</li>
61.35 - <li><b>Location.</b> Select the source folder where you want to save the controller and converter classes for the entity classes.</li>
61.36 - <li><b>Package.</b> Select an existing package from the Package drop-down menu or type the name of a new package.</li>
61.37 -</ul>
61.38 -
61.39 -<dl>
61.40 - <dt><a name="seealso">See Also</a></dt>
61.41 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
61.42 -<dd> <a href="../framework_jsf_create.html">Creating a New Application with JSF Support</a></dd>
61.43 -<dd> <a href="../framework_jsf_add.html">Adding JSF Support to an Existing Application</a></dd>
61.44 -</dl>
61.45 -<hr>
61.46 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
61.47 -<table cellpadding="50" border="0">
61.48 -<tr><td> </td></tr>
61.49 -</table>
61.50 -</body></html>
61.51 -
62.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/spring/about.html Wed Apr 15 11:45:24 2009 +0200
62.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
62.3 @@ -1,67 +0,0 @@
62.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
62.5 -<!--
62.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
62.7 -* Use is subject to license terms.
62.8 --->
62.9 -<html>
62.10 -<head>
62.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
62.12 - <title>About Spring Web MVC Framework Support</title>
62.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
62.14 - rel="StyleSheet" type="text/css">
62.15 - </head>
62.16 -
62.17 - <body>
62.18 - <h2>About Spring Web MVC Framework Support</h2>
62.19 -
62.20 - <p><small><a href="#seealso">See Also</a></small></p>
62.21 -
62.22 - <p>Spring Web MVC Support integrates the IDE's
62.23 - <a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/spring/about.html">Spring
62.24 - Framework 2.5 core support for Java applications</a>, and adds functional support for
62.25 - developing MVC-structured web applications by including the following features:</p>
62.26 -
62.27 - <ul>
62.28 - <li>Spring Web MVC structural template listed as an option with the New
62.29 - Web Application wizard.</li>
62.30 - <li>Spring Framework libraries automatically added to the project path.</li>
62.31 - <li>Configuration settings are provided, such as naming and mapping the
62.32 - default dispatcher servlet.</li>
62.33 - <li>Automatic registration of the JSTL library.</li>
62.34 - <li>Controller wizards for common Spring Web MVC artifacts, such as <tt>AbstractController</tt>
62.35 - and <tt>SimpleFormController</tt> are available for quick code template generation.</li>
62.36 - </ul>
62.37 -
62.38 - <p>For more information on the Spring Framework, see the following resources:</p>
62.39 -
62.40 - <ul>
62.41 - <li> Introduction to the Spring Framework:<br>
62.42 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
62.43 - <param name="content" value="http://www.netbeans.org/kb/60/web/quickstart-webapps-spring.html">
62.44 - <param name="text" value="<html><u>http://www.netbeans.org/kb/60/web/quickstart-webapps-spring.html</u></html>">
62.45 - <param name="textFontSize" value="medium">
62.46 - <param name="textColor" value="blue">
62.47 - </object></li>
62.48 -
62.49 - <li>Official Spring Framework documentation:<br>
62.50 - <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
62.51 - <param name="content" value="http://www.springframework.org/documentation">
62.52 - <param name="text" value="<html><u>http://www.springframework.org/documentation</u></html>">
62.53 - <param name="textFontSize" value="medium">
62.54 - <param name="textColor" value="blue">
62.55 - </object></li>
62.56 - </ul>
62.57 -
62.58 - <dl>
62.59 - <dt><a name="seealso">See Also</a></dt>
62.60 - <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/spring/about.html">About Spring Framework Support</a></dd>
62.61 - <dd><a href="create.html">Creating a New Application with Spring Web MVC Framework Support</a></dd>
62.62 - <dd><a href="add.html">Adding Spring Web MVC Framework Support to an Existing Application</a></dd>
62.63 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
62.64 - </dl>
62.65 -
62.66 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
62.67 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
62.68 - </body>
62.69 -</html>
62.70 -
63.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/spring/add.html Wed Apr 15 11:45:24 2009 +0200
63.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
63.3 @@ -1,49 +0,0 @@
63.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
63.5 -<!--
63.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
63.7 -* Use is subject to license terms.
63.8 --->
63.9 -<html>
63.10 -<head>
63.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
63.12 - <title>Adding Spring Web MVC Framework Support to an Existing Application</title>
63.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
63.14 - rel="StyleSheet" type="text/css">
63.15 - </head>
63.16 -
63.17 - <body>
63.18 - <h2>Adding Spring Web MVC Framework Support to an Existing Application</h2>
63.19 -
63.20 - <p><small><a href="#seealso">See Also</a></small></p>
63.21 -
63.22 - <p>The Spring framework libraries and supporting files are bundled with the IDE.</p>
63.23 -
63.24 - <p><strong>To add Spring Web MVC support to an existing web application:</strong></p>
63.25 -
63.26 - <ol>
63.27 - <li>In the Projects window, right-click a web application project node and
63.28 - choose Properties.</li>
63.29 - <li>Under Categories, click Frameworks. Then under Used Frameworks click the
63.30 - Add button.</li>
63.31 - <li>In the Add a Framework dialog that displays, select Spring Web MVC 2.5 and
63.32 - click OK.</li>
63.33 - <li>Optionally specify any configuration settings, such as the default dispatcher name
63.34 - and mapping. Click OK to exit the Project Properties dialog.</li>
63.35 - </ol>
63.36 -
63.37 - <p>Spring framework libraries and artifacts are added to the selected project, such as
63.38 - <tt>applicationContext.xml</tt> and <tt>${dispatcher}-servlet</tt>, where <tt>${dispatcher}</tt>
63.39 - is the user-specified dispatcher name.</p>
63.40 -
63.41 - <dl>
63.42 - <dt><a name="seealso">See Also</a></dt>
63.43 - <dd><a href="create.html">Creating a New Web Application with Spring Web MVC Framework Support</a></dd>
63.44 - <dd><a href="about.html">About Spring Web MVC Framework Support</a></dd>
63.45 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
63.46 - </dl>
63.47 -
63.48 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
63.49 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
63.50 - </body>
63.51 -</html>
63.52 -
64.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/spring/create.html Wed Apr 15 11:45:24 2009 +0200
64.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
64.3 @@ -1,62 +0,0 @@
64.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
64.5 -<!--
64.6 -* Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
64.7 -* Use is subject to license terms.
64.8 --->
64.9 -<html>
64.10 -<head>
64.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
64.12 - <title>Creating a New Web Application with Spring MVC Framework Support</title>
64.13 - <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
64.14 - rel="StyleSheet" type="text/css">
64.15 - </head>
64.16 -
64.17 - <body>
64.18 - <h2>Creating a New Web Application with Spring MVC Framework Support</h2>
64.19 -
64.20 - <p><small><a href="#seealso">See Also</a></small></p>
64.21 -
64.22 - <p>The Spring framework libraries and supporting files are bundled with the IDE.</p>
64.23 -
64.24 - <p><strong>To create a new web application with Spring Web MVC support:</strong></p>
64.25 -
64.26 - <ol>
64.27 - <li>Choose File > New Project (Ctrl-Shift-N). The New Project wizard displays.</li>
64.28 - <li>Under Categories select Web, then under Projects, select Web Application. Click Next.</li>
64.29 - <li>Continue through the wizard to Step 4, the Frameworks panel, and select Spring Web MVC 2.5.</li>
64.30 - <li>Under Spring Web MVC 2.5 Configuration, specify the dispatcher name and mapping you
64.31 - want to use in the application. Click Finish.</li>
64.32 - </ol>
64.33 -
64.34 - <ul class="note">
64.35 - <li>The JSTL library version 1.1, is bundled by default with the web application. To exclude
64.36 - JSTL, in the Frameworks panel click on the Libraries tab and deselect the Include JSTL option.</li>
64.37 - <li>Dispatcher mappings are based on the Java Servlet Specification Section SRV.11.2.
64.38 - In the web application deployment descriptor, the following syntax is used to
64.39 - define standard mappings:
64.40 -
64.41 - <ul>
64.42 - <li>A string beginning with a '<tt>/</tt>' character and ending with a '<tt>/*</tt>'
64.43 - postfix is used for path mapping.</li>
64.44 - <li>A string beginning with a '<tt>*.</tt>' prefix is used as an extension
64.45 - mapping.</li>
64.46 - <li>A string containing only the '<tt>/</tt>' character indicates the default
64.47 - servlet of the application. In this case the servlet path is the requested
64.48 - URI minus the context path and the path info is <tt>null</tt>.</li>
64.49 - <li>All other strings are used for exact matches only.</li>
64.50 - </ul>
64.51 - </li>
64.52 - </ul>
64.53 -
64.54 - <dl>
64.55 - <dt><a name="seealso">See Also</a></dt>
64.56 - <dd><a href="add.html">Adding Spring Web MVC Framework Support to an Existing Application</a></dd>
64.57 - <dd><a href="about.html">About Spring Web MVC Framework Support</a></dd>
64.58 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
64.59 - </dl>
64.60 -
64.61 - <hr><small><a href="../../../../../credits.html">Legal Notices</a></small>
64.62 - <table cellpadding="20" border="0"><tr><td> </td></tr></table>
64.63 - </body>
64.64 -</html>
64.65 -
65.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/AddActionPanel.html Wed Apr 15 11:45:24 2009 +0200
65.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
65.3 @@ -1,72 +0,0 @@
65.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
65.5 -<!--
65.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
65.7 - * Use is subject to license terms.
65.8 -> -->
65.9 -<html>
65.10 -<head>
65.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
65.12 - <meta name="lastupdated" content="9Jul07">
65.13 -<!-- p2 -->
65.14 -
65.15 -<title>Add Action Dialog Box</title>
65.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
65.17 -</head>
65.18 -<body>
65.19 - <h2>Add Action Dialog Box</h2>
65.20 -<p><small>
65.21 -<a href="#seealso">See Also</a>
65.22 -</small></p>
65.23 -
65.24 -A Struts action responds to a request. Writing an action means subclassing one
65.25 -of the <tt>Action</tt> classes and then overriding the class's <tt>execute</tt> method.
65.26 -Use the <a href="file_ActionPanel.html">New Struts Action wizard</a> for this purpose.
65.27 -<p>You use the Add Action dialog box to register an action in the <tt>struts-config.xml</tt> file.
65.28 -You open the Add Action dialog box by right-clicking in a <tt>struts-config.xml</tt> file and
65.29 -choosing Struts > Add Action.
65.30 -
65.31 -<p>In the Add Action dialog box, you set the following properties:
65.32 -
65.33 -<ul>
65.34 -<li><b>Action Class.</b> Specifies the fully qualified Java class name of the action.</li>
65.35 -<li><b>Action Path.</b> Specifies the application context-relative path to the action.</li>
65.36 -<li><b>Use ActionForm Bean.</b> Specifies whether an actionform bean should be used or not. If you
65.37 -select this checkbox, the following fields are enabled.</li>
65.38 -<ul>
65.39 - <li><b>ActionForm Bean Name.</b> Specifies the name of the actionform bean.</li>
65.40 - <li>Input.
65.41 - <ul>
65.42 - <li><b>Resource.</b> Specifies the path to the JSP page that handles the actionform bean.</li>
65.43 - <li><b>Action.</b> Specifies the action that handles the actionform bean.</li></ul>
65.44 -<li><b>Scope.</b> Specifies the scope of the action. By default, the action
65.45 -is set to Session scope.</li>
65.46 -<li><b>Attribute.</b> Specifies an attribute that causes the actionform bean to be mapped into scope. When an actionform
65.47 - bean is mapped into scope, the action can access the actionform bean's values and display them in a JSP page.</li>
65.48 -<li><b>Validate Form Bean.</b> Specifies that the <tt>validate</tt> method of the action associated with this actionform bean should be called.</li>
65.49 -</ul>
65.50 -<li><b>Parameter.</b> Specifies general-purpose attribute often used by "standard" actions to pass a required property.</li>
65.51 -
65.52 -</ul>
65.53 -
65.54 -<ul class="note">
65.55 - <li>If you want to change a registered action, you can do
65.56 - so by manually editing the XML tags in the <tt>struts-config.xml</tt> file.
65.57 -</ul>
65.58 -
65.59 -<dl>
65.60 - <dt><a name="seealso">See Also</a></dt>
65.61 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
65.62 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
65.63 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
65.64 -</dl>
65.65 -
65.66 -
65.67 -<hr>
65.68 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
65.69 -<table cellpadding="20" border="0">
65.70 -<tr><td> </td></tr>
65.71 -<tr><td> </td></tr>
65.72 -<tr><td> </td></tr>
65.73 -</table>
65.74 -</body></html>
65.75 -
66.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/AddException.html Wed Apr 15 11:45:24 2009 +0200
66.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
66.3 @@ -1,72 +0,0 @@
66.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
66.5 -<!--
66.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
66.7 - * Use is subject to license terms.
66.8 -> -->
66.9 -<html>
66.10 -<head>
66.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
66.12 - <meta name="lastupdated" content="9Jul07">
66.13 -<!-- p2 -->
66.14 -
66.15 -<title>Add Exception Dialog Box</title>
66.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
66.17 -</head>
66.18 -<body>
66.19 -<h2>Add Exception Dialog Box</h2>
66.20 -<p><small>
66.21 -<a href="#seealso">See Also</a>
66.22 -</small></p>
66.23 -A Struts exception handler lets you declaratively handle exceptions in the
66.24 - <tt>struts-config.xml</tt> file. Instead of solving exceptions in Java code,
66.25 - you can specify the resource that should deal with the exception. You can also
66.26 - specify the message that should be displayed to the user when an exception occurs.
66.27 - You can finetune exception handling by providing a different solution for each
66.28 - type of exception or you can let all exceptions be handled in the same way.
66.29 - <p>You use the Add Exception dialog box to register an exception handler in the <tt>struts-config.xml</tt> file.
66.30 -You open the Add Exception dialog box by right-clicking in a <tt>struts-config.xml</tt> file and
66.31 -choosing Struts > Add Exception.
66.32 -
66.33 -<p>In the Add Exception dialog box, you set the following properties:
66.34 -
66.35 -<ul>
66.36 - <li><b>Resource Bundle.</b> Specifies the servlet context attribute for the message resources bundle
66.37 - associated with this handler. The default attribute is the value specified by the string constant declared at <tt>Globals.MESSAGES_KEY</tt>.</li>
66.38 - <li><b>Bundle Key.</b> Specifies the name of the key in the resource bundle that identifies the message
66.39 - to be displayed to the user.</li>
66.40 - <li><b>Exception Type.</b> Specifies the type of exception that must occur for the exception handler to be
66.41 - used.</li>
66.42 - <li>Call.
66.43 - <ul><li><b>Resource File.</b> Specifies the resource file that will handle the exception. For example,
66.44 - if a JSP page is set as the resource file, Struts will display the specified JSP page when the
66.45 - exception occurs.</li>
66.46 -<li><b>Action.</b> Specifies the action that will handle the exception.</li></ul>
66.47 -<li><b>Scope.</b> Specifies the scope within which the exception handler is applicable. By default, the exception handler
66.48 - is set to Session scope.</li>
66.49 -<li>Location.
66.50 -<ul><li><b>Global.</b> Specifies that the exception handler applies to all actions.
66.51 - <li><b>Action.</b> Specifies the specific action to which the exception handler applies.</li>
66.52 -</ul>
66.53 -</ul>
66.54 -<ul class="note">
66.55 - <li>If you want to change a registered exception handler, you can do
66.56 - so by manually editing the XML tags in the <tt>struts-config.xml</tt> file.</li>
66.57 -</ul>
66.58 -
66.59 -<dl>
66.60 - <dt><a name="seealso">See Also</a></dt>
66.61 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
66.62 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
66.63 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
66.64 -</dl>
66.65 -
66.66 -
66.67 -<hr>
66.68 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
66.69 -<table cellpadding="20" border="0">
66.70 -<tr><td> </td></tr>
66.71 -<tr><td> </td></tr>
66.72 -<tr><td> </td></tr>
66.73 -</table>
66.74 -</body></html>
66.75 -
67.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/AddFormBean.html Wed Apr 15 11:45:24 2009 +0200
67.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
67.3 @@ -1,58 +0,0 @@
67.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
67.5 -<!--
67.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
67.7 - * Use is subject to license terms.
67.8 -> -->
67.9 -<html>
67.10 -<head>
67.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
67.12 - <meta name="lastupdated" content="9Jul07">
67.13 -<!-- p2 -->
67.14 -
67.15 -<title>Add ActionForm Bean Dialog Box</title>
67.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
67.17 -</head>
67.18 -<body>
67.19 -<h2>Add ActionForm Bean Dialog Box</h2>
67.20 -<p><small>
67.21 -<a href="#seealso">See Also</a>
67.22 -</small></p>
67.23 -<p>An actionform bean acts as a bridge between a JSP page and a Struts action.
67.24 -It captures user input from the JSP pages and delivers it to the action.
67.25 -An actionform bean can also validate the input before passing it on to the action.
67.26 -<p>You use the Add ActionForm Bean dialog box to register an actionform bean in the <tt>struts-config.xml</tt> file.
67.27 -You open the Add ActionForm Bean dialog box by right-clicking in a <tt>struts-config.xml</tt> file and
67.28 -choosing Struts > Add ActionForm Bean.
67.29 -
67.30 -<p>In the Add ActionForm Bean dialog box, you set the following properties:
67.31 -
67.32 -<ul>
67.33 -<li><b>ActionForm Bean Name.</b> Specifies the actionform bean's name.</li>
67.34 -<li>Type.
67.35 -<ul><li><b>ActionForm Bean Class.</b> Specifies that the actionform bean will take its properties from explicit methods defined in the class.</li>
67.36 - <li><b>Dynamic.</b> Specifies that the actionform bean will take its properties from an external configuration file, such as
67.37 - from the Struts configuration file.</ul>
67.38 -
67.39 -</ul>
67.40 -
67.41 -
67.42 -<ul class="note">
67.43 - <li>If you want to change a registered action form bean, you can do
67.44 - so by manually editing the XML tags in the <tt>struts-config.xml</tt> file.
67.45 -</ul>
67.46 -<dl>
67.47 - <dt><a name="seealso">See Also</a></dt>
67.48 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
67.49 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
67.50 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
67.51 -</dl>
67.52 -
67.53 -<hr>
67.54 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
67.55 -<table cellpadding="20" border="0">
67.56 -<tr><td> </td></tr>
67.57 -<tr><td> </td></tr>
67.58 -<tr><td> </td></tr>
67.59 -</table>
67.60 -</body></html>
67.61 -
68.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/AddFormProperty.html Wed Apr 15 11:45:24 2009 +0200
68.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
68.3 @@ -1,57 +0,0 @@
68.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
68.5 -<!--
68.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
68.7 - * Use is subject to license terms.
68.8 -> -->
68.9 -<html>
68.10 -<head>
68.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
68.12 - <meta name="lastupdated" content="9Jul07">
68.13 -<!-- p2 -->
68.14 -
68.15 -<title>Add ActionForm Bean Property Dialog Box</title>
68.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
68.17 -</head>
68.18 -<body>
68.19 -<h2>Add ActionForm Bean Property Dialog Box</h2>
68.20 -<p><small>
68.21 -<a href="#seealso">See Also</a>
68.22 -</small></p>
68.23 -
68.24 -<p>An actionform bean acts as a bridge between a JSP page and a Struts action.
68.25 -It captures user input from the JSP pages and delivers it to the action.
68.26 -An actionform bean can also validate the input before passing it on to the action.
68.27 -<p>You use the Add ActionForm Bean Property dialog box to register an actionform bean's properties in the <tt>struts-config.xml</tt> file.
68.28 -You open the Add ActionForm Bean Property dialog box by right-clicking in a <tt>struts-config.xml</tt> file and
68.29 -choosing Struts > Add ActionForm Bean Property.
68.30 -
68.31 -<p>In the Add ActionForm Bean Property dialog box, you set the following properties:
68.32 -
68.33 -<ul>
68.34 - <li><b>ActionForm Bean Name.</b> Specifies the actionform bean to which the properties will apply.</li>
68.35 - <li><b>Property Name.</b> Specifies the property that you want to register.</li>
68.36 - <li><b>Property Type.</b> Specifies the property type.</li>
68.37 -<li><b>Single Property.</b> Specifies that the property will be single, and its initial value.</li>
68.38 -<li><b>Array Property.</b> Specifies that the property will be an array, and its size.</li>
68.39 -
68.40 -</ul>
68.41 -<ul class="note">
68.42 - <li>If you want to change a registered actionform bean property, you can do
68.43 - so by manually editing the XML tags in the <tt>struts-config.xml</tt> file.
68.44 -</ul>
68.45 -<dl>
68.46 - <dt><a name="seealso">See Also</a></dt>
68.47 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
68.48 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
68.49 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
68.50 -</dl>
68.51 -
68.52 -<hr>
68.53 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
68.54 -<table cellpadding="20" border="0">
68.55 -<tr><td> </td></tr>
68.56 -<tr><td> </td></tr>
68.57 -<tr><td> </td></tr>
68.58 -</table>
68.59 -</body></html>
68.60 -
69.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/AddForward.html Wed Apr 15 11:45:24 2009 +0200
69.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
69.3 @@ -1,70 +0,0 @@
69.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
69.5 -<!--
69.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
69.7 - * Use is subject to license terms.
69.8 -> -->
69.9 -<html>
69.10 -<head>
69.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
69.12 - <meta name="lastupdated" content="9Jul07">
69.13 -<!-- p2 -->
69.14 -
69.15 -<title>Add Forward Dialog Box</title>
69.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
69.17 -</head>
69.18 -<body>
69.19 -<h2>Add Forward Dialog Box</h2>
69.20 -<p><small>
69.21 -<a href="#seealso">See Also</a>
69.22 -</small></p>
69.23 -
69.24 -A Struts action responds to a request. Writing an action means subclassing one
69.25 -of the <tt>Action</tt> classes and then overriding the class's <tt>execute</tt> method.
69.26 -Use the <a href="file_ActionPanel.html">New Struts Action wizard</a> for this purpose.
69.27 -<p>An action forward is an output view. For example, an action forward can forward to an
69.28 -output view called <tt>success</tt>. In the <tt>struts-config.xml</tt> file, you specify
69.29 - this name, together with the action or the path to the resource file that provides the view.
69.30 -
69.31 -<p>You use the Add Forward dialog box to register an action forward in the <tt>struts-config.xml</tt> file.
69.32 -You open the Add Forward dialog box by right-clicking in a <tt>struts-config.xml</tt> file and
69.33 -choosing Struts > Add Forward.
69.34 -
69.35 -<p>In the Add Forward dialog box, you set the following properties:
69.36 -
69.37 -<ul>
69.38 -<li><b>Forward Name.</b> Specifies the name of the forward.</li>
69.39 -<li>Forward To.
69.40 -<ul>
69.41 - <li><b>Resource File.</b> Specifies the path to the JSP page that handles the action.</li>
69.42 - <li><b>Action.</b> Specifies the action that handles the forwardaction or includeaction.</li>
69.43 -</ul>
69.44 -<li><b>Redirect.</b> Prevents a page reload which, in turn, prevents form values from being resubmitted to an application.
69.45 -<li>Location.
69.46 -<ul><li><b>Global.</b> Specifies that the forward applies to all actions.
69.47 - <li><b>Action.</b> Specifies the specific action to which the forward applies.</li>
69.48 -</ul>
69.49 -</ul>
69.50 -
69.51 -
69.52 -<ul class="note">
69.53 - <li>If you want to change a registered forward, you can do
69.54 - so by manually editing the XML tags in the <tt>struts-config.xml</tt> file.
69.55 -</ul>
69.56 -
69.57 -<dl>
69.58 - <dt><a name="seealso">See Also</a></dt>
69.59 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
69.60 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
69.61 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
69.62 -</dl>
69.63 -
69.64 -
69.65 -<hr>
69.66 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
69.67 -<table cellpadding="20" border="0">
69.68 -<tr><td> </td></tr>
69.69 -<tr><td> </td></tr>
69.70 -<tr><td> </td></tr>
69.71 -</table>
69.72 -</body></html>
69.73 -
70.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/AddForwardIncludePanel.html Wed Apr 15 11:45:24 2009 +0200
70.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
70.3 @@ -1,82 +0,0 @@
70.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
70.5 -<!--
70.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
70.7 - * Use is subject to license terms.
70.8 -> -->
70.9 -<html>
70.10 -<head>
70.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
70.12 - <meta name="lastupdated" content="9Jul07">
70.13 -<!-- p2 -->
70.14 -
70.15 -<title>Add Forward/Include Action Dialog Box</title>
70.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
70.17 -</head>
70.18 -<body>
70.19 -<h2>Add Forward/Include Action Dialog Box</h2>
70.20 -<p><small>
70.21 -<a href="#seealso">See Also</a>
70.22 -</small></p>
70.23 -
70.24 -A Struts action responds to a request. Writing an action means subclassing one
70.25 -of the <tt>Action</tt> classes and then overriding the class's <tt>execute</tt> method.
70.26 -Use the <a href="file_ActionPanel.html">New Struts Action wizard</a> for this purpose.
70.27 -<p>In some exceptional scenarios, you do not need an action to execute, but you <i>do</i> want to
70.28 - redirect to a new JSP page. In these exceptional scenarios, you have two options:
70.29 -
70.30 - <ul>
70.31 - <li><b>Forward Action.</b> Specifies a bridge from the JSP page to another JSP page or an action.
70.32 - <li><b>Include Action.</b> Specifies the same as a forwardaction, except that the JSP page or action
70.33 - is going to be included by another JSP page or action.
70.34 - </ul>
70.35 -
70.36 -<ul class="note">
70.37 - <li>When you use the Add Forward/Include Action dialog box,
70.38 - the <tt>forward</tt> or <tt>include</tt> is an attribute, rather than an element. The attribute
70.39 - makes the mapping functionally equivalent to the element, however, the tag is shorter.
70.40 -</ul>
70.41 -
70.42 -
70.43 -<p>You use the Add Forward/Include Action dialog box to register an action forward or an
70.44 - action include in the <tt>struts-config.xml</tt> file.
70.45 -You open the Add Forward/Include Action dialog box by right-clicking in a <tt>struts-config.xml</tt> file and
70.46 -choosing Struts > Add Forward/Include Action.
70.47 -
70.48 -<p>In the Add Forward/Include Action dialog box, you set the following properties:
70.49 -
70.50 -<ul>
70.51 -<li><b>Action Path.</b> Specifies the application context-relative path to the action.</li>
70.52 -<li>Action Type.
70.53 - <ul>
70.54 - <li><b>Forward Action.</b> Specifies a bridge from the JSP page to another JSP page or an action.
70.55 - <li><b>Include Action.</b> Specifies the same as a forwardaction, except that the JSP page or action
70.56 - is going to be included by another JSP page or action.
70.57 - </ul>
70.58 -<li>Call.
70.59 -<ul>
70.60 - <li><b>Resource File.</b> Specifies the path to the JSP page that handles the action.</li>
70.61 - <li><b>Action.</b> Specifies the action that handles the forwardaction or includeaction.</li>
70.62 -</ul>
70.63 -
70.64 -</ul>
70.65 -
70.66 -<ul class="note">
70.67 - <li>If you want to change a registered forwardaction or includeaction, you can do
70.68 - so by manually editing the XML tags in the <tt>struts-config.xml</tt> file.
70.69 -</ul>
70.70 -
70.71 -<dl>
70.72 - <dt><a name="seealso">See Also</a></dt>
70.73 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
70.74 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
70.75 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
70.76 -</dl>
70.77 -<hr>
70.78 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
70.79 -<table cellpadding="20" border="0">
70.80 -<tr><td> </td></tr>
70.81 -<tr><td> </td></tr>
70.82 -<tr><td> </td></tr>
70.83 -</table>
70.84 -</body></html>
70.85 -
71.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/file_ActionPanel.html Wed Apr 15 11:45:24 2009 +0200
71.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
71.3 @@ -1,105 +0,0 @@
71.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
71.5 -<!--
71.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
71.7 - * Use is subject to license terms.
71.8 -> -->
71.9 -<html>
71.10 -<head>
71.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
71.12 - <meta name="lastupdated" content="9Jul07">
71.13 -<!-- p2 -->
71.14 -
71.15 -<title>New Struts Action Wizard: Name and Location</title>
71.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
71.17 -</head>
71.18 -<body>
71.19 - <h2>New Struts Action Wizard: Name and Location</h2>
71.20 -<p><small>
71.21 -<a href="#seealso">See Also</a>
71.22 -</small></p>
71.23 -
71.24 -<p>An action responds to a request. Writing an action means subclassing one of the <tt>Action</tt> classes
71.25 - and then overriding the class's <tt>execute</tt> method. An <tt>ActionForward</tt> is returned by
71.26 - the <tt>execute</tt> method. </p>
71.27 -
71.28 - <p>The New Struts Action wizard creates a new action. Before you can use the
71.29 - New Struts Action wizard, you must have a Struts configuration file.
71.30 -To create a Struts configuration file quickly and efficiently,
71.31 -right-click the project node, choose Properties and use the Frameworks panel. Not only does
71.32 -this provide you with a Struts configuration file, but you also get the Struts libraries and supporting files.
71.33 -
71.34 -<p>Once you have a Struts congfiguration file, you open the New Struts Action wizard by right-clicking a web application,
71.35 -choosing New > Other and selecting Struts Action from the Struts category.
71.36 -
71.37 -<p>In the Name and Location page, you set the following properties:
71.38 -
71.39 -<ul>
71.40 - <li><b>Class Name.</b> Specifies the action's class name.
71.41 - <li><b>Project. </b>Specifies the project of the new action class.
71.42 - <li><b>Location.</b> Specifies a folder to house the action.
71.43 - <li><b>Package.</b> Specifies a package within the location to house the action.
71.44 - <li><b>Created File. </b>Specifies the file that will be created for the new action class.
71.45 - <li><b>Superclass.</b> Specifies the class on which the action is based. This can be
71.46 - one of the following:
71.47 -
71.48 - <ul>
71.49 - <li><tt>org.apache.struts.action.Action</tt>.
71.50 - An Action is an adapter between the contents of an incoming HTTP request
71.51 - and the corresponding business logic that should be executed to process
71.52 - this request. The controller (<tt>ActionServlet</tt>) selects an appropriate <tt>Action</tt>
71.53 - for each request, creates an instance (if necessary), and calls the <tt>perform</tt> method.
71.54 - <li><tt>org.apache.struts.actions.DispatchAction</tt>.
71.55 - An abstract Action that dispatches to a public method that is named by the
71.56 - request parameter whose name is specified by the <tt>parameter</tt> property of the
71.57 - corresponding <tt>ActionMapping</tt>. This Action is useful if you want to
71.58 - combine many similar actions into a single <tt>Action</tt> class, in order to simplify their application design.
71.59 - <li><tt>org.apache.struts.actions.MappingDispatchAction</tt>.
71.60 - An abstract <tt>Action</tt> that dispatches to a public method that is
71.61 - named by the parameter attribute of the corresponding <tt>ActionMapping</tt>.
71.62 - This is useful if you want to combine many related actions into a single <tt>Action</tt> class.
71.63 - <li><tt>org.apache.struts.actions.LookupDispatchAction</tt>.
71.64 - An abstract Action that dispatches to the subclass-mapped <tt>execute</tt> method.
71.65 - This is useful in cases where an HTML form has multiple submit buttons with the
71.66 - same name. The button name is specified by the <tt>parameter</tt> property of the corresponding <tt>ActionMapping</tt>.
71.67 - </ul>
71.68 -
71.69 - <li><b>Configuration File.</b> Specifies the Struts configuration file, <tt>struts-config.xml</tt>. If none exists,
71.70 -you cannot create the action. To create a Struts configuration file quickly and efficiently,
71.71 -right-click the project node, choose Properties and use the Frameworks panel. Not only does
71.72 -this provide you with a Struts configuration file, but you also get the Struts libraries and supporting files.
71.73 -<p>After you complete the wizard, you can use the following dialog boxes to add entries in <tt>struts-config.xml</tt>:
71.74 -<ul>
71.75 - <li><a href="AddActionPanel.html">Add Action dialog box</a>
71.76 -<li><a href="AddForwardIncludePanel.html">Add Forward/Include Action dialog box</a>
71.77 - <li><a href="AddForward.html">Add Forward dialog box</a>
71.78 - <li><a href="AddException.html">Add Exception dialog box</a>
71.79 - <li><a href="AddFormBean.html">Add ActionForm Bean dialog box</a>
71.80 - <li><a href="AddFormProperty.html">Add ActionForm Bean Property dialog dox</a>
71.81 -</ul>
71.82 -
71.83 -</li>
71.84 -
71.85 -<li><b>Action Path.</b> Associates the action with an incoming path. For example, if you type <tt>/login</tt> in Action Path, then whenever
71.86 -the web application receives a request with <tt>/login.do</tt>, the execute method of the associated action is invoked. After
71.87 -completing the New Struts Action wizard, you can modify the action path in the Struts configuration file.</li>
71.88 -
71.89 -</ul>
71.90 -If you click Next, you can let the IDE associate an existing actionform bean with the action.
71.91 - If you click Finish, the action is created on your computer and opened in the IDE.
71.92 -
71.93 -<dl>
71.94 - <dt><a name="seealso">See Also</a></dt>
71.95 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
71.96 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
71.97 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
71.98 -</dl>
71.99 -
71.100 -<hr>
71.101 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
71.102 -<table cellpadding="20" border="0">
71.103 -<tr><td> </td></tr>
71.104 -<tr><td> </td></tr>
71.105 -<tr><td> </td></tr>
71.106 -</table>
71.107 -</body></html>
71.108 -
72.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/file_ActionPanel1.html Wed Apr 15 11:45:24 2009 +0200
72.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
72.3 @@ -1,57 +0,0 @@
72.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
72.5 -<!--
72.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
72.7 - * Use is subject to license terms.
72.8 -> -->
72.9 -<html>
72.10 -<head>
72.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
72.12 - <meta name="lastupdated" content="9Jul07">
72.13 -<!-- p2 -->
72.14 -
72.15 -<title>New Struts Action Wizard: ActionForm Bean, Parameter</title>
72.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
72.17 -</head>
72.18 -<body>
72.19 - <h2>New Struts Action Wizard: ActionForm Bean, Parameter</h2>
72.20 -<p><small>
72.21 -<a href="#seealso">See Also</a>
72.22 -</small></p>
72.23 -
72.24 -<p>An actionform bean represents requests returned from the browser. Actionform beans populate
72.25 - HTML forms to display results to end users and to collect data from HTML forms. Validation is
72.26 - also handled by actionform beans. You can use the <a href="file_FormBeanNewPanel.html">New ActionForm Bean wizard</a>
72.27 - to create actionform beans.
72.28 -<p>In the ActionForm Bean, Parameter page of the New Struts Action wizard, you can
72.29 - associate an actionform bean with an action. When you select Use ActionForm Bean, you
72.30 - can set the following properties:
72.31 -
72.32 - <ul>
72.33 -
72.34 - <li><b>ActionForm Bean Name.</b> Specifies the actionform bean that you want to associate with the
72.35 - current action.
72.36 - <li><b>Input Resource.</b> Specifies the resource associated with the actionform bean.
72.37 - <li><b>Input Action.</b> Specifies the action associated with the actionform bean.
72.38 - <li><b>Scope.</b> Specifies the scope of the actionform bean.
72.39 - <li><b>Attribute.</b> Specifies an optional attribute.
72.40 - <li><b>Validate ActionForm Bean.</b> Specifies whether the IDE should validate the actionform bean.
72.41 - <li><b>Parameter.</b> Specifies an optional parameter.
72.42 -
72.43 -</ul>
72.44 -
72.45 -<dl>
72.46 - <dt><a name="seealso">See Also</a></dt>
72.47 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
72.48 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
72.49 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
72.50 -</dl>
72.51 -
72.52 -<hr>
72.53 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
72.54 -<table cellpadding="20" border="0">
72.55 -<tr><td> </td></tr>
72.56 -<tr><td> </td></tr>
72.57 -<tr><td> </td></tr>
72.58 -</table>
72.59 -</body></html>
72.60 -
73.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/framework/struts/file_FormBeanNewPanel.html Wed Apr 15 11:45:24 2009 +0200
73.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
73.3 @@ -1,84 +0,0 @@
73.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
73.5 -<!--
73.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
73.7 - * Use is subject to license terms.
73.8 -> -->
73.9 -<html>
73.10 -<head>
73.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
73.12 - <meta name="lastupdated" content="9Jul07">
73.13 -<!-- p2 -->
73.14 -
73.15 -<title>New Struts ActionForm Bean Wizard: Name and Location</title>
73.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
73.17 -</head>
73.18 -<body>
73.19 - <h2>New Struts ActionForm Bean Wizard: Name and Location</h2>
73.20 -<p><small>
73.21 -<a href="#seealso">See Also</a>
73.22 -</small></p>
73.23 -<p>An actionform bean acts as a bridge between a JSP page and a Struts action.
73.24 -It captures user input from the JSP pages and delivers it to the action.
73.25 -An actionform bean can also validate the input before passing it on to the action.
73.26 -<p>The New Struts ActionForm Bean wizard creates a new actionform bean. Before you can use the
73.27 - New Struts ActionForm Bean wizard, you must have a Struts configuration file.
73.28 -To create a Struts configuration file quickly and efficiently,
73.29 -right-click the project node, choose Properties and use the Frameworks panel. Not only does
73.30 -this provide you with a Struts configuration file, but you also get the Struts libraries and supporting files.
73.31 -
73.32 -<p>Once you have a Struts congfiguration file, you open the New Struts ActionForm Bean wizard by right-clicking a web application,
73.33 -choosing New > Other and selecting Struts ActionForm Bean from the Struts category.
73.34 -
73.35 -<p>In the Name and Location page, you set the following properties:
73.36 -
73.37 -<ul>
73.38 - <li><b>Class Name.</b> Specifies the actionform bean's class name.
73.39 - <li><b>Project.</b> Specifies the project of the new actionform bean.
73.40 - <li><b>Location.</b> Specifies a folder to house the actionform bean.
73.41 - <li><b>Package.</b> Specifies a package within the location to house the actionform bean.
73.42 - <li><b>Created File.</b> Specifies the file that will created for the new actionform bean.
73.43 - <li><b>Superclass.</b> Specifies the class on which the actionform bean is based. A normal actionform bean is based
73.44 - on either the <tt>org.apache.struts.action.ActionForm</tt> or <tt>org.apache.struts.action.DynaActionForm</tt> classes for statically defined or
73.45 - dynamic form beans respectively. If you want to validate the input to an actionform bean using a validator,
73.46 - you have to use one of the following superclasses instead:
73.47 - <ul>
73.48 - <li>For static (coded) beans
73.49 - <ul><li><tt>org.apache.struts.validator.ValidatorForm</tt>
73.50 - <li><tt>org.apache.struts.validator.ValidatorActionForm</tt></ul>
73.51 - <li>For dynamic (declarative) beans
73.52 - <ul><li><tt>org.apache.struts.validator.DynaValidatorForm</tt>
73.53 - <li><tt>org.apache.struts.validator.DynaValidatorActionForm</tt></ul>
73.54 -</ul>
73.55 -
73.56 -<li><b>Configuration File.</b> Specifies the Struts configuration file, the <tt>struts-config.xml</tt> file. If none exists,
73.57 -you cannot create the actionform bean. To create a Struts configuration file quickly and efficiently,
73.58 -right-click the project node, choose Properties and use the Frameworks panel. Not only does
73.59 -this provide you with a Struts configuration file, but you also get the Struts libraries and supporting files.</li>
73.60 -<p>After you complete the wizard, you can use the following dialog boxes to add entries in <tt>struts-config.xml</tt>:
73.61 -<ul>
73.62 - <li><a href="AddActionPanel.html">Add Action dialog box</a>
73.63 -<li><a href="AddForwardIncludePanel.html">Add Forward/Include Action dialog box</a>
73.64 - <li><a href="AddForward.html">Add Forward dialog box</a>
73.65 - <li><a href="AddException.html">Add Exception dialog box</a>
73.66 - <li><a href="AddFormBean.html">Add ActionForm Bean dialog box</a>
73.67 - <li><a href="AddFormProperty.html">Add ActionForm Bean Property dialog dox</a>
73.68 -</ul>
73.69 -</ul>
73.70 -
73.71 -<dl>
73.72 - <dt><a name="seealso">See Also</a></dt>
73.73 - <dd><a href="../about_framework.html">About Web Application Frameworks</a></dd>
73.74 -<dd> <a href="../framework_struts_create.html">Creating a New Application with Struts Support</a></dd>
73.75 -<dd> <a href="../framework_struts_add.html">Adding Struts Support to an Existing Application</a></dd>
73.76 -</dl>
73.77 -
73.78 -
73.79 -<hr>
73.80 -<small><a href="../../../../../credits.html">Legal Notices</a></small>
73.81 -<table cellpadding="20" border="0">
73.82 -<tr><td> </td></tr>
73.83 -<tr><td> </td></tr>
73.84 -<tr><td> </td></tr>
73.85 -</table>
73.86 -</body></html>
73.87 -
74.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/tagfile/about_tagfile.html Wed Apr 15 11:45:24 2009 +0200
74.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
74.3 @@ -1,69 +0,0 @@
74.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
74.5 -<!--
74.6 -* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
74.7 -* Use is subject to license terms.
74.8 --->
74.9 -<html>
74.10 -<head>
74.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
74.12 -<title>About Tag Files</title>
74.13 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
74.14 -</head>
74.15 -<body>
74.16 -<h2>About Tag Files</h2>
74.17 -<p><small><a href="#seealso">See Also</a></small></p>
74.18 -<p>You can use JSP syntax in tag files to create custom tags. Tag files
74.19 - can have the following extensions:
74.20 -<ul>
74.21 - <li><tt>.tag</tt> - A tag file that is written using the standard JSP
74.22 - syntax</li>
74.23 - <li><tt>.tagx</tt> - A tag file that is written using JSP document
74.24 - syntax</li>
74.25 - <li><tt>.tagf</tt> - a tag segment</li>
74.26 -</ul>
74.27 -<p>All tag files that are under <tt>WEB-INF/tags</tt> are available for
74.28 - use by the JSP files in that web application. Each folder
74.29 - under <tt>WEB-INF/tags</tt> represents a separate tag library.
74.30 - You use the tagdir attribute in a taglib directive to specify
74.31 - the location of the tag library folder. For example:</p>
74.32 - <pre>
74.33 - <%@ taglib prefix="x" tagdir="/WEB-INF/tags/xtremeLib" %></pre>
74.34 - <p>Tag files can also be referenced in a TLD file and bundled in a JAR file.</p>
74.35 -<p>The IDE recognizes tag files and provides wizard support
74.36 -for creating new tag files. </p>
74.37 -<table cellpadding="3" cellspacing="0" border="0">
74.38 - <tr valign="top">
74.39 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
74.40 - <td>A tag file is run when the JSP file in which it is <a href="../../jsp/jsp_usetaglib.html">defined</a>
74.41 - is deployed. You can set breakpoints in the tag file.
74.42 - Then, when the JSP file is <a href="../../../debug/about_debug.html">debugged</a>, the tag
74.43 - file is debugged too.</td>
74.44 - </tr>
74.45 -</table>
74.46 -<p>For a full guide to creating and using tag files, see:
74.47 - <p>
74.48 -<object CLASSID="java:org.netbeans.modules.javahelp.BrowserDisplayer">
74.49 - <param name="content" value="http://www.netbeans.org/kb/41/tutorial-taglibrary.html">
74.50 - <param name="text" value="<html><u>http://www.netbeans.org/kb/41/tutorial-taglibrary.html</u></html>">
74.51 - <param name="textFontSize" value="medium">
74.52 - <param name="textColor" value="blue">
74.53 -</object>
74.54 -
74.55 -
74.56 -<dl>
74.57 -<dt><a name="seealso">See Also</a></dt>
74.58 -<dd><a href="tagfile_create.html">Creating a Tag File</a></dd>
74.59 -<dd><a href="../../jsp/jsp_usetaglib.html">Accessing a Custom Tag from a JSP Page</a></dd>
74.60 -<dd><a href="../../../debug/about_debug.html">About Debugging and Testing Web Applications</a></dd>
74.61 -</dl>
74.62 -
74.63 -
74.64 -<hr>
74.65 -<small><a href="../../../../credits.html">Legal Notices</a></small>
74.66 -<table cellpadding="20" border="0">
74.67 - <tr><td> </td></tr>
74.68 - <tr><td> </td></tr>
74.69 - <tr><td> </td></tr>
74.70 -</table>
74.71 -
74.72 -</body> </html>
75.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/tagfile/tagfile_create.html Wed Apr 15 11:45:24 2009 +0200
75.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
75.3 @@ -1,93 +0,0 @@
75.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
75.5 -<!--
75.6 -* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
75.7 -* Use is subject to license terms.
75.8 --->
75.9 -<html>
75.10 -<head>
75.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
75.12 -<title>Creating a Tag File</title>
75.13 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
75.14 -</head>
75.15 -<body>
75.16 -<h2>Creating a Tag File</h2>
75.17 -<p><small><a href="#seealso">See Also</a></small></p>
75.18 -<p>The following steps show how to create a tag file in a web application. After you create
75.19 -the tag file, use code completion in the Source Editor to specify the tag's attributes, body, and behavior.</p>
75.20 -
75.21 -<p><b>To create a tag file:</b></p>
75.22 -<ol>
75.23 -<li>In the Projects window or Files window, right-click the project node. </li>
75.24 -<li>From the pop-up menu, choose New > Other.</li>
75.25 -<li>Under Categories, select Web. Under File Types, select Tag File. Click Next.</li>
75.26 -<li>Type the name of the tag file.</li>
75.27 -<li>Type the folder where your tag files are housed. By default, they are created in <tt>WEB-INF/tags</tt>.</li>
75.28 -<li>Select the type of tag file that you want to create:
75.29 -<ul><li><b>Tag File (Standard Syntax).</b> Tag files written using
75.30 - the <a href="../../jsp/about_jsp_syntax.html#standard">standard JSP syntax</a>.
75.31 - typically have the <tt>.tag</tt> extension.</li>
75.32 - <li><b>Tag File (XML Syntax).</b> Tag files written
75.33 - using the <a href="../../jsp/about_jsp_syntax.html#document">XML document syntax</a>
75.34 - typically have the
75.35 - <tt>.tagx</tt> extension. Two examples of the advantages that XML document syntax
75.36 - has over standard JSP syntax are:</li>
75.37 - <ul><li>You can edit, verify, and view files in XML document syntax with XML capable tools,
75.38 - such as the IDE's Source Editor.</li>
75.39 - <li>You can transform files in XML document syntax using XSLT tools, such
75.40 - as the IDE's XSL Transformation command.</li></ul>
75.41 - </ul>
75.42 - </li>
75.43 -<li>(Optional) Click the Create as a Segment of a Tag File checkbox.
75.44 - A segment is a file that contains a fragment of tag file text for inclusion
75.45 - by tag files. Tag segments typically use the <tt>.tagf</tt> extension.</li>
75.46 -<li>(Optional) Click the Add Tag File to Tag Library Descriptor checkbox if
75.47 -you want the IDE to create entries in a <a href="../tld/about_tld.html">TLD file</a> for the tag file.
75.48 -If you click this checkbox, you must have a TLD file available. If not, <a href="../tld/tld_create.html">create</a>
75.49 -one first.
75.50 -<p>If you clicked the Add Tag File to Tag Library Descriptor checkbox,
75.51 - do the following:
75.52 -<ol><li>Click Browse to select the tag library descriptor (TLD file) for your
75.53 -tag file. By default, the TLD files are in the <tt>WEB-INF/tlds</tt> folder.</li>
75.54 -<li>Type the name of the tag. This is the name you use in the JSP file to refer
75.55 -to the tag file.</li></ol></li>
75.56 -<li>Click Finish.</li>
75.57 -</ol>
75.58 -<p>The IDE creates a tag file that conforms to the JSP 2.0 specification.</p>
75.59 -<table cellpadding="3" cellspacing="0" border="0">
75.60 - <tr valign="top">
75.61 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
75.62 - <td>A tag file is run when the JSP file in which it is <a href="../../jsp/jsp_usetaglib.html">defined</a>
75.63 - is deployed. You can set breakpoints in the tag file.
75.64 - Then, when the JSP file is <a href="../../../debug/about_debug.html">debugged</a>, the tag
75.65 - file is debugged too.</td>
75.66 - </tr>
75.67 -</table>
75.68 -<p>For more information about creating and using tag libraries, see the <i>JavaServer
75.69 - Pages Specification</i> available
75.70 - at
75.71 -
75.72 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
75.73 - <param name="content" value="http://java.sun.com/products/jsp/download.html">
75.74 - <param name="text" value="<html><u>http://java.sun.com/products/jsp/download.html</u></html>">
75.75 - <param name="textFontSize" value="medium">
75.76 - <param name="textColor" value="blue">
75.77 -</object>.
75.78 - </p>
75.79 -
75.80 -<dl>
75.81 -<dt><a name="seealso">See Also</a></dt>
75.82 -<dd><a href="about_tagfile.html">About Tag Files</a></dd>
75.83 -<dd><a href="../../jsp/jsp_usetaglib.html">Accessing a Custom Tag from a JSP Page </a></dd>
75.84 -<dd><a href="../about/about_taglib.html">About Tag Libraries</a></dd>
75.85 -<dd><a href="../../jsp/about_jsp_syntax.html">About JSP Syntax</a></dd>
75.86 -</dl>
75.87 -
75.88 -<hr>
75.89 -<small><a href="../../../../credits.html">Legal Notices</a></small>
75.90 -<table cellpadding="20" border="0">
75.91 - <tr><td> </td></tr>
75.92 - <tr><td> </td></tr>
75.93 - <tr><td> </td></tr>
75.94 -</table>
75.95 -
75.96 -</body> </html>
76.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/taghandler/taghandler_create.html Wed Apr 15 11:45:24 2009 +0200
76.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
76.3 @@ -1,81 +0,0 @@
76.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
76.5 -<!--
76.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
76.7 -
76.8 - * Use is subject to license terms.
76.9 -
76.10 - -->
76.11 -<html>
76.12 -<head>
76.13 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
76.14 -<meta name="lastupdated" content="9Jul07">
76.15 -<!-- p2 -->
76.16 -<title>Creating a Tag Handler</title>
76.17 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
76.18 -</head>
76.19 -<body>
76.20 -
76.21 -<h2>Creating a Tag Handler</h2>
76.22 -<p><small>
76.23 -<a href="#seealso">See Also</a>
76.24 -</small></p>
76.25 -
76.26 -<p>You can develop tag handlers for JSP custom actions
76.27 -using Java classes or tag files. This topic discusses how to
76.28 -use the IDE to create tag handlers using Java code.
76.29 -See <a href="../tagfile/tagfile_create.html">Creating
76.30 -a tag file</a> for information about tag files. </p>
76.31 -<p> The IDE provides tools for creating a TLD file and for adding tag elements,
76.32 - tag attribute elements, and variable elements to the TLD file. You can create
76.33 - Java code for a tag handler by using the New File wizard and then you can edit
76.34 - the tag handler code in the Source Editor to modify the logic that implements
76.35 - the features of the tag.</p>
76.36 -<table cellpadding="3" cellspacing="0" border="0">
76.37 - <tr valign="top">
76.38 - <td><img src="../../../images/tip.gif" alt="tip"> </td>
76.39 -
76.40 - <td> Before you can create a tag handler, you have to
76.41 - create its tag library descriptor (a TLD file).
76.42 - See <a href="../tld/tld_create.html">Creating
76.43 -a tag library descriptor</a> for information about TLD files.
76.44 - </td>
76.45 - </tr>
76.46 -</table>
76.47 -<p><b>To create a tag handler:</b></p>
76.48 -<ol>
76.49 -<li>In the Projects window or Files window, right-click the project node. </li>
76.50 -<li>From the pop-up menu, choose New > Other.</li>
76.51 -<li>Under Categories, select Web. Under File Types, select Tag Handler. Click Next.</li>
76.52 -<li>Type the class name of the tag handler.</li>
76.53 -<li>Type the package name of your tag handler.</li>
76.54 -<li>Select <tt>BodyTagSupport</tt> if you want to write complex tags, such as nested
76.55 -tags or iteration tags. Otherwise, leave the default <tt>SimpleTagSupport</tt>
76.56 -selected.</li>
76.57 -<li>Click Next.</li>
76.58 -<li><a href="taghandler_edit.html">Define the tag handler's TLD information</a>.</li>
76.59 -</ol>
76.60 -<p>For a full guide to creating and using tag handlers, see:
76.61 - <p>
76.62 -<object CLASSID="java:org.netbeans.modules.javahelp.BrowserDisplayer">
76.63 - <param name="content" value="http://www.netbeans.org/kb/41/tutorial-taglibrary.html">
76.64 - <param name="text" value="<html><u>http://www.netbeans.org/kb/41/tutorial-taglibrary.html</u></html>">
76.65 - <param name="textFontSize" value="medium">
76.66 - <param name="textColor" value="blue">
76.67 -</object>
76.68 -
76.69 -
76.70 -<dl>
76.71 -<dt><a name="seealso">See Also</a></dt>
76.72 -<dd><a href="../tld/about_tld.html">About Tag Library Descriptors</a></dd>
76.73 -</dl>
76.74 -
76.75 -<hr>
76.76 -<small><a href="../../../../credits.html">Legal Notices</a>
76.77 -<table cellpadding="20" border="0">
76.78 -<tr><td> </td></tr>
76.79 -<tr><td> </td></tr>
76.80 -<tr><td> </td></tr>
76.81 -</table>
76.82 -
76.83 -
76.84 -</small></body></html>
77.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/taghandler/taghandler_edit.html Wed Apr 15 11:45:24 2009 +0200
77.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
77.3 @@ -1,79 +0,0 @@
77.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
77.5 -<!--
77.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
77.7 -
77.8 - * Use is subject to license terms.
77.9 -
77.10 - -->
77.11 -<html>
77.12 -<head>
77.13 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
77.14 -<title>Defining a Tag Handler's TLD Information</title>
77.15 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
77.16 -</head>
77.17 -<body>
77.18 -
77.19 -<h2>Defining a Tag Handler's TLD Information</h2>
77.20 -<p><small>
77.21 -<a href="#seealso">See Also</a>
77.22 -</small></p>
77.23 -
77.24 -<ol>
77.25 -<li>Click the Add Corresponding Tag to the Tag Library Descriptor checkbox if
77.26 -you want the IDE to create entries in a <a href="../tld/about_tld.html">TLD file</a> for the tag handler.
77.27 -If you click this checkbox, you must have a TLD file available. If not, <a href="../tld/tld_create.html">create</a>
77.28 -one first. </li>
77.29 -<li>If you clicked the Add Corresponding Tag to the Tag Library Descriptor checkbox,
77.30 -do the following:
77.31 -<ol><li>Click Browse to select the tag library descriptor (TLD file) for your
77.32 -tag handler. By default, the TLD files are in the <tt>WEB-INF/tlds</tt> folder.</li>
77.33 -<li>Type the name of the tag. This is the name you use in the JSP file to refer
77.34 -to the tag handler.</li>
77.35 -<li>Specify the allowable content of the tag handler:
77.36 -<ul>
77.37 - <li><b>empty.</b> Tags that do not accept a body</li>
77.38 - <li><b>scriptless (default).</b> Body content containing custom and standard tags and HTML text. </li>
77.39 - <li><b>tagdependent.</b> All other types of body content, such as SQL statements passed to the query tag.</li>
77.40 -</ul>
77.41 -</li></ol></li>
77.42 -<li>Click New to create attributes for the tag handler. Use the Add New Attribute
77.43 -dialog box to create an attribute as follows:
77.44 - <ul>
77.45 - <li><b>Attribute Name.</b> Specifies the name of the attribute.</li>
77.46 - <li><b>Attribute Type.</b> Specifies the type of the class being referred to.
77.47 - Choose a type from the drop-down menu or type one yourself.
77.48 - The default is <tt>java.lang.String</tt>.</li>
77.49 - <li><b>required attribute.</b> If selected, specifies that the attribute must be given an argument
77.50 - whenever the tag is called. Set to False by default.
77.51 - </li>
77.52 - <li><b>value evaluated at request time.</b> A radio button, which, if selected, specifies that the value of
77.53 - the attribute can be dynamically calculated at request time. Set to
77.54 - True by default. Mutually exclusive with the Value evaluated at
77.55 - JSP translation time attribute.
77.56 - </li>
77.57 - <li><b>value evaluated at JSP translation time.</b> A radio button, which, if selected, specifies that the value
77.58 - of the attribute is static and determined at translation time.
77.59 - Set to False by default. Mutually exclusive with the Value
77.60 - evaluated request time attribute.
77.61 - </li>
77.62 -</ul>
77.63 - </li>
77.64 - <li>Click Finish.</li>
77.65 -</ol>
77.66 -<dl>
77.67 -<dt><a name="seealso">See Also</a></dt>
77.68 -<dd><a href="taghandler_create.html">Creating a Tag Handler</a></dd>
77.69 -<dd><a href="../tld/about_tld.html">About Tag Library Descriptors</a></dd>
77.70 -<dd><a href="../tld/tld_create.html">Creating a Tag Library Descriptor</a></dd>
77.71 -</dl>
77.72 -
77.73 -<hr>
77.74 -<small><a href="../../../../credits.html">Legal Notices</a>
77.75 -<table cellpadding="20" border="0">
77.76 -<tr><td> </td></tr>
77.77 -<tr><td> </td></tr>
77.78 -<tr><td> </td></tr>
77.79 -</table>
77.80 -
77.81 -
77.82 -</small></body></html>
78.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/tld/about_tld.html Wed Apr 15 11:45:24 2009 +0200
78.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
78.3 @@ -1,72 +0,0 @@
78.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
78.5 -<!--
78.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
78.7 - * Use is subject to license terms.
78.8 - -->
78.9 -<html>
78.10 -<head>
78.11 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
78.12 -<meta name="lastupdated" content="9Jul07">
78.13 -<!-- p2 -->
78.14 -
78.15 -<title>About Tag Library Descriptors</title>
78.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
78.17 -</head>
78.18 -
78.19 -<body>
78.20 -
78.21 -<h2>About Tag Library Descriptors</h2>
78.22 -<p><small>
78.23 -<a href="#seealso">See Also</a>
78.24 -</small></p>
78.25 -
78.26 -<p>You can provide custom tags for JSP files using either tag handlers
78.27 - or JSP tag files. A tag library can contain either type of custom tag, or it
78.28 - can contain both types.
78.29 - When you bundle a tag library in a JAR file, you must include
78.30 - a TLD (tag library descriptor) file. A JSP container uses
78.31 - the TLD file to associate a URI with a tag library and its tags.
78.32 -<p>The TLD file contains:
78.33 -<ul>
78.34 - <li>Documentation on the library as a whole and on its individual tags</li>
78.35 - <li>Version information on the JSP container and on the tag library</li>
78.36 - <li>Information about each of the actions (tags) defined in the tag library</li>
78.37 - </ul>
78.38 -<p>You use the tag element to add a Java class tag handler to a TLD.
78.39 - You use the tag-file element to add a tag handler implemented in a tag file
78.40 - to the TLD.</p>
78.41 -
78.42 -<p>The IDE creates a TLD file when you use the New File wizard to create a tag
78.43 - library. You can then use code completion in the Source Editor to edit the elements
78.44 - of the TLD file. For example, you will need to do this
78.45 - certain advanced features, including adding validators and event listeners. If you edit
78.46 - the TLD file directly, you can validate it as you would with a normal XML file.</p>
78.47 -<p>For a full guide to creating and using tag library descriptors, see:
78.48 - <p>
78.49 -<object CLASSID="java:org.netbeans.modules.javahelp.BrowserDisplayer">
78.50 - <param name="content" value="http://www.netbeans.org/kb/41/tutorial-taglibrary.html">
78.51 - <param name="text" value="<html><u>http://www.netbeans.org/kb/41/tutorial-taglibrary.html</u></html>">
78.52 - <param name="textFontSize" value="medium">
78.53 - <param name="textColor" value="blue">
78.54 -</object>
78.55 -
78.56 -<dl>
78.57 -<dt><a name="seealso">See Also</a></dt>
78.58 -<dd><a href="../about/about_taglib.html">About Tag Libraries</a></dd>
78.59 -<dd><a href="tld_create.html">Creating a Tag Library Descriptor</a></dd>
78.60 -<dd><a href="tld_edit.html">Editing a Tag Library Descriptor</a></dd>
78.61 -</dl>
78.62 -
78.63 -
78.64 -<hr>
78.65 -<small><a href="../../../../credits.html">Legal Notices</a>
78.66 -<table cellpadding="20" border="0">
78.67 -<tr><td> </td></tr>
78.68 -<tr><td> </td></tr>
78.69 -<tr><td> </td></tr>
78.70 -</table>
78.71 -
78.72 -
78.73 -
78.74 -</small></body></html>
78.75 -
79.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/tld/tld_create.html Wed Apr 15 11:45:24 2009 +0200
79.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
79.3 @@ -1,80 +0,0 @@
79.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
79.5 -<!--
79.6 - * Copyright © 2008 Sun Microsystems, Inc. All rights reserved.
79.7 -
79.8 - * Use is subject to license terms.
79.9 -
79.10 - -->
79.11 -<html>
79.12 -<head>
79.13 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
79.14 -<meta name="lastupdated" content="9Jul07">
79.15 -<!-- p2 -->
79.16 - <title>Creating a Tag Library Descriptor</title>
79.17 -
79.18 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
79.19 - </head>
79.20 - <body>
79.21 -
79.22 -<h2>Creating a Tag Library Descriptor</h2>
79.23 -<p><small>
79.24 -<a href="#seealso">See Also</a>
79.25 -</small></p>
79.26 -
79.27 -
79.28 -<p>A tag library consists of:</p>
79.29 -<ul>
79.30 - <li>A set of tag handlers that implement the tag library's feature set. </li>
79.31 - <li>A <a href="about_tld.html">Tag Library Descriptor</a> (TLD) that
79.32 - describes the tags in the tag library and maps each tag to a tag handler.</li>
79.33 -</ul>
79.34 -
79.35 -<p>The following steps show how to create a TLD in a web application. After you create
79.36 -the TLD, use code completion in the Source Editor to define the tag library
79.37 -descriptor's properties. </p>
79.38 -
79.39 -<p><b>To create a TLD in a web application:</b></p>
79.40 -<ol>
79.41 -<li>In the Projects window or Files window, right-click the project node. </li>
79.42 -<li>From the pop-up menu, choose New > Other. </li>
79.43 -<li>Under Categories, select Web. Under File Types, select Tag Library Descriptor. Click Next.</li>
79.44 -<li>Type the name of the TLD file. Do not add the <tt>.tld</tt>
79.45 -extension, unless it is part of the name.</li>
79.46 -<li>Type the folder where your TLD files are housed. By default, it is created in <tt>WEB-INF/tlds</tt>.
79.47 -If you create TLD files outside the <tt>WEB-INF</tt> subfolder, but still within the <tt>web</tt> folder,
79.48 -you must map them in your
79.49 -<tt>WEB-INF/web.xml</tt> file. You can use the Source Editor to modify the URI.</li>
79.50 -<li>Type the prefix to be used within your JSP file. By default, the prefix is the same
79.51 -as the name of your TLD file. You can use the Source Editor to modify the prefix.</li>
79.52 -<li>Click Finish.</li>
79.53 -</ol>
79.54 -<p>The IDE creates a TLD file that conforms to the JSP2.0 specification in J2EE 1.4 projects
79.55 - or to the JSP1.2 specification in J2EE1.3 projects. The IDE supports both types of TLD files.
79.56 - That is, you can edit them using code completion
79.57 - in the Source Editor.</p>
79.58 -<p>For more information about creating and using tag libraries, see the <i>JavaServer
79.59 - Pages Specification</i> available
79.60 - at
79.61 -
79.62 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
79.63 - <param name="content" value="http://java.sun.com/products/jsp/download.html">
79.64 - <param name="text" value="<html><u>http://java.sun.com/products/jsp/download.html</u></html>">
79.65 - <param name="textFontSize" value="medium">
79.66 - <param name="textColor" value="blue">
79.67 -</object>
79.68 -</p>
79.69 -<dl>
79.70 -<dt><a name="seealso">See Also</a></dt>
79.71 -<dd><a href="../about/about_taglib.html">About Tag Libraries</a></dd>
79.72 -<dd><a href="tld_edit.html">Editing a Tag Library Descriptor</a></dd>
79.73 -<dd><a href="../taghandler/taghandler_create.html">Creating a Tag Handler</a><br></dd>
79.74 -</dl>
79.75 -<hr>
79.76 -<small><a href="../../../../credits.html">Legal Notices</a>
79.77 -<table cellpadding="20" border="0">
79.78 -<tr><td> </td></tr>
79.79 -<tr><td> </td></tr>
79.80 -<tr><td> </td></tr>
79.81 -</table>
79.82 -
79.83 -</small></body></html>
80.1 --- a/visualweb.ravehelp.rave_nbpack/javahelp/org/netbeans/modules/visualweb/ravehelp/rave_nbpack/docs/web/create/tag/tld/tld_edit.html Wed Apr 15 11:45:24 2009 +0200
80.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
80.3 @@ -1,76 +0,0 @@
80.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
80.5 -<!--
80.6 - * Copyright � 2008 Sun Microsystems, Inc. All rights reserved.
80.7 -
80.8 - * Use is subject to license terms.
80.9 --->
80.10 -<html>
80.11 -<head>
80.12 -<meta http-equiv="content-type" content="text/html; charset=UTF-8">
80.13 -<meta name="lastupdated" content="9Jul07">
80.14 -<!-- p2 -->
80.15 -<title>Editing a Tag Library Descriptor</title>
80.16 -<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
80.17 -</head>
80.18 -<body>
80.19 -
80.20 -<h2>Editing a Tag Library Descriptor</h2>
80.21 -<p><small>
80.22 -<a href="#seealso">See Also</a>
80.23 -</small></p>
80.24 -<p>You can use the Source Editor to
80.25 -edit a tag library descriptor (TLD) file. </p>
80.26 -<p><b>To edit a TLD using the Source Editor:</b></p>
80.27 -<ol>
80.28 - <li>In the Projects window or Files window, double-click the TLD file's node. </li>
80.29 - <li>The TLD file opens in the Source Editor.</li>
80.30 - <li>In the Source Editor, edit the tag library discriptor by using the following main elements:</li>
80.31 -<ul>
80.32 - <li><b><short-name></b> Specifies a simple name that can be used by JSP page
80.33 - authoring tools to suggest a namespace prefix for using the tag library in
80.34 - a JSP page. The default is the <tt>.tld </tt>filename, without the <tt>.tld</tt>
80.35 - extension. </li>
80.36 - <li><b><display-name></b> Specifies a short name intended for display by tools.
80.37 - It does not need to be unique.</li>
80.38 - <li><b><tlib-version></b> Specifies the version of the tag library being
80.39 - created. The default is 1.0. </li>
80.40 - <li><b><uri></b> Specifies a public URI that uniquely identifies this version
80.41 - of the tag library. JSP files that use this tag library must use this
80.42 - value for the uri attribute in the taglib directive, unless there
80.43 - exists a jsp-config element in the web.xml file that maps a
80.44 - different URI to the tag library.</li>
80.45 - <li><b><icon></b> Specifies the name of a file containing a small (16 x
80.46 - 16) icon image for use by tools. The file name is a relative path within the
80.47 - tag library.</li>
80.48 - <li><b><description></b> Specifies descriptive information about the tag library.</li>
80.49 - <li><b><version></b> This is an attribute of the <b><taglib></b> element.
80.50 - It specifies the JSP version that the tag library requires.
80.51 - The default for J2SEE 1.3 is 1.2 and for J2SEE 1.4 is 2.0. </li>
80.52 -</ul>
80.53 -</ol>
80.54 -<p>For general information about tag libraries, see <i>JavaServer Pages Specification</i>
80.55 -available at
80.56 -<p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
80.57 - <param name="content" value="http://java.sun.com/products/jsp/download.html">
80.58 - <param name="text" value="<html><u>http://java.sun.com/products/jsp/download.html</u></html>">
80.59 - <param name="textFontSize" value="medium">
80.60 - <param name="textColor" value="blue">
80.61 -</object>
80.62 -.</p>
80.63 -
80.64 -<dl>
80.65 -<dt><a name="seealso">See Also</a></dt>
80.66 -<dd><a href="../about/about_taglib.html">About Tag Libraries</a></dd>
80.67 -<dd><a href="../taghandler/taghandler_create.html">Creating a Tag Handler</a></dd>
80.68 -</dl>
80.69 -
80.70 -
80.71 -<hr>
80.72 -<small><a href="../../../../credits.html">Legal Notices</a>
80.73 -<table cellpadding="20" border="0">
80.74 -<tr><td> </td></tr>
80.75 -<tr><td> </td></tr>
80.76 -<tr><td> </td></tr>
80.77 -</table>
80.78 -
80.79 -</small></body></html>