<jsp:fallback>

You can use the <jsp:fallback> action only in the body of a <jsp:plugin> action. Its body specifies the template text to use for browsers that do not support the HTML <embed> or <object> elements. This action supports no attributes.

Example:

<jsp:plugin type="applet" code="Clock2.class" 
  codebase="applet" 
  jreversion="1.2" width="160" height="150" >
  <jsp:fallback>
    Plug-in tag OBJECT or EMBED not supported by browser.
  </jsp:fallback>
</jsp:plugin>

Get JavaServer Pages Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.