Latest Blog Posts - techlabs
- Java program to check a number is odd or even using Bitwise AND (&) , Mod (%) , Divide ( /) operator Before writing the java program to check whether the given number is odd and even , let us see what is even and odd number?. An even number is an integer that is divisible by 2, i.e., when y...
- Bitwise AND (&) to check a number is odd or even in java Before writing the java program , let us see what is even and odd number?. An even number is an integer that is divisible by 2, i.e., when you divide the integer by 2, the remainder wi...
- SingleThreadModel in java servlets. Why SingleThreadModel interface is deprecated in Servlet API version 2.4?on Jan 14, 2013Do you want your servlet to be thread-safe, and you want to limit the overhead of synchronization?. Then you may consider the the option using SingleThreadModel but it is now deprecated because of certain limita...
- SingleThreadModel interface in java servlets. Why it is deprecated in Servlet API version 2.4? Do you want your servlet to be thread-safe, and you want to limit the overhead of synchronization?. Then you may consider the the option using SingleThreadModel but it is now deprecated because of certain limita...
- String generic methods in javascript example . use of apply and call methods.how to apply String methods to any objecton Jan 1, 2013 in JavaScript GenericsJavaScript 1.6 introduces generic versions of all string methods attached to the String objects. This tutorial covers about the String generic methods , an additional feature supported in Firefox as of JavaScript 1.6...
- String generic methods in javascript exampleon Jan 1, 2013 in JavaScript GenericsJavaScript 1.6 introduces generic versions of all string methods attached to the String objects. This is an additional feature supported in Firefox as of JavaScript 1.6. This feature may not be supported in IE or Chrom...
- How to Merge of two arrays in javascript / jQuery. concat() vs merge()on Dec 20, 2012 in JavaScript ArrayIn some applications , you may need to combine two or more arrays into one larger array. For example , you might have created two or more small arrays to store touriest places in a state as given below. &nbs...
- Update / Delete / Select limited (N) number of rows in db2on Dec 13, 2012 in DB2For Select : In db2 , fetching a limited number of rows is very simple. You can use FETCH FIRST n ROWS ONLY with select query. In some applications, a select query with certain condtion or without condition may return a large number of rows, bu...
- Marker interface in java with example. How to create & implement own marker interface?on Dec 5, 2012 in java Java InterviewOne of the useful technique in java is marker interface. What is Marker interface? Why and when it is required?. Can you create your custom (own) marker interface? These are some of the quest...
- Code to auto-refresh part of jsp / html page (div area) using ajax with / without jQuery in a intervalNow a days live cricket score is available in websites that update the latest score from the server database in regular interval. Similarly a page may include a stock quote, which is updated every few seconds. And yo...
Loading Comments...
Comments
{ds_PageTotalItemCount} commentcomments
{pvComments::date}
{pvComments::comment}


