How I get path from Textfield Upload

Hi, I would like to get path name from Textfield Upload. Help me please.


http://image.free.in.th/show.php?id=f75817d7f6be2a560b0d37dbbd830491

Sorry, I can not write English well. I am Thai people

Due to security reasons it’s not possible.

-Henri

I would like to read data from .dat. How to use other in this issue?

This is my code from java swing application.

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class ReadUTF8Data {

    private static final String FILE_ENCODE = "TIS-620";

    public static void main(String[] args) {
        String data = null;
        BufferedReader dataIns = null;
        String file = "c:\\Backup_DatabasePerson.dat";
        try {
            dataIns = new BufferedReader(new InputStreamReader(
                    new FileInputStream(file), FILE_ENCODE));

            while ((data = dataIns.readLine()) != null) {
                System.out.println(data);
            }
            dataIns.close();
            dataIns = null;
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

I use JFileChooser chooser = new JFileChooser(); in java swing. How to use this in vaadin

Take a look at
the Upload section
in the Book of Vaadin. It explains how to use Upload and provides an example. In short, you have to implement a few interface to be able to receive data from Upload.

Thank you so much Mr.Henri Kerala. I will try.