hi,
no, he means that your servlet prints out html code that makes the browser display an applet.
to make the applet display values that a user send to your servlet, you can pass the values with:
<applet code="..." >
<param name="paraName" value="paraValue">
</applet>
 
if you want it the other way round (your servlet shall display values a user entered into your applet), your applet has to open an URLConnection to your servlet's URL, with URLConnection.getOutputStream() you can open an OutputStream to your servlet and write data to it.
 
hope this helps!
 
-mw
 
----- Original Message -----
From: anoop
Sent: Friday, November 09, 2001 10:43 AM
Subject: Re: AW: call Applet in servlet

u mean i can use the applet code just as any html code
in the servlet.
 
thank u.
anoop
----- Original Message -----
Sent: Friday, November 09, 2001 2:52 PM
Subject: AW: call Applet in servlet

you can embed the applet in the generated html-page
-----Urspr�ngliche Nachricht-----
Von: anoop [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 9. November 2001 10:30
An: [EMAIL PROTECTED]
Betreff: call Applet in servlet

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

Reply via email to