The Spring Web model-view-controller (MVC) is designed around a DispatcherServlet that dispatches requests to handlers, with configurable handler mapping, view resolution, locale and theme resolution as well as support for uploading files.
A Controller is typically responsible for preparing a model Map with data and selecting a view name .
Inversion of control is a common characteristic of frameworks. As the name suggests it inverts something. So, What aspect of control it is inverting?
Early user interfaces were controlled by the application program. You can see commands like “Enter name”, “Enter address”; Your program would drive the prompts and pick…
A servlet is a small Java program that runs within a Web server. Servlets receive and respond to requests from Web clients, usually across HTTP, the HyperText Transfer Protocol.
We can implement 2 types of interface.
Life Cycle of Servlet
Normalization is the way to organize data in database.
It is used to remove insertion, updation and deletion anomalies.
Normal form is used to reduce redundancy from the database.
First criteria of 1NF is that table must contain atomic value.
Single attributes of a table can’t hold…
In simple words we can say that it tells how much time our program is taking to run.
Calculating time complexity:-
Here i variable is taking constant time. …
In this blog we are going to see about collections in java. So collection is a framework in java by which we can do many predefined task by using predefined methods in collection framework.
Array:- When we want to store more than one elements inside one reference then we use…
Object-Oriented Programming is a programming paradigm which is based on the concept of objects. Here objects contains 2 things data and code. Data can be in the form of fields. In other words fields can be called attributes or properties.
Concepts in Object-Oriented Programming