|
#设置服务器端口
#也可以通过启动命令行参数实现:java -jar myproject.jar --server.port=9084
server.port=unknown
is.spring.boot=false
#web.root的配置只在开发态生效。运行态时,file:${web.root}根据war包安装路径动态生成
web.root=src/main/webapp/
spring.mvc.static-path-pattern=/**
spring.resources.static-locations=classpath:/static/,file:${web.root}
server.context-path=/display
spring.application.name=display
spring.application.index=display
#server.servlet-path=/display
logging.file=/home/aiosc/logs/display.log
#spring.view.prefix=/jsp/
#spring.view.suffix=.jsp
|