posted 18 years ago
my question is, How to read the text file which is present in the web-inf folder (web project) using relative path? I can able to read the data using hard code path (Absolute path, c:\temp\...). I am not able to read the file using relative path. My java file is present in com.trave.wss.tfim.sso location and I have used ..//..//..//..//..// while declare text file location. In run time file not found exception is occurred because system not able to locate the text file. I am not sure where i am doing mistake.
Thanks in advance
Thanks and Regards
Chandra Mohan