java.net.URLEncoder.encode("aaaaaaa\\'aaaa\\/");
看行不行呀?
看行不行呀?
解决方案 »
- jsp 连接hsql
- 请问一下,谁做过javaweb语音对话。
- 使用page-taglib分页显示,老是出现下面的异常,求屏蔽之···
- java可以模拟一个ip地址,然后进行http请求抓取页面吗?
- Java thread, 谁能帮忙解释this?
- 他妈的!这个问题谁能帮我
- 求助:更改javaBean中参数 永久保存并及时生效
- 有谁可以做群发到百度的小程序,可以付RMB
- 在JSP中如何动态调用<jsp:include page="about.htm" />这样的指令
- 有一个简单的Structs的问题<bean:write>
- 用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的情况,用这个函数转了之后就行了。