This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Swing with Servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Swing with Servlets?" Watch "Swing with Servlets?" New topic

Swing with Servlets?

Mamta Murthy

Joined: Dec 11, 2000
Posts: 12
Hi All,
I want to call a Swing applet from a Servlet. But it is giving a ClassNotFoundError for javax.swing.JApplet. I did check the classpath a number of times but there doesn't seem to be any problem with it. Also the Swing applet works fine when invoked independently through the browser. It's only when I try yo call it thru the servlet that I get this problem.
Can anybody help please?
Mamta M
Mirko Froehlich
Ranch Hand

Joined: Aug 21, 2000
Posts: 114
Why exactly are you trying to call an applet from a servlet? As long as you have the right version of Java (i.e. Java 2) on your server, you should be able to instantiate a Swing applet, but I really don't understand why you would want to do this.
Consider Paul's rocket mass heater.
subject: Swing with Servlets?
Similar Threads
Applet running in Tomcat
Probelm in applet/servlet communication
My java swing application can not visible on linux
Can Applet compete with RIA client, such as Flex and GWT?
Servlet- applets communication in jbuilderX