|
|
FAQ汇萃
>> Tomcat
>> 如何在 SERVLET 引擎里设置 init 参数?
由 webmaster 发布于: 2001-01-30 10:02
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.
由 webmaster 发布于: 2001-01-30 10:03
Look for the resin.conf file in your Resin1.1/conf directory. It's a typical XML based configuration file that has sample of how to set servlet init and application parameters.
由 webmaster 发布于: 2001-01-30 10:03
Java Web Server : We can set the init parameter in JWS by specifying the initArgs property for the concerned servlet in HOME/properties/server/javawebserver/webpageservice directory.
|
资料来源: JSP001.com
|