cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Vega <>
Subject Reloading pages
Date Wed, 25 Sep 2002 07:46:40 GMT
I'm doing a simple transformation of an xml file when an html file of the same 
name is requested and no html file already exists.  The site map entry is as 


<map:match pattern="**/*.htm**">
  <!-- HTML takes priority -->
  <map:act type="resource-exists">
      <map:parameter name="url" value="{1}/{2}.htm{3}"/>
      <map:read src="{../1}/{../2}.htm{../3}" />
  <!-- If the corresponding XML file exists, render it. -->
  <map:act type="resource-exists">
      <map:parameter name="url" value="{1}/{2}.xml"/>
      <map:generate src="{../1}/{../2}.xml"/>
      <map:transform src="context://stylesheets/xsl/page.xsl">
          <map:parameter name="base-url" value="{../1}"/>


If I start tomcat, request the page, change the xml file within tomcat, and
request the page again, the changs are not reflected.  It is only after I clear
the cache-dir directory and restart tomcat that the changes are reflected.  Is
this normal?  Is there a way to get the changes without shutting down tomcat? 

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message