I just can't accept that URLEncoder/URLDecoder needs to be used to pass variables in the request object. This variable isn't part of a URL, it's just a variable that's getting stored in the request object and sent to another JSP. Perhaps I'm missing something in the underlying HTTP protocol that's passing the request from one JSP to the next. ??? When I tried using the encoder classes, the resulting string was encoded, but the string had even more % and & characters in it than before.
Police line, do not cross. Well, this tiny ad can go through: