最近项目从tomcat6升级到tomcat7.0.42后,有个jsp页面带有struts1标签总是报错。
提示信息如下:At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
按照网络上的办法:
①去掉<!-- -->注释后页面还是报错;
②在catalina.properties中添加org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true,也还是报错!
肿么办?
后来是在不行,把页面一部分一部分截取,然后定位错误代码,终于找到了:
在tomcat6中,<bean:write name="deviceEventForm" name="msg"/> 这样可以取到值;
但是在tomcat7中,<bean:write name="deviceEventForm" name="msg"/>这样是错的,必须改成<bean:write name="deviceEventForm" property="msg"/>;
网上很多童鞋说tomcat7对标签的使用检查更加严格,且先不论其准确性,但是以后写代码一定要规范!
相关推荐
利用电磁波的相干原理,通过计算机控制输往天线各阵元电流相位的变化来改变波束的方向,同样可进行扫描,称为电扫描。天线阵,根据扫描情况可分为相扫、频扫、相/相扫、相/频扫、机/相扫、机/频扫、有限扫等多种体制...
yolov8系列--Object Detection Model for Scanned Documents
Byte 4-7: ObjectID – 0x 75D7831F (1977058079) Byte 8-9: IndexID – 0x0001 Byte 10-16: Hash Key value – 0x 02014F0BEC4E For more information about how to decode this value, see also… Inside ...
Because a clustered index determines the sequence in which rows are stored in a table, there can only be one clustered index for a table at a time. Performance Considerations Keeping your clustered ...
一本关于相控阵天线的英文书籍,非常不错,值得推荐。
When Apple released the first beta of i OS 7 at WWDC 2013 , I scoured through the API changes looking for anything out of the ordinary. That’s when I noticed the unex- pected addition of new API s ...
Scanned Documents.pdf
Electronically Scanned Arrays_MATLAB Modeling and Simulation 英文高清书籍
Scanned_from_a_Lexmark_Multifunction_Product08-20-2021-004543.pdf
volume-scanned.ppt
topic of research in photogrammetry for at least two decades. One observation that can be made is that most of the papers dealing with urban object extraction focus on a single object class, e.g. ...
This book continues first one of the same authors “Adaptive Image Processing Algorithms for Printing” and presents methods and software solutions for copying and scanning various types of documents ...
3. Support for multipacket TSIG signatures for transfers was added, and incorrectly parsed TSIG key secrets without quotes were fixed. 4. autoconf checks for extended instruction sets were removed ...
When true, the signature is scanned for at the EntryPoint only. ;Else it is scanned throughout the file. ;A '*' in the results of PEiD signifies that the external database was used for scanning the ...
tftp 4.5.1版本,平台:windows 很小的TFTP工具,供大家下载! The download is provided ... The download was scanned for viruses by our system. We also recommend you to check the files before installation.
When true, the signature is scanned for at the EntryPoint only. ;Else it is scanned throughout the file. ;A '*' in the results of PEiD signifies that the external database was used for scanning the ...
Hierarchical model generation for architecture reconstruction using laser-scanned point clouds
Accusoft FormSuite 3.0 for .Net Build a forms processing application. Scan in forms containing valuable data. Enhance and clean up scanned images for improved recognition. Recognize incoming scanned...
2017-11-15 19:23:46 1404 [Note] InnoDB: Database was not shutdown normally! 2017-11-15 19:23:46 1404 [Note] InnoDB: Starting crash recovery. 2017-11-15 19:23:46 1404 [Note] InnoDB: Reading tablespace ...