File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing with Servlets?

 
Mamta Murthy
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks,
Mamta M
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
-Mirko
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic