1.DispatcherServlet 全名是org.springframework.web.servlet.DispatcherServlet,在web配置一下就好了 2.Controller 控制器类上需要 实现Controller接口或者 使用@Controller注解 注解是org.spri ...
分类:
编程语言 时间:
2020-06-17 23:44:29
阅读次数:
71
SpringMVC是Spring的一个模块。MVC=Model+View+Controller,用于与前端交互,处理前端请求。 1.eclipse创建项目 File->New->Dynamic Web Project->输入名称->next->next->勾选Generate web.xml dep ...
分类:
编程语言 时间:
2020-06-17 23:05:29
阅读次数:
60
添加属性 selModel:new Ext.selection.CheckboxModel({ checkOnly: true }), me.grid = Ext.create('Ext.grid.Panel', { store: me.store, border: false, //selType ...
分类:
Web程序 时间:
2020-06-17 20:31:38
阅读次数:
66
https://access.redhat.com/documentation/zh-cn/red_hat_enterprise_linux/7/html/networking_guide/sec-configure_802_1q_vlan_tagging_using_the_command_lin ...
分类:
其他好文 时间:
2020-06-17 18:34:50
阅读次数:
55
set path=C:\chromium\depot_tools;%PATH% set DEPOT_TOOLS_WIN_TOOLCHAIN=0 git config --global user.name "My Name" git config --global user.email "my-nam ...
分类:
其他好文 时间:
2020-06-17 16:56:14
阅读次数:
54
因为需要在一个机器上安装一个OnlyOffice 安装包括docker版,和非docker版 docker版是先在电脑(我用的是linux的centos7.3系统)上装一个叫docker的虚拟机,在这个虚拟机上安装onlyoffice(这种方式很方便) 非docker版就是直接在电脑上安装onlyo ...
分类:
其他好文 时间:
2020-06-17 13:13:06
阅读次数:
137
前言本文适用于两种场景:设备A使用ssh-key登陆设备B通过ssh-key连接gitlab(github类似)一、在设备A上生成密钥ssh-keygen -t rsa 一路回车就好。还可以加上 -C “注释”二、设备A使用ssh-key登陆设备B将A生成的公钥发送到目标机器,这步有多种方法,选择其... ...
分类:
其他好文 时间:
2020-06-17 12:29:19
阅读次数:
61
bootstraptable通过数据属性或javascript以表格格式显示数据 通过数据属性(把数据写死) <table data-toggle="table"> <thead> <tr> <th>Item ID</th> <th>Item Name</th> <th>Item Price</th ...
分类:
编程语言 时间:
2020-06-17 01:13:40
阅读次数:
58
vue-router源码阅读(一) 内部探究,介绍vue-router的执行顺序,new VueRouter({options})时做了什么,new Vue({ router })内部又做了什么等等。 ...
分类:
其他好文 时间:
2020-06-17 01:12:02
阅读次数:
80
module.exports = { publicPath: '/', //项目的公共路径 devServer: { //开发用的服务器配置 proxy: { '/api': { target: 'http://localhost:8091', //这里是目标服务器地址 changeOrigin: ...
分类:
其他好文 时间:
2020-06-16 23:35:33
阅读次数:
186