我说错了。应该是二楼的兄弟讲对了的。我刚刚提到的那个,是是否自动展开war文件你看realoadable的解释reloadable Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for 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. You can use the Manager web application, however, to trigger reloads of deployed applications on demand.NOTE - The value for this property will be inherited from the reloadable attribute you set on the surrounding Context component, and any value you explicitly set here will be replaced.
from http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">确保
autoDeploy="true"
目前几乎WEB服务器都支持热部署
</Context>以上是我的tomcat5.5中,server.xml 中的项目配置
mypro是我的项目文件夹,你们看下哪里有不对的
是服务器的配置,还是项目web.xml中的配置....
conf\server.xml
修改它
而换成tomcat4.1,在5.5中的一切问题就自动OK了
事实说明,tomcat4.1比其以上的版本要隐定的多
这是我切身体验过的