Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

where are the .class after download

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi,

I know that the applet are download, and are execute in the client computer.

but when I acces diferent web pages in the internet whith applet, I try to found the .class of that applet but don't find any track.

I search in the Temporary Internet Files, but I don't find those classes.


do the classes are delete after theire excution?
 
You can find it on the net most of the time. When you open a page, load the source code. This source code will tell the computer which file to load and where it is. Thus when you look at the source code, take for example Sun's Java HangMan Applet:
The applet call is:
Code:
<applet codebase=&quot;classes&quot; code=&quot;Hangman.class&quot; width=300 height=150>
alt=&quot;Your browser understands the <APPLET> tag but isn't running the applet, for some reason.&quot;
Your browser is completely ignoring the <APPLET> tag!
</applet>

You can see the class file is in code = &quot;Hangman.class&quot;. But before that, you can see codebase=&quot;classes&quot; which tells the computer where to find it. Thus in this hangman example, the class file is in the classes folder. Thus to access this class file, you would use:

In most cases, you will find codebase = &quot;.&quot; which would mean it is in the current directory.

Hope this helps ya :)
 
hi whodaman,

sorry but you don't understand my question,

yes I know where to find it on the net.

my question is : is the .class file of the applet, loaded and executed in the memory of the computer client?

or loaded and saved in the hard disk of the computer client?
 
Applets are saved into client's pc and ran from there. I don't know which folders are they saved exactly into. Try doing a search on *.class

Hope this helps,
Leon If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best :)
 
hi,
thanks for all you answers, but I've tried a search for *.class, but without a succes.

why I don't now?
 
I'm not sure why you aren't finding them unless you aren't searching correctly. I went to a few applet sites and then searched my harddrives for *.class and found all of them in temporary internet folders. Use search from the start button and search your harddrives for *.class. On windows 98 they were in c:\windows\temporary internet files\content.IE5\<variable folder names>

Happy coding!

Charles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top