read a text file from application using relative path

Hai sir,

I am new to vaadin,
I am trying to create a folder and read a file using the relative path. When i am giving the relative path to create a folder name as “temp” but the folder is creating at “/home/alladi/temp” in this location is only creating.

I need to create a folder in that project location.

So can any one give the proper solution or related URL links to access the files through relative path.