Thursday, December 30, 2010

Re: Choosing a file in local directory

Ok, then how can i access a file in local directory, is there is any
other way to access or read and write a file? reply me please

On Dec 30, 3:38 pm, Didier Durand <durand.did...@gmail.com> wrote:
> Hi,
>
> GWT Java code gets converted to Javascript. Javascript then runs in
> the sandbox of your browser: you can't access the local file system
> because of this sandbox architecture.
>
> regards
> didier
>
> On Dec 30, 8:27 am, Rubini <rubinikuttyomku...@gmail.com> wrote:
>
>
>
>
>
>
>
> > jc <jc.chandru@...> writes:
>
> > > I check the fileupload widget, but it show only the filename correctly
> > > not full path.
> > > it show c:/fakepath/filename. I need to read and wirte a file in a
> > > local directory. Send me a
> > > sample code if you have.
>
> > > On Dec 28, 8:43 pm, Ben Imp <benlee...@...> wrote:
> > > > You would be looking for the FileUpload widget, which just wraps a
> > > > html file input element.
>
> > > > -Ben
>
> > > > On Dec 28, 2:15 am, jc <jc.chan...@...> wrote:
>
> > > > > Hi,
> > > > > i am new to GWT, but i know java. I am using GWT in Eclipse. for
> > > > > selecting a file in local directory in java, we use JFileChooser.
> > > > > but i don't know to select a file in a local directory in GWT. can any
> > > > > one help please.
>
> > Hi,
>
> > can anyone help me to read and write a file in a local directory . The file
> > Upload widget is by default having a text box. how to disable the text  box? .
> > In chrome the text box is not editable while in IE i am able to edit it. how to
> > disable the editing feature of file Upload-TxtBox  in various browsers
>
> > -Ruby

--
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