• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filters use??

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranchers,

I'm now reading the chapter on Filters and can anyone here just briefly tell me the real time use of Filters??

Thanks in advance.
 
poorna prakash parvathala
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lets see this hypothetic situation,(for Post Filter)

where you have a report generating module and say N number of servlets are generation different reports and creating some XML data as a result.

now you can create one Filter which processes the resulting XML into HTML so you can present it to the browser.

and you can append that Filter to all the Servlets which are creating the reports.


as useful as that.
[ January 03, 2007: Message edited by: poorna prakash parvathala ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic