Creating a JSP File

See Also

JSP files are created and managed in the IDE in much the same way as other file types.

To create a JSP file:

  1. From the Projects window or Files window, right-click the project's node and choose New > Other from the pop-up menu.
  2. Under Categories, select Web. Under File Types, select JSP. Click Next.
  3. Type the name of your JSP. Do not include a filename extension as this is added automatically when the file is created.
  4. Click Browse to select a folder to house your JSP file. By default, the JSP file is created in the web subfolder.
  5. Select the type of JSP file that you want to create:
  6. (Optional) Click the Create as a JSP Segment checkbox. A segment is a file that contains a fragment of JSP text for inclusion by standard JSP pages and JSP documents. JSP segments typically use the .jspf extension.
  7. Click Finish. The IDE opens the JSP file for editing in the Source Editor.
See also
About Web Applications
About JavaServer Pages Technology
About JSP Syntax
About JSP Character Encoding
Editing a JSP or HTML File

Legal Notices