Hi here is the snipped from my sitemap: <map:match pattern="xsp/esql"> <map:generate type="serverpages" src="docs/samples/xsp/esql.xsp"/> <map:transform src="stylesheets/myown/default.html.xsl"> </map:transform> <map:serialize/> </map:match> I also attached my xsp file and the xsl for this. It would help me a lot to find out how to change caching options. thanx in advance daniel --- Torsten Curdt <[EMAIL PROTECTED]> schrieb: > Could you show us the corresponding sitemap snipped? > > AFAIK serverpages are not cached by default. > (had no problems myself with that...) > Changes in the xsp file result in a recompilation... > -- > Torsten > > > -----Original Message----- > > From: Daniel Pfuhl [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, June 19, 2001 12:18 PM > > To: User CocoonList > > Subject: C2: xsp caching > > > > > > Hello > > > > How can I turn off caching of my xsp-pages? in > > my current status of developing xsp-pages with > > esql i need no caching. I have to resart my > > tomcat everytime i change my xsp-file. otherwise > > my changes wan't be recognized. > > can somebody show me a workaround or is > > there an option to switch? ===== -------------------------------------------------------- Daniel Pfuhl mailto:[EMAIL PROTECTED] __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de
<?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" > <page> <title>A Database Driven XSP Page</title> <content> <esql:connection> <esql:driver>com.informix.jdbc.IfxDriver</esql:driver> <esql:dburl>jdbc:informix-sqli://server:port/media360:INFORMIXSERVER=ol_paprika</esql:dburl> <esql:username>user</esql:username> <esql:password>password</esql:password> <esql:execute-query> <esql:query>select assetid, name, datecreated, lastupdated, keywords, broadcastdate from mc_assetmaster, cr_dctvmeta</esql:query> <esql:results> <esql:row-results> <metadata> <id><esql:get-string column="assetid"/></id> <name><esql:get-string column="name"/></name> <create><esql:get-string column="datecreated"/></create> <upd><esql:get-string column="lastupdated"/></upd> <descr><esql:get-string column="keywords"/></descr> <broad><esql:get-string column="broadcastdate"/></broad> </metadata> </esql:row-results> </esql:results> </esql:execute-query> </esql:connection> </content> </page> </xsp:page>
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="page"> <html> <head> <title>myESQL-Page</title> </head> <style> body{ font-family: verdana; font-size: 10pt; font-weight: 900; color: #000066; } td{ font-size: 9pt; font-weight: normal; } </style> <body bgcolor="#A7C7DA" link="#0086b2" vlink="#00698c" alink="#743e75"> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="title"> <h3><xsl:apply-templates select="title"/></h3> </xsl:template> <xsl:template match="content"> <table cellpadding="3" cellspacing="2" border="0"> <tr> <td bgcolor="#808080"><font color="#FF9900"><b>AssetID</b></font></td> <td bgcolor="#808080"><font color="#FF9900"><b>Name</b></font></td> <td bgcolor="#808080"><font color="#FF9900"><b>Erzeugt</b></font></td> <td bgcolor="#808080"><font color="#FF9900"><b>Updated</b></font></td> <td bgcolor="#808080"><font color="#FF9900"><b>Freetext</b></font></td> <td bgcolor="#808080"><font color="#FF9900"><b>Broadcast</b></font></td> </tr> <xsl:apply-templates/> </table> </xsl:template> <xsl:template match="metadata"> <tr> <td> <b><xsl:apply-templates select="id"/></b> </td> <td> <xsl:apply-templates select="name"/> </td> <td> <i><xsl:apply-templates select="create"/></i> </td> <td> <i><xsl:apply-templates select="upd"/></i> </td> <td> <i><xsl:apply-templates select="descr"/></i> </td> <td> <i><xsl:apply-templates select="broad"/></i> </td> </tr> <tr> <td colspan="5" bgcolor="#808080"></td> </tr> </xsl:template> </xsl:stylesheet>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>