First create Spring REST controller to process the request.
@RestController@RequestMapping(value = “/json”)public class RESTController{
@ResponseBody@RequestMapping(value = “/city”, method =…
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]
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…
If you are using windows 8, you might have come up with this issue. After hours of Googling, finally found a solution for this.