![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
后端
文章平均质量分 54
Java、Python等后端资源整理
Love To Knowledge
天若有情天亦老,人间正道是沧桑。
展开
-
实体类转map工具类
实体类转map工具类原创 2022-11-22 23:20:11 · 509 阅读 · 1 评论 -
tomcat启动,Dos框中文乱码问题
1、找到${CATALINA_HOME}/conf/logging.properties2、添加语句:java.util.logging.ConsoleHandler.encoding = GBK3、重启tomcat,查看日志数据即可!原创 2021-06-07 22:00:54 · 156 阅读 · 0 评论 -
时间差值计算
/** * 用SimpleDateFormat计算时间差 * @throws ParseException */ public static void calculateTimeDifferenceBySimpleDateFormat() throws ParseException { SimpleDateFormat simpleFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm"); /*天数差*/ Date fromDate1 = simpleFormat.原创 2021-06-07 21:47:02 · 259 阅读 · 0 评论 -
页面中调用freemarker函数--之${fn:}内置函数
freemarker中文官方参考手册网址:http://freemarker.foofun.cn/JSP页面调用这样一个头文件<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions " %>下面就可以直接调用以下的函数。函数名 函数说明 使用举例fn:contains 判断字符串是否包含另外一个字符串 <c:if test="${fn:contains(name, searchStr...原创 2021-05-30 22:52:17 · 446 阅读 · 0 评论 -
Maven pom.xml样例文件
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">原创 2021-05-30 22:51:18 · 331 阅读 · 0 评论 -
Maven application.properties样例文件
#配置默认端口server.port=80#freemarker配置文件spring.freemarker.suffix=.htmlspring.freemarker.charset=utf-8spring.freemarker.settings.number_format=0.##spring.freemarker.templateLoaderPath=classpath:/templates/ftl/#spring boot admin配置文件spring.b..原创 2021-05-30 22:49:30 · 218 阅读 · 0 评论 -
Tomcat server.xml样例文件
<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed withthis work for additional information regarding copyright owners原创 2021-05-30 22:36:24 · 116 阅读 · 0 评论 -
在Linux系统下,重启Tomcat使用命令操作的
在Linux系统下,重启Tomcat使用命令操作的!首先,进入Tomcat下的bin目录cd /usr/local/tomcat/bin使用Tomcat关闭命令./shutdown.sh查看Tomcat是否以关闭ps -ef|grep java如果显示以下相似信息,说明Tomcat还没有关闭root 7010转载 2018-04-03 10:57:27 · 805 阅读 · 0 评论 -
Eclipse SVN忽略某些文件或文件夹方法 (网上搜集)
SVN提交时,我们有时候需要将一些文件忽略掉。例如开发Android程序时,bin文件夹中的一堆资源全是不需要提交的,因为他们会自动生成。每次提交的时候,都要手动把这些选择去掉,十分麻烦。可以将这些文件或文件夹设置成ignore来忽略这些文件或文件夹,方法如下。1. 将文件夹或文件从Eclipse中删除。记得要在Eclipse中删除,而不是Windows文件管理界面删除。2. 将这次修改提交,效果...转载 2018-03-30 08:53:48 · 212 阅读 · 0 评论