This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet chat" Watch "servlet chat" New topic
Author

servlet chat

lakkapragada
Greenhorn

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
RAMA KUMAR.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"lakkapragada",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . 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.
Thanks.

Read about me at frankcarver.me ~ 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!
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Cindy Glass
"The Hood"
Sheriff

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
Thomas,
What do you think of the behavior of IE that you describe? It sounds like a resonable security feature to me.
Thnx,
Marius
Sagar Surana
Greenhorn

Joined: Dec 23, 2000
Posts: 21

hi,
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
optimist


Sagar Surana<BR>optimist
lakkapragada
Greenhorn

Joined: Dec 13, 2000
Posts: 5
Hi
I'm getting the exception com.ms.Security.SecurityExceptionEx in IE.
Can anyone explain about this.
Regards,
RAMA KUMAR
------------------
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

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


SCJP
Visit my download page
 
wood burning stoves
 
subject: servlet chat
 
Similar Threads
JMF-RTP audio. please help.
Urgent help on Chat Program
Networked Programs that work across countries
Urgent help on Chat Program
rmic ( problem compiling!!!)