Before we start and to make sure we are in line on the terminology, I will use the name…
Use these code snippet to add session data to html/jsp page without touching ANY java code.
[sourcecode language=”html”]
<h4 style=”color: white;” th:text=”${#ctx.httpSession.id}”>SessionID </h4>
[/sourcecode]
First create Spring REST controller to process the request.
@RestController@RequestMapping(value = “/json”)public class RESTController{
@ResponseBody@RequestMapping(value = “/city”, method =…
If you are using windows 8, you might have come up with this issue. After hours of Googling, finally found a solution for this.
Suppose we need to create an API which requires user authentication to access that…
AngularJs is mainly used for developing Single Page Applications (SPA). So different…
AngularJS is a huge framework with that already has many performance enhancements built in, but they can’t solve all our problems. No matter how fast the framework, we can all create sluggish code through bad practices and not…
First go to command line and create a simple project with maven.
mvn…