Skip to content

Tag: spring-boot

Convert String to Money Thymeleaf

I am having a problem converting input String to money. I am creating a spring boot application with thymeleaf. I have a web page where user inputs the data and there is a particular field where he inputs the String and it needs to be converted to type joda.money as in my pojo class that field has money data …

How starter-web prevent spring-boot exit?

When using spring-boot-starter-web, The spring-boot application won’t exit after startup. And with Jetbrain IDEA, There is an icon show spring-boot start up finished: But if I using : Or Can let spring-boot keep running but the IDEA icon will loading forever, So that must be different way compare with s…

How to read the response of a REST api in spring boot [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 months ago. Improve this question I am making request to a post API using RestTemplate which will give resp…

How to modify the port of https(http) URL?

Originally, I have a website with nginx and Ubuntu 20.04 port at 80(http) and 443(https), the URL is https://mysite.cc (It works well) And now, I want to set another site with Spring Cloud (Docker) with the URL https://new.mysite.cc How to set the nginx or the docker of Spring cloud? Right now, all of the two…