Sun Java System Web Server 7.0 Update 2 Developer's Guide

Embedding Servlets

Web Server supports the <servlet> tag. This tag enables 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=
<param name=
         param1 value=
<param name=
         param2 value=


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