• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Applet settings in WSAD

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic