kuubajz
Feb 8th, 2006, 07:04 AM
Hi all,
I have little problem. I need to access resources (any_files.xml), located in .../tomcat/webapps/MyApplication/*. Now I am using classloader to load resources placed in MyApplication/WEB-INF/classes/config/. I need some object which works with ServletContext, but I can't still find anything suitable for me. I need to write (anywhere in code) something like: ContextUtils.getServletContext()
Can anyone help me?
Thank you, James
I have little problem. I need to access resources (any_files.xml), located in .../tomcat/webapps/MyApplication/*. Now I am using classloader to load resources placed in MyApplication/WEB-INF/classes/config/. I need some object which works with ServletContext, but I can't still find anything suitable for me. I need to write (anywhere in code) something like: ContextUtils.getServletContext()
Can anyone help me?
Thank you, James