一个Servlet对应有一个ServletConfig对象,可以用来读取初始化参数。 一个webapp对应一个ServletContext对象。 ServletContext对象获取初始化定义的参数。 ServletContext对象可以通过context.getResourceAsStream(" ...
分类:
其他好文 时间:
2020-12-03 12:19:25
阅读次数:
6
1、在cmd模式下,使用npm install vue-resource --save命令进行下载 2、在main.js文件中引用(放入位置有讲究) 3、 get方式 <script> export default({ name:'Home', mounted:function(){ this.$h ...
分类:
其他好文 时间:
2020-12-03 12:04:23
阅读次数:
5
出现的错误为: Multiple annotations found at this line:- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plu ...
分类:
其他好文 时间:
2020-11-30 15:21:50
阅读次数:
4
编辑用户级配置文件 vim ~/.bashrc 添加配置信息: export PATH=/usr/local/mongodb/mongodb-3.6.5/bin:$PATH (中间那部分就是你的安装目录下的bin) 保存退出,刷新:source ~/.bashrc 我们输入mongo,显示版本信息, ...
分类:
其他好文 时间:
2020-11-27 11:48:48
阅读次数:
36
springboot 解决跨域请求,No 'Access-Control-Allow-Origin' header is present on the requested resource ©Copyright 蕃薯耀 2020-11-24 https://www.cnblogs.com/fansh ...
分类:
数据库 时间:
2020-11-27 11:48:01
阅读次数:
26
编写单元测试,运行时报下面的错误 haima@haima-PC:/media/haima/34E401CC64DD0E28/site/go/src/haimait/learn/base/cheshi01$ go test go: cannot find main module, but found ...
分类:
其他好文 时间:
2020-11-26 14:24:36
阅读次数:
5
CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing)。 它允许浏览器向跨源服务器,发出XMLHttpRequest请求,从而克服了AJAX只能同源使用的限制。 本文详细介绍CORS的内部机制。 一、简介 CORS需要浏览器和服务器同时支持。目 ...
分类:
其他好文 时间:
2020-11-26 14:06:40
阅读次数:
5
1.在src下创建一个jdbc.properties文件 url=jdbc:mysql:///demo user=root password=123 driver=com.mysql.jdbc.Driver 2.编写工具类 public class JdbcUtil { private static ...
分类:
数据库 时间:
2020-11-25 12:22:17
阅读次数:
11
[2020-11-20 15:39:11,703] [16792 XNIO-1 task-1(io.undertow.request) : ERROR]io.undertow.servlet.api.LoggingExceptionHandler.handleThrowable(LoggingExc ...
分类:
编程语言 时间:
2020-11-24 12:44:38
阅读次数:
7
http://www.myir-tech.com/resource/449.asp http://www.myir-tech.com/product/ds-5-debugger.htm https://blog.csdn.net/jiangchao3392/article/details/10523 ...
分类:
其他好文 时间:
2020-11-24 12:39:29
阅读次数:
7