Posted On: Feb 22, 2018
/src/main/resources/static is the suggested folder for static content in Spring boot.
You can create a JS file for sending an alert by creating a custom file named custom.js in /src/main/resources/static/js/ directory with below code
alert("I'm active");
Never Miss an Articles from us.
Spring Boot is a system from “The Spring Team” to facilitate the bootstrapping and development of new Spring Applica..
Here are some of the various advantages of using Spring Boot:It is quite easy to create Spring Based applications with..
Various Spring Boot Features are as follows:Web Development Spring Application Application occasions and listeners Adm..