JSP Integration
Tag library to render Vaadin UIs in JSP-based views.
JSP Integration is a Vaadin 7 add-on that allows you to render Vaadin UIs in JSP pages.
Usage
Implement a new Vaadin UI by extending
com.vaadin.ui.UI
.Configure a new
VaadinServlet
in yourweb.xml
or by using the@WebServlet
annotation.Make sure you can access the Vaadin UI when running your application. This includes ignoring the URL mapped to the
VaadinServlet
in other Servlets or Filters (see the appfuse-vaadin-example application which integrates Spring, Hibernate, Struts2, and Vaadin).In your JSP file, add the tag library and use the
ui
tag to point to the URL mapped to theVaadinServlet
:<%@taglib prefix="vaadin" uri="/vaadin" %>
<vaadin:ui url="/myui"/>
Optionally specify a custom widgetset and a theme:
<vaadin:ui url="/myui"
widgetset="com.example.MyUiWidgetset"
theme="mytheme"/>
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2017-06-14
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.0+
- Vaadin 8.0+
- Browser
- N/A
JSP Integration - Vaadin Add-on Directory
Tag library to render Vaadin UIs in JSP-based views.Discussion Forum
Author Homepage
Issue Tracker
JSP Integration version 1.0
null
JSP Integration version 1.1
Fixed Maven scope of container-dependent dependencies (use `provided`).