java applet security problem

i am trying to launch a java applet from an html file
i have created the applet, and it runs fine on its own
(in Visual Cafe).  But when try to run it from the html
file, i get the error:

Exception com.ms.security SecurityExceptionE... (can't see all of it)

the html file and java class file are in the same folder.

what is going wrong?
mickeydogAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
SmillyConnect With a Mentor Commented:
Okey, then its becouse you read som txt files, you cant read
a text file from an applet, as run in a browser, becouse the
browser will not alow it. It's a Security problem, becouse
when a client goes into your site, then he/she download your
applet, and it will then run local. So if you will load a file
from your machine, out to the clients mashine, then you have
to make a server application on your mashine, and make your
applet as a client applet.
So the client can get your txt files thrue the server
application.

I hope this will help you....Good luck.....
0
 
SmillyCommented:
What does your Applet do? This exception is a Security problem.
Do you try to read/write a file, connect to a DB, or make a
socket connection....???
0
 
mickeydogAuthor Commented:
it reads some txt files and displays jpg files
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
mickeydogAuthor Commented:
it reads some txt files and displays jpg files
0
 
mickeydogAuthor Commented:
if i have to create a server application and a client applet, would it be easier if i just created one application thats runs like i had intended the applet to run?

0
 
mickeydogAuthor Commented:
oh, btw, in english, "becouse" should be spelled "because"


0
 
mickeydogAuthor Commented:
oh, btw, in english, "becouse" should be spelled "because"


0
 
SmillyCommented:
Hehehe okey, Big mistake...Bec(a)use....Thanks, I'll remember that, oh btw. I, always spelled with a big I. Now we are even.

To your comment:
Okey, if you doesn't have to run thru a browser, then
there are no problems.....
But it's not a big thing to make client/server applications/
applets in java, you have all the classes, in your jdk.

0
 
mickeydogAuthor Commented:
haha! _i_ am just too lazy to type the <shift> key when typing 'i'.



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.