• Post Reply Bookmark Topic Watch Topic
  • New Topic

<load-on-startup>  RSS feed

 
Neeraj Vij
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For below given configuration in web.xml, servlets will be loaded in the following order -

1.)SystemServlet
2.)AuthServlet
3.)LoginServlet


please correct me if I am wrong.



Thanks,
Neeraj.


 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What else could possibly make sense?
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

yes you are right.... You can give any positive integer value to load servlet and they choose according to number value....



load first than any other servlet which have grater than 1 value.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!