Solved

java applet security problem

Posted on 1999-01-07
9
197 Views
Last Modified: 2010-04-09
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?
0
Comment
Question by:mickeydog
  • 6
  • 3
9 Comments
 
LVL 1

Expert Comment

by:Smilly
ID: 1841457
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
 

Author Comment

by:mickeydog
ID: 1841458
it reads some txt files and displays jpg files
0
 
LVL 1

Accepted Solution

by:
Smilly earned 50 total points
ID: 1841459
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:mickeydog
ID: 1841460
it reads some txt files and displays jpg files
0
 

Author Comment

by:mickeydog
ID: 1841461
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
 

Author Comment

by:mickeydog
ID: 1841462
oh, btw, in english, "becouse" should be spelled "because"


0
 

Author Comment

by:mickeydog
ID: 1841463
oh, btw, in english, "becouse" should be spelled "because"


0
 
LVL 1

Expert Comment

by:Smilly
ID: 1841464
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
 

Author Comment

by:mickeydog
ID: 1841465
haha! _i_ am just too lazy to type the <shift> key when typing 'i'.



0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
edit .asp files 5 31
Alert after MVC form submitted 1 22
Responsive Font Size 6 29
I need help changing the colour of this image rollover please? 3 13
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question