File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet chat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet chat" Watch "servlet chat" New topic

servlet chat


Joined: Dec 13, 2000
Posts: 5
On working out the examples given in the JAVA WEB SERVER docs, the Easy Chat program(EasyChatApplet & EasyChatServlet) is not working in IE by giving security exception.
But, the same is working in Netscape.
Could u let me know what i have to do to make the program run in IE also.
Please give feedback as early as possible.
Thanking u
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

hey.......there is someone else with the
same last name on the ranch....hellooooo!
- satya

Take a Minute, Donate an Hour, Change a Life
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
If you post the actual code snippet and the actual exception someone is more likely to be able to help you with this.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
IE is prone to security exceptions when used with applets. Are yoiu connecting back to the server where the applet was served from? If not, IE will always give you a security exception unless the applet has a security certificate.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Marius Holm
Ranch Hand

Joined: Sep 11, 2000
Posts: 84
What do you think of the behavior of IE that you describe? It sounds like a resonable security feature to me.
Sagar Surana

Joined: Dec 23, 2000
Posts: 21

u can do one thing if ur applet is not working in IE
make a jar file for the applet
using the jar command on the command prompt
e.g> jar cvf chat.jar Test.class Test1.class audio images
where Test.class & Test1.class are class files and audio and images are directories to be included
the reason is that applet file is loaded on the client side hence it is not secure to load directly any file on ur harddisk thru net it may cause havoc on the pc.
hence jar file analogous to zip file is used

Sagar Surana

Sagar Surana<BR>optimist

Joined: Dec 13, 2000
Posts: 5
I'm getting the exception in IE.
Can anyone explain about this.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

Is that free source code? does anyone have a url for it?

Visit my download page
I agree. Here's the link:
subject: servlet chat
jQuery in Action, 3rd edition