Creating and editing Java Server Pages
To create a new JSP file:
- Choose File | New from template from the main menu.
- In the Create From Template wizard that appears, expand the node of the
JSP and Servlet
folder, selectJSP
and click Next.- In the next step of the wizard, choose the name and folder (package) of your JSP file and click Finish.
To edit a JSP file:
- Double-click on the file in the Explorer or Object Browser.
- Type your JSP code directly into the Editor window that appears.
To create a JSP with the JSP Wizard:
- Choose Tools | JSP Wizard from the main menu.
Note: There is a default set of abbreviations especially for Java Server Pages that you can use when editing JSP files. When you type one of the designated abbreviation and then enter a space, the abbreviation is expanded into a longer string. For a list of default abbreviations, see Default Editor Abbreviations. For information on changing or adding abbreviations, see Customizing Editor abbreviations.
Contents | Prev | Next | Index |