Velocity 问题

Velocityhtml

formeach 和 set 标签 赋值的值为 null 时,赋值不上的问题apache

<property name="velocityProperties">
	     <props>
	     	<prop key="classpath.resource.loader.class">org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader</prop>
	     	<prop key="input.encoding">UTF-8</prop>
	     	<prop key="output.encoding">UTF-8</prop>
	     	<prop key="contentType">text/html;charset=UTF-8</prop>
	     	<prop key="directive.set.null.allowed">true</prop>
	     </props>
</property>

map 中直接根据变量获取值的问题 map.get(key)   key 类型必须和 map key类型一致spa

相关文章
相关标签/搜索