例如:
URL: http://www.xxxx.com/problems/question & answer/question & answer/question & answer/question & answer
urlrewrite配置理想情况为:<rule>
<from>/problems/(.*?)/(.*?)/(.*?)/(.*?)</from>
<to>/problems.action?param=$1&param=$2&p;aram=$3&param=$4</to>
</rule>可是problems.action中得到param的每个值为 question,而不是 question & answer
该如何处理?
URL: http://www.xxxx.com/problems/question & answer/question & answer/question & answer/question & answer
urlrewrite配置理想情况为:<rule>
<from>/problems/(.*?)/(.*?)/(.*?)/(.*?)</from>
<to>/problems.action?param=$1&param=$2&p;aram=$3&param=$4</to>
</rule>可是problems.action中得到param的每个值为 question,而不是 question & answer
该如何处理?
解决方案 »
- javamail出错:com.sun.mail.util.FolderClosedIOException
- 有人用java做过一边上传一边下载吗?
- 500分求webservice soap帮助
- 新手提问:急!我用Rome在Eclipse中写JAVA的RSS阅读器,如何将已查询到的网页信息保存?以便脱机浏览
- Hibernate3.1+ MySQL 5.0 8小时后就会自动断开连接!(难道没人能解决,网上找了2天)
- j2ee
- 面试题目讨论!!
- java.lang.NullPointerException
- 如何实现一个通过代理服务器访问FTP并下载的客户端程序?
- 新的WEB浪潮卷起,怎么样才能stay on the crest? (散分,讨论)
- 谁能帮我看看这是个什么错
- 多线程访问xml文件
这里出现的所有非数字英文的字符都是关键字符除了'_'和'-',非数字非英文的字符最好都转成%XX编码转换也很简单,写个html
<form method="get" action="">
<textarea name=txt></textarea>
<input type=submit>
</form>
输入内容提交后看地址栏,显示1.html?txt=xxxxxx后面这段就是编码了