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.