This macro is bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

IncludeServlet Macro

Includes dynamic content such as Servlets or JSPs inside an XWiki page.

Usage

#includeServlet($url)

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
urlnoa stringnoneURL of the servlet or JSP page

Example

Let's say you have a legacy pagefooter that needs to be included in an XWiki page:

#includeServlet("/jsp/pagefooter.jsp")

For this to work a jsp servlet must be correctly declared and configured in XWiki's web.xml file.

Version 4.1 last modified by VincentMassol on 19/06/2008 at 22:07

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: LuisArias on 2007/04/08 13:59
This wiki is licensed under a Creative Commons license
1.4.1.10194