-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g
Next, we shall test the input form, which sends Ajax requests to the WebLogic server. Display the form with the URL http://localhost:7001/weblogic/input.jsp. URL pattern weblogic is included in the URL, as the context root of the WAR file is specified as weblogic in the application.xml file:

Start to specify a catalog id value. An Ajax request is sent to the server and a validation message "Catalog Id is Valid" gets displayed. For the validity of a catalog id, we have used just the business logic that a catalog id is not specified in the database, but other business logic may be added, such as regular expression matching.

An Ajax request is sent with each modification to the input field and a server response returned to indicate the validity of the catalog ID.

If a catalog id is specified that is already specified in the database, a server response indicates that the catalog id is not valid. For example, specify catalog id as catalog1. The validation message "Catalog...
Change the font size
Change margin width
Change background colour