[404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/ [message #826893] |
Thu, 22 March 2012 12:18  |
Eclipse User |
|
|
|
I'm trying to use a SWF player to embed flash movies. The player is
located in a directory registered as resource via
org.eclipse.equinox.http.registry.resources extension point, and I'm
accessing it from within a browser widget. When the browser content is
loaded, I get a 404 error displayed in Firebug (see screenshot).
It seems it is searched for the .swf file in
/rwt-resources/org.eclipse.swt.browser/ where the .html file contained
in the browser is located. Nevertheless, the URLs in this .html file
point to the location where the resources where registered, and if I
directly visit those URLs in firefox (or any other browser) the SWF
player is found, and even plays the video if I pass the flashvars as URL
params.
After manually copying the .swf player to
/rwt-resources/org.eclipse.swt.browser/ everything works fine for the
rest of the session.
So why is it expected at this location? Anything I'm doing wrong?
Please let me know if you need more information.
Thanks and Regards,
Werner
|
|
|
|
Re: [404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/ [message #830381 is a reply to message #826934] |
Tue, 27 March 2012 10:53  |
Eclipse User |
|
|
|
Am 22.03.2012 17:24, schrieb Werner Hihn:
Update: I just installed RAP 1.5 M6 (1.5.0.20120320-1638) and the
problem did no longer persist for FF 11.0 & Chrome 13.0.782.215.
It STILL persisted for IE9 & Opera 11.61.
As a workaround I'm now also registering the .swf file as a resource
(not only the root folder it is contained in). This somehow fixed the
problem for all browsers. Not sure why, but at least it works..
> Am 22.03.2012 17:18, schrieb Werner Hihn:
>
> btw, I'm working with RAP 1.5.0.20120131-1110
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03312 seconds