This page flow shows how to handle binary image data in a Page Flow and in a database control.
displaying BLOB database types on JSP pages
uploading image files from JSP pages and storing them as BLOB types in databases
In the SamplesApp, the sample is located at:
SamplesApp/WebApp/handlingData/binaryFlow/BinaryFlowController.jpf
On the local file system, the sample is located at:
BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebApp\handlingData\binaryFlow\BinaryFlowController.jpf
To Run the Sample
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
Launch the service either by opening it in WebLogic Workshop and clicking the Start button or by entering http://localhost:7001/WebApp/handlingData/binaryFlow/BinaryFlowController.jpf in the address bar of your browser. If WebLogic Server is running in the appropriate domain on this machine, you may click here to run the sample.
Upload image files (GIF, JPG, BMP) using the Insert button.