Dear All: I just want to know how to serialize my page to file. When the first user request the page, the webserver generate a html file, and the file is saved into disk, so other user request the page, there will be a static page.
I use this method <map:match pattern="jsp/*.htm*"> <map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp{2}"/> <map:transform src="stylesheets/page/simple-page2html.xsl"/> <map:serialize type="html"/> </map:match> but this had not generate html file to disk, but just to user. If I change the <map:serialize type="html"/> to <map:serialize type="file"/> there will be a error, because the file serialize is not defined. Any one knows? Thank you! Bob Wang Bob Wang wrote: >Dear All: > > I want to know how to make cocoon save the generated html file? >Anyone knows? Thank you! > > Bob Wang > > >--------------------------------------------------------------------- >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]> > Try serialize your page to file Regards. Yury. --------------------------------------------------------------------- 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]>