Apache Tomcat Configuration Reference
2013-12-28 11:14
453 查看
原文地址:点击打开链接
Apache Tomcat Configuration Reference
All implementations of Context support the following attributes:cookies:Set to
trueif you want cookies to be used for session identifier
communication if supported by the client (this is the default). Set to
falseif you want to disable the use of cookies for session identifier communication, and rely only on URL rewriting by the application.
在client端支持的情况下,如果你想将cookie作为session的连接验证,设置为true。如果你不想将cookie作为session的连接验证,设置为false,并且只能通过应用程序来重写URL。
wrapperClass:Java class name of the
org.apache.catalina.Wrapperimplementation class
that will be used for servlets managed by this Context. If not specified, a standard default value will be used.
名为org.apache.catalina.Wrapper的Java实现类将被Context用于servlets的管理,如果不指定,一个标准的默认值将被使用。
override:Set
to
trueto have explicit settings in this Context element override any corresponding settings in either the global or Host default
contexts. By default, settings from a default context will be used.
设置为true会明确指定Context中的元素会重写在全局或者Host的默认context中的设置。默认使用context中的默认设置。
reloadable:Set
to
trueif you want Catalina to monitor classes in
/WEB-INF/classes/and
/WEB-INF/libfor
changes, and automatically reload the web application if a change is detected. This feature is very useful during application development, but it requires significant runtime overhead and is not recommended for use on deployed production applications. That's
why the default setting for this attribute is false. You can use the Manager web
application, however, to trigger reloads of deployed applications on demand.
如果你想让Catalina监视
/WEB-INF/classes/和
/WEB-INF/lib中类的变化,设置为true,如果检测到变化,它会自动加载web程序。这个特性在应用程序开发时非常有用,但是它在运行时需要较大的开销,所以不建议在部署应用程序时使用。这就是为什么默认设置为false。但是,你可以按照部署应用程序时的要求使用Manager web application来出发reload属性。
相关文章推荐
- Tomcat 启动报错The APR based Apache Tomcat Native l...
- 蜗牛—web之Tomcat OutOfMemoryError:PermGen space问题
- 配置好tomcat后,tcnative-1.dll的文件地址应该放的目录
- eclipse 中的 tomcat 运行时会跳转到方法 processWorkerExit()
- Tomcat开机自动启动
- eclipse配置外部tomcat需要注意的问题。(怎样让request.getSession().getServletContext().getRealPath("/")得到正确的路径结果)
- Tomcat配置连接池
- tomcat源码研究:tomcat自动重载改变的类
- Tomcat部署项目(JEECG)时报错处理
- Apache+Tomcat集群配置
- Apache负载均衡+Tomcat集群
- 解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- jsp tomcat6.0开发部署
- tomcat创建一个windows服务
- 查看Tomcat版本
- 查看Tomcat版本
- 查看Tomcat版本
- 查看Tomcat版本
- 解决在eclipse中配置Tomcat时,出现"Cannot create a server using the selected type"的错误
- 黑马程序员 Java练习-自定义图形化界面模拟浏览器访问Tomcat服务器