springboot获取原生js请求_springboot跳转原生html
发布日期:2021-06-24 14:45:05 浏览次数:4 分类:技术文章

本文共 1547 字,大约阅读时间需要 5 分钟。

项目结构

0016eed7cb276b7d97ffeced0dd92736.png

pom

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

4.0.0

com.jinzhending

Order

1.0-SNAPSHOT

war

Order Maven Webapp

http://www.example.com

UTF-8

1.7

1.7

org.springframework.boot

spring-boot-starter-parent

2.0.1.RELEASE

org.springframework.boot

spring-boot-starter-web

org.projectlombok

lombok

org.springframework.boot

spring-boot-starter-aop

org.springframework.boot

spring-boot-starter-log4j

1.3.8.RELEASE

mysql

mysql-connector-java

5.1.39

org.mybatis.spring.boot

mybatis-spring-boot-starter

1.3.1

com.github.pagehelper

pagehelper-spring-boot-starter

1.2.5

javax.servlet

jstl

org.springframework.boot

spring-boot-starter-freemarker

src/main/java

**/*.xml

src/main/resources

**/*.properties

**/*.yml

false

Order

maven-clean-plugin

3.1.0

maven-resources-plugin

3.0.2

maven-compiler-plugin

3.8.0

maven-surefire-plugin

2.22.1

maven-war-plugin

3.2.2

maven-install-plugin

2.5.2

maven-deploy-plugin

2.8.2

application.yml

spring:

datasource:

driver-class-name: com.mysql.jdbc.Driver

username: root

password: root

url: jdbc:mysql://localhost:3306/XXXXX?characterEncoding=UTF-8

jpa:

show-sql: true

freemarker:

template-loader-path: /WEB-INF/

suffix: .html

# 如果使用jsp页面请用下面的注释

# mvc:

# view:

# prefix: /WEB-INF/

# suffix: .html

mybatis:

#实体类所在位置

type-aliases-package: com.XXXX.pojo

#打印sql语句

#com.XXXX.dao 写的dao接口所在的包

logging:

level:

com.bdqn.dao: debug

controller

@Controller//注意这是controller

public class CustomerService {

@RequestMapping("register")

public String intoRegister(){

return "register";

}

转载地址:https://blog.csdn.net/weixin_33443932/article/details/114000061 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:java buffer nio_Java NIO之Buffer(缓冲区)入门
下一篇:python爬虫代码模板_Python:学习Python爬虫的第一天

发表评论

最新留言

感谢大佬
[***.8.128.20]2024年04月04日 05时47分41秒