For Each loop in Java
Purpose: Understanding enhanced for loop Program: public class ArrayDemo { public static void main(String args[]) { // declare an array of size 3 int arr[]= new int[3]; // initialize array with 3 v…...
11 Years Ago
Retrieval of form fields name at Server end
Purpose: How to retrieve names of fields, instead of values (from the form) at the Server Side? Steps: 1) Create “MyServlet.java”, as servlet file (don’t know how to create a serv…...
11 Years Ago
Database connection in Servlet
Purpose: How to connect your Servlet with Database? Steps: 1) Create “MyServlet.java”, as servlet file (don’t know how to create a servlet file in Eclipse? Refer to our post: R…...
11 Years Ago
How to retrieve a form at Server end using Servlet
Purpose: How to retrieve data from various fields of a particular form at Server Side, specially when multiple field names are same Steps: 1) Create “MyServlet.java”, as servlet file (d…...
11 Years Ago