Forums Register Login

Regarding Servlet ' Life

+Pie Number of slices to send: Send
I had few doubts...

1)When does the web container loades the servlet?I mean does it load when the web container is started or when the request comes for that particular servlet?



2)In which m/y is servlet loaded?I mean primary m/y or secondary one
+Pie Number of slices to send: Send
#1 - Generally when the servlet is first accessed, but this can be influenced with the <load-on-startup> tag in the web.xml file. The servlet specification says more about this.

#2 - What does "m/y" mean?
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 506 times.
Similar Threads
Servlet loading and servlet instacne
init() method in a Servlet's lifecycle.
Constructor of a Servlet ?
A servlet runs in a web-server??
Servlet Life
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:24:20.