Jsp plugin


Prev Tutorial Next Tutorial

Jsp plugin

<jsp:plugIn> action tag is given for integrating a jsp page with an applet.

When use <jsp:plugIn> tag

When a jsp wants to display response in a graphics format in a browser, then a jsp page will integrates with an applet. given for integrating a jsp page with an applet we use <jsp:plugin> tag. In applet class, we have a method called paint(). In this method we can create output in graphical format using methods of Graphics class.

Example

<jsp:plugin type="applet" code="classsname" width="200" height="200">
<jsp:params>
<jsp:param ----------/>
<jsp:param------------/>
</jsp:params>
<jsp:fallback>Alternate Message</jsp:fallback>
</jsp:plugin>

Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements