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

Reply via email to