2 SaulLabel

尚未进行身份认证

菜鸡一个

等级
博文 37
排名 15w+

java将TXT小说按章节分开,并保存为对象

效果  项目结构Content.javapublicclassContent{privatelongid;privateStringname;//txt所带章节privateStringchapter;privateStringcontent;//新生成章节privatelong...

2019-02-08 11:42:24

jackson用法

@GetMapping("findUserByUsername.action")publicObjectfindUserByUsername(Stringusername)throwsJsonProcessingException{List<User>list=userService.findUserByUsername(username);...

2018-12-29 18:12:58

spring-data-rest查询

http://127.0.0.1/api/user/search/login?username=123&password=123packagecom.example.shijianrili.repository;importcom.example.shijianrili.domain.User;importorg.springframework.data.jpa.r...

2018-12-29 17:13:17

apicloud之iphoneX修复状态栏

 //修复导航栏varheaderList=$api.domAll('header');for(vari=0;i<headerList.length;i++){$api.fixStatusBar(headerList[i]);}//修复footer,这个方法,api.js中没有需要另外添加$api.f...

2018-12-27 20:11:59

apicloud之导航栏切换

<!DOCTYPEHTML><html><head><metacharset="utf-8"><metaname="viewport"content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,init

2018-12-27 00:42:36

apicloud之日历

<!doctypehtml><html> <head> <metacharset="utf-8"> <metaname="viewport"content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initi

2018-12-22 23:58:57

工具类之QRCodeUtils

importjava.awt.image.BufferedImage;importjava.io.File;importjava.nio.file.Path;importjava.util.HashMap;importjavax.imageio.ImageIO;importorg.springframework.stereotype.Component;impo...

2018-12-20 20:25:13

工具类之MD5Utils

importjava.security.MessageDigest;importjava.security.NoSuchAlgorithmException;importorg.apache.commons.codec.binary.Base64;importorg.apache.commons.codec.digest.Md5Crypt;publicclassMD5...

2018-12-20 20:23:59

工具类之JsonUtils

packagecom.imooc.utils;importjava.util.List;importcom.fasterxml.jackson.core.JsonProcessingException;importcom.fasterxml.jackson.databind.JavaType;importcom.fasterxml.jackson.databind.Obje...

2018-12-20 20:23:15

工具类之FastDFSClient

importjava.io.ByteArrayInputStream;importjava.io.IOException;importjava.nio.charset.Charset;importorg.apache.commons.io.FilenameUtils;importorg.apache.commons.lang3.StringUtils;importorg...

2018-12-20 20:22:26

工具类之FileUtils

importjava.io.BufferedOutputStream;importjava.io.ByteArrayOutputStream;importjava.io.File;importjava.io.FileInputStream;importjava.io.FileOutputStream;importjava.io.IOException;importj...

2018-12-20 20:21:41

AJAX上传Base64编码图片

SSM图片上传:https://blog.csdn.net/weixin_37595711/article/details/85109381 1.html部分<!DOCTYPEhtml><htmllang="en"><head><title>上传图片</title></head>&l

2018-12-20 00:06:48

用tomcat搭建图片服务器(SSM)

将图片上传到Tomcat中的upload中,外部通过URL访问1.项目结构2.FileControllerpackagecom.controller;importcom.fasterxml.jackson.databind.ObjectMapper;importorg.apache.commons.io.FilenameUtils;importorg.spring...

2018-12-19 22:33:56

tomcat9上传文件失败

打开conf/server.xml文件<!--原配置--><Connectorport="8080"protocol="HTTP/1.1"connectionTimeout="20000"redirectPort="8443"/><!--修改后的配置-->&amp

2018-12-18 23:55:01

apicloud视频播放

 文档地址:https://docs.apicloud.com/Client-API/Func-Ext/videoPlayer<html><head><metacharset="utf-8"><metaname="viewport"content="maximum-scale=1.0,minim...

2018-12-09 15:26:21

springboot-admin使用

运行结果 服务端:配置文件:server.port=80启动类:packagecom.example.demo123;importde.codecentric.boot.admin.server.config.EnableAdminServer;importorg.springframework.boot.SpringApplication;...

2018-12-07 19:09:02

maven热部署

环境jdk1.8 tomcat71.pom.xml<plugin><groupId>org.apache.tomcat.maven</groupId><artifactId>tomcat7-maven-plugin</artifactId&g...

2018-11-26 23:52:49

springboot之热部署

环境jdk1.8tomcat7.0项目是springboot与spring-data-rest与spring-data-jpa1.项目结构2.pom.xml<?xmlversion="1.0"encoding="UTF-8"?><projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="...

2018-11-26 22:57:08

spring data rest环境搭建

1.项目结构2.实体类packagecom.example.springrest1.entity;importorg.hibernate.annotations.GenericGenerators;importjavax.persistence.Entity;importjavax.persistence.GeneratedValue;importjavax.p...

2018-11-24 20:15:37

springboot整合mybatis与swagger生成rest接口文档

项目结构1.swagger配置packagecom.example.szp1.config;importorg.springframework.context.annotation.Bean;importorg.springframework.context.annotation.Configuration;importspringfox.documentation....

2018-11-15 19:29:25
奖章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!