Running the Application

Now you can run and test the application in the embedded browser.

To run and test the application:

  1. In the Project Explorer, right-click the login.jspx node and select Run As > Run on Server, as shown in Figure: Context Menu of Login File.

    Context Menu of Login File

    Context Menu of Login File
  2. In the Run On Server dialog, have the Choose an existing server option selected, as shown in Figure: Run On Server Dialog.

    Run On Server Dialog

    Run On Server Dialog

    Click Finish.

  3. WebLogic Server starts and the Console window opens reporting the loading steps, as shown in Figure: Console Window.

    Console Window

    Console Window
  4. The embedded browser launches and loads the login page, as shown in Figure: Embedded Browser.

    Embedded Browser

    Embedded Browser
  5. Enter a value for the Name and Password then click the Login button, as shown in Figure: Embedded Browser.

    Embedded Browser

    Embedded Browser
  6. The welcome page returns the username coming from the managed bean, as shown in Figure: Welcome Page.

    Welcome Page

    Welcome Page
  7. Close the embedded browser window.