Exercises

1:Write a servlet that displays all the information sent by the browser to the servlet contained in the HttpServletRequest object. Log this data to a log file and ensure that the log file is saved when the servlet is unloaded.
2:Write a servlet with a service() method. See how both the requests, GET and POST, can be trapped here and switched as required.
3:Deploy a servlet without building the .jar file in the WebLogic Server in your application domain.

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days 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.