About physical path of the file

A

akhileshkokardekar

Hi all...

I want to create a java.io.FileInputStream using the path of the
properties file but i dont want to hard-code the physical path. How i
could generate this path at run time?

Waiting for your Response.....

Regards,
Akhilesh
 
A

Andrew Thompson

(e-mail address removed) wrote:
....
I want to create a java.io.FileInputStream using the path of the
properties file but i dont want to hard-code the physical path. How i
could generate this path at run time?

Put it on the application classpath and call
Class.getResource()
Waiting for your Response.....

Waiting for your check to clear.

Or to put that another, you can be impatient with
someone you are paying (assuming you are
paying them enough), but it does not go over
well, here.

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top