Index.ftl如下:
<#import "includes/spring.ftl" as spring/>
<html>
<head>
<title>首页</title>
<script src="static/js/test.js" type="text/javascript"></script>
<script>
test();
</script>
</head><body>
恭喜回到UserInfo:index方法界面--${message }======<@spring.message code="entity.missing"/>====后台message=${hahaha}
<br>
为空:${cccc!"cccc变量为空"}<a href="group">[email protected]</a>
</body>
</html>
<#import "includes/spring.ftl" as spring/>
<html>
<head>
<title>首页</title>
<script src="static/js/test.js" type="text/javascript"></script>
<script>
test();
</script>
</head><body>
恭喜回到UserInfo:index方法界面--${message }======<@spring.message code="entity.missing"/>====后台message=${hahaha}
<br>
为空:${cccc!"cccc变量为空"}<a href="group">[email protected]</a>
</body>
</html>
至少这句有问题 ${cccc!"cccc变量为空"}表达式错误 还有,group是啥