日期:2014-05-17  浏览次数:20551 次

jsp-web项目中的.c.tld的标记库内容无法修改?
我在前台要使用一个后台的一个Lsit;
但是前台使用时报错,使用方式:<c:forEach itmes="${list}" var="dm" ></c:forEach>
报错信息是
  Multiple annotations found at this line:
- Undefined attribute name 
"itmes"
- Undefined attribute name 
"itmes"
- isValid() == false
- isValid() == false
根据报错提示,我想去c.tld文件下修改
  <tag>
  <description>
  Catches any Throwable that occurs in its body and optionally
  exposes it.
  </description>
  <name>catch</name>
  <tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
  <body-content>JSP</body-content>
  <attribute>  
  <name>var</name>
  <required>false</required>
  <rtexprvalue>false</rtexprvalue>
  </attribute>
  </tag>
想把这个值改成如下:
  <name>var</name>
  <required>true</required>
  <rtexprvalue>true</rtexprvalue>
结果发现改不了.不能输入或修改,好像是只读的文件,请教各位大侠,该怎么办?

------解决方案--------------------
应该是可以改的吧,你在磁盘上找到这个文件的位置改一下属性,把只读的勾给去了。