Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts doubt

 
sri dande
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we have only one servlet called ActionServelet in struts.
so if u see this..generally servlets follow multithreaded model .
i.e only one instance and n number of threads will be created.
thats fine...
but why we are specifying that
<load-on-startup>3</load-on-startup>
which is going to create 3 servlet instances...

little bit confusing..
can u clarify me.plzzzzzzzzz

srinivas Dande
Independent Java Consultant
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That number is the loading priority, not the number of instances.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic