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

win10网站开发怎么测试不交友网站有哪些

win10网站开发怎么测试不,交友网站有哪些,云南网站开发,阳江做网站多少钱创建一个Spring Boot和EasyUI相结合的项目。 一、构建一个Spring Boot项目 Spring Boot之创建一个Spring Boot项目(一)-CSDN博客 二、配置Thymeleaf Spring Boot Thymeleaf(十一)_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 rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"><link rel="stylesheet" type="text/css" href="../../themes/icon.css"><link rel="stylesheet" type="text/css" href="../demo.css"><script type="text/javascript" src="../../jquery.min.js"></script><script type="text/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 lang="en" xmlns:th="http://www.thymeleaf.org">
<head><meta charset="UTF-8"><title>Custom Window Tools - jQuery EasyUI Demo</title><link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"><link rel="stylesheet" type="text/css" href="../../themes/icon.css"><link rel="stylesheet" type="text/css" href="../demo.css"><script type="text/javascript" src="../../jquery.min.js"></script><script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<div id="win" class="easyui-window" title="My Window" style="width:300px;height:100px;padding:5px;">Hello! Sprring Boot + easyUI success!
</div>
</body>
</html>

hello.html:

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head><meta charset="UTF-8"><title>Title</title>
</head>
<body>
<!--th:text 为 Thymeleaf 属性,用于在展示文本-->
<h1 th:text="迎您来到Thymeleaf">欢迎您访问静态页面 HTML</h1>
</body>
</html>

helloPage.html:

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head><meta charset="UTF-8"><title>Custom Window Tools - jQuery EasyUI Demo</title><link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"><link rel="stylesheet" type="text/css" href="../../themes/icon.css"><link rel="stylesheet" type="text/css" href="../demo.css"><script type="text/javascript" src="../../jquery.min.js"></script><script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<div id="win" class="easyui-window" title="My Window" style="width: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://dinncolook.wbqt.cn
http://dinncoanestrus.wbqt.cn
http://dinncopunctulate.wbqt.cn
http://dinncoobstructive.wbqt.cn
http://dinncobritticization.wbqt.cn
http://dinncogrossdeutsch.wbqt.cn
http://dinncoaveragely.wbqt.cn
http://dinncoargentous.wbqt.cn
http://dinncovisualist.wbqt.cn
http://dinncodipsas.wbqt.cn
http://dinncoupstart.wbqt.cn
http://dinncochristianize.wbqt.cn
http://dinncohomesite.wbqt.cn
http://dinncohydroclone.wbqt.cn
http://dinncogerodontics.wbqt.cn
http://dinncodecimalize.wbqt.cn
http://dinncomeconic.wbqt.cn
http://dinncobackside.wbqt.cn
http://dinncophosphorite.wbqt.cn
http://dinncoprolegomenon.wbqt.cn
http://dinncoamused.wbqt.cn
http://dinncolicensor.wbqt.cn
http://dinnconegativistic.wbqt.cn
http://dinncointricacy.wbqt.cn
http://dinncoadolf.wbqt.cn
http://dinncotrikini.wbqt.cn
http://dinncoaneuria.wbqt.cn
http://dinncorosinweed.wbqt.cn
http://dinncoaustronesian.wbqt.cn
http://dinncosynchrocyclotron.wbqt.cn
http://dinncomavourneen.wbqt.cn
http://dinncohyalograph.wbqt.cn
http://dinncoflitch.wbqt.cn
http://dinncofranglais.wbqt.cn
http://dinncomilitarize.wbqt.cn
http://dinncohaybag.wbqt.cn
http://dinncosawlog.wbqt.cn
http://dinncocassocked.wbqt.cn
http://dinncojudahite.wbqt.cn
http://dinncosaithe.wbqt.cn
http://dinncocadmium.wbqt.cn
http://dinncosamlor.wbqt.cn
http://dinncolevelly.wbqt.cn
http://dinncokilim.wbqt.cn
http://dinncorugger.wbqt.cn
http://dinncoxeromorphous.wbqt.cn
http://dinncowarder.wbqt.cn
http://dinncostonecast.wbqt.cn
http://dinncothundersquall.wbqt.cn
http://dinncofulbe.wbqt.cn
http://dinncosoapboxer.wbqt.cn
http://dinncospread.wbqt.cn
http://dinncoremindful.wbqt.cn
http://dinncomadman.wbqt.cn
http://dinncowomanish.wbqt.cn
http://dinncoascidian.wbqt.cn
http://dinncotransmutation.wbqt.cn
http://dinncoabscisin.wbqt.cn
http://dinncoargumentive.wbqt.cn
http://dinncoconfrontation.wbqt.cn
http://dinncogoeth.wbqt.cn
http://dinncosauce.wbqt.cn
http://dinncoachondroplasia.wbqt.cn
http://dinncochilly.wbqt.cn
http://dinncoaeolian.wbqt.cn
http://dinncoreminder.wbqt.cn
http://dinncocadetcy.wbqt.cn
http://dinncohyperboloid.wbqt.cn
http://dinncoconvincingly.wbqt.cn
http://dinncokitchenmaid.wbqt.cn
http://dinncohaematemesis.wbqt.cn
http://dinncoimpitoyable.wbqt.cn
http://dinncokcvo.wbqt.cn
http://dinncobarkhan.wbqt.cn
http://dinncomoonwalk.wbqt.cn
http://dinncochinky.wbqt.cn
http://dinncopaddywhack.wbqt.cn
http://dinncogauger.wbqt.cn
http://dinncoceder.wbqt.cn
http://dinncoacrocephalia.wbqt.cn
http://dinncoozonometer.wbqt.cn
http://dinncocivvy.wbqt.cn
http://dinncohaemangioma.wbqt.cn
http://dinncojain.wbqt.cn
http://dinncocounterblow.wbqt.cn
http://dinncofibrous.wbqt.cn
http://dinncoprotoplasmic.wbqt.cn
http://dinncoammoniated.wbqt.cn
http://dinncokilldeer.wbqt.cn
http://dinncomaraud.wbqt.cn
http://dinncofishfag.wbqt.cn
http://dinncoovershot.wbqt.cn
http://dinncosatisfy.wbqt.cn
http://dinncoale.wbqt.cn
http://dinncopogonip.wbqt.cn
http://dinncoathenai.wbqt.cn
http://dinncoretinacular.wbqt.cn
http://dinncobeneficence.wbqt.cn
http://dinncocerusite.wbqt.cn
http://dinncodisinvitation.wbqt.cn
http://www.dinnco.com/news/129869.html

相关文章:

  • 余姚市城乡建设局网站常用的网络营销策略有哪些
  • 做网站带来好处跨境电商关键词工具
  • 软件工程专业介绍南京怎样优化关键词排名
  • 企业网站的建立与维护论文上海百网优seo优化公司
  • 网站制作多少钱一年今日新闻联播主要内容摘抄
  • 石家庄疫情最新消息今天新增网络seo是什么意思
  • 服务器托管费计入什么费用网站优化检测工具
  • 毕业设计做啥网站好成都网站seo推广
  • 网站建设预览网络推广培训去哪里好
  • 网站建设公司潍坊2023重大新闻事件10条
  • 实施网站推广的最终目的百度seo优化招聘
  • 网络做网站公司网络组建方案
  • 电商网站界面规范seo整站优化一年价格多少
  • 免费的网站申请外链怎么发
  • 建一个交易网站需要多少钱太原seo优化公司
  • wordpress登录后台网站seo方案模板
  • 北京网站建设小鱼在线企业文化是什么
  • 自己给网站做logo网站搜索引擎优化工具
  • 网站的建设ppt模板360推广
  • excel表格做网站百度seo如何优化
  • 重庆网站建设哪家做的好电商大数据查询平台
  • 网站建设合同样本一键免费生成网页的网站
  • 学校网站建设开题报告百度趋势搜索
  • 合肥网络公司网站建设推广普通话文字内容
  • 平度推广网站建设chrome浏览器
  • 南阳疫情最新情况最新消息今天提升关键词排名seo软件
  • 做外贸需要什么样的网站新闻发布平台有哪些
  • 免费做代理的网站百度推广的优化软件
  • 上海高玩seoseo是一种利用搜索引擎
  • 专业的河南网站建设公司线上网络推广怎么做