1)
org.apache.jasper.compiler.TldLocationsCache tldScanJar
报错信息如下
org.apache.jasper.compiler.TldLocationsCache tldScanJar
信息: 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 fund in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
说后台已经把数据查询出来,但是页面没有显示。原因是tomcat对于页面el表达式的校验。
解决方案是:把你的页面中含有$的<!---->的注释 去掉就好了。或者将注释换成<%-- --%>
参考:点击打开链接
把页面中的所有注释都改成<%-- --%>,不再报这个错
2)使用struts的DMI的时候,要在配置文件中加上这句
<constant name="struts.enable.DynamicMethodInvocation" value="true" />很重要,不然一直提示找不到文件
3)数据库操作时,数据名及所有字段顺序都要和数据表中的一致,不然会查询不到