A dynamic Web project is used to contain the resources for a Web
application, including action classes, JSP files, Java files, static documents
(for example HTML pages or images), and any associated metadata.
Create a dynamic Web project for iSeries Web development- Click .
- Expand Web in the New Project wizard, select Dynamic
Web Project, and then click Next to open the New
Dynamic Web Project wizard.
- In the New Dynamic Web Project wizard:
- Enter a name for your project in the Name field and click the Show
Advanced button if the advanced settings are not already displayed.
- Ensure that the Add module to an EAR project check
box is selected.
- Check the values for Servlet version and Target server.
Note that the list of servers changes depending on the Servlet version selected.
- The EAR project is nameEAR.
For example, if the project name is myproj, the
EAR file name will be myprojEAR. You can change
the EAR file name or keep the default.
- Select the Add support for annotated Java classes check
box if you want to use annotation-based programming tags.
- Click Next to go to the Features Page.
- Under Web Project features, ensure that Struts, Default
style sheet (CSS file), and iSeries Web Components Tag Library are
selected.
- Click Next to go to the Select a Page Template
for the Web Site page.
- You can select a template for your project or click Next to
go to the Struts Settings page. Ensure that Create a Resource
Bundle is selected. If not, select the Override default
settings check box and then select Create a Resource
Bundle. You can change the resource bundle name if you do not
want to use the default name.
- Click Finish to create the project.
- Select Yes if the Confirm Perspective Switch message
appears to open your new project in the Web perspective.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.