jsp前端页面无法展示但不报错

来源:互联网 发布:端口多路复用 编辑:程序博客网 时间:2024/06/07 22:48

我在页面上一点击查询,浏览器上不提示任何错误但是无法请求到数据,服务器提示如下:


2017-4-19 10:09:27 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 found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

但是页面没有显示。原因是tomcat对于页面el表达式的校验。


解决方案是:把你的页面中含有$的的注释 去掉就好了。或者将注释换成<%-- --%>

项目错误区:


0 0