This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Logging For My Website

 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Lisa Carter
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic