Posts

Showing posts from June, 2017

How to Update the data in database by using Angular JS in Spring Mybatis without using X-Editable

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 app lication using SpringMVC + MyBatis + AngularJS to show Update data for View page. 1. Create JSP File: 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 Angular Js we can design below screen: Whenever, Clicking on edit button it just shows the Update and Cancel button. Related to UI page we can see the code as shown in below: <div class="generic-container" id="reg" ng-controller="myclr "> <div class="panel panel-default" id="reg"