Starter Tutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.
Home » Programming » Advanced Java » Servlets

Java program to create a form and validate password using servlet

Suryateja Pericherla Categories: Servlets. No Comments on Java program to create a form and validate password using servlet

AIM Write a java program to create a form and validate password using servlet.   Theory The <form> tags in HTML can be used to create a login form. The <input> tag with type set to text can be used to create a text field and <input> tag with type set to password can be […]

Read the rest of this entry »

Java program to create a Servlet for counting the number of times a servlet page is accessed

Suryateja Pericherla Categories: Servlets. No Comments on Java program to create a Servlet for counting the number of times a servlet page is accessed

Aim Write a java program to create a Servlet for counting the number of times a servlet page is accessed.   Theory Session Object Session object allows the user to store session data on the server-side. This may be a burden on the server if the application is accessed by large number of users. Servlet […]

Read the rest of this entry »

Java program to create a cookie and the set the expiry time

Suryateja Pericherla Categories: Servlets. No Comments on Java program to create a cookie and the set the expiry time

Aim Write a java program to create a Cookie and the set the expiry time for the same.   Theory A session is a collection of HTTP requests, over a period of time, between a client and server. Maintaining the data within the session is known as session tracking. For example, maintaining the book details […]

Read the rest of this entry »

Java program to demonstrate two-tier client-server model using servlets

Suryateja Pericherla Categories: Servlets. No Comments on Java program to demonstrate two-tier client-server model using servlets

Aim Write a java program to demonstrate two-tier client-server model.   Theory A two-tier client-server architecture consists of a client and a server. The client sends requests to the server and the server takes the request, processes the request and sends a response back. The two-tier client server architecture can be visualized as shown in […]

Read the rest of this entry »
Facebook
Twitter
Pinterest
Youtube
Instagram
Blogarama - Blog Directory