PDA

View Full Version : hello.jsp.lzx


vmalkani
07-13-2003, 04:01 PM
Hi,

Im trying to run the hello example on top of orion (2.0.2) j2ee server (in the lps-request-types.html documents). At first the server couldnt find the document. I then started to muck around and copied hello.jsp to hello.jsp.lzx and renamed the current hello.lzx to hello_old.lzx. In doing so i got the following error:

Error: hello.jsp.lzx:15:2: The markup in the document preceding the root element must be well-formed. ; compilation aborted

Does a dynamically generated lzx file work or is something that is planned to work. More than likely its something i've done wrong, any pointers?


Thanks,

Vinay

antun
07-14-2003, 01:58 PM
Hey Vinay

Sorry for the delay in replying.

Yes, the jsp.lzx files do work with the servlet containers that we have tested on:

http://www.laszlosystems.com/developers/download/#decore

Orion isn't one of them, so you would probably have to play with the servlet container settings to get it to work. We've often found this to be something that requires tweaking on new servlet containers.

More importantly, why are you trying to do this? If you use generated LZX, then your apps will have to recompile every time, which will result in slower server performance.

If you're trying to access session-related information, a better way to do it is to make the app request that over HTTP once it's loaded.

-Antun

vmalkani
07-14-2003, 05:37 PM
I was just playing with some of the features.

thanks,

vinay

antun
07-14-2003, 06:19 PM
The XML Editing demo:

http://www.laszlosystems.com/lps-v1/examples/animation.lzx?lzt=filter&filter=/LZViewer

... recompiles the app once you've edited it on the server.

-Antun