struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonidas Papadakis ...@creteonline.gr>
Subject Re: struts2 displaytag export , [.TableTag] Unable to reset response
Date Sun, 23 Sep 2007 16:25:09 GMT
That's ok,

i just had to change the order of the filters in my web.xml file and set 
the displaytag first...

Thanks

Leon

Leonidas Papadakis wrote:
> Greetings to all,
>
> i have been using displaytag to export data. In ww2 i had to enter in 
> my web.xml file :
>
>    <filter>
>        <filter-name>ResponseOverrideFilter</filter-name>
>        
> <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
>    </filter>
>
>    <filter-mapping>
>        <filter-name>ResponseOverrideFilter</filter-name>
>        <url-pattern>*.export</url-pattern>
>    </filter-mapping>
>
> and set the .export extension to webwork.
>
> I am trying to do the same in stuts2 but i get :
>
> 2007-09-23 19:02:54,015 [ERROR] [/app].[default] - Servlet.service() 
> for servlet default 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).
>
> Does anyone have any idea how to overcome this ?
>
> Thanks
>
> Leon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message