NewUser.jsp Example

This example builds a JSP page that implements programmatic access to the WebLogic Server realm. This JSP page includes a Web form that has three text fields and three submit buttons (see Figure 12-14).

Figure 12-14. User Registration Form

The JSP page processes the submitted values. If all three spaces are filled in, and the Create User button is clicked, then a new user is created and logged into the system. The Create Group button enables the user to create a new group in the caching realm. Finally, the Delete User button deletes the account of the user whose name is entered in the Username field.

To begin creating this page, ...

Get J2EE™ Applications and BEA™ WebLogic Server™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.