随笔分类 -  java

java相关问题
java web 基础---各业务层
摘要:1.简单流程(controller/dao/service): 框架搭好,包也导入后,进行业务逻辑分析 Controller(控制逻辑)层:它是负责在 ①页面和程序之间传输数据的,还有作用是 ②做页面跳转。 页面由用户填写表单数据,点击提交按钮,页面的表单数据由传入Service层。 DAO层(数据 阅读全文

posted @ 2022-03-21 16:03 新freedom 阅读(367) 评论(0) 推荐(0) 编辑

java项目发布到服务器上
摘要:##Java项目打包 https://blog.csdn.net/qq_38861743/article/details/100035812 ##改端口 http://www.javashuo.com/article/p-gpvkruos-bt.html https://blog.csdn.net/ 阅读全文

posted @ 2022-03-17 17:22 新freedom 阅读(52) 评论(0) 推荐(0) 编辑

java itext html转PDF解决中文无法显示
摘要:https://blog.csdn.net/warybee/article/details/110470951 结合以上问题排查,发现时Tomcat的中文乱码问题: https://cloud.tencent.com/developer/article/1441354 https://www.shu 阅读全文

posted @ 2022-03-16 15:03 新freedom 阅读(795) 评论(0) 推荐(0) 编辑

yaml 学习2
摘要:@Value这个使用起来并不友好!我们需要为每个属性单独注解赋值,比较麻烦 ##对比来说: 1、@ConfigurationProperties只需要写一次即可,@Value则需要每个字段都添加 2、松散绑定:这个什么意思呢? 比如我的yml中写的last-name,这个和lastName是一样的, 阅读全文

posted @ 2022-02-27 23:19 新freedom 阅读(19) 评论(0) 推荐(0) 编辑

yaml学习
摘要:参考网址: https://www.cnblogs.com/hellokuangshen/p/12457000.html yaml语法 配置文件 SpringBoot使用一个全局的配置文件 , 配置文件名称是固定的 application.properties 语法结构 :key=value app 阅读全文

posted @ 2022-02-20 23:35 新freedom 阅读(26) 评论(0) 推荐(0) 编辑

Springboot自动装配原理
摘要:##pom.xml *spring-boot-dependencies:核心依赖在父工程中 *依赖中不需要指定版本,就是因为这个仓库中有很多版本 ##启动器 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sp 阅读全文

posted @ 2022-02-20 23:22 新freedom 阅读(45) 评论(0) 推荐(0) 编辑

springboot-01开始使用注意
摘要:##1.建包文件 ##2.springboot 打包 阅读全文

posted @ 2022-01-24 23:44 新freedom 阅读(18) 评论(0) 推荐(0) 编辑

java问题
摘要:eclipse怎样导入外部的项目并运行 https://blog.csdn.net/zhongaiyisheng_/article/details/102961830 安装idea(旗舰版) https://zhuanlan.zhihu.com/p/372530982 第一个springmvc项目 阅读全文

posted @ 2022-01-16 22:23 新freedom 阅读(19) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示