Sunday, November 28, 2010

Re: Client File IO

Hi,

Are you sure that you need to change the picture also ? The Same
Origin Policy in the browser doesn't apply to <img> tags.

regards
didier

On Nov 28, 9:50 pm, khalid <khalid....@gmail.com> wrote:
> Hello every one
> I am working on a web-based proxy using GWT (similar to php proxy)
> anyway , the idea is quite simple
> Get the URL from the user , make the server fetch it , change the
> HTML  and send it back to the client
> Now I have encountered a problem which is how to send the images back
> to the client?
> I have thought of two possible ways:
> 1-Store them in the server and change their src to MyURL/img.xxx
> 2-Send them back to the client
> The first option will over load the server (I think?!)
> The second option is not possible because as far as I know it is not
> possible to do File IO in the client side , or is it?
> I need your help
> Thank you very much
> ps: I think I will get a similar problem with flash , (e.g. flash
> videos in youtube)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment