.

Downloading and Installing Java in windows

1.1 Getting Started In order to teach you about java programming, we assume that you’ve done little or no programming in the past and you are using a machine running Windows. What you need To write all our code, we’ll use Notepad, a simple editor included with the Windows platforms. In order to run Java programs,…

Read More

Handling both GET and POST request

In section 2.3 we have created an HTML form that sends GET request and to handle GET request we created a servlet that uses a doGet method. In section 2.4 we have created an HTML form that sends POST request and to handle POST request we created a servlet that uses a doPost method. Now,…

Read More

Static Class Members

In Java you can create a field or method that does not belong to any object of a class. Such are known as static variables or static methods. Static Variable To declare a static variable, you put them in the class just like instance variables, but you put the keyword static in front. Static variables belong to…

Read More