What is servlet preinitialization?

Answer Posted / sreekanth madamanchi

Servlet can loaded in servlet container of web or
application server at the time of first request sent to
that servlet.
If we want to preinitialized the servlet by using <load-on-
startup> tag(Aritten in web.xml). If we use that tag,
servlet is intialized at the time of server start.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are memory considerations of jsp compares to other web components?

6020


Explain the difference between object state and behavior?

570


What is ripple effect?

637


What is the argument type of a programs main() method?

567


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1564






Why are some of the class and element names counter-intuitive?

577


What are local interfaces? Describe.

704


What is the difference between a menuitem and a checkboxmenuitem?

590


How a component can be placed on Windows?

2269


How substring() method of string class create memory leaks?

552


What is a class loader?

591


What is a session? Can you share a session object between different theads?

558


What restrictions are placed on the values of each case of a switch statement?

541


What are transaction attributes?

616


Why do I get a duplicate name error when loading a jar file?

548