paul.barry
04-05-2004, 11:26 AM
I downloaded lps 2.1, works fine with tomcat as far as I can tell. I have resin 2.1 installed, I copies everything from the webapps/lps-2.1.1 directory into a resin app-dir. Everything still seems to be working ok, the welcome page loads all the menus, the tutorials and examples work fine.
So then I started to write my own code. I have a hello.lzx in the my-apps dir, it looks like this:
<canvas>
<text>Hello</text>
</canvas>
When I go to http://localhost/my-apps/hello.lzx, it seems to be working, but I get this compilation error:
hello.lzx:1:9: element "canvas" not allowed in this context. Check whether it is spelled correctly, and whether a class with this name exists
Even though I get this error, it prints the hello. As I try more examples, I get more similar errors, but as far as I can tell, things are working. Any idea what would cause this?
So then I started to write my own code. I have a hello.lzx in the my-apps dir, it looks like this:
<canvas>
<text>Hello</text>
</canvas>
When I go to http://localhost/my-apps/hello.lzx, it seems to be working, but I get this compilation error:
hello.lzx:1:9: element "canvas" not allowed in this context. Check whether it is spelled correctly, and whether a class with this name exists
Even though I get this error, it prints the hello. As I try more examples, I get more similar errors, but as far as I can tell, things are working. Any idea what would cause this?