Please find attached a Servlet Demonstrating How different data can be extracted from the request and also some methods which can used on the response object
for setting status codes, cookies etc.
Please copy in the "com.sapient.web" package of your Web App.
Also register the Servlet in the web.xml and give at name and URL as per your preference, first make sure the servlet it running properly. And then go thru the code.
Warm Regards,
Vivek Mehta
No comments:
Post a Comment