The HTML5 file API looks promising but is not there yet. For local file
access we use Flash.

2011/6/30 khiem nguyen <khi...@googlemail.com>

> not sure if u can even do it with normal js (security)
>
>
> On Wed, Jun 29, 2011 at 11:05 PM, Kernel_panik <bertrand.cheval...@gmx.net
> > wrote:
>
>> Dear all,
>>
>> with help of JNSI, i'm trying to open a local file from a client GWT.
>> Here is my code:
>>
>> open("file:///D:/www/index.htm"); // to call the native function
>>
>> I tried as well open("D:/www/index.htm") or open("file:///D:\\www\
>> \index.htm") without success.
>>
>> /* the JNSI function */
>> public static native void open(String file) /*-{
>>          $wnd.open(file);
>> }-*/;
>>
>>
>> I presumably did not find the right combination because it's still not
>> working. Have you got an idea ?
>> Thank you for your help.
>>
>> Best Regards,
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>  --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 

GWT API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to