How Technology Will Change the World in 2020?

Technology it is the term which when comes to your mind brings many different thoughts and different spices to your mind. Usually technology refers to all the latest models and all the leading innovations that have being developed in the world. Technology is the only reason by which we can differentiate between the old and the today’s world. With the help of technology almost the entire world has been changed the only things that have not changed is the rituals and the believes of the local man. Each and everything in today’s world…Read more
Cheap Hosting Provider

Cheap Hosting Provider

If you are thinking of starting your very own online presence then you must buy a domain name and choose a hosting space to keep your website files up and running 24/7 365 days. Since there are hundreds of hosting providers it is really a daunting task to choose one from them. And depending on your needs you have to choose the perfect one that fits with your demands. In this post we will describe some of the aspects you should consider while choosing a cheap hosting provider. So let’s begin with disk…Read more

Quick Revision: Functions in c++

Hi, guys this is short but very smart understanding for functions in c++ programming language. You can learn this in very simple way and lucid way we have explained the functions. C++ functions are the building blocks of the C++ programs. The main function of the function is to hold the executable code of our written program. The entry and the exit of any C or the C++ program is usually done in the main function. The main function as its name suggest is the basic main function of your program it is used…Read more

Computer Network: A Need of an Hour

                             Hi, friends we are discussing last point review for computer network. This is an article where you can learn or revise networking concept in very easy manner as well effective manner. Let’s start with definition of computer network Computer network is the interconnection between the two or more devices via different transmission Medias to the means of communication. When we are doing or performing a Computer Network communication we actually need two or more host, peer, client, server or…Read more
Introduction to C++

Introduction to C++

C++: C++ is a programming language. It was first seen in the year 1980’s.C++ is an object oriented programming language it has more advantages and benefits then the simple C language. There are C++ definitions’ and compilers which have made the object oriented programming simpler and much easier. C++ is now the world’s most contemporary mini and micro computer applications are written. It was initially developed in the   AT&T’S laboratories whose first version was BCPL of what later came to be known as the C language and then further with more modifications and…Read more

Dispatching From the Controller to a View

In this, you learn how to perform the last step in a form processing controller: Dispatch the next view component. This requires learning two new concepts: passing objects between web components using the request scope and passing control between web components using a request dispatcher. Request Scope: Servlets must be able to communicate with one other, but you do not want your servlets to have intimate knowledge of each other’s data. The servlet API provides a mechanism to store objects in the request object using a method called setAttribute. The object can then…Read more

Developing a Controller Component : Part-2

In the Part-1 of Developing a controller component, we have studied information about controller types and creating HTML form etc. Now in this article we will study information related to controller servlet. Developing a Controller Servlet: Form processing (controller) servlets usually perform the following tasks: Retrieve form parameters from the HTTP request Perform any data conversation on the form parameters. Verify the form parameters. Execute the business logic. Dispatch to the next view components based on the results of the previous steps. In this, we will see how to develop a controller servlet…Read more

Developing a Controller Component : Part-1

Designing Controller Components: In this, it describes the design aspects of developing a controller component. A controller is a component that accepts input from a user and performs the specific operation based on the input. In general, input can be data, actions or gestures. In web applications, input comes in the form of an HTTP request. Types of Controller Component: There are many types of the controller components, but for the business applications the following are the most important: Process input from a user Input in an HTTP request is provided by the…Read more

Designing a View Components : Part-4

In the third part of designing a view component, we had taken overview of points like web container architecture, Now in this post we will take actually focus on writing code for class and doing further configuration. The ListLeaguesServlet Class: In this, it describes an implementation of the ListLeagues view component. This servlet responds to an HTTP GET request method. Therefore, it must override the doGet method. package view; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; // support classes import; import javax.servlet.http.PrintWriter; // Model classes League; import java.util.List; import java.util.LinkedList; import java.util.Iterator; The…Read more