aspose file tools*
The moose likes JSP and the fly likes filter out in JSP Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "filter out in JSP Page" Watch "filter out in JSP Page" New topic
Author

filter out in JSP Page

Pradeepta Bhattacharya
Greenhorn

Joined: Sep 07, 2001
Posts: 15
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

Joined: May 10, 2000
Posts: 1913
    
    6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: filter out in JSP Page