spring mvc +freemarker+html 插值没有用

spring mvc +freemarker+html 插值没有用

后台

 @RequestMapping(value = "/order/jumpPay",method = RequestMethod.POST)
    public ModelAndView jumpPay(HttpServletRequest request){
        String email = request.getParameter("email");
        String phone = request.getParameter("phone");
        String worth = request.getParameter("worth");
        String operator = request.getParameter("operator");
        Order order = new Order();
        order.setEmail(email);
        order.setPhoneNumber(phone);
        order.setOperator(operator);
        order.setWorth(worth);
        return new ModelAndView("order","order",order);
    }

html

<div class="H-flexbox-horizontal H-border-vertical-both-after">
        <div class="recharge-icon"><img src="/images/icon/email.png" class="icon-email"></div>
        <div class="recharge-input">
            <span class="H-vertical-middle H-padding-horizontal-left-10  H-font-size-18 input-style">电子邮件:</span>
            <input type="text"
                   class="H-textbox H-vertical-align-middle H-vertical-middle H-font-size-18 H-flex-item H-box-sizing-border-box H-border-none H-outline-none H-padding-12"
                   value="${order.email}">
        </div>
    </div>

配置

 <!-- 配置freeMarker的模板路径 -->
    <bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
        <property name="templateLoaderPath" value="/WEB-INF/views/" />
        <property name="defaultEncoding" value="UTF-8" />
        <property name="freemarkerSettings">
            <props>
                <prop key="template_update_delay">3600</prop>
                <prop key="locale">zh_CN</prop>
                <prop key="datetime_format">yyyy-MM-dd HH:mm:ss</prop>
                <prop key="date_format">yyyy-MM-dd</prop>
                <prop key="number_format">#.##</prop>
            </props>
        </property>
    </bean>
    <!-- freemarker视图解析器 -->
    <bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver">
        <property name="suffix" value=".html" />
        <property name="contentType" value="text/html;charset=UTF-8" />
        <!-- 此变量值为pageContext.request, 页面使用方法:rc.contextPath -->
        <property name="requestContextAttribute" value="rc" />
    </bean>

结果:图片说明
在线等 急...求解啊...

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!