Tomcat6,使用了 velocity。
在console中有大量的debug信息输出,怎样才能关闭呢?输出的信息:INFO: Velocity [debug] Left side ($xx) of '!=' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. inc/nav.vm[line 61, column 51]
Nov 17, 2009 2:34:01 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Left side ($xx) of '==' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. inc/nav.vm[line 65, column 29]
Nov 17, 2009 2:34:01 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Left side ($xx) of '==' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. inc/nav.vm[line 69, column 30]
Nov 17, 2009 2:34:02 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] ResourceManager : found inc/footer.vm with loader org.apache.velocity.tools.view.WebappResourceLoader
在console中有大量的debug信息输出,怎样才能关闭呢?输出的信息:INFO: Velocity [debug] Left side ($xx) of '!=' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. inc/nav.vm[line 61, column 51]
Nov 17, 2009 2:34:01 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Left side ($xx) of '==' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. inc/nav.vm[line 65, column 29]
Nov 17, 2009 2:34:01 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Left side ($xx) of '==' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. inc/nav.vm[line 69, column 30]
Nov 17, 2009 2:34:02 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] ResourceManager : found inc/footer.vm with loader org.apache.velocity.tools.view.WebappResourceLoader
解决方案 »
- 跪求赐教!!
- 为什么servlet的配置里面要搞一个servlet-name和servlet-mapping
- Validator 验证框架 validwhen验证器发现一个小BUG,求解
- 刚学easyui,使用datagrid数据不显示,页面空白
- poi生成excel文件时报OutOfMemory异常!
- 连接本机mysql数据库时出现not route to host错误
- struts通配符问题(急)
- 问一个很幼稚的问题..
- jsp连接SQL sever 2000时出现了“[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket”!求救!
- JSP新手,这个问题弄得我快崩溃了,求救!求救!
- spring mvc 3.0 中 如何定义拦截器拦跳过指定方法
- 小弟最近开一个项目,有些不懂的地方,可否把下面代码翻译过来!
runtime.log.logsystem.class=org.apache.velocity.runtime.log.Log4JLogChute这样输出就应该和log4j中的设置一样了
就是这个哈哈。
runtime.log.logsystem.class=org.apache.velocity.runtime.log.Log4JLogChute这样输出就应该和log4j中的设置一样了
velocity的配置文件在哪?