Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java.util.Properties Not Found During loading in Servlet/JSP Erro

 
praveen sharma
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i need your help .actually i wanna use property file which contains certain information such as database name/user name/host name/Password .

when i tried to use this file in servlet and Java Server Pages(jsp) i get error - FileNotFoundException /plus native method error i placed the property file(db.properties) into WEB-INF,classes folder and also in respect to WEB-INF folder to but i could not access the file in servlet or Jsp.

if anyone can help me please it will be a great help ......

Thanks
Praveen
 
Bert Bates
author
Sheriff
Posts: 8919
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let's move this over to the servlets forum
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!