Jump to content
Sign in to follow this  
syida

Applet

Recommended Posts

I would like to know whether is it possible to download a

file from a server using an Applet. Can the Applet Sand box permits the applet

to write the file to disk ?

Can the same thing is possible by giving an permissions to

the Applet Sand Box.

please help me...

Share this post


Link to post
Share on other sites

Download file from a server using an applet? emmm...aku baru je lepas balaja java....tapi tak sentuh la plk pasal Applet for downloading purpose...cuma applet to shown in a webpage je...

Okey...shida..explain sket....relationship for applet nih....i mean..anything that have any relation with this applet function? ada guna JDBC ke? or JSP ke? explain k?

Share this post


Link to post
Share on other sites

I would like to know whether is it possible to download a

file from a server using an Applet.  Can the Applet Sand box permits the applet

to write the file to disk ?

Can the same thing is possible by giving an permissions to

the Applet Sand Box.

kalo la boleh applet java tulis ke harddisk, alamatnye tak secure la..bahaya..

explain k?

Share this post


Link to post
Share on other sites

ooo.. bahaya ek kalo guna applet nx dwload ke hardisk..

erm... macam mane nk terangkan ye... yg saya buat sblm ni just dr jsp hantar ke servlet... tp skrng dr applet lak.. saya pn takde idea nk buat macam mana.. tak perlu guna database just letak jer satu file.exe yang hendak di download kt page applet then dwload benda tu.. simple jer.. tp tak de idea nk buat (dlm bahasa ringkasnyer.. tak reti nk buat,hehehe)...

thank a lot...

Share this post


Link to post
Share on other sites

Maksud awak.....file ".exe" tue ada dalam applet or luar dari applet?

Share this post


Link to post
Share on other sites

yer... kalo dlm html biasa kte buat cam ni kan:

<a href="file.exe>download</a>

tp dlm applet boleh ker? kalo x boleh kenape ek? kalo bleh cm ner caranyer?

smile.gif thank...

Share this post


Link to post
Share on other sites

sat ek....

file .exe tue ada kat mana? dalam database server ke? or dalam web server?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...