你指的是work下面的文件吗?还是每次执行jsp文件时全部重新编译?

解决方案 »

  1.   

    <%
    response.setHeader("Pragma","No-cache");
    response.setHeader("Cache-Control","no-cache");
    response.setDateHeader("Expires", 0);
    %>
      

  2.   

    把work下面的文件 全删了 不就不用重其了吗
      

  3.   

    修改一下conf目录中的server.xml文件,在相应的
    <Context.../>中加上reloadable="true"
    例如:
    <Context path="/MyAPP" docBase="i:\MyAPP" debug="0" reloadable="true" crossContext="true"/> 
    i:\MyAPP是web应用程序的存放目录;
    MyAPP是访问前缀
    可以这样使用:http://localhost/MyAPP
      

  4.   

    不管用
    -------
    我一直用得好好的(tomcat4)
    听说tomcat5好像有问题,这我没试过