Wesley13 Wesley13
3年前
java mail session使用Properties的clone方法
/LicensedtotheApacheSoftwareFoundation(ASF)underoneormorecontributorlicenseagreements.SeetheNOTICEfiledistributedwiththisworkfora
待兔 待兔
4年前
《C# 教程》菜鸟教程学习笔记
C简介下面列出C一些重要的功能:布尔条件(BooleanConditions)自动垃圾回收(AutomaticGarbageCollection)标准库(StandardLibrary)组件版本(AssemblyVersioning)属性(Properties)和事件(Events)委托(D
DevOpSec DevOpSec
2年前
Kafka——彻底删除Topic
一、配置server.properties 设置delete.topic.enabletrue如果没有设置delete.topic.enabletrue,则调用kafka的delete命令无法真正将topic删除,而是显示(
Easter79 Easter79
3年前
SpringCloudAlibaba(2)
1\.以单机模式启动Nacous,启动命令startup.cmdmstandalone2.使用postman向NacosServer发布配置:dataId为example.properties,内容为useLocalCachetruehttp://127.0.0.1:8848/nacos/v1/cs/configs?dat
Stella981 Stella981
3年前
Spring boot配置文件 application.properties
本文记录SpringBootapplication.propertis配置文件的相关通用属性COMMONSPRINGBOOTPROPERTIESThissam
Wesley13 Wesley13
3年前
Java 使用 ResourceBundle 类读取 properties 文件中文乱码的解决方案
Java使用java.util.ResourceBundle类的方式来读取properties文件时不支持中文,要想支持中文必须将文件设置为ISO88591编码格式,这对于开发工具默认为UTF8来说很不友好,而且就算用ISO88591编码,当其他人将这个项目导入开发工具时很容易出现这个properties文件中的内容有乱码(前提是该文件中包含中文)
Easter79 Easter79
3年前
Springboot框架实现图片上传显示并保存地址到数据库
1.在application.properties.xml中配置SpringBoot框架实现图片上传显示并保存地址到数据库springboot上传文件大小限制spring.http.multipart.maxfilesize200MBspring.http.multi
Stella981 Stella981
3年前
Elasticsearch 映射操作
一、创建语法:PUT/索引库名称/_mapping/类型名称{"properties":{"字段名":{"type":类型,可以是text、keyword、long、short、date、integer、object等   "index":是否索引,默认为true 
Stella981 Stella981
3年前
SpringBoot读取配置文件信息
application.properties配置文件的读取方式有以下两种Environment方式读取框架中有一个org.springframework.core.env.Environment类,可以读取application.properti
Easter79 Easter79
3年前
SpringBoot读取配置文件信息
application.properties配置文件的读取方式有以下两种Environment方式读取框架中有一个org.springframework.core.env.Environment类,可以读取application.properti