cancel
Showing results for 
Search instead for 
Did you mean: 

Applet in J2EE Web Application

0 Kudos

Hello,

I have an applet in my J2EE Web Application.  This html page which contains this applet refers to a jar archive. When I try to view the applet, the browser says that it can not find the applet class file. So I am assuming that it cannot find the jar. My jar file is located in the webContent directory under the same directory where the html page is located. Please need help ASAP.

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Chirs,

did you declare the classes in the web descriptors? This is at least the direction I can give to you.

Regards,

Benny

0 Kudos

Hi Benny,

Can you elaborate more on what you mean?  Which web descriptor? Plus, all the classes are located in a jar file. So how do I incorporate the jar file into the web descriptor.

Regards,

Chris

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Well, usually code is declared somewhere in the descriptors. But I looked into  your problem a little deeper and found out about applets.

Did you try with a class? Does this work?

What does the tag you're using to call that applet look like?

Does the stuff run on other webservers?

Additionally the server is not generally meant as a web server. Jar files are declared in the mime types, so it should be possible to declare them and transmitt.

Oh yes, the version of your server is interesting too.

Regards,

Benny

0 Kudos

Hello Benny,

Actually I solved my problem.  The solution was very simple. I didn't have a Java plugin with my browser. Once I activated the Java plugin to the browser, the applet worked. But thanks for your help.

Regards,

Chris