Getting Started Samples: Web Applications

This sample demonstrates a basic application that shows a basic web application that takes user input and returns a greeting. Instead of running this finished sample, you can create this application by running the tutorial Getting Started: Web Applications.

The sample application allows a user to enter his/her name and returns a greeting to that user. The application contains the following components:

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located at:

BEA_HOME\weblogic81\samples\platform\GettingStarted_WebApp_Sample\GettingStarted_WebApp_Sample.work

To Run the Sample

  1. Start WebLogic Server in the workshop domain.
  2. Open GettingStarted_WebApp_Sample\hello\HelloController.jpf and click the Start button.
  3. On the first web page, enter your name in the Name field and click the hello button.
  4. Wait for the web site to return the response is Hello, <your name>!
  5. Return to WebLogic Workshop and press the Stop button to close the Test Browser.

Related Topics

Tutorial: Page Flow