摘要:
1.缓冲流:作用:为了提高数据传出效率,调高读写效率; 原代码: 点击查看代码 public class Demo04 { public static void main(String[] args) throws IOException { FileInputStream fis = new Fi 阅读全文
摘要:
定义-Inteceptor 使用:以用户登录,注册...为例 创建拦截器类,实现HandlerInterceptor接口,重写preHandle方法,在该方法中编写业务拦截的规则 创建LoginInceptor,实现HandlerInterceptor public class LoginInter 阅读全文
摘要:
APPLICATION FAILED TO START Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be config 阅读全文