Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set init parameters in the servlet engine?

engine init parameters servlet
0
Posted

How do I set init parameters in the servlet engine?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123