Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How Many Instances of Servlet  RSS feed

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks...

Can a Servlet that implements SingleThreadModel have multiple instances of the same servlet, regardless of whether the app is distributed or not...
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you want to know if you can write such a class and then declare multiple Servlets in web.xml that use that class. Have you tried doing just that? What was the result?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to post your questions in the appropriate forum. This question on servlets should have been posted in the Servlets forum. I have moved it there for you.
 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear...

I am extremely sorry..

I really though i was in Servlet Forum and made those two posts...

I was a bit careles..
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem. Just take a little more care in the future. And proof your posts after you submit them.

If you accidentally post in the wrong forum, any staff member will be glad to move the post for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!