Idea下springboot+easyUI的下载与集成

easyUI的地址:http://www.jeasyui.com/download/index.php

Idea下springboot+easyUI的下载与集成_第1张图片

Idea下springboot+easyUI的下载与集成_第2张图片

Idea下springboot+easyUI的下载与集成_第3张图片

easyui的中文学习网站:http://www.jeasyui.net/

Idea下springboot+easyUI的下载与集成_第4张图片

我的springboot的项目结构:

Idea下springboot+easyUI的下载与集成_第5张图片

在中文网站放置一个demo试一试:

Idea下springboot+easyUI的下载与集成_第6张图片

配置文件:

Idea下springboot+easyUI的下载与集成_第7张图片

application.properties的配置:

Idea下springboot+easyUI的下载与集成_第8张图片

点击访问:http://localhost:8080/dialogs#

Idea下springboot+easyUI的下载与集成_第9张图片

成功调取了html的页面!

html的页面就拉去了一个demo:dialog.html




    
    Basic Panel - jQuery EasyUI Demo
    
    
    
    
    


Basic Panel

The panel is a container for other components or elements.

jQuery EasyUI framework helps you build your web pages easily.

  • easyui is a collection of user-interface plugin based on jQuery.
  • easyui provides essential functionality for building modem, interactive, javascript applications.
  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
  • complete framework for HTML5 web page.
  • easyui save your time and scales while developing your products.
  • easyui is very easy but powerful.

cotroller的代码:

package com.easyui.easyuidemo.cotroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @authorseerhuitao 用户user
 * @create2018/12/11
 */
@Controller
public class UserCotroller {
    @RequestMapping(value="/dialogs", method = {RequestMethod.POST, RequestMethod.GET})
    public String getDialog(){
        return "/dialog";
    }
}

到此成功实现了easyui的前后端调用!睡觉。。。。。。。。。。。。。。。。。。。。。。。。。。

你可能感兴趣的:(【easyUI】)