npm install --save bootstrap
In the Angular 2/4 folder structure you will find the angular-cli.json which is used for configuration, part of it as see below in the figure, the styles section which will be used to add the bootstrap.
When we did run the npm install bootstrap, it was added into the modules. Continue reading
Today while adding to Java file a text box of date, i got below error while updating it:
Failed to convert property value of type java.lang.String to required type java.util.Date
The problem here that Spring cannot put the data into object and cannot map it's format, the solution is to bind it to format you want to use.
A data binder is needed, what is that ? how it's implemented ? let me answer those questions in the coming few lines.
If you have a date in a format like "mm-dd-yyyy" then it needs to be parsed, either you will do it manually after the @RequestParam Date or you will use like below or even using the WebDataBinder like Ex#2: