欢迎访问爱码博阁

在这里可以看到前端技术,后端程序,网站内容管理系统等文章,还有我的程序人生!

【今日推荐】Linux Shell编程

shell是一个linux程序,我们使用这个程序,可以输入一些命令,完成一些系统操作。当然shell也是一种语言,编写的shell脚本(.sh),可以放到shell程序中运行。

最新发布

SpringBoot

thymeleaf 引入公共片段

共367人围观 0人评论

1、在头部引入thymeleafhtml lang="en" xmlns:th="http:www.thymeleaf.org" head 。。。。。。2、定义需要被引入的片段标签nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap......

SpringBoot

spring boot 登录拦截

共347人围观 0人评论

要实现登录拦截须实现HandlerInterceptor接口1、编写登录拦截器在Component路径下创建拦截器package com.laoxu.springboot.component;import org.springframework.web.servlet.HandlerInterceptor;import......

SpringBoot

spring boot 国际化

共390人围观 0人评论

1、准备三个配置文件在i资源目录下的18n目录下创建三个配置文件分别为默认、英文、中文2、点击Bundle进行统一编写点击'+'号添加key编写完毕3、指定资源文件路径若不配置,默认会去找classpath:messages.properties这里指定配置i18n路径下的login.propertiesspring.......

SpringBoot

webjars导入静态资源文件

共336人围观 0人评论

概念:webjars 以jar包的方式引入静态资源引入步骤:1、webjars官网导入需要的静态资源maven依赖 (例:jquery)点击maven复制依赖,导入pom文件访问jquery.jswebjars路径为类路径下web访问url路径为 :http:localhost:8080webjarsjquery3.3......

加密代码

des算法+base64加密数据

共548人围观 1人评论

import javax.crypto.Cipher;import javax.crypto.SecretKey;import javax.crypto.SecretKeyFactory;import javax.crypto.spec.DESKeySpec;import java.io.IOException;imp......

分类选择