Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Springboot + jsp

启动方式

    1. mvn spring-boot:run
    1. 打包成war,通过 java -jar demo-0.0.1-SNAPSHOT.war启动

jar包运行的时候会404错误,因为默认jsp不会被拷贝到程序包中,而war包里面有包含了jsp,所以没问题。

另外springboot官方并不推荐使用jsp

生命不息,折腾不止!

更多信息,请关注:

  1. 我的博客
  2. 我的工具
  3. 我的微博
  4. 我的头条号
  5. 我的mooc

有任何问题可以

如果喜欢,请多多分享、多多Star