I am trying to read a CSV file from a web application (Tomcat 5.5.x) and all I get is "FileNotFoundExceptions's:
dbStatement.executeQuery("SELECT * FROM CSVREAD('csvfile.csv');");
I donβt think I need / need to specify an absolute path (it will be deployed on a Linux / Tomcat server, which I will not have access to), and I'm not sure about the need for a file protocol ('jar: file', classpath: etc. .d.).
The file is in the section "** / WEB-INF / classes / csvfile.csv"
Any ideas on the structure of the path I need to pass to CSVREAD ()?
thanks
Rich
java sql database csv h2
Big rich
source share