直接使用${属性名}即可。
后台在session中set值。
httpSession.setAttribute("source", source);前台freemarker的ftl文件中取session的值:
<input type="hidden" <#if source??> value="${source}" </#if> name="source">
直接使用${属性名}即可。
后台在session中set值。
httpSession.setAttribute("source", source);前台freemarker的ftl文件中取session的值:
<input type="hidden" <#if source??> value="${source}" </#if> name="source">
下一篇:react使用过程中的问题
Python获取颜色RGB值
html-code
引用:http://www.hudong.com/wiki/freemarkerFreeMark近静态HTML页面的速度。 FreeM
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M