Document Tree
Document Properties
Last Modified
Added to KB
Public Access
Doc Type
  • ICM 7.10
  • ICM 11
  • ICM 12
ISML Function - servlet()



Short Description

generates dynamic content via servlets

Table of Contents

Product Version


Product To Version


StatusNew Labels


It is sometimes desirable to generate dynamic content via servlets instead of pipelines. To do this, the ISML function servlet() is used.
It generates the part of an URL string that addresses Java application components that are downloaded, on demand, to the part of system that needs them. As with action(), the function servlet() is only used within url()and urlex().


Servlet(String servletName)
Servlet(String servletName, String serverGroupName)


The following example shows how to call the LineChart servlet, which generates a new URL with the requested servlet and the server group encoded.

<img src="#URL(Servlet('LineChart'),Parameter('title','Memory'), ...)#">

The servlet() function within the url()function returns the following URL:

http:// <webserver-host>:<port>/INTERSHOP/servlet/WFS/LineChart?title=Memory& ...

This URL contains the name of the servlet (LineChart) and the server group, e.g., WFS, which is also the default server group.
With the servlet mapping to LineChart, the Web Adapter can address the LineChart servlet in an application server that is part of the WFS server group.

Therefore, the Web Adapter uses this URL:

http:// <appserver-host>:<port>/servlet/LineChart?title=Memory& ...

Reference - ISML Functions

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to if you experience login issues,
or if you want to register as customer.