We just installed display tag and started using it and we are currently facing problem in filter pattern (Export files)

 

All our response to the jsp thru Servlet and for export to work we added the below code and it works

<filter>

    <filter-name>ResponseOverrideFilter</filter-name>

    <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>

 </filter>

 

  <filter-mapping>

    <filter-name>ResponseOverrideFilter</filter-name>

    <url-pattern>GmInvoiceListServlet</url-pattern>

  </filter-mapping>

 

My Question

Is there a way to include all Servlet not specific server and we tried below option and its not working

  <filter-mapping>

    <filter-name>ResponseOverrideFilter</filter-name>

    <url-pattern>*Servlet</url-pattern>

  </filter-mapping>

  <filter-mapping>

 

    <filter-name>ResponseOverrideFilter</filter-name>

    <url-pattern>*Servlet*</url-pattern>

  </filter-mapping>

  <filter-mapping>

 

    <filter-name>ResponseOverrideFilter</filter-name>

    <url-pattern>/*Servlet*</url-pattern>

  </filter-mapping>

 

Help needed on the above

 

Thanks

Richard

 

 

 

Reply via email to