How to place a static index HTML or JSP page in Vaadin Maven project

Hello,

How to place a static index HTML/JSP page in Vaadin Maven project ? Like to show a static message on very first loading of the application

Hi,

I’m not using this but you can achive this by configuring it in your web.xml:
create a folder for your JSP pages in ./src/main/webapp folder and setup each JSP file in your web.xml.
eg.:
./src/main/webapp/jsp/index.jsp

./src/main/webapp/WEB-INF/web.xml:

    <jsp-config>
        <jsp-property-group><url-pattern>/jsp/index.jsp</url-pattern></jsp-property-group>
    </jsp-config>

    <security-constraint>
        <display-name>welcome jsp pages</display-name>
        <web-resource-collection>
            <web-resource-name>welcome page</web-resource-name>
            <url-pattern>/jsp/index.jsp</url-pattern>
        </web-resource-collection>
    </security-constraint>

  <welcome-file-list>  
     <welcome-file>jsp/index.jsp</welcome-file>  
  </welcome-file-list>