Introduction This article is the next in the series of articles about Java Servlet. In this article we make an application and we will learn about how to Connect the Database and validate the username and password from the Database enter from the Login page. In this application we are using Oracle Database 10g. First of all we make a Database table for login validation. Steps to create a table in Oracle Database are given below:Step-1: Install the Oracle Database. After Installing , Go to Start-> All Programs-> Oracle Database 10g Express Edition-> Run SQL Command Line click it. A run SQL command prompt appears. Step-2: First type connect or conn. Press Enter key then Enter user-name system again. Press Enter key then Enter Password. This password is same as installation time but by default we use tiger or scott. Press Enter key now you are connected to the Oracle Database. Step-3: Now we are creating a Table. Creating tables is done with the create table command. The create table command does the following:
C# Corner. All contents are copyright of their authors.