This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Filter for logging

 
Pradeep Sahoo
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody provide me with sample code to use Servlet Filter Technology for logging every request received by my servlet as well as logging the response Stream.
The input request is in the form of an XML and same is the case with the output.
Thanks in advance
 
Ravi Kumar Ravuru
Ranch Hand
Posts: 176
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Pradeep,
I wish you to go through this tutorial regarding the servlet filters
<a href="
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html">Servlet Filters</a>.It will help you.
Ravi
 
Pradeep Sahoo
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ravi,
It helped a lot although there is no direct example of what I am looking for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic