Posts

Showing posts from June, 2017

How to get the data from database to display on view page by using Angular JS in Spring MyBatis

Image
What is Spring?                      The Spring Framework is an application framework and inversion of control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform. I will create simple web application using SpringMVC + MyBatis + AngularJS to show  the  data from database ( MYSQL ) on UI page . 1 . Create JSP File for Student Application: Create a folder named “jsp” under WEB-INF (This is where the jsp files will be created as indicated in the dispatcher-servlet.xml for the InternalResourceViewResolver bean). By using AngularJS we can design below screen: Related to UI page we can see the code as shown in below:         <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD