Sunday, October 25, 2015

How to Show/Hide Based Upon User Selection On CheckBox


We usually see the Animation on webpage which is totally based upon the user input. Exactly Same today we are going to do this in Our Tutorials. In this Tutorials we will See How we can show or hide a Division (<div>) based on user selection on Check box of Form input.

Steps to Make a Divison Show/Hide : 

Tuesday, October 13, 2015

How to Connect and CRUD Operation With MySQL Database In ASP.NET


In this article I use the C# and VB.Net ASP.Net application using the help of MySQLConnector will explain how to connect to the MySQL database.

 The Existing Database in MySQL is as Follow

Requirement For MySQL Database Connection

Friday, January 16, 2015

How to Connect Database (JDBC) In Java Servlet


This tutorial assumes you have knowledge on how the JDBC application work. Before accessing the database from a servlet, make sure you have the latest JDBC with a database.

The details on how to access the database using JDBC and an environment where you will go through our JDBC Tutorial.

Saturday, November 22, 2014

JDBC (Java Database Connectivity) Tutorial


What is JDBC ?

JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases.
The JDBC library includes APIs for each of the tasks commonly associated with database usage:
  • Making a connection to a database
  • Creating SQL or MySQL statements
  • Executing that SQL or MySQL queries in the database
  • Viewing & Modifying the resulting records

Introduction to Java Beans and What is EJB ?


What is Java Beans ?

  • A Java Bean is a reusable software component (actually, a Java class) that can be manipulated visually in a builder tool
  • Java Beans are just ordinary Java classes that follow certain conventions - you don't need special tools to create them
  • It is useful to have some tools to help assemble and configure a Bean-based application
  • Examples of "builder tools":

Friday, October 17, 2014

What is Null Pointer Exception and How to Handle/Fix it in Java?


When you declare a reference variable (i.e. an object) you are really creating a pointer to an object. Consider the following code where you declare a variable of primitive type int:

int x;
x = 10;
 
In this example the variable x is an int and Java will initialize it to 0 for you. When you assign it to 10 in the second line your value 10 is written into the memory location pointed to by x.
But, when you try to declare a reference type something different happens. Take the following code:

How to Comapre Strings In Java


While Surfing on Internet we got to Know that a Beginner is Facing the Following Problem :

"I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.Is == bad? When should it and should it not be used? What's the difference? "
 Well  In Our Basic Operator and Expression Topic we Get to Know that == is comparison operator but it is valid for Only Integer,Float,Array, Char.