Help coderanch get a
new server
by contributing to the fundraiser
    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

Problem getting applet in WSAD

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

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.
 
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Smita,
I think this is more of an applets question than a tool question. I noticed you already posted there, so I'll close this thread for you. In the future, please don't cross post the same question in multiple forums.

And welcome to JavaRanch!
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic