• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to make servlet handle request independently for all users  RSS feed

 
Bharat Dave
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is this possible?

Here is the servlet page.



 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not use instance variables in a servlet. Use the request, session or application scopes as appropriate. For something that is user-specific that needs to persist across requests, the session is the appropriate scope.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!