Sun Java System Web Server 6.1 SP11 Programmer's Guide

Embedding Servlets

Sun Java System Web Server 6.1 supports the <SERVLET> tag as introduced by Java Web Server. This tag allows you to embed servlet output in an SHTML file. No configuration changes are necessary to enable this behavior. If SSI and servlets are both enabled, the <SERVLET> tag is enabled.

The <SERVLET> tag syntax is slightly different from that of other SSI commands in that it resembles the <APPLET> tag syntax:

<servlet name=name code=code codebase=path iParam1=v1 iParam2=v2>
<param name=param1 value=v3>
<param name=param2 value=v4>

If the servlet is part of a web application, the code parameter is required and other parameters are ignored. The code parameter must include: