This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60810
    
  65

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
 
Similar Threads
What does -1 singnify in load-on-startup
How to store the newlines entered by enter key in textarea?
WA #1.....word association
Invoking methods present in jsp/servlet from another jsp/servlet
Forward from one servlet to another servlet!!