博客
关于我
解决apache tomcat集群中sess…
阅读量:172 次
发布时间:2019-02-28

本文共 340 字,大约阅读时间需要 1 分钟。

在部署的tomcat集群下的web工程项目的web.xml中添加<distributable/>

可以使用distributable元素来告诉servlet/JSP容器,编写的应用将在分布式Web容器中部署:
<!ELEMENT distributable EMPTY>
例如,下面是一个含有distributable元素的部署描述符的例子:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
" ">
<web-app>
<distributable/>
</web-app>

转载地址:http://rhpj.baihongyu.com/

你可能感兴趣的文章
nginx学习笔记001---Nginx的启动、停止与重启
查看>>
nginx学习笔记002---Nginx代理配置_案例1_实现了对前端代码的方向代理_并且配置了后端api接口的访问地址
查看>>
nginx学习笔记003---Nginx代理配置_注意,在Windows中路径要用/
查看>>
Nginx学习笔记(一) Nginx架构
查看>>
nginx学习路线
查看>>
Nginx安装
查看>>
Nginx安装SSL模块 nginx: the “ssl” parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx
查看>>
nginx安装stream模块配置tcp/udp端口转发
查看>>