This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts doubt
 
Similar Threads
Combining two different struts modules of a big application
load-on-startup of servlet tag in DD
Problem regarding Struts+Spring+hibernate
Struts Exception.......
Struts