File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes load on startup for 2servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "load on startup for 2servlets?" Watch "load on startup for 2servlets?" New topic
Author

load on startup for 2servlets?

praneeth ram
Ranch Hand

Joined: Sep 21, 2009
Posts: 60
Hi All,
I have one doubt please clarify it.
if i configured <load-on-startup>1</load-on-startup> for two servlets in web.xml which servlet will load first.
what will happens in this situation for these two servlets.

Thanks,
Praneeth Kumar
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 356
Servlets will load in order you declared in deployment descriptor.


Thanks,
Shailesh
praneeth ram
Ranch Hand

Joined: Sep 21, 2009
Posts: 60
Shailesh, i am very cleared with your reply. Really thank you for fast response.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load on startup for 2servlets?
 
Similar Threads
load-on-startup
Load On Startup
Why does JSP compilation take so long?
Loading two servlets at the startup?
Loading Data at app startup