Cib,

I'd really appreciate it if you'd care to read me responses and don't
post the same question over and over.

If you change your code the code as indicated it compiles OK.

On 22.Sep.2001 -- 04:42 AM, cib wrote:
> <?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>
> class make_xsl {
              public void main(        ) throws IOException {
// before:    public void main(String[]) 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:logic>
>     make_xsl anObject = new make_xsl();
>     anObject.main();
> </xsp:logic>
> 
> 
> If you see this, it works.
> 
>   </page>
> </xsp:page>

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
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]>

Reply via email to