---
title: "websphere 上修改web.XML"
author: "wunda"
date: "2011-02-23T13:49:37Z"
tags: []
categories: ["Web前端"]
slug: "websphere-web-xml"
draft: false
lastmod: "2011-02-23T13:49:37Z"
id: 919333
url: "https://wunda.iteye.com/blog/919333"
---

WebSphere 5.1上如果要修改已经部署的应用的web.xml，单纯修改installedApps目录下的web.xml是没有作用的，还要修改WebSphere生成的另外一份缓存文件：

config/cells/cell_name/applications/ear_name/deployements/app_name/war_name/WEB-INF/web.xml

 

先停止应用，然后两个文件都修改掉，再启动应用即可生效