Hi,

I have an very obscure case of caching in my application and find no way to
fix that. I generate the xsp-pages with an stylesheet from a database
generated XML. This XSP Page will generated though the serverpages generator
to a HTML page.

Unfortunately is the caching very obscure. When the XML has changed the
pages will sometimes updated and sometimes not. Additionally i can occur
that only one of this two pages will updated. 

I searched in the work directory for the generate-layout-data java and class
files but i could not find them.  I had  the same effect with xsp pages on
disc space after changing.

The Parameter cacheID was created to have 2 separate URI's. The DB URI is
different too. The Parameter modification-date in the HTTP Header for
deciding the caching case existent.

I use tomcat 4.1.18, 4.1.24, cocoon 2.0.4 and various OS. 

Is there any idea to stop that effect or is it better to ask in the
developers mailing list? 

Thanks cham

            <map:match
pattern="generate-layout-data-*((UserID=*)(cacheID=*))">
                <map:generate src="http://myDBhost/sendConfigXML"/>
                <map:serialize type="xml"/>
            </map:match>

            <map:match pattern="detail-*">
                <map:act type="request">
                    <map:parameter name="parameters" value="true"/>
                    <map:generate type="serverpages"
src="cocoon:/generate-detail-{../1}((UserID={UserID}))"/>
                    <map:serialize type="xml"/>
                </map:act>
            </map:match>
            <map:match pattern="generate-detail-*((UserID=*))">
                <map:generate
src="cocoon:/generate-layout-data-{1}((UserID={2})(cacheID=layout))">
                    <map:parameter name="verbose" value="false"/>
                </map:generate>
                <map:transform src="stylesheets/xsl/fields.xsl"/>
                <map:serialize type="xml"/>
            </map:match>
                <map:match pattern="table-*">
                <map:act type="request">
                    <map:parameter name="parameters" value="true"/>
                    <map:generate type="serverpages"
src="cocoon:/generate-table-{../1}((UserID={UserID}))"/>
                    <map:serialize type="xml"/>
                </map:act>
            </map:match>
                <map:match pattern="generate-table-*((UserID=*))">
            <map:generate
src="cocoon:/generate-layout-data-{1}((UserID={2})(cacheID=table))">
                    <map:parameter name="verbose" value="true"/>
                </map:generate>
                <map:transform src="stylesheets/xsl/table.xsl"/>
                <map:transform src="stylesheets/xsl/audi_html.xsl"/>
                <map:serialize type="xml"/>
            </map:match>
            
            

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to