Lyubomir ,
I don't have an answer to your question :-(.
Does your chat work on port 80 with a firewall? If so, does it use Java RMI for applet-servlet communication?
I'm trying to implement something similar and am wondering if the java RMI on port 80 is effective for firewalls.
Sieg
Lyubomir Pashov <[EMAIL PROTECTED]> wrote:
Hello,
I'm doing a Java chat project. Briefly – the client's part sends and receives messages (to and from other clients) through the servlet's part (of the project) (and the Servlet's doPost(...) method is used for this).
I have the following problem: when a user's message (sentence) contains characters “~” and “&”, the other user receives only a part from the message – restricted to the first occurrence of these characters.
If the massage contains “%” then other user receives nothing.
Also there is problem with the “+”.
So I think I must encode (or encrypt) the message thus so to exclude this characters from the message, and when the message is received, to decode (decrypt) it. But, how should I make it?
Can anybody show me a code snipped to solve this problem?
And... any suggestions are appreciated.
Thanks,
Lyubomir.
____________________ _______________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now