This content has been marked as final.
Show 4 replies
-
1. Re: strange behaviour of excel export on IE
nickarls Jun 23, 2009 10:54 PM (in response to jmiguel77)Try using extensions filter so you get a .xls dl-link
-
2. Re: strange behaviour of excel export on IE
jmiguel77 Jun 25, 2009 9:10 PM (in response to jmiguel77)Hi, thanks for the response
Ok, an improvement. Now i get the filename.xls link not the seam-docstore.seam one, but when i try to open the file, i get the same connection error
any other ideas ???
-
3. Re: strange behaviour of excel export on IE
jmiguel77 Jun 25, 2009 9:14 PM (in response to jmiguel77)this is what i did, by the way:
web.xml:
<servlet>
<servlet-name>Document Store Servlet</servlet-name>
<servlet-class>org.jboss.seam.document.DocumentStoreServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Document Store Servlet</servlet-name>
<url-pattern>*.xls</url-pattern>
</servlet-mapping>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>seam-excel</param-value>
</context-param>
components.xml:
<components xmlns:document="http://jboss.com/products/seam/document"
xsi:schemaLocation="http://jboss.com/products/seam/excel http://jboss.com/products/seam/excel/excel-2.1.xsd http://jboss.com/products/seam/document http://jboss.com/products/seam/document-2.1.xsd">
<document:document-store use-extensions="true"/>
jboss-web.xml:
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
seam.jboss.org:loader=seam-excel
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
also, in the server/instance/lib, added: jboss-seam-excel.jar. jxl.jar
thanks -
4. Re: strange behaviour of excel export on IE
luxspes Jun 25, 2009 9:52 PM (in response to jmiguel77)When I have that kind of problem I use Fiddler to inspect the response and see if there is something wrong with it (for example by comparing it with the response of a system that is returning the excel files properly).