| Author |
Struts doubt
|
sri dande
Greenhorn
Joined: Jul 26, 2005
Posts: 3
|
|
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
Joined: Feb 05, 2003
Posts: 4727
|
|
|
That number is the loading priority, not the number of instances.
|
A good workman is known by his tools.
|
 |
 |
|
|
subject: Struts doubt
|
|
|