首页天道酬勤wps初学者入门教程,freemarker过时了吗

wps初学者入门教程,freemarker过时了吗

admin 05-12 18:37 277次浏览

FreeMarker入门教程欢迎使用FreeMarker入门教程项目运行屏幕快照git下载地址软件环境项目关键文件的目录结构user controller.Java UUT

欢迎学习FreeMarker入门教程

因为是随便写的,如果有什么不足的地方请留言告诉我

项目运行截图项目URL:http://localhost :8080/user git下载地址项目链接: https://github.com/ou Ming yuan/freemarker.gggit

软件环境要运行我的项目,需要以下环境

名称版本java环境JDK 8集成开发环境IDEA打包工具gradle版本工具git项目重要文件的目录结构重要文件用红色字体标记

freemakersrcmainjavacom.example.freemarkercontrollerusercontroller.javaentityuser.javaresourcetemplatesuserlist.ftl al import java.util.LinkedList; import java.util.List; import com.example.freemarker.entity.user; importorg.spring framework.stereotype.controller; importorg.spring框架. ui.model; importorg.spring帧web.bind.annotation.request mapping; @ controllerpublicclassusercontroller { @ request mapping (' user ' ) publicstringuser ) modelm } { listuser list=new linked ling useru2=newuser(2,' hello2',' 13336980260 '; useru3=newuser(3,' hello3',' 13336980260 '; list.add(U1; list.add(U2; list.add(U3; m.addattribute('userlist ',list ); m .添加属性(listname )、用户列表; 返回'用户/列表'; } user.javapackagecom.example.freemarker.entity; 公共类用户{私有长id; 私有字符串名称; 私人串手机; 公共用户(longid,String name,String phone ) { this.id=id; this.name=name; this.phone=phone; }公共长getid () { return id; } public String getName (() { return name; }公共字符串get phone (() { return phone; }} list.ftl! doctypehtmlhtmlxmlns=' http://www.w3.org/1999/XHTML ' xmlns : th=' http://www.thyme leaf.org ' xmlns 3360 sec=' http://ww.thyme leaf.org ' xmlns 360 sec=' charset=urset titlelinkrel=' style sheet ' href=' https://cdn.static file.org/Twitter-boots tref bootstrap.min.CSS ' script src=' jquery.min.js '/script src popper.min.js '/scriptsrc=' https://cdn.static file.org/Twitter-bootstrap/4 玛姬- bottom : 30px; }/style/headbodydivclass=' container ' H2 $ { listname }/H2 table class=' table table-hover ' theadtrthid/tht hname tass tdtd 15609682037/TD/tr # listuserlistasusertd $ { user.id }/TD tdtd $ { user.phone }/TD/tr/# list/tbody/tabll hml application.yml spring : freemarker : allow-request-override : false cache 3360 false check-template-location 330 hml expose-request-attributes 3360 false expose-session-attributes 3360 false expose-spring-macro-qcdbd 3360 false se sufferter build.gradleplugins { id ' org.spring framework.boot ' version '2.1.4. release apply plugin 3360 ' io.spring.depen } 1-snapshot'source L () } ependencies { implementation ' org.spring framework.boot : spring-boot-starter-freeemarker ' implementatation ' org.org

通过Java 程序获取Word中指定图片的坐标位置javascript如何判断两个数组是否有重复的元素
freemarker template error,parameternot found freemarker使用教程,layui菜鸟教程
相关内容