I am using Spring MVC + JDBC to make a web-app, and i've created a DAO Class to handle queries. My problem is this: I have this really big query, and I would like to keep it in a .txt file and read the query inside the DAO, but I keep getting java.io.FileNotFoundException
. Where should I put my .txt with my queries?
I've tried to store it in the same class as the DAO, but it didn`t work.
I`m a complete beginner when it comes to use Spring MVC, and I have installed the SprigSource Tool Suite, so everything is pre-configured.
Can someone help me with this issue?
Thank you!
Cesar Vargas