Handling Complex Java Objects Sample

This sample shows you how to pre-populate and submit a user input form containing a complex (non-primitive) Java object.

Concepts Demonstrated by this Sample

Location of Sample Files

In the SamplesApp, the sample is located at:

SamplesApp/WebApp/handlingData/complexFormBean/complexFormBeanController.jpf

On the local file system, the sample is located at:

BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebApp\handlingData\complexFormBean\complexFormBeanController.jpf

How to Run the Sample

  1. Start WebLogic Server in the Workshop domain.

    • On Microsoft Windows systems, run

      BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.cmd

    • On Linux or Solaris systems, run:

      BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh

  2. Launch the service either by opening it in WebLogic Workshop and clicking the Start button or by entering http://localhost:7001/WebApp/handlingData/complexFormBean/complexFormBeanController.jpf in the address bar of your browser. If WebLogic Server is running in the Workshop domain on this machine, you may click here to run the sample.

Related Topics