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

filter out in JSP Page

 
Pradeepta Bhattacharya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement that i need a filter in the out (JspPrintWriter) which is implicitly available to the JSP page which will gather the data that is been sent thru the JSP Page to the clients stream. Can anyone kindly suggest .. probably with some small code snippets or example as to how to achieve this .. i need it urgently
Thanks in advance
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it the content that you are writing to the out variable (JspWriter) that you are trying to filter? If so, take a look at custom tags, and the BodyTag interface in particular as this provides you with a way to filter content written to the output stream before being sent to the client.
Simon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic