~~NOTRANS~~ ~~Title: Deployment Descriptor (web.xml)~~ The following XML is a minimalist deployment descriptor for applications using Vaadin UI. Simple Application index.html index.jsp Vaadin production mode productionMode true VaadinUI com.sibvisions.rad.ui.vaadin.server.VaadinServlet UI com.sibvisions.rad.ui.vaadin.impl.VaadinUI widgetset com.sibvisions.rad.ui.vaadin.ext.ui.Widgetset main com.sibvisions.apps.simpleapp.SimpleApplication config /com/sibvisions/apps/simpleapp/application.xml VaadinUI /ui/* VaadinUI /VAADIN/* The application will be available via http://localhost/simpleapp/ui/. If your Vaadin application should be available in context-root (http://localhost/simpleapp/), simply change the servlet mapping to: VaadinUI /* === Additional Options === There are some useful options that can be controlled via init parameters: Push support (needs an application server with push support) VaadinUI com.sibvisions.rad.ui.vaadin.server.VaadinServlet ... pushmode automatic | manual mobileView true | falsee true Scale UI on mobile devices. This parameter adds to the default index.html page, rendered from Vaadin. mobileView true | false Use an external/additional CSS file. This is useful to override default CSS definitions without modifying the original Vaadin UI CSS file. externalCss ../simpleapp.css It's also possible to use resources from jar archives. Simply add: **jar!** as prefix. If you want to use the same UI after pressing reload in your web browser, simply set the following: preserveOnRefresh true | false UI redirection, e.g., from http://localhost/simpleapp/ to http://localhost/simpleapp/ui/ UIRedirector com.sibvisions.rad.ui.vaadin.server.UIRedirectorServlet redirectPath /ui/ UIRedirector /index.html == Only for Portlets == Use the following parameter to decide whether Vaadin libraries should be loaded from ROOT context (shared) or from application context. vaadin.shared true | false It's possible to change the static file location, e.g., if you redirect http requests via mod_proxy or similar: vaadin.staticFileLocationPrefix /cust == ProjX == We have some special features in ProjX. Use the following parameter to change the menu position. Application.Menu.position left | right It's possible to hide the whole menu or toolbar. Application.Menu.visible true | false Application.Menu.ToolBar.visible true | false \\ **Hint** It's also possible to use init parameters as URL parameter, e.g., http://localhost/simpleapp/ui/?Application.Menu.position=right .