Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.displaytag.filter: Javadoc index of package org.displaytag.filter.


Package Samples:

org.displaytag.filter

Classes:

ResponseOverrideFilter: Allow the author of an included JSP page to reset the content type to something else (like a binary stream), and then write the new info back as the exclusive response, clearing the buffers of all previously added content. This filter allows TableTag users to perform exports from pages that are run as includes, such as from Struts or a jsp:include. If that is your intention, just add this Filter to your web.xml and map it to the appropriate requests, using something like: <filter> <filter-name>ResponseOverrideFilter</filter-name> <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class> ...
DisplayTagSpringInterceptor: Allow the author of an included JSP page to reset the content type to something else (like a binary stream), and then write the new info back as the exclusive response, clearing the buffers of all previously added content. This interceptor allows TableTag users to perform exports from pages that are run as includes, such as from Struts or a jsp:include. If that is your intention, just add this interceptor to your spring dispatcher context xml and map it to the appropriate requests, using something like: <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> ...
MockFilterSupport: Simulates the behaviour of a filter using a simple servlet. The servlet must be mapped to the "*.filtered" extension; request include this extension after the name of the tested jsp. Since servletunit doesn't support filter testing, we are passing the request to this servlet which calls the filter and then forward the request to the given path without ".filtered". Replaced by native filter support in ServletUnit 1.6.
BufferedResponseWrapper: Buffers the response; will not send anything directly through to the actual response. Note that this blocks the content-type from being set, you must set it manually in the response.
ExportDelegate: Actually writes out the content of the wrapped response. Used by the j2ee filter and the Spring interceptor implementations.
BufferedResponseWrapper13Impl: J2ee 1.3 implementation of BufferedResponseWrapper. Need to extend HttpServletResponseWrapper for Weblogic compatibility.
SimpleServletOutputStream: A simple implementation of ServletOutputStream which wraps a ByteArrayOutputStream.

Home | Contact Us | Privacy Policy | Terms of Service