File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Problem in Logging For My Website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Problem in Logging For My Website" Watch "Problem in Logging For My Website" New topic
Author

Problem in Logging For My Website

ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

I have a problem for logging as for jeeping the applicationContext.xml file. I am using the MethodInterceptor for logging by intercepting each call to every method. I have to keep the applicationContext.xml file in "c:\". If i keep the file in my website path then it does not work. It throws "FileNotFoundException". I want to know how to use the file from web application path.

Regards,
Ujjwal B Soni
(+919898954428)


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Lisa Carter
Greenhorn

Joined: May 29, 2003
Posts: 25
You define where the applicationContext.xml file is located in the web.xml file. Check this file to see where you've told the application to look for the file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Logging For My Website
 
Similar Threads
Context [/HibernateTest] startup failed due to previous errors
Class PathXml ApplicationContext
log4j: right path for the log file
Path issue in glassfish 3.1.1 for applicationContext.xml (Spring framework)
How to define relative path in side java program for the following project structure?