Hi:)
hmm.. so I tried all that was suggested.
the following was the simplest code that I figured would *definitely*
work. All the class files, including VDgraphS.class & graphApplet.class,
were in the same directory. But it still said that graphApplet could not
be loaded. And in the java console, it said that that class wasnt found.
Am I missing something?

public class VDgraphS extends HttpServlet
{
    public void doGet (HttpServletRequest request, HttpServletResponse
response)
    throws ServletException, IOException
    {
        PrintWriter out;
        String title = "hmmm...";

        response.setContentType("text/html");

        out = response.getWriter();

        out.println("<HTML><HEAD><TITLE>");
        out.println(title);
        out.println("</TITLE></HEAD><BODY><CENTER>");
        out.println("<applet codebase=\".\" code=\"graphApplet.class\" ");
        out.println(" width=400 height=400> ");
        out.println("</applet>");
        out.println("</CENTER></BODY></HTML>");
        out.close();
    }
}
~

Thanks,
   Sohaila :)

___________________________________________________________________________
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