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.
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
sharp shooter, and author
posted 13 years ago
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