This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet doubts continued

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
--> 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
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic