Sunday, May 15, 2011

40 Romantic Photographs Shot in the Rain

40 Romantic Photographs Shot in the Rain

After preparing all the equipment for an outdoor shoot but suddenly a heavy rain came. Most photographers will feel uncomfortable and choose to stay home then. Pictures taken in the rain can actually look very soft and romantic. Let us admire these beautiful images taken by the skillful photographers.

How to Design Online Quiz Application

In this section, we are going to implement of Online quiz application using of JSP.
  
Step 1: Create Question and answer insert form (questForm.jsp) .

In this step first of all create quiz question and answer form using with JSP or JDBC database.

Saturday, May 14, 2011

How to retrieve data from database, using servlet or a jsp?

Basics of Database Connectivity 
In java we have been provided with some classes and APIs with which we can make use of the database as we like. Database plays as very important role in the programming because we have to store the values somewhere in the back- end. So, we should know how we can manipulate the data in the database with the help of java,  instead of going to database for a manipulation. We have many database provided like Oracle, MySQL etc. We are using MySQL for developing this application. 
In this section, you will learn how to connect the MySQL database with the Java file. Firstly, we need to establish a connection between MySQL and Java files with the help of MySQL driver .  Now we will make our  account in MySQL database so that we can get connected to the database. After establishing a connection  we can access or retrieve data form MySQL database. We are going to make a program on connecting to a MySQL database, after going through this program you will be able to establish a connection on your own PC