aspose file tools*
The moose likes Struts and the fly likes Application resource file location ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Application resource file location ?" Watch "Application resource file location ?" New topic
Author

Application resource file location ?

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Is it required that the application resources file must be under WEB-INF/classes ?? Can i place it in someother lcoation and include that path in CLASSPATH environment variable ?

Thanks.
jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Re framing the question .

Can i place application resources file in anyfolder and then place the path in the "classpath" environment variable ? Or is it required that i should place it only under WEB-INF/classes.

I have been reading that we can place it only under WEB-INF/classes.

Thanks
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

What I know was, the application resource file MUST be in a classpath, so better you try putting the file in any directory and put that dir in CLASSPATH environment variable.

Try this and tell me too.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application resource file location ?
 
Similar Threads
Need to process a file using a native long running application
Handling and Filtering Log4J file
Dependency injection problem
Deployment Issue
Deployement Error -- Very Arjunt