1、检测变量是否为空 < #if userName?? > Hi ${userName}, How are you? </ #if > 转载于:https://www.cnblogs.com/rookieport/archive/2011/02/01/1948567.html