Forums Register Login

init() method

+Pie Number of slices to send: Send
Can a servlet be intialized without calling its init() method???
2
+Pie Number of slices to send: Send
That method is part of the official lifecycle, so it will be called. Your servlet is free, of course, not to do anything in it.
+Pie Number of slices to send: Send
Init is the part life cycle of servlet and if you not given also init it will automatically set the configuration for servlet intialization .............
+Pie Number of slices to send: Send
Welcome to JavaRanch Ravi
I guess I've been abducted by space aliens. So unprofessional. They tried to probe me with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 845 times.
Similar Threads
Init and Constructor
Final value in a Servlet
loading of static attributtes
init missing in servlet
Constructor inheritence
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:51:59.