所有网址的Spring Boot War文件名配置

时间:2019-08-02 17:32:53

标签: spring spring-boot tomcat

war file name is billing.war


spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp
logging.level.org.springframework.web=INFO
server.servlet.contextPath=/billing
server.port=8081
spring.data.mongodb.port=27017
spring.data.mongodb.host=localhost
spring.data.mongodb.database=billing

this is my application.properties file

in that image url is with war file name then it runs fine

when i click any link then war file name not appending on link so it will get error when i add manuvally war file name then its fine

0 个答案:

没有答案