# jsp:fallback Tag

You can use <jsp:fallback> tag as part of the <jsp:plugin> tag. Using <jsp:fallback> in any other context results in a compilation error.

The <jsp:fallback> tag indicates the content to be used by the client browser if the plugin cannot be started, either because OBJECT or EMBED is not supported by the client browser, or due to some other problem. If the plugin can start but the applet or JavaBeans component cannot be found or started, a plugin specific message will be presented. Usually the message is a popup window reporting a ClassNotFoundException.

For more information, see the topic about the jsp:plugin Tag.

## Syntax

<jsp:fallback>
{ Text message for user }
</jsp:fallback>

## Attributes

None.

## Example

    <jsp:plugin type=applet code=”Molecule.class” codebase=”/html” >
      <jsp:params>
        <jsp:param name=”molecule” value=”molecules/benzene.mol”/>
      </jsp:params>
      <jsp:fallback>
        <p> Unable to start plugin </p>
      </jsp:fallback>
    </jsp:plugin>

Related Topics

jsp:forward Tag

jsp:getProperty Tag

jsp:include Tag

jsp:param Tag

jsp:params Tag

jsp:plugin Tag

jsp:setProperty Tag

jsp:useBean Tag

JSP Tag Reference for Page Flows