Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets thread safe?...  RSS feed

 
prashanth mallikarjun
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are servlets Thread safe?...
 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Just starting in JSP but as far as I can see a JSP page directive can declare a particular page to be ThreadSafe ( ie. simultaenously executable by two or more clients ) or not. A servlet is an application - like an applet - that can be called into any number of pages on any number of clients at the same time.
Hope that helps ( and hope its correct too )
Terry Doyle
 
goutam saha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Tread Safe implement blank interface SingleThreadModel
Goutam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!