I have the same sthing in the web.xml and it works... What do you have in the jsp before the display:table ?
-----Message d'origine----- De : Giovanni Azua [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 octobre 2007 11:29 À : Struts Users Mailing List Objet : Re: Struts 2 + tiles + displaytag export = firefox hang or exception hi, I already had it like this ... I also tried removing the filer-mapping to JSP and having it like below but does not work either. The browser hangs (seems that the response is never sent back). web.xml ... <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>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> ... TIA, regards, Giovanni LEONARD Julien (Consulting for ACCOR Hotels) wrote: > Try this in your web.xml: > > <filter-mapping> > <filter-name>ResponseOverrideFilter</filter-name> > <url-pattern>*.action</url-pattern> > </filter-mapping> > > > -----Message d'origine----- > De : Giovanni Azua [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 octobre > 2007 11:09 À : Struts Users Mailing List Objet : Struts 2 + tiles + > displaytag export = firefox hang or exception > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This e-mail, any attachments and the information contained therein ("this > message") are confidential and intended solely for the use of the > addressee(s). If you have received this message in error please send it back > to the sender and delete it. Unauthorized publication, use, dissemination or > disclosure of this message, either in whole or in part is strictly prohibited. > ********************************************************************** > Ce message électronique et tous les fichiers joints ainsi que les > informations contenues dans ce message ( ci après "le message" ), sont > confidentiels et destinés exclusivement à l'usage de la personne à laquelle > ils sont adressés. Si vous avez reçu ce message par erreur, merci de le > renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, > totale ou partielle ou divulgation sous quelque forme que se soit non > expressément autorisées de ce message, sont interdites. > ********************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]