O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

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

Exercise

Using the JSP code shown in today's lesson, provide the register applicant functionality for the Web interface to the agency case study.

You will need to perform the following steps. Build and deploy your application as you complete each step.

1.
Add a createApplicant.jsp page with the alias /applicant/createApplicant to support the create applicant functionality on the agency.jsp page. Model your solution on the createCustomer.jsp page already provided.
2.
Using advertise.jsp as a guide, develop a Web page called register.jsp to handle client registration. The links to invoke this page from the agency.jsp portal page have already been provided.
3.
Add the ability to update the applicant details and code an updateApplicant.jsp 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