This page flow sample shows several ways to perform validation of data entered on input forms.
Client-side validation using JavaScript and <netui*:*> tag event attributes like onBlur and onClick.
In the SamplesApp, the validation samples start in the following location:
SamplesApp/WebApp/struts/validation/Controller.jpf
On the local file system, the samples are located at:
<BEA_HOME>\weblogic81\samples\workshop\SamplesApp\WebApp\struts\validation\Controller.jpf
To Run the Samples
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 selecting the Start operation or by entering http://localhost:7001/WebApp/struts/validation/Controller.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.
@jpf:validation-error-forward Annotation