随笔分类 - Java服务端 / javaEE进击之路
摘要:https://blog.csdn.net/qq_34263321/article/details/89678850
阅读全文
摘要:https://www.cnblogs.com/oukele/p/9626006.html public class SQLite_To_MySQL { private Connection getIteconn(){ try { Class.forName("org.sqlite.JDBC");
阅读全文
摘要:https://www.php.cn/java-article-410626.html
阅读全文
摘要:public void errPrint(HttpServletResponse response, String msg, Object data) { try { response.reset(); response.setCharacterEncoding("UTF-8"); response
阅读全文
摘要:import org.springframework.web.client.RestTemplate; //注解生成对象@Autowiredprivate RestTemplate restTemplate; String url = "https://www.zhu.com/checkit"; /
阅读全文
摘要:https://blog.csdn.net/weixin_38405253/article/details/86572734 https://www.cnblogs.com/langtianya/p/6345010.html
阅读全文
摘要:https://blog.csdn.net/gaopinqiang/article/details/107328936 前端JS代码: apply(){ let data = new FormData(); // todo 非常重要,一定要加file.raw,从浏览器中查看需要使用binary类型,
阅读全文
摘要:转自:https://blog.csdn.net/baidu_36821021/article/details/85216855
阅读全文
摘要:public void exportAnalyse(HttpServletResponse response) { //data为行 集合 List<List<String>> data = new ArrayList(); for (int i = 0; i < 10; i++) { //colu
阅读全文
摘要:xiangmu\ app\ src\ main\ resources fileUpload.resources文件 upload.userId = -1 upload.srcSystem = 131452021 upload.token = vfZQIDAQAB upload.businessId
阅读全文
摘要:public static void convert(MultipartFile multipartFile) { File file = null; try { String originalFilename = multipartFile.getOriginalFilename(); Strin
阅读全文
摘要:/** * 注入的注解,为空,仅起标志作用 */ @Target({ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @interface Inject { } /** * 获取 bean 的容器,必通通过容器获取,而不能使用 new,因
阅读全文
摘要:https://www.cnblogs.com/1012hq/p/11141855.html 启动项目时,报出如下错误,通过错误提示可以看到端口被占用了。 查看日志可以看到被占用的端口为10001 这个问题的解决方案: 打开cmd命令行,执行命令netstat -ano|findstr "10001
阅读全文
摘要:描述:在JavaE中使用 BeanUtils.copyProperties,把A对象的name、age等属性复制到B对象中,A与B对象的类型不同。出现的问题是复制属性失败,根本原因是 BeanUtils找不到set、get方法。 import org.springframework.beans.Be
阅读全文
摘要:Specification<Place> spec = new Specification<Place>() { @Override public Predicate toPredicate(Root<Place> root, CriteriaQuery<?> criteriaQuery, Crit
阅读全文