here is my make1.xsp, getting error:
Method make_xsl() not found in class org.apache.cocoon.www.pages.make1_xsp.
<?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">
<xsp:structure>
<xsp:include>java.io.*</xsp:include>
</xsp:structure>
<xsp:logic>
public class make_xsl {
public void main (String[] args) throws IOException {
FileReader entree = new
FileReader(("http//:localhost/cocoon/test/make.xsl"));
FileWriter sortie = new FileWriter("output.txt");
int c;
while ( (c = entree.read()) != -1 )
sortie.write(c);
sortie.close();
entree.close();
}
}
</xsp:logic>
<page>
<xsp:expr>make_xsl()</xsp:expr>
</page>
</xsp:page>
If someone has an idea, I'm trying on java.
Cib
France, Bordeaux, xml and gay pride.
---------------------------------------------------------------------
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]>