Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem accessing initialization file on my website

  Asked By: John    Date: Sep 18    Category: Java    Views: 598
  

I have a jsp file which uses a javabean to access a text file (to
initialize parameters). The ini file name is config.ini

Now, the file is accessible when I run it on my local machine. But
when I upload on my site, which folder should I put it and what is
the style of giving the path name then?

my call to the file is like this:
String vPath = fileIO.getParameter("config.ini", "PATH");

It gives me the error that:
Could not find config.ini path/file.

What is wrong in it? Please guide me.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Problem accessing initialization file on my website Or get search suggestion and latest updates.