File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet doubts continued Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet doubts continued" Watch "Servlet doubts continued" New topic
Author

Servlet doubts continued

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
--> where do cookies get stored ?

--> how does servlet ensure instance persistence ?

--> I noticed that getattribute method is present only in ServletRequest , but not present in HttpServletrequest. Why so, any reason for the same ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet doubts continued