Previous Next vertical dots separating previous/next from contents/index/pdf

Step 1: Create a Web Application

In this step, you will create a simple "hello world" web application: a project and a JSP.

The tasks in this step are:

Start Workshop

If you haven't started Workshop yet, follow these steps: Start Workshop.

Create a New Workspace (Optional)

If you would like to execute the tutorial in a separate workspace follow these steps: Create a New Workspace.

Note: If you already have a workspace open, this will restart Workshop. Before beginning, you might want to launch help in standalone mode to avoid an interruption the restart could cause, then locate this topic in the new browser. See Using Help in a Standalone Mode for more information

Undeploy Previous Tutorial Code

WebLogic Server does not support the deployment of projects with the same name from two different locations on disk.

For this reason, anytime you deploy a sample or run through a tutorial, you should check your server for previous deployments of the same code. If your server already has a deployment of the sample or tutorial code, you should undeploy any previous code.

Create a New Project

The Eclipse IDE requires that all web application files be grouped into a project--a single top-level folder. Eclipse then generates metadata files and uses the project folder as a basis for building the web application and deploying it to a server. When projects are created, the features that the project will use (called facets) are specified so that the appropriate libraries and settings are added to the project.

Web applications that use JSPs are created in a Dynamic Web project.

  1. Select File > New > Project.
  2. In the New Project dialog select the node Web > Dynamic Web Project.
    Click Next.
  3. Enter the name of your project folder into the Project name field. The project is created by default in the current workspace.

    Click Next to continue.

  4. The next screen allows you to choose the features that will be used for this project. Note that the JSP Standard Tag Library (JSTL) is already selected by default.
  5. For the purposes of this tutorial, deselect the facet Beehive NetUI (if it is already selected).
    Click Finish.

     

 

Create a JSP File

To create a JSP file:

  1. Click File > New > JSP.

    Notice that the WebContent subfolder has already been selected as the parent folder for the JSP. Then fill in the file name in the File name field. Click Finish to create the JSP.

     

 

Click one of the following arrows to navigate through the tutorial:


Still need help? Post a question on the Workshop newsgroup.

 

Skip navigation bar   Back to Top