read a file from sonicfs

Posted by gionnyDeep75 on 17-Sep-2010 07:10

hi all

i ve done a java custom service that try to read a properties file.

I have a filesource runtime parameters points to my properties file i.e: sonicfs:///workspace/myproject/properties/config.properties

I fetch my runtime parameters in this way:

String configFile =params.getParameter("config_file",XQConstants.PARAM_STRING);

but when I create a FileInputStream(configFile) , I got exception says : cannot find file  sonicfs:\workspace\myproject\properties\config.properties

Any idea?

Regards

All Replies

Posted by tsteinbo on 17-Sep-2010 11:41

See the thread javascript:; for an answer.

Thomas

This thread is closed