W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1998

error in .jhtml

From: Shevlyakov A.S. <maks@ccssu.crimea.ua>
Date: Mon, 19 Oct 1998 05:42:55 -0400 (EDT)
Message-Id: <2.2.16.19981019124104.364f4836@ccssu.crimea.ua>
To: www-jigsaw@w3.org
Hi all!

Jigsaw is best bat I have a problem or i have not knowledge

test.jhtml

<html>
<head>
<title>Page Compilation Test</title>
</head>
<body>
<h1>Page Compilation Test</h1>
<java>
 out.println ("<p>Page Compilation test");
</java>
</body>
</html>

test.java

import java.io.*;
import org.w3c.jigsaw.pagecompile.*;
import org.w3c.jigsaw.http.*;
public class test extends GeneratedFrame  {

    protected void get(Request request,
                       Reply reply,
                       PageCompileOutputStream out)
        throws IOException
    {
        PageCompileFile _file = new
PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
        _file.writeBytes(0,102,out);

 out.println ("<p>Page Compilation test");
        _file.writeBytes(162,182,out);
    }
}

test.err

C:\Jigsaw\Jigsaw\compiledPage\test.java:11: Invalid escape character.
        PageCompileFile _file = new
PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
                                                       ^
C:\Jigsaw\Jigsaw\compiledPage\test.java:11: Invalid escape character.
        PageCompileFile _file = new
PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
                                                              ^
C:\Jigsaw\Jigsaw\compiledPage\test.java:11: Invalid escape character.
        PageCompileFile _file = new
PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
                                                                     ^
3 errors

under Windows 95
no comment... ;(
Shevlyakov Alexander
Received on Monday, 19 October 1998 07:25:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:28 GMT