当前位置: 首页 > news >正文

河南省做网站的企业怎么样可以做网站

河南省做网站的企业,怎么样可以做网站,可以做问卷的网站,网站关键词描述创建一个Spring Boot和EasyUI相结合的项目。 一、构建一个Spring Boot项目 Spring Boot之创建一个Spring Boot项目#xff08;一#xff09;-CSDN博客 二、配置Thymeleaf Spring Boot Thymeleaf#xff08;十一#xff09;_thymeleaf 设置字体_人……杰的博客-CSDN博客…        创建一个Spring Boot和EasyUI相结合的项目。 一、构建一个Spring Boot项目 Spring Boot之创建一个Spring Boot项目一-CSDN博客 二、配置Thymeleaf Spring Boot Thymeleaf十一_thymeleaf 设置字体_人……杰的博客-CSDN博客 三、配置EasyUI 1 下载EasyUI的对应jar包并配置使用EasyUI 下载地址EasyUI框架下载 - EasyUI中文站 新建一个index.html文件注意这个文件需要放在static目录下也就是跟easyui在同一个目录否则放在templates下由于springboot的内部机制调用接口访问不到会报404结构如上图所示浏览器访问这个页面的路径是localhost:8080/index.html。 引入EasyUI link relstylesheet typetext/css href../../themes/default/easyui.csslink relstylesheet typetext/css href../../themes/icon.csslink relstylesheet typetext/css href../demo.cssscript typetext/javascript src../../jquery.min.js/scriptscript typetext/javascript src../../jquery.easyui.min.js/script 四、项目举例 1 项目框架 2 代码实现 SpringBootMainApplication.java: package com.xj.main;import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan;/*** Author: xjfu* Create: 2023/10/20 7:33* Description: SpringBoot启动类*/ ComponentScan(com.xj) SpringBootApplication public class SpringBootMainApplication {public static void main(String[] args) {try{SpringApplication.run(SpringBootMainApplication.class, args);}catch (Exception e){e.printStackTrace();}} }ThymeleafController.java: package com.xj.controller;import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping;/*** Author: xjfu* Create: 2023/10/20 7:42* Description:*/ RequestMapping(/easyui) Controller public class ThymeleafController {RequestMapping(/hello)public String sayHello(){//启动hello.html页面return hello;}RequestMapping(/helloPage)public String helloPage(){//启动helloPage.html页面return helloPage;} }index.html: !DOCTYPE html html langen xmlns:thhttp://www.thymeleaf.org headmeta charsetUTF-8titleCustom Window Tools - jQuery EasyUI Demo/titlelink relstylesheet typetext/css href../../themes/default/easyui.csslink relstylesheet typetext/css href../../themes/icon.csslink relstylesheet typetext/css href../demo.cssscript typetext/javascript src../../jquery.min.js/scriptscript typetext/javascript src../../jquery.easyui.min.js/script /head body div idwin classeasyui-window titleMy Window stylewidth:300px;height:100px;padding:5px;Hello! Sprring Boot easyUI success! /div /body /html hello.html: !DOCTYPE html html langen xmlns:thhttp://www.thymeleaf.org headmeta charsetUTF-8titleTitle/title /head body !--th:text 为 Thymeleaf 属性用于在展示文本-- h1 th:text迎您来到Thymeleaf欢迎您访问静态页面 HTML/h1 /body /html helloPage.html: !DOCTYPE html html langen xmlns:thhttp://www.thymeleaf.org headmeta charsetUTF-8titleCustom Window Tools - jQuery EasyUI Demo/titlelink relstylesheet typetext/css href../../themes/default/easyui.csslink relstylesheet typetext/css href../../themes/icon.csslink relstylesheet typetext/css href../demo.cssscript typetext/javascript src../../jquery.min.js/scriptscript typetext/javascript src../../jquery.easyui.min.js/script /head body div idwin classeasyui-window titleMy Window stylewidth:300px;height:100px;padding:5px;Hello! Sprring Boot easyUI success! /div /body /html 3 运行结果 3.1 测试thymeleaf正常 3.2 EasyUI访问方式 3.3 使用thymeleaf访问方式 五、参考 1.SpringBoot集成EasyUI_springboot整合easyui-CSDN博客 2.https://www.cnblogs.com/jingmoxukong/p/10239821.html 3.Easyui 创建简单窗口_EasyUI 教程
http://www.pierceye.com/news/117842/

相关文章:

  • 婚恋网站女孩子都是做美容西安做网站南通公司
  • 网站制作培训中心想做网站建设
  • 免费模板素材网站ppth5开源网站模板
  • 建筑型专业网站有哪些网站想做个链接怎么做的
  • 公司建站文案给网站公司看的wordpress打赏
  • 卡密网站怎么做交易所网站建设教程
  • 响应式网站建设代理wordpress程序在ftp中上传到空间 网页怎么打不开
  • 做网站中网页的大小赤峰建筑人才网
  • 4s店网站建设美的集团网站建设方案书
  • 专业做商铺的网站哪些网站有二维码
  • 房屋备案查询系统官网盐城网站优化公司
  • 江苏网站设计页面设计文献
  • 快排做网站排名泰安哪个做网站
  • 淄博做网站的公司都有哪些网站开发职业环境分析
  • 网站性能视频 怎么做网站
  • 惠安建设局网站做基础销量的网站
  • 网页制作与网站建设自考制作ppt的软件免费下载
  • 会员类网站模板wordpress写主题
  • wordpress网站分享朋友圈缩略图wordpress 密码爆破
  • 总结网站推广策划思路的内容佛山做外贸网站哪家好
  • 阿里云服务器如何做两个网站网站建站对象
  • 做网站毕业实训报告网站架构企业收费标准
  • 高端品牌网站建设公司哪家好网页设计与制作个人总结
  • 自己电脑建设网站哈尔滨专业网站建设哪个好
  • 福建设计招标网站移动端网站和app开发
  • 山东网站制作团队门户网站内容管理建设方案
  • 新开传奇网站排行中国建设网官方网站app
  • 网站营运费广州网络公司建站
  • 小吃网站建设如何提高网站收录量
  • 全球网站域名做网站设计学那个专业好