Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

[SOLVED] Vaadin 6.3.0 problem

Romuald MAIRE
1 decade ago Apr 18, 2010 4:52pm
Artur Signell
1 decade ago Apr 19, 2010 9:38am
Romuald MAIRE
1 decade ago Apr 20, 2010 5:26pm

Thanks, it's really a problem and i can't find it !

I have many applications in a web server.

The server is like following :

+ www
     |-- Test
        |-- VAADIN
           |-- themes
           |-- widgetsets
        |-- WEB-INF
           |-- classes
           |-- lib
           |-- web.xml
     |-- Test2
        |-- VAADIN
           |-- themes
           |-- widgetsets
        |-- WEB-INF
           |-- classes
           |-- lib
           |-- web.xml

In this example i have 2 Vaadin applications named TEST and TEST2.

My web.xml file for one project TEST :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="ProResilTest" version="1.0">
        <display-name>ProResilTest</display-name>
        <context-param>
                <param-name>productionMode</param-name>
                <param-value>false</param-value>
                <description>ProResil production mode</description>
        </context-param>
        <servlet>
                <servlet-name>ProresilApplication</servlet-name>
                <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
                <init-param>
                        <param-name>application</param-name>
                        <param-value>com.proresil.views.ProresilApplication</param-value>
                        <description>Proresil application class to start</description>
                </init-param>
                <init-param>
                        <param-name>widgetset</param-name>
                        <param-value>com.vaadin.terminal.gwt.DefaultWidgetSet</param-value>
                        <description>Application widgetset</description>
                </init-param>
        </servlet>
        <servlet-mapping>
                <servlet-name>ProresilApplication</servlet-name>
                <url-pattern>/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
                <servlet-name>ProresilApplication</servlet-name>
                <url-pattern>/VAADIN/*</url-pattern>
        </servlet-mapping>
        <welcome-file-list>
                <welcome-file>index.html</welcome-file>
                <welcome-file>index.htm</welcome-file>
                <welcome-file>index.jsp</welcome-file>
                <welcome-file>default.html</welcome-file>
                <welcome-file>default.htm</welcome-file>
                <welcome-file>default.jsp</welcome-file>
        </welcome-file-list>
</web-app>

Thanks by advance for your help !!!

Last updated on Apr, 20th 2010
Ros Linda
8 years ago Feb 14, 2014 11:22pm
Aparna Kaza
7 years ago Jul 16, 2014 7:09am