This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Jatin sachdev wrote:where to place the text file (in netbeans) then if i want my program to read it???
A web application reads relative to the context root, which is defined in the WAR file. Usually, you can put it in the
web/WEB-INF/classes directory and it will be visibile. You still have to reference it as Bear describes
Joined: Jan 21, 2010
its running now......i have placed my properties file in classes/com and read it using...