HOWTO: Install the Webapp Bindings into a J2EE webapp
Introduction
The Bamboo webapp bindings provides the LayoutServlet and the JSP taglib for applying Bamboo layouts to pages. This guide describes how to install the Bamboo webapp bindings into a webapp.
Suitable For
- Languages: J2EE
- Site types: all (public, internal / intranet, private)
Guide
-
Get the following JAR's from the distribution's lib directory
and add them to your webapp's WEB-INF/lib directory:
- x17_sft_curium_core_@meta.projekt.version.full.underscored@.jar
- x17_sft_curium_webapp_bindings_@meta.projekt.version.full.underscored@.jar
-
Also get the following JAR's from the distribution's
3rdparty directory and add them to your webapp's WEB-INF/lib
directory:
- log4j-1.2.11.jar
- If you are installing the Bamboo Webapp Bindings into a running webapp, you may need to reload the webapp or restart the servlet container for them to be loaded. Consult the documentation for your servlet container for details.
- Add the following <servlet>, and <servlet-mapping> elements to webapp's WEB-INF/web.xml file. Remember that ordering is important in web.xml.
<servlet> <servlet-name>LayoutServlet</servlet-name> <servlet-class>com.x1seven.curium.layoutservlet.LayoutServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>LayoutServlet</servlet-name> <url-pattern>*.layout</url-pattern> </servlet-mapping>
Note that the The JAR contains the *.tld file, so there's no need to declare it in web.xml.
See Also









