About this task
Each typed data field must define its required syntactic validation
in the dsetype.xml file.
You can also use the validation process in
the startup sequence by passing data through the request to the CSEstablishSessionServlet.
The startup operation may define its typed data elements with the same validators.
For
an example of how data field validation works on a data field with the "Amount"
data type, see the following in the HTML Sample Application:
- accountTransferData.amount data field in accountTransferOp.xml
- Amount type in dsetype.xml
- com.ibm.btt.poc.util.AmountValidator class
- <dse:text dataName="amount" error="yes" size="10" maxLength="10"/> in
transfer.jsp
- <dse:error dataName="amount"/> in transfer.jsp