参考: https://www.yuque.com/keep_running/python/prkdk8 version: '3' services: db: image: postgres restart: always environment: POSTGRES_PASSWORD: 12345 ...
分类:
其他好文 时间:
2020-10-30 12:28:10
阅读次数:
23
import com.aaa.controller.vm.MenuVM; import com.aaa.entity.Menu; import java.util.ArrayList; import java.util.List; /** * 组装菜单树工具类 * Created by cws * ...
分类:
其他好文 时间:
2020-10-29 09:51:59
阅读次数:
27
/** 原始注解:用途,自己编写的类注入容器使用* @Component* @Controller* @Service* @Repository* 以上4个功能基本一样,类似加入<bean id="userDao" class="cn.UserImpl"></bean>** @Autowired:自 ...
分类:
编程语言 时间:
2020-10-29 09:39:15
阅读次数:
24
家里那台弄好openstack重启之后依然是好的而且刚重启,那边没建立虚拟机或者可能是因为服务没启动完毕原因吧。刚开始compute1的ifconfig的brq84a8cee6-1d也是无ip的,等我在controller上openstackservercreate--flavorm1.nano--imagecirros--nicnet-id=84a8cee6-1ddb-4831-9438-842
分类:
其他好文 时间:
2020-10-29 09:34:41
阅读次数:
18
1. 请求的值绑定在request中 方法参数中使用request,通过request.getParameter("参数名")的方式获取参数 参数拼接在url后面,以Get方式传参 GET url= http://localhost:8080/geturlp?name=zhangsan 或者 以PO ...
分类:
编程语言 时间:
2020-10-26 11:51:17
阅读次数:
35
1. Docker 是什么? 官网的介绍是“Docker is the world’s leading software container platform.” 官方给Docker的定位是一个应用容器平台; Docker 是一个容器平台的领导者 Docker 容器平台 Docker 应用容器平台。 ...
分类:
其他好文 时间:
2020-10-24 10:06:54
阅读次数:
25
今天做东西的时候(前后端都自己写的那种),然后写好了前端请求接口,controller也写好了,但是测试前端数据是否可以正常传递回后端时,发现出现“o.s.web.servlet.PageNotFound - Request method 'POST' not supported”的错误,参数名、请 ...
分类:
Web程序 时间:
2020-10-22 22:47:41
阅读次数:
43
一篇很不错的关于fat jar 的文章,参考资料https://product.hubspot.com/blog/the-fault-in-our-jars-why-we-stopped-building-fat-jars HubSpot’s backend services are almost ...
分类:
编程语言 时间:
2020-10-21 21:03:47
阅读次数:
25
什么是MVC框架? 百度词条:MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用一种业务逻辑、数据、界面显示分离的方法组织代码,将业务逻辑聚集到一个部件里面,在改进和个性化定制界面及用户交互的同时 ...
分类:
Web程序 时间:
2020-10-20 16:22:16
阅读次数:
29
@ResponseBody @RequestMapping(value = "/addStudent",method = RequestMethod.GET) public String addStudent(Student student){ if (ssi.addStudent(student) ...
分类:
其他好文 时间:
2020-10-18 16:18:03
阅读次数:
19