session的使用
Java中
getRequest().getSession().removeAttribute("tempTotalScore");
getRequest().getSession().setAttribute("tempTotalScore", totalScore);
freemarker中
<#if tempTotalScore?exists>
${tempTotalScore}分
<#else>
Java中
getRequest().getSession().removeAttribute("tempTotalScore");
getRequest().getSession().setAttribute("tempTotalScore", totalScore);
freemarker中
<#if tempTotalScore?exists>
${tempTotalScore}分
<#else>