No the applet runs on the client.


----- Original Message -----
From: "Ricardo Camilo Lopez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 13, 2000 2:33 PM
Subject: Servlet'ing and Applet


> Hi all,
>
> I found the silly mistake I was making.
>
> And, Yes!, You can generate and HTML containing an embedded Applet as
> you would if it were a JSP, or normally generated HTML page.
>
> Now my question is, I have heard that when you do that the Applet it
> run's on the server, is that true?
>
> I heard that in a context in which people where talking about an
> Application based on the Swing Library run in an Intranet, that was
> being servlet-ed.
>
> To which do performance implications affect the results?
>
> Thanks
>
> --------------------------------------------------------------------------
------------------------------
>
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
>
> public class IntroAppletServlet00 extends HttpServlet{
>  public void doGet(HttpServletRequest req, HttpServletResponse res)
>             throws ServletException, IOException{
>
>   res.setContentType("text/html");
>   PrintWriter out = res.getWriter();
>
>   out.println("<HTML>");
>   out.println(" <HEAD><TITLE>IntroAppletServlet00</TITLE></HEAD>");
>   out.println(" <BODY>");
>   out.println("  <APPLET CODE=IntroApplet00.class
> CODEBASE=http://localhost:8080/ WIDTH=800 HEIGHT=200>");
>   out.println("  </APPLET>");
>   out.println(" </BODY>");
>   out.println("</HTML>");
>  }
> }
> --------------------------------------------------------------------------
------------------------------
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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

Reply via email to