O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required