Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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: 64632
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