< Previous | Next >

Lesson 7: Running your Web site on a server

This lesson illustrates how to preview the Web site on a server.

When you are ready to publish your Web application, you need a server that will host the Web application so that users can access your Web site through the Internet.

Note: At any time during your Web site development, you can open a page in Page Designer and use the Preview tab to see how your design will look in a browser; however, the Preview view does not allow you to see the dynamic aspects of your page (such as database connections) as they would display running from a server.

You can now click through the skeleton of your site to see how the links work, and how the site will display once it is published to a Web server.

  1. Right-click the all_records.jsp file in the Project Explorer view.
  2. Select Run As > Run on Server. The Run on Server wizard appears.
  3. Select Choose an existing server.
  4. Ensure WebSphere Application Server 7.0 is selected in the Select the server type list.
  5. Click Finish.

The server tools start the server and open the page in a simulated Web browser. This may take a moment. In the Servers view, you can watch the messages as the server tools start the server, as shown here:

console graphic

< Previous | Next >

Feedback