What is the difference between Trusted and Untrusted
Applet ?
Answers were Sorted based on User's Feedback
Answer / anu
Applets are divided into two categories: trusted and
untrused. Trusted applets are not subject to any security
restrictions and can therefore open connections to any host
at will; untrusted applets are subject to the security
restrictions described below.
When an applet is loaded a check is first made to see if an
applet by that name (the value of the CODE attribute in the
APPLET tag) exists in the classpath (if none was explicitly
set, then just the internal default classpath is used); if
so, the applet found in the classpath is loaded. Applets
loaded this way are considered trusted. If no applet by the
requested name is found in the classpath then it is loaded
from the location specified by the combination of urls used
to load the page containing the applet and in the CODEBASE
attribute. Applets loaded this way are considered untrusted
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / bharat v
Trusted applet provides security and Untrusted applet
dosen't provide any security.
| Is This Answer Correct ? | 2 Yes | 3 No |
what are the states associated in the thread? : Java thread
I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.
what is the significance of listiterator in java?
What are the types of strings?
What is the use of coding?
What is final method?
Difference between class#getinstance() and new operator ?
How to change the priority of thread or how to set the priority of thread?
Explain the concept of hashtables?
What is the difference between multiple processes and multiple threads?
what is singleton class in java?
What are different types of control structures?