![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javaWeb
不想读书的c某人
这个作者很懒,什么都没留下…
展开
-
java 生成一维码
package com.Util;import com.google.zxing.BarcodeFormat;import com.google.zxing.BinaryBitmap;import com.google.zxing.DecodeHintType;import com.google.zxing.LuminanceSource;import com.google.zxing.MultiFormatReader;import com.google.zxing.MultiFormatW原创 2021-02-10 13:26:55 · 543 阅读 · 1 评论 -
layui table中嵌套对象提取
在layui中的table 中如果提取到的数据是object中还嵌套这object对象,如果直接显示,则会出现以下的状况,cols: [ [ //表头 {field: 'id', title: 'ID', width:80, sort: true, fixed: 'left'} ,{field: 'bookName', title: 'bookName', width:80} ,原创 2021-01-12 11:37:14 · 2037 阅读 · 2 评论 -
HIbernate逐渐入门02—一对一,一对多,多对多映射
今天研究生了下一对一,一对多,多对多三种方式在Jpa中如何实用一.一对一@Data@Entity@Table(name = "user")public class User { @Id @GeneratedValue private Long id; private String name; //开启级联操作 @OneToOne(cascade = CascadeType.PERSIST) private Student student;}原创 2021-01-04 21:54:15 · 1012 阅读 · 0 评论 -
Servlet的创建
Servlet的创建一共有三种一.最最基础的方式是依靠实现接口 implements Servlet实现了接口就要实现全部 Servlet中的方法 即public void init(ServletConfig config) throws ServletException {//在Servlet创建之前 } public ServletConfig getServ...原创 2019-07-21 17:50:31 · 103 阅读 · 0 评论 -
intellij 配置springmvc项目
目录通过IDEA新建Spring MVC项目设置运行、调试相关配置导入Spring MVC 相关类库添加 Controller修改 url-pattern(web.xml)配置 component-scan(dispatcher-servlet.xml)配置 ViewResolver(dispatcher-servlet.xml)添加视图文件(.jsp)通过 Model 向 Vi...转载 2019-07-23 12:55:28 · 214 阅读 · 0 评论