cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Szpyrka" <>
Subject Generated XSP problem
Date Wed, 31 Oct 2001 15:45:50 GMT

Sorry for my poor english.

I have the problem. In my sitemap I have:

   <map:match pattern="test/*.xsp">
     <map:generate type="serverpages" src="test/{1}.xsp"/>
     <map:transform src="dynamic-page2html.xsl"/>
     <map:serialize type="html"/>

It work very good.

But if I replace it by

   <map:match pattern="_get_file_/**">
     <map:generate type="file" src="{1}"/>
     <map:serialize type="xml"/>

   <map:match pattern="test/*.xsp">
     <map:generate type="serverpages" src="cocoon:/_get_file_/test/{1}.xsp"/>
     <map:transform src="dynamic-page2html.xsl"/>
     <map:serialize type="html"/>

it every time (request) transforms xsp into java (cache does not work properly?) and next
into class. More over pattern "_get_file_/**" is matched (and executed ofcourse) THREE (3)

Why so strange construction? I have to make www service where XSP pages will be generated
(model, view, logic in my application are defineable). So "file" generator will be replaced
in future by my own generator and some transformators.

My cocoon version is 2.0rc1. Java version Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20001124
(JIT enabled: jitc)). Tomcat version 3.2.1.

Thank You.

Jacek Szpyrka 

To unsubscribe, e-mail:
For additional commands, email:

View raw message