jose chiramal wrote:--> where do cookies get stored ?
Not a Servlet issue. The browser is free to do as it pleases.
--> how does servlet ensure instance persistence ?
It doesn't.
--> I noticed that getattribute method is present only in ServletRequest , but not present in HttpServletrequest. Why so, any reason for the same
There's no such method. If you mean getAttribute(), then HttpServletRequest (not HttpServletrequest) inherits it.