• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Filter for logging

 
Pradeep Sahoo
Ranch Hand
Posts: 46
  • 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
  • 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
  • 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