Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Re: Struts 2 + tiles + displaytag export = firefox hang or exception

Yannick Haudry

2008-09-21


Author LoginPost Reply
Hi all,

This thread is almost one year old but I'm facing the exact same issue !
http://www.mail-archive.com/user@(protected)

Does anyone know how to solve it ?
Thanks
Yannick

On Wed, Oct 17, 2007 at 11:08 AM, Giovanni Azua <giaz@(protected):
> hi All,
>
> Anyone has ran into the situation above? solutions?
>
> I have the snippet below in my web.xml. I get no exceptions but firefox
> hangs. If I flip the order i.e. struts 2 filter first and then displaytag
> filter then I get an exception from displaytag complaining about the lack of
> the filter ...
>
> SEVERE: Servlet.service() for servlet jsp threw exception
> Exception: [.TableTag] Unable to reset response before returning exported
> data. You are not using an export filter. Be sure that no other jsp tags are
> used before display:table or refer to the displaytag documentation on how to
> configure the export filter (requires j2ee 1.3).
>  at org.displaytag.tags.TableTag.writeExport (TableTag.java:1438)
>  at org.displaytag.tags.TableTag.doExport (TableTag.java:1364)
>  at org.displaytag.tags.TableTag.doEndTag (TableTag.java:1215)
>
> My setup:
>
> displaytag 1.1.1
> struts 2.0.9
>
> TIA,
> regards,
> Giovanni
>
> <filter>
>  <filter-name>ResponseOverrideFilter</filter-name>
>  <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
> </filter>
>
> <filter>
>  <filter-name>struts2</filter-name>
>
> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
> </filter>
>
> <filter-mapping>
>  <filter-name>ResponseOverrideFilter</filter-name>
>  <url-pattern>*.action</url-pattern>
> </filter-mapping> <filter-mapping>
>  <filter-name>ResponseOverrideFilter</filter-name>
>  <url-pattern>*.jsp</url-pattern>
> </filter-mapping>
> <filter-mapping>
>  <filter-name>struts2</filter-name>
>  <url-pattern>/*</url-pattern>
> </filter-mapping>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.