在如下调用时出错:
<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$ ... 命令和参数之间必需用空格隔...
- **Single Quotes in a String**: If a string literal contains a single quote, it must be escaped with another single quote or using escape characters. - **Standard Conforming Strings and Escape ...
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...
本文主要涉及的是初中英语学习的内容,具体到八年级下册Unit 3 Lesson 16《The Pear Escaped》的学习资料,包括词汇、短语和句型的掌握,以及相关的语法点。 1. **词汇**: - **escape**:逃脱,逃跑,等于run ...
- Be careful when you cross the street. - You need to be more careful with your homework. #### 十三、不同 - **公式**: be different from - **例句**: - This book is very different from the one we ...
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 ...
doing sth.**:表示“一定有……正在做某事”,如“There must be something visiting the homes in our neighborhood…”。 8. **go away**:意为“走开”或“离开”。 9. **have (too much) fun doing sth.**:...
例如,“The boy pretended to be reading when his mother came in.”(当他母亲进来时,这个男孩假装正在读书)。同样地,“I am glad to be working with you.”(和你一道工作我很高兴)表明说话者在表达高兴的...
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!...
- "The boy pretended to be reading when his mother came in."(当他母亲进来时,这个男孩假装正在读书。) - "Look! The boys seem to be fighting."(瞧,那些男孩看起来似乎在打架。) 三、to have done/to ...
8. **情态动词 must 的用法**:第八题 "I__________ you somewhere before, but your name has escaped me_________." "must have seen" 表示对过去事实的肯定推测,"for a moment" 意为“一会儿”。 9. **不定式的...
2. He couldn’t stand the noise any more and escaped from the downtown. (stand sth.) 3. There are many old things on display in the museum. (介词短语作后置定语) 4. In summer, many people like to go ...
- **分词短语**:可以使用with或without引导的短语,如"The driver escaped without stopping, leaving the old man lying on the road.",用分词短语表达更简洁。 - **倒装句**:"Not until 11:30 did I go to ...
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 ...
15. **题目**:Three officers narrowly escaped _D_ in the terrorist attack. - **解析**:本题考查不定式的被动语态作宾语。Escape being killed表示逃脱被杀害,正确答案是D. being killed。 16. **题目**:...
逃脱”,如:The prisoner escaped from the prison.(囚犯从监狱逃跑了。) **句型** 1. **Whose notebook is this?** 这个疑问句询问物品的所有者,回答可以用"It must belong to Carla."或"It must be Carla's....
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 ...