How do I set init parameters in the servlet engine?
Location: http://www.jguru.com/faq/view.jsp?EID=42541 Created: Apr 30, 2000 Modified: 2001-05-01 08:44:38.616 Author: Alex Chaffee (http://www.jguru.com/guru/viewbio.jsp?EID=3) Question originally posed by Ian Phillips (http://www.jguru.com/guru/viewbio.jsp?EID=38182 It depends on the servlet engine. Each has its own type of config file in which you can set the names and values of init parameters; these get passed to the servlets (or JSPs) via the getInitParameter() call. For Tomcat and JSWDK, edit the conf/web.xml file. See also this FAQ. Please add information about other servlet engines as feedback to this FAQ. See this FAQ for information on passing an init param to a JSP.