惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - dekn

如果做几十年的技术,不写点心得,是不是有点儿白瞎 如何修改tomcat内存大小 myeclipse中配置weblogic 9运行环境 解决无法向oracle中的long型字符插入大文本的问题 奇怪的JAVA字符集问题 让你的WEB程序同时支持FF与IE浏览器,经验积累 解决tomcat里中文文件无法正常下载 解决tomcat中rar、excel格式文件在下载时直接以乱码打开 Tomcat中文问题小经验 test AJAX注意事项 WSAD与WebSphere中一步步配置JNDI 基于 Windows Mobile 的 Pocket PC 和 Smartphone 的开发工具简介 Windows CE .NET 应用程序开发:我有哪些选择? 开发 Windows Mobile 应用程序: FAQ 一天一个管理小故事 之二 《鲶鱼效应 》 一天一个管理小故事 之一 且慢下手 [原创]理解JNDI中 java:comp/env/jdbc/datasource 与 jdbc/datasource 的不同之处。 [详解]Linux的目录里都装些啥??
weblogic在处理jsp tag的scope属性时的BUG??? - dekn - 博客园
dekn · 2006-12-04 · via 博客园 - dekn

本人在项目中使用taglib,本来在tomcat下,很正常,迁移到weblogic时,大部分也正常,但有一个结构出现问题,即在TAG嵌套时,无法正常读取范围内的变量,请看以下结构体:

<testj:class id="100">

<%=testInfo.getTitle()%>

      <testj:class id="200">
                <%=testInfo.getTitle()%>
      </test:class>

<%=testInfo.getCotent()%>
</test:class>

这就是嵌套代码的风格,在第一个TAG中,套了一个同样的TAG,然后在第二个嵌套TAG结术后,又继续调用第一个的变量,继续输出

按道理,最后一个 <%=testInfo.getCotent()%> 应该输出 第一个TAG变量的信息,却在实际应用中,发现,他却显示了 第二个TAG的变量信息。 这已充份论证,确实如何。

本以为是TAG的scope未定义好,结果定义了如下:

.......
      <variable>
        <name-given>ARTICLE</name-given>
        <variable-class>cn.com.test.vo.articleVo</variable-class>
        <declare>true</declare>
        <scope>NESTED</scope>
      </variable>
......

按定义,NESTED是从标签开始到标签结束,却无法正常显示。

在tomcat中显示一切正常。 

不知道这个问题算不算weblogic的BUG