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.

Read More →

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

Read More →

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

Read More →

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,

Read More →

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

Read More →

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

Read More →

Spring MVC Attributes

While developing a web application we have to take care of the scopes (session / request) of objects that are used to manipulate data. Spring MVC provides many ways to handle such data in various s

Read More →

Spring MVC Cookie Handling

Spring MVC Cookies are small text files that are stored on client computers browser directory. Cookies can be used for any of the following 1. Remember the information about the user who has visite

Read More →