How do I set init parameters in the servlet engine?
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.
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.