• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet settings in WSAD

 
Bindu Kantipudi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Rational Application Developer (same as WebSphere Studio or WSAD). I have a jsp in the WebContent folder of the war. I put a jar in that same folder that holds the applet class and all the helper classes. Here is how I am coding the applet:

i have tried the following things:

1.putting the .class file and .HTML file in the same folder in the folder structure of the application
2. .class file in its default folder with a absolute(which is not correct) as well as "relative path in the codebase" to the .html file
3. made all the possible conbinatins of code and codebase in the applet tag related to the path and the pacakage name of the .class file.
4.putting the .jar file of the .class file and .HTML file in the same folder and using the archive parameter.
5. putting the .jar file of the .class file in lib folder(which is like Web content->WEB-INF->lib ) absolute(which is not correct) as well as relative path in the archive to the .html file

When I run the jsp, I get the grey applet rectangle with the red X in the upper left corner. There are no errors in either the browser's console or in the server's logs.

Any help would be greatly appreciated.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "Smita"-

Welcome to JavaRanch.

On your way in, you may have missed that JavaRanch has a policy on screen names, and yours does not conform to it. We take this policy seriously, so please adjust it here.

Thanks, and enjoy your time here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic