Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Creating HTML and XHTML files and framesets

You can use the New HTML File wizard to create HTML and XHTML files and framesets.

  1. Create a static or a dynamic Web project if you have not already done so.
  2. In the Project Explorer, expand your project and right click on your WebContent folder or on a subfolder under WebContent. Note that if you choose any other folder in which to create the HTML file, then it will not be included in the WAR file that is deployed to the server. In addition, link validation will not encompass files that are not under the WebContent folder.
  3. From the context menu, select New > Other > Web > HTML . The New HTML Page window appears with your folder selected
  4. Type a file name into the File name field, making sure you include an html extension (html, htm, xhtml, htpl, wml, shtml, or shtm) in the file name.
  5. You have several options for proceeding:
    • To accept the defaults associated with a new HTML file, select Finish.
    • To use a template file for the initial content of your HTML page, select Next. The Select HTML Template window appears. Select the Use HTML Template check box, and then select one of the sample templates. You can also select the HTML Templates link to add or remove HTML templates to your list of templates.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire