In WebSphere Application Server 6.1, is it necessary to redeploy the application (WAR/EAR) every time a change is made to a web.xml de开发者_如何学Goscriptor file?
Depends on what you refer to by "a change is made to a web.xml
descriptor file".
If you made a change to the web.xml
file inside your IDE, then obviously this change has to somehow make it to the application server's world. Repackage your WAR file and deploy to WebSphere, for changes to take effect.
If you made a change to the web.xml
file inside WebSphere's internal directories (the installedApps
directory somewhere underneath the profile) - a practice I'd advise against - then a server restart would be sufficient for the changes to take effect. It goes without saying though, that your changes will disappear next time the application is deployed.
精彩评论