因为列要求动态生成,所以excel模板一行表达式格式如下: <jx:forEach items="${c.list}" var="s"><jx:if test="${s.flag > 0}">${s.value}</jx:if></jx:forEach> 
程序运行会报错:You cannot have more than 255 columns in a given row (IV).  Because Excel can't handle it 
当我把if标签去掉后程序可以正常运行,初次使用jxls
请用过的指点一下