SPRING MVC is commonly used framework for creating web applications in JAVA. Here we will see the common implementation of SPRING with MVC pattern. At the end of this tutorial we will have a spring mvc login example, which will help all the newbies to get started with Spring.
This tutorial explains the implementation of Datatables with Spring MVC. Most of you all will be aware of usage of data tables in a web application, here we will see how to integrate it with Spring MVC application. This is like any other web page that we create in our MVC application, the only different thing here is using jQuery’s data table to display the data in a tabular form and with additional options like paging, searching and sorting. Continue reading “Datatables with Spring MVC”
This is one of the basic examples for newbies who are still in the learning phase. 🙂 Most of you may get an assignment to print triangle of * or numbers or serial number etc. So, this example if for all those guys n gals. In this example we will print a Right angle triangle where we will print the sequence something like:
This is one of the simple tutorials on jsp include file. Most of the time in any of the web application we need some part of the application on almost each of the pages. So, writing the code in each of the pages is really tedious and is not the best practice. For example, if we have a web application where we have to use the Header code and Footer code on every page then its the best practice to write the code once in a separate file and then import that file or its contents into the page where we want it to be displayed.
This is one of the tutorials on JSP and Servlets. In this we will discuss and create a simple login application using servlets and JSP where we will connect to the DB for the user credentials and then authenticate the users accordingly. First of all we will discuss about what we will need for this.
We will create three JSP pages which will be the only viewable parts of our code. The three pages will be as Login Page, Login Success page and the Invalid Login page. Continue reading “Login Example – JSP and Servlets: Part I.”
This tutorial is regarding the jsp redirection from a Servlet to a another jsp page. Most of you may need to redirect the user to a jsp page being on the servlet page. This tutorial will help you. There are two ways to achieve this, we will discuss them both.
This tutorial is for the starters who want to know how exactly Servlet can be written and executed on the browser. In this, we will create a simple servlet program – Hello World. Continue reading “First Servlet Program – Hello World.”