Skip to content

Commit

Permalink
切换至spring boot 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephery committed Apr 11, 2023
1 parent 2bf89ee commit 32a5541
Show file tree
Hide file tree
Showing 28 changed files with 39 additions and 39 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ API给java调用,可以点击[这里](http://www.wenzhihuai.com/weibonlp.html)

</div>


### 切换至spring boot 3.0
https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r

### 更新日志

**2016-3-21**:学完ssh,感觉不扎实,心想要整个自己的博客网站
Expand Down
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<version>10.1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/jakarta.servlet.jsp.jstl/jakarta.servlet.jsp.jstl-api -->
<dependency>
Expand All @@ -66,9 +65,8 @@
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
<groupId>org.glassfish.web</groupId>
<artifactId>jakarta.servlet.jsp.jstl</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/jakarta.servlet.jsp/jakarta.servlet.jsp-api -->
<dependency>
Expand Down
4 changes: 1 addition & 3 deletions src/main/resources/application-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ management:
include: "*"
metrics:
tags:
application: ${spring.application.name}
prometheus:
push
application: ${spring.application.name}
2 changes: 1 addition & 1 deletion src/main/webapp/aboutme.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="aboutmeactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/blogdetail.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<c:choose>
<c:when test="${blog.category.cId==0}">
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/board.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="boardactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/checkcookie.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/donate.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="donateactive" value="active"/>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/elk.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="logactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/foot.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<footer class="footer">
<div class="footer-inner">
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/fortrip.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>

<c:forEach var="image" items="${images}">
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/head.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="https://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="indexactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/interest.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="interestactive" value="active"/>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/life.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="lifeactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/live.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="liveactive" value="active"/>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/log.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
由于不断采用新技术,此页面2017-11-24采用了websocket,之后应该没啥时间整理代码了,此外,网页加载时才连接websocket,所以会导致初始值result为空,此处在js中定义变量时声明为0.0
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="logactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/myreading.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<style>
.myreading td {
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/myresume.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="myresumeactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/searchresult.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="indexactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/sidebar.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<link href="http://image.wenzhihuai.com/newlypublished.css?ver=20171017" rel="stylesheet">
<script>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/tech.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="techactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/test.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/trip.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="tripactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/websocket.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/weibonlp.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="interestactive" value="active"/>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/wscharts.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="c" uri="jakarta.tags.core" %>
<%@ taglib prefix="fn" uri="jakarta.tags.functions" %>
<%@ page isELIgnored="false" %>
<jsp:include page="head.jsp">
<jsp:param name="logactive" value="active"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/zhoubao.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh">
Expand Down

0 comments on commit 32a5541

Please sign in to comment.