• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Can't run/import a downloaded applet

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day!

I have downloaded an applet that can upload and download multiple files. However, after extracting it to a folder, I tried to import that folder in Eclipse but it is not possible. I want to test the applet's functions first before I incorporate it with my program which is in Struts Framework.

these are the contents of the extracted file:

folders:

*bin
- vault.cab
- com
- scand
-dialogs
(contains 8 .class files)
-folderdialog
(contains 5 .class files)
-treetable
(contains 12 .class files)
-vault
(contains 14 .class files)
- icons
(contains .gif files)
- ScandVaultApplet.osd

- vaultS (JAR)

*docs2
- com (folder)
- scand
-vault
- Firefox Documents (there are 4 of them)
- firefox documents (there are 10 of them)
- package-list (File)
- stylesheet (CSS)

*samples
-sample-download (Firefox Document)
- upload2.zip
- upload.jsp
- uploader.jsp


textfile:
*copyright

LEGEND : *the first files that you will see when you open the main folder

Thanks!
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of trying to run it from within Eclipse, I'd create a web page that references the applet within an applet tag, and include all classes in jar files that are listed in its archive attribute.
 
Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay! Thanks!
 
And then the flying monkeys attacked. My only defense was this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic