In this article we will focus on how to iterate through hashmap. There are many ways to iterate through HashMap’s in java. We will try some of them. Methods to iterate through hashmap Using f
Spring MVC Error Tag Example
In this article we will explain the Spring MVC error tag and its usage. A Spring MVC error tag is normally used for showing any validation error during validating/submitting the data on the forms.
Spring MVC Select Tag Example
Spring mvc select tag can be used in multiple ways. We will see some of the ways in which we can use spring mvc select tag as a dropdown or a multiple select list. 1. Spring MVC select tag as dropd
Spring MVC Checkbox Tag Example
In this example we will see different ways of using spring mvc checkbox tag. You can either use <form:checkbox path="<somevariableName>" /> or <form:checkboxes path="<somevariableName>" items="<someListName>" /> based on your requirements.
Spring MVC Controller extends another Controller
Controller’s in the Spring MVC are mainly used for processing the requests and sending a model back to the views. What happens when a Spring MVC controller extends another Controller. When a
10 Commonly Used Spring MVC Form tags
In one of the articles we saw the form handling example for spring mvc. Now we will discuss the 10 Commonly Used Spring MVC Form tags. To use the tags from this library, add the following directive
Spring MVC Form handling Example
While developing a web application we usually come across some requirements that deal with capturing of data from the user in a form and then processing the same data on the server and returning an
Spring MVC Flash Attributes Example
A very common scenario in a MVC application is to Submit a form and show a success page along with some information about the submitted data. Now when we submit the form and show the success page,
Spring MVC Model Attributes
Spring MVC Model Attributes are used to bind data either as method parameter or its return value. It is also very commonly used to bind/show data on forms. @ModelAttribute is use
Spring MVC Session Attributes
Session handling has become a integral part of web applications. Spring MVC is no exception in Session Handling. Spring MVC provides very easy ways in which we can handle the Session Attributes. We