Adding an External Location to the classpath using javacode
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   piyush_nahata
Posted On:   Monday, May 8, 2006 09:58 PM

Hi all, I want to add a few configuration files present under /ApplicationName/WEB-INF to my class path so that I can use a Resource loader to read these files. My current requirement, does not allow me to change the location of the files from /ApplicationName/WEB-INF to /ApplicationName/WEB-INF/classes. Is there any way that I can add this location to the classpath programatically using java code. Any Suggestion is highly appreciated. Thanks in advance, Regards, Piyush    More>>

Hi all,
I want to add a few configuration files present under
/ApplicationName/WEB-INF to my class path so that I can
use a Resource loader to read these files. My current
requirement, does not allow me to change the location of
the files from /ApplicationName/WEB-INF to
/ApplicationName/WEB-INF/classes.

Is there any way that I can add this location to the classpath programatically using
java code.



Any Suggestion is highly appreciated.



Thanks in advance,



Regards,


Piyush

   <<Less
About | Sitemap | Contact