Hi Friends,
I am seeing a problem with my servlet running in
Tomcat and I'm a bit baffled.
When I post a base64 encoded string that has a "+"
character in it from a client to my servlet (via
form post), the string becomes disjointed at "+"
character making it two strings. That is, the "+"
character gets replaced by a " ", which makes the
string two base64 encoded strings at the servlet
end.
I've had to do an ugly hack of scanning the base64
encoded string first to replace " " with "+" before
I can decode the original string properly in the
servlet. There's gotta be a better way!
Certainly, I'm missing something here. What is it,
Urlencode it? I thought that is implicitly done.
Thanks,
Jeng
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]