Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet chat

 
lakkapragada
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hey.......there is someone else with the
same last name on the ranch....hellooooo!
regds.
- satya
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you post the actual code snippet and the actual exception someone is more likely to be able to help you with this.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marius Holm
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
lakkapragada
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I'm getting the exception com.ms.Security.SecurityExceptionEx in IE.
Can anyone explain about this.
Regards,
RAMA KUMAR
------------------
 
Randall Twede
Ranch Hand
Posts: 4369
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is that free source code? does anyone have a url for it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic