haiwan / Exporter

A Vaadin Add-on which exports data (in container) to an excel file
Other
8 stars 31 forks source link

Can't export from sub-context #2

Closed hesham-abboud closed 11 years ago

hesham-abboud commented 11 years ago

My application isn't pure Vaadin, so some are mapped to something else, and some for Vaadin

That's my web.xml:

default org.apache.catalina.servlets.DefaultServlet debug 1 listings true
<servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/log_in</url-pattern>
</servlet-mapping>
<servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/Styles/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/Images/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/Scripts/*</url-pattern>
</servlet-mapping>

<servlet>
    <servlet-name>EpaymentUI</servlet-name>
    <servlet-class>com.vaadin.server.VaadinServlet</servlet-class>
    <init-param>
        <description>Vaadin UI class to use</description>
        <param-name>UI</param-name>
        <param-value>com.gizasystems.stcepayment.ui.EpaymentUI</param-value>
    </init-param>
</servlet>
<servlet-mapping>
    <servlet-name>EpaymentUI</servlet-name>
    <url-pattern>/VAADIN/*</url-pattern>
</servlet-mapping>

now each time i call the exporter i always get this error:

com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN INFO: Requested resource [/VAADIN/APP/connector/1/42/dl/exported-excel.xls] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.

what should i do?