Just write html in your doPost Servlet method
that have applet tags in them like Ramu said. For instance
I have the following out.println statements in one
of my servlets.
out.println("<HTML><HEAD><TITLE>");
out.println("MM5 GUI Applet");
out.println("</TITLE></HEAD><BODY
text=\"#000000\"bgcolor=\"#FFFFFF\"><CENTER>");
out.println(" <br><br><br><br> ");
out.println(" <applet codebase=\"" + appletCodebaseURL + "\"
code=APPLETPATH ");
out.println(" width=" + appletWidth + " height=" + appletHeight +
" >");
out.println("</applet>");
out.println("</CENTER></BODY></HTML>");
Hank
> anoop wrote:
>
> hi all,
> can somebody tell me what is the simplest way of calling an applet in
> a servlet.
>
> I have an applet with some map data (esri shape) and i wnat to display
> it
> when someone requests the url of my servlet.
>
> thanks in adv..
>
> anoop
--
--------------------------------------------
Hank Fisher Software Engineer
Research Applications Program
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000
email: [EMAIL PROTECTED] ph: 303-497-2817
--------------------------------------------
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html