日期:2014-05-19  浏览次数:20795 次

/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps
百度了一下/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps这个路径里面有%20这个东西造成路径问题,怎么让%20这个还原成空格

------解决方案--------------------
System.out.println(URLDecoder.decode("/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps"));