I configured a servlet with load-on-startup 1, but the Servlet is still load when it is requested. I expected it to load when the container is started.
I verified it by debugging my example app using Eclipse and Tomcat.
I tried without "load-on-startup 1" and started my form.html with "Debug on Server." The debugger went into doPost after I clicked Submit on my form. Thats fine.
But with "load-on-startup 1" I expect the debugger to go into doPost right after I "Debug on Server" the form.html.
Is my expectation correct here?