GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Programming  >  Java

 Print  |  
Question:  i have problem with threads implementation in servlets
the problem is the servlets which uses instance variables
and if we pass request from two diff servers the o/p
generated is mis matching with each other.

i have also userd synchronized block but it is not working well
(servlet not implementing the single thread model )





April 04, 2006 08:16:31 #1
 Rajesh   Member Since: Visitor    Total Comments: N/A 

RE: i have problem with threads implementation in serv...
 
implement the interface called as javax.servlet.SingleThreadModel and doesn't have any abstract methods in it to implement
     

 

Back To Question