Viral Patel

HTML5 DataList Example

HTML5 DataList Example
HTML5 Datalist is a new html tag shipped with HTML5 specification. HTML5 Datalist can be used to create a simple poor man's Autocomplete feature for a webpage.In this tutorial we will go through the basics of HTML5 Datalist tag and check some quick examples of autocomplete.Introduction to HTML5 Datalist tag As part of HTML5 specification a new tag <datalist> has been introduced. Using this ...

Java 8 Lambda Expressions Tutorial with Examples

Java 8 Lambda Expressions Tutorial with Examples
Java is a first-class object-oriented language. With the exception of primitive data types, everything in Java is an object. Even an array is an Object. Every class creates instances that are objects. There is no way of defining just a function / method which stays in Java all by itself. There is no way of passing a method as argument or returning a method body ...
Tags: ,

Java 8 Default Methods Tutorial

Java 8 Default Methods Tutorial
Java 8 Default Method tutorial. Overview of Virtual extension method in Java 8. How to define default methods to interfaces in Java 8.
Tags: ,

How to get Eclipse current workspace path

How to get Eclipse current workspace path
Eclipse does not show current workspace path easily. In order to know current eclipse workspace path, follow these simple steps.

jQuery window height is not correct

Quick fix for JQuery window height issue. Jquery sometime shows incorrect height for $(window). This is fix to correct that bug.
Tags:

45 Useful Oracle Queries

45 Useful Oracle Queries
Here's a list of 40+ Useful Oracle queries that every Oracle developer must bookmark. These queries range from date manipulation, getting server info, get execution status, calculate database size etc.Date / Time related queriesGet the first day of the month Quickly returns the first day of current month. Instead of current month you want to find first day ...
Tags: , ,

AngularJS Service / Factory Tutorial with Example

AngularJS Service / Factory Tutorial with Example
1. Introduction to AngularJS Services In AngularJS world, the services are singleton objects or functions that carry out specific tasks. It holds some business logic. Separation of concern is at the heart while designing an AngularJS application. Your controller must be responsible for binding model data to views using $scope. It does not contain logic to fetch ...

Oracle XMLTable Tutorial with Example

Oracle XMLTable Tutorial with Example
Oracle XMLTable: Learn how to parse XML in Oracle using XMLTable in 11g. Use XPath to query XML nodes in Oracle.

Spring @RequestHeader Annotation example

Spring @RequestHeader Annotation example
Let us quickly check how to access http Header information in Spring MVC Controller.Spring @RequestHeader Annotation Spring MVC provides annotation @RequestHeader that can be used to map controller parameter to request header value. Following is the simple usage of spring @RequestHeader annotation.import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; //..@Controller public class HelloController {@RequestMapping(value = "/hello.htm") public String hello(@RequestHeader(value="User-Agent") String userAgent)//.. } }In above code snippet we defined a controller method hello() which is mapped ...

Java Locale List

Java Locale List
Here is a complete list of Locales in Java. This list is compiled using the mighty java.text.SimpleDateFormat class.The class SimpleDateFormat provides a method getAvailableLocales() which gives array of java.util.Locale objects. This is java locale list. We can iterate over this list and get all relevant information about these locales.By the way, the above tag cloud ...
Tags:
Page 1 of 3412345...102030...Last »