The following are from http://www.javaranch.com/ubb/Forum7/HTML/006663.html The typical deployment of a servlet involves which of the following: a) The servlet's class file is placed in one of the directories in the CLASSPATH of the Servlet Engine b) The servlet is serialized and placed in the root directory of the Servlet Engine. c) The servlet must be registered with the Servlet Engine before it can be found by a URL used in a web browser. d) The Servlet Engine must be stopped and then restarted before the new servlet can be loaded. My question is why c is correct? There is no such rule in the specs that a servlet must be registered with the Servlet Engine before it can be found by a URL used in a web browser.
Peter den Haan
posted 15 years ago
Well, you do have to provide a servlet entry and a URL mapping in web.xml. I guess that qualifies as "registered". - Peter
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads