wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts doubt" Watch "Struts doubt" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts doubt