Results 1 to 3 of 3

Thread: Stop Tomcat from caching pages?

  1. #1

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935

    Stop Tomcat from caching pages?

    Every time I edit one of my JSP pages, I have to stop Tomcat, delete the "work" directory (its cache), and restart Tomcat to get the updated page.

    My site is the "rhhshn", so in "apps-rhhshn.xml" I have this:
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <webapps>
        <!-- Setting special properties for /rhhshn 
             ( as an example of overriding the defaults )
          -->
    
       <Context path="/rhhshn" 
                docBase="/rhhshn" 
                debug="0" 
    	    reloadable="true" > 
                  <LogSetter name="rhhshn_tc.log" path="logs/rhhshn.log" />
                  <LogSetter name="rhhshn_servlet_log" 
                             path="logs/servlet_rhhshn.log" 
    			 servletLogger="true"/>
      </Context>
    
    </webapps>
    How can I change this to stop caching?

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Don't know.

    It gets a bit tedious though doesn't it.


    bea WebLogic 6 works like a dream though
    Mark
    -------------------

  3. #3
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    Can't help you either but jetty (GPLd) also lets you change your jsp on the fly. For some reason servlets are a different matter--you do have to cycle jetty after recompiling a servlet.

    Cudabean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width