About the JSP Editor |
The JSP Editor shows you the JavaServerTM Pages (JSP) code generated by the IDE for the page you are editing in the Visual Designer. You open the editor by clicking the JSP Source tab at the bottom of the Visual Designer window. You do not usually need to use this editor to edit the JSP source code, because the IDE manages the source code for you as you add components to pages, edit components' properties, and use the added components' pop-up menus to bind components to data sources and other components.
The editor is similar to the Java code editor described in About the Java Editor and has features like syntax coloring, a toolbar, and margin glyphs that indicate information about each line of code.
The JSP code is in XHTML format, and follows standard JSP conventions for the XML representation of a JSP page. The code uses the JavaServer Faces tag libraries to declare components, event handlers, validators, and so on. In addition, there are expressions written in the JavaServer Faces expression language (JSF EL). These expressions are used by components to access JavaBeans objects in the page bean, the session bean, and the application bean, and any other JavaBeans objects in the application, such as Enterprise JavaBeans objects.
For more information on JSF EL, see JavaServer Faces Expression Language.
| Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. |