Spring Boot Web MVC @PathVariable

Path Variable This tutorial will show you how to use @PathVariable annotation in Spring MVC. The @PathVariable annotation is used on a method argument to bind it to the value of a URI template variable. You can also make this path variable optional in the URI. Path variable can appear in any path segment of the URI.

Spring Web MVC

This tutorial will show you how we configure Spring MVC, maven and Tomcat 7. For this tutorial we will create maven based web project in Eclipse. If you already have an idea on how to create a maven project in Eclipse will be great otherwise I will tell you here how to create a maven project in Eclipse.

Deploy Web Application in Jetty Container in Embedded Mode

Introduction This tutorial is all about to deploy a web application in embedded Jetty web container. Therefore, you do not need to deploy it manually into the external web server. Sometimes, you need to deploy the application in embedded mode, because during unit testing or integration testing you need to deploy the web application manually every time before you start…

Google Pie Chart Using Spring

Pie Chart This tutorial is about Google chart using spring framework. You may know that Google chart basically displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. You can have a look at the URL https://developers.google.com/chart/ for more information. You can integrate Google chart with any server side technology but…

Spring MVC and Spring JDBC Example

Introduction This tutorial shows an example on how MVC (Model, View, Controller) works in Spring framework. In this tutorial you will also find how JDBC (Java Database Connectivity API) works with Spring MVC. We will also see how annotation like @Autowired works in Spring. You will also see how datasource is configured in Spring. This example shows how to read…

Spring, JSP and Servlet integration example

Introduction In this tutorial we will create web application for Spring, JSP and Servlet integration example. In this spring, jsp and servlet integration example we will use spring version 3, jsp version 2 and servlet version 3. Though there are several MVC frameworks like JSF, Struts, Spring MVC etc. but still if you need to use Servlet without any MVC…