We tried installing the java1.2.2 plugin to run swing stuff from the
browsers.. but the linux one wasnt compliant with out glibc, and the
windows one doesnt want to work, that's why we thought servlets would help
avoid needing the plugins for the browsers.. Am I wrong in assuming this?
Do we still need the java1.2.2 plugin for the swing libraries if running
the applet through a servlet. Hmm or are there any other possibilities as
to how to make a swing application platform independant while being viewed
over the internet?
thanks :)
Sohaila
On Thu, 8 Jun 2000, Nic Ferrier wrote:
> >>> Sohaila Roberts <[EMAIL PROTECTED]> 08-Jun-00 4:30:45 PM
> >>>
>
> >All the class files, including VDgraphS.class &
> >graphApplet.class, were in the same directory.
>
> And what directory was that?
>
> Was it the same one as the servlet? I don't think so since the
> servlet will be served from it's own namespace.
>
> Try putting the applet classes in a directory under your web document
> root, eg:
>
> /docroot
> /applet
> class1.class
> etc...
>
> then have the servlet send this:
>
> out.println("<HTML><HEAD><TITLE>");
> out.println(title);
> out.println("</TITLE></HEAD><BODY><CENTER>");
> out.println("<applet codebase=\"/applet/\"
> code=\"graphApplet.class\" ");
> out.println(" width=400 height=400> ");
> out.println("</applet>");
> out.println("</CENTER></BODY></HTML>");
>
>
> >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?
>
> Are you the person using Swing in their applet? If so are you sure
> the browser is running Swing ok?
>
>
> Nic Ferrier
>
> ___________________________________________________________________________
> 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