this happens in hosted mode and webmode (FF3.0.3)

On Oct 22, 7:00 pm, Martin Trummer <[EMAIL PROTECTED]> wrote:
> hi,
>
> I have an imageServlet that returns HttpServletResponse.SC_NOT_FOUND
> if it cannot find the requested image.
> On the client side I use an Image element with an attached
> LoadListener.
> But even when the servlet returns HttpServletResponse.SC_NOT_FOUND,
> the onLoad() method will be called and not the onError() method.
>
> What is my servlet expected to return, so that the onError() method
> will be invoked?
>
> note: I tried the same with an image file; that means: an URL to the
> servers file system (and not to my servlet)
> in this case it works as expected: when the image exists, onLoad() is
> called, when it doesn't exist onError() is called.
>
> cheers, martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to