Reviews
WebSphere TutorialsWebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
In this tutorial you will learn about Web Development - Create resources in appropriate J2EE locations, Creating HTML files.
Creating HTML files
Follow these steps to create a new HTML file:
1. From the Web perspective, select File > New > HTML/XHTML File to launch the New HTML/XHTML File wizard.
2. Select the appropriate container for the file from the list of project folders (and subfolders). The folder that you choose should be under the Web Content folder of the Web project. If an HTML file that is included in a J2EE Web project is not stored under this folder, 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 Web Content folder.
3. Type a file name into the appropriate field.
4. Ensure that the appropriate HTML option is displayed in the Markup Language drop-down list.
5. Select the appropriate code generation model from the Model drop-down list. See the description directly below this field to determine which model to use.

6. Click Finish to create the file, or Next to provide additional encoding, DOCTYPE and style sheet information.
7. Select the appropriate encoding value to add to the file's HTML declaration from the Encoding list button. The default is the value set in the HTML Files preferences page, which is accessed by selecting Window > Preferences, and then expanding the Web and XML Files preferences. You may need to deselect the (Use workbench default) check box to select a new encoding attribute.
8. Ensure that the proper content type is selected in the Content Type drop-down list.
9. Select the HTML Document Type that you wish to associate with the HTML file. Depending on which Document Type that you select using the drop-down list, the corresponding Public ID, and, if appropriate, System ID will be displayed.
10. Optionally, specify a cascading style sheet (CSS) file to to be referenced by the new HTML file. Typically, CSS files are located in the theme folder under the Web Content folder.

11. Click Finish to create the file in the project that you have selected. The file will open in an HTML editor. The default is Page Designer, in the Design page.

_____________
Author: Mikalai Zaikin. Please Click Here to visit Authors site for any updates and changes to the study notes.
WebSphere Tutorials
- WebSphere V5.0 : Building Expressions
- WebSphere V5.0 : Creating SQL statements
- WebSphere V5.0 : Applying DDL scripts to a remote database
- WebSphere V5.0 : Deploying to the database
- WebSphere V5.0 : Defining a table
- WebSphere V5.0 : Defining a database
- Working with Data in WebSphere
- WebSphere V5.0 : Debugging - JSP debugging
- WebSphere V5.0 : Debugging - Scrapbook Page
- WebSphere V5.0 : Debugging - View variables
- WebSphere V5.0 : Debugging - Step-through code
- WebSphere V5.0 : Debugging - Set breakpoints
- WebSphere V5.0 : Running Applications - Export J2EE applications
- WebSphere V5.0 : Running Applications - Run/operate server
- WebSphere V5.0 : Running Applications - Understand Session Manager
- WebSphere V5.0 : Running Applications - Configure data sources
- WebSphere V5.0 : Running Applications - Create server instance and server configuration
- WebSphere V5.0 : Web Development - Use Web Page Wizards
- WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
- WebSphere V5.0 : Web Development - Use content assist
- WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
- WebSphere V5.0 : Web Development - Understand classpath and module dependencies
- WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
- WebSphere V5.0 : Web Development - Create a web project
- WebSphere V5.0 : Java Development - Use property dialogues
- WebSphere V5.0 : Java Development - Use hierarchy view
- WebSphere V5.0 : Java Development - Use task view
- WebSphere V5.0 : Java Development - Use search function
- WebSphere V5.0 : Java Development - Use content assist function and declarations
- WebSphere V5.0 : Java Development - Use refactoring features
- WebSphere V5.0 : Java Development - Use Outline View and Browsing View
- WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
- WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
- WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
- WebSphere V5.0 : Workbench Basics - Work with Perspectives
- WebSphere V5.0 : Workbench Basics - Set workbench preferences
- WebSphere V5.0 : Workbench Basics - Create J2EE projects







