Hi, All,
I am trying to write a servlet filter to change the response content on
Tomcat 5.5.x. I am a newbie to servlet filter, so I searched online for
couple examples to start. For example, I found this one:
http://download.oracle.com/docs/cd/A97688_16/generic.903/a97680/filters.htm.
This example is quoted in couple sites. It is just simply add some text
before and after original response. But this example does not work in Tomcat
5.5.x. When it is used to filter JSP page, the final response in the browser
lost the whole original response. Does anyone know the reason? If possible,
where can I find some general guideline to write servlet filter correctly in
Tomcat?

thanks,
Ben

Reply via email to