[Laszlo-user] Form Posting With Empty Response

Henry Minsky henry.minsky at gmail.com
Fri Mar 10 23:34:42 EST 2006


What's wrong with having the servlet return some xml. Something like <foo/>
would be fine.


On 3/10/06, Ron Lancaster <doc at firelord.net> wrote:
>
> Hi All,
>
> I have a solo app that is posting form data to a servlet. The servlet
> is responding with status code of 200 and content length of zero. The
> Debug window is displaying "LzLoadQueue.serverlessOnDataHandler load
> failed from URL <snip>".
>
> I'm looking for an ondata event to fire even if the response content
> length is zero. The code from LZLoadQueue.as...
>         if (src == undefined) {
>                 _root.Debug.write("LzLoadQueue.serverlessOnDataHandlerload
> failed from URL '",this.url, "', no data received.");
>                 _root.Debug.write("Failure to load data in serverless apps
> may be caused by Flash player security policies.
>                 Check your data server crossdomain.xml file");
>
> ...indicates that the response is being checked but not response
> headers (presumably because the Flash player doesn't expose them).
>
> My use case is to call a servlet to perform work, then call a
> different servlet when that work is complete (to refresh the data
> onscreen). Any suggestions on how best to work around the above
> behavior (besides the obvious of returning some sort of XML response.
>
> Sincerely,
> Ron Lancaster
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>



--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20060310/e337081f/attachment-0001.html


More information about the Laszlo-user mailing list