Using Quantifiers in LINQ

In this article, I will explain how to use Quantifiers in LINQ. Basically quantifiers are operators that return a boolean value. Further, these quantifier operators return a value that indicates whether all elements in a set satisfy a particular condition or only few. Also, whether a specific element is available in the set. Accordingly, the LINQ in C# provides following […]

Creating Deployment Descriptor in a Dynamic Web Project

This article explains Creating Deployment Descriptor in a Dynamic Web Project in Eclipse JEE. Basically, a deployment descriptor is called web.xml and contains configuration information regarding a dynamic web application. However, when we create a dynamic web project in Eclipse IDE, the web.xml file is not available by default. Therefore, we need to create this file explicitly. Steps for Creating […]

Registering a Servlet in Deployment Descriptor

This article explains Registering a Servlet in Deployment Descriptor. Basically, registering a servlet in the deployment descriptor requires providing the <servlet> tag in the web.xml file. Also, within this tag, the <servlet-name>, and <servlet-class> tags specify the name of servlet and associated java class respectively. Additionally, we can also specify <init-parameter> tags to provide the initialization parameters for a servlet. […]

Understanding Deployment Descriptor

Basically, a deployment descriptor refers to a configuration file in a web application. Whenever we create a J2EE application, it includes web components comprising of servlets and JSP files, For the purpose of managing the dynamic web application, we can create a web.xml file. In fact, the web.xml is our deployment descriptor. This web.xml file contains information regarding URL mapping, registering servlets, […]

Servlet and its Life Cycle

In this article, I will explain Servlet and its Life Cycle. To begin with, let us first understand what a servlet is. What is a Java Servlet? In fact, the java servlet is a technology to create dynamic web pages. In short, servlets are classes that reside on a web server or application server. Furthermore, a webserver executes a servlet whenever […]

Input Parameters in a Servlet

Since, a web page contains a form to get data from the users, the Input Parameters in a Servlet are received from the HTML form. Basically, an HTML form contains various input elements like textbox, checkbox, dropdownlist, radio buttons and so on. In order to pass the values entered by the user, these input elements must have the name attribute […]

Creating a Simple HTTP Servlet

In this article on Creating a Simple HTTP Servlet, I will explain writing the code of your first servlet using the Eclipse IDE. Basically, a servlet is nothing but a java class that serves the purpose of extending the capabilities of a server. Furthermore, a servlet handles the request and response operations. Steps for Creating a Simple HTTP Servlet The […]

How to Create Moving Balloons Project in Scratch 3.0

In this article, I will explain How to Create Moving Balloons Project in Scratch 3.0. Basically, the application demonstrates how to control the motion of a sprite using various types of block commands. Also, you can view this project here. The Steps Describing How to Create Moving Balloons Project in Scratch 3.0 At first, we need to select a backdrop, that […]

Cloning Sprites in Scratch 3.0

Basically, Cloning Sprites is an important activity that forms part of many Scratch games. This article explains cloning sprites until a condition is satisfied. Also, it explains how to delete a clone. The following project demonstrates cloning sprites. Command Blocks used in the Project The following command blocks are used in cloning sprites. At first, we use the event command so that the script […]

Block Commands in Scratch 3.0

In this article, I will explain Block Commands in Scratch 3.0. Basically, the block commands in Scratch represent the coding blocks. In fact, we have nine different categories of block commands. The following list shows these nine block commands. Motion Looks Sound Events Control Sensing Operators Variables My Blocks The following section describes each set of block commands in brief. […]