aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
load-on-startup of servlet tag in DD
Struts Exception.......
Combining two different struts modules of a big application
Struts
Problem regarding Struts+Spring+hibernate