davidnia1
09-29-2005, 11:27 PM
Hello,
I am using Java servlets as the glue between Laszlo and the Java back-end. Basically my Laszlo datasets map to servlet URLs which either generate XML data or do some action.
Well, I need to upload a file so I use LzBrowser.loadURL( "javascript:var a=window.open( url... )
From the window that opens I am able to upload the file and save the file in a hash table in the servlet. But when I try to read the value back from Laszlo I get a different hash map...it is as if the window that was opened started its own servlet session with the web container.
Is the servlet session the browser window (opened via javascript in Laszlo) has different from the connection Lazlo server has?
Thanks in advance.
I am using Java servlets as the glue between Laszlo and the Java back-end. Basically my Laszlo datasets map to servlet URLs which either generate XML data or do some action.
Well, I need to upload a file so I use LzBrowser.loadURL( "javascript:var a=window.open( url... )
From the window that opens I am able to upload the file and save the file in a hash table in the servlet. But when I try to read the value back from Laszlo I get a different hash map...it is as if the window that was opened started its own servlet session with the web container.
Is the servlet session the browser window (opened via javascript in Laszlo) has different from the connection Lazlo server has?
Thanks in advance.