Create JSP files

JSP files are used to generate web pages that use the generated J2C Java™ bean. You use a wizard to generate the JSP files or web service for your project.

About this task

If you have been following these steps sequentially, your project is displayed in the Project Explorer pane.

Procedure

  1. From the IBM® Rational® Application Developer for WebSphere® Software menu bar, select File > New > Other. The Select a wizard page opens.
    The Select a wizard page
  2. Expand the J2C folder and select the Web Page, Web Service, or EJB from J2C Java Bean wizard and click Next. The J2C Java bean selection page opens.
    J2C Java bean selection page.
  3. Click Browse and select your project. The Find J2C Java Bean page opens.
  4. In the Select entries field, as you start to enter the name of the J2C Java bean you created, the Matching items pane finds the J2C Java bean with the same name.
  5. Click OK and then click Next. The Deployment Information page opens.
    The Deployment Information page
  6. Click one of the following choices and click Next:
    Option Description
    Faces JSP The Faces JSP resource type simplifies building user interfaces. This option uses component libraries and allows drag and drop composition of web pages.
    Simple JSP The simple JSP resource type generates JSP files that do not require a sophisticated user interface.
    Web Service The web service resource type generates a web service.
  7. Click New to create a new web project or web service, or Browse to select an existing web project name. Specify the name for the folder to place the generated JSP files.
  8. Click Next and then click Finish.

Feedback