java 斜杠转义问题

当我把一段  路径字符串  替换到前台接受的时候   字符串中的 \  消失了web 例如   apache-tomcat-8.5.27\webapps\bgb\imgPath    apache  \    消失不见tomcat 解决方法:将字符串中的"\"替换成"\\"app 例如:webapp String pic_Path=" apache-tomcat-8.5.27\webapps\bg
相关文章
相关标签/搜索