Working With Dreamweaver Files

The IDE enables you to work with .dwt files, Dreamweaver version 3.0 and earlier. You can:

Open and edit .dwt files in the Source Editor
Configure the IDE to open .dwt templates in an editor of your choice
Generate a JSP page from a .dwt template

Opening and Editing .dwt files in the Source Editor

You can open and edit .dwt files in the Source Editor by double-clicking the relevant .dwt file icon in the Explorer.

Configuring the IDE To Open .dwt files in an External Editor

To reconfigure the IDE to open .dwt files in the external editor of your choice:

  1. Click Tools and choose Options.
  2. In the left pane of the Options window, open the Editing node.
  3. Under the Editing node, click Dreamweaver Template.
  4. In the right pane, click the Editor field and choose External Editor from the combo box.
  5. Click the External Editor Executable field, and the ellipses (...).
  6. In the file browser that opens, navigate to and select your external editor executable and click Select.
  7. Close the Options window.

Generating a JSP Page From a .dwt Template

To generate a JSP page from a .dwt template:

  1. In the Explorer, select the .dwt file.
  2. From its contextual menu, choose Save Template as JSP.
  3. In the dialog box that appears, select the filesystem to which you want to save, type a name for the JSP page in the File Name field, and click OK.

The resulting JSP page has the same contents as the .dwt file.

See also
Creating a JSP or Servlet File
Compiling a JSP Source File
Executing JSP and Servlet Files

Legal Notices