File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Default file location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Default file location" Watch "Default file location" New topic

Default file location

Geoff Dinsdale

Joined: Jun 29, 2004
Posts: 4
I have a bean that is separated from my jsp's by an open source package, namely cewolf, which precludes me passing parameters. In that bean I want to be able to open a properties file in order to get my data storage, (either db or csv's). What directory should that properties file be put in?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

If you can't pass any parameters into your bean whatsoever, then how would placing the file in *any* location make it available inside that bean?

unless the bean already expects it in a certain location, so of course, you'd put it there.

What am I missing ?
I agree. Here's the link:
subject: Default file location
jQuery in Action, 3rd edition