I have two applications: a client in flex and a server in Java. When I deploying the application inside flex builder with the tomcat server inside as well, everything works fine. But now I'm trying to deploy in apache tomcat outside the flex/eclipse builder and I have a problem.

I think the problem is with relative/absolute paths but I do not know how to resolve it.
In my Java application I have to access a database and a get a file from it. I use a properties to set a path where I want to download that files like this:

```
pacs.ruta=C:\\resources\\

```

And then I need to access to that file so in use this code:

`fin = new FileInputStream(pacsRuta+""+f.getName());`

where f.getName() gives me the name of the file so I get the path of the file with the path I set in pacs.ruta and the files name.
I do not know why it does not work. I tried to put 

```
pacs.ruta=/resources/

```

to associate with a folder in my application but It does not work.

Could someone give me an advice? Do you think it is the problem? Because the whole application works fine deploying in a tomcat server outside the flex/eclipse builder but when this code is called the application does not work.