java.net.URLEncoder.encode("aaaaaaa\\'aaaa\\/");
看行不行呀?
看行不行呀?
解决方案 »
- ext文件上传,struts2中action取得upload.parseRequest(request)为空
- 又一个jsp查询问题。。。。。。
- 请教?hibernate.cfg.xml 配置问题
- 开源代码怎么在jbuilder中打开(我刚从asp.net转过来,很多东西很奇怪)
- 最后20分,问个小问题![在线等]
- 求教关于一个计算时间的问题!!!
- 开发手机版网页
- 哪有好用的操作excel控件?
- java读取XML的问题,请帮忙
- request.sendredirect("sendredirect.htm/[email protected]")怎么用的呀?
- 用JRUN4,JDK1.3,2000平台,JRUN运行,怎么看不到http://localhost:8000的管理界面?
- 大家帮帮忙,急!急!急!
The ASCII characters 'a' through 'z', 'A' through 'Z', '0' through '9', and ".", "-", "*", "_" remain the same. (以上字符保持不变。)The space character ' ' is converted into a plus sign '+'. All other characters are converted into the 3-character string "%xy", where xy is the two-digit hexadecimal representation of the lower 8-bits of the character. Since: JDK1.0
你说的 “'”“/”等在转换范围内。
以前把一个session的内容往cookie倒的时候碰到了“'”“,”写不进cookie的情况,用这个函数转了之后就行了。