页面:
<div align="center" onmouseover="this.style.cursor='hand';" onmouseout="this.style.cursor='normal';"
onClick="window.open('<s:url action="spColorManageUIviewUI" namespace="/item"/>?code=${entry.code}')" title="<s:text name="div.title"/>">${entry.code}</div>
要传的值:code=${entry.code}。
对于一般的字母数字没有问题,都可以传值,但是如果code=${entry.code}得值是这样:code=#abc,code=abc#,code=A#bc,像这样的值就不行了,传到action会被过滤掉。我想是#的问题。
请高人指点。
<div align="center" onmouseover="this.style.cursor='hand';" onmouseout="this.style.cursor='normal';"
onClick="window.open('<s:url action="spColorManageUIviewUI" namespace="/item"/>?code=${entry.code}')" title="<s:text name="div.title"/>">${entry.code}</div>
要传的值:code=${entry.code}。
对于一般的字母数字没有问题,都可以传值,但是如果code=${entry.code}得值是这样:code=#abc,code=abc#,code=A#bc,像这样的值就不行了,传到action会被过滤掉。我想是#的问题。
请高人指点。
解决方案 »
- 怎么用axis2设置soap header 发送请求
- String疑问~~~~~~~~~~~~~~~~~~~~
- 高兴散分 sunflower java缩略图生成工具下载
- 在JBuilder2006中使用Weblogic8.1发布时出错!
- 什么是JCE
- struts 标签<bean:write ...>不显示数据 急 在线等侍
- 用jar 命令生成.jar文件时要不要自己写META-INF文件?
- 如何lookup另一台机器上的ejb?
- 折磨了我几天的模拟登陆,cookie跨域问题,httpClient做的模拟登陆
- double 1.0 format为1.00怎么实现?注意是double类型,不是string类型
- 效率么?
- 关于一个WEB项目中的异常处理问题。。。。。。。。。。
比如用base64编码先将参数编码,然后再接受端在用base64解码。
这样就OK了。
jstl fn:replace替换换行符