在如下调用时出错:
<jsp:include page="fastpost.jsp">
<jsp:param name="returl" value="<%=Url.encode(****) %>" />
</jsp:include>
这里,在 value 中只是使用了 URL 而已。
然后报错:
Attribute value Url.encode(****) is quoted with " which must be escaped when used within the value
啊,无语,在另一个页面中这么写就没错啊?
Google。
发现说是什么 apache 升级到 6.0 后出现的 bug。
详情见:
[#MMB-1706] quoted must be escaped - MMBase
然后跟踪链接,这里说的很详细了:
Possible user code changes required when we upgrade to Tomcat 6.0.18
按照上面的说法,这么改写:
<jsp:include page="fastpost.jsp">
<jsp:param name="returl" value='<%=Url.encode(****) %>' />
</jsp:include>
其实只是把 value="" 改成 value=''。
分享到:
相关推荐
集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...
The answers to those questions must be equally simple to be useful. Getting the answers isn’t simple and that’s why a lot of this book is devoted to how the test manager gets answers and interprets...
2015年春八年级英语下册 Unit 3 Lesson 16 The Pear Escaped学案(无答案)(新版)冀教版
DKIM - the signature verification should be disabled when retrieving the message header. UDP server and all descendant components: there were issues with starting of listening socket (the server was ...
be linked to an entity in the knowledge base), and entity type information for each of the queries. The data included in this package were originally released by LDC to TAC KBP coordinators and ...
my $escaped = javascript_value_escape(q!&foo"bar'[removed]!); # $escaped is "\u0026foo\u0022bar\u0027\u003c\/script\u003e" my $html_escaped = javascript_value_escape(Text::Xslate::Util::escape_html(q!...
Therapeutic metaphors for children and the child within. New York: Brunner/Mazel, 261 pp., [dollar]28.50 100 Book Reviews Aspirations aside, Barth escaped. Unfortunately, his turmoil lingered. To...
It is used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun. Character-level Convolutional Networks for Text Classification. Advances in Neural ...
The main reason Mac users have largely escaped the threats of viruses and other malware is that most of the people creating such nasty software simply want the most bang for their buck — so they ...
It is used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun. Character-level Convolutional Networks for Text Classification. Advances in Neural ...
It is used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun. Character-level Convolutional Networks for Text Classification. Advances in Neural ...
转义片段 Chrome 扩展此扩展程序旨在像搜索引擎机器人一样轻松抓取您的 Web 应用程序。 此扩展名将替换 #!... escaped_fragment并为您拒绝 Javascript。 使您能够看到搜索引擎机器人将看到的内容。
* + Now you can force to parse only the canonical syntax of JSON using the stric parameter * + Delphi 2010 RTTI marshalling * v1.1 * + Double licence MPL or LGPL. * + Delphi 2009 ...
* + Now you can force to parse only the canonical syntax of JSON using the stric parameter * + Delphi 2010 RTTI marshalling * v1.1 * + Double licence MPL or LGPL. * + Delphi 2009 compatibility & ...
用于 SEO 和 UX 的逻辑转义片段 概括: 创建此代码是为了帮助您创建 Google 可以抓取的基于 AJAX 的繁重页面。 尤其是在电子商务网站上,SEO 是最重要的事情之一。 这个插件调用了两个函数。...key=value` 翻译成`u
Therapeutic metaphors for children and the child within. New York: Brunner/Mazel, 261 pp., [dollar]28.50 100 Book Reviews Aspirations aside, Barth escaped. Unfortunately, his turmoil lingered. To...
java运行依赖jar包
java运行依赖jar包
java运行依赖jar包
let nvpString = 'KEY=VALUE&ESCAPED[5]=& [1]=' ; let json = nvpjson . toJSON ( nvpString ) ; /* * {KEY: 'VALUE', ESCAPED: '& [1]='} */ let nvp = nvpjson . toNVP ( { KEY : 'VALUE' , ESCAPED : '& [1]...