Thursday, 25 December 2014

Create Process Bar Like Gmail In HTML

index.html <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>DEMO - Gmail like progress bar with CSS and jQuery</title> <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script> <style> body { background: rgb(245, 245, 245); } .g-div...

Create Dynamic URL in jsp

1.index.jsp page <html>   <head>     <title>the c:url action (1)</title>   </head>   <body>     This page takes 3 values that you specify, and forwards them to another JSP.     That JSP will create a URL to another page, that then extracts the     parameters and displays them.     <p />  ...

Friday, 14 November 2014

Create Trigger in MySql Database

Create Two Table First Table : employees  CREATE TABLE employees ( employeeNumber INT(11) , lastName VARCHAR(200), firstName VARCHAR(200), extension VARCHAR(200), email VARCHAR(100), officeCode VARCHAR(100), reportsTo INT(11), jobTitel VARCHAR(100)  ) Insert value in the 1st table employees insert  into `employees`(`employeeNumber`,`lastName`,`firstName`,`extension`,`email`,`officeCode`,`reportsTo`,`jobTitel`)...

Saturday, 23 August 2014

Difference between shallow copy and deep copy in java

A shallow copy would copy the object without any of its contents or data, In copied object all the variables are passed by reference from the original object. Remeber that, In shallow copy, Copied object and Original object refer to the same data in memory. Hence modifying the state of the original object would also modify the state of the copied object too. By default, when you call the super.clone()...