I am currently having problems loading an image in Tomcat 6.13.  I have a
file "a b.jpg" in upload folder and I want to have a link to go to it.

(1)  upload/a+b.jpg Here 
(2)  upload/a%20b.jpg Here 

Why does (2) work and not (1)?  Both '+' and "%20" represents spaces so
there's no reason why they can't work. The Java URLEncoder.encode() will
output (1), and my current framework of choice also output (1) but I can't
seem to come out with (1).  What libraries can you use to force (2) out? 
What's the problem?

-- 
View this message in context: 
http://www.nabble.com/Encoding-issue%3A-%2B-versus--20-tf3879033.html#a10992518
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to