26Jun/13

JSF 2.0 + JDBC integration example

Here’s a guide to show you how to integrate JSF 2.0 with database via JDBC. In this example, we are using MySQL database and Tomcat web container. Directory structure of this exampleRead More…

26Jun/13

Struts Validation Framework Tutorial with example.

Apache Struts has changed the way we develop a Web application. Since its inception as an MVC architecture, Struts has been extensively used in J2EE world to develop robust, extendable and effectiveRead More…

25Jun/13

How to use Map in Java

import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class LoopMap { public static void main(String[] args) { // initial a Map Map<String, String> map = new HashMap<String, String>(); map.put(“1”, “Jan”); map.put(“2”, “Feb”); map.put(“3”,Read More…

21Jun/13

How to do basic file I/O in Visual C#

This step-by-step article shows you how to do six basic file input/output (I/O) operations in Microsoft Visual C#. If you are new to the Microsoft .NET Framework, you will find that theRead More…

20Jun/13

How to create directory in Java

To create a directory in Java, uses the following code : 1. Create a single directory. new File(“C:Directory1”).mkdir(); 2. Create a directory named “Directory2 and all its sub-directories “Sub2″ and “Sub-Sub2″ together.Read More…

13Jun/13

How to search Google efficiently?

Tricks for efficient Google search:Every 9 out of 10 people use Google to Search the content they wish, and according to a recent survey 80-90% of people face unsuccessful searches. Today theRead More…

12Jun/13

How to Use Gmail as if It Had Folders and Filters

Are you disheartened by Gmail’s lack of folders? Folders into which you can stick your emails; folders reminiscent of drawers or trusty file systems; folders whither you can move messages, even automatically?Read More…

12Jun/13

Using Web Services to Build Your Own Weather Application

Web services allow different applications from different sources to communicate with each other without time-consuming custom coding. All communication is in XML, and they are not tied to any operating system orRead More…

11Jun/13

Tomcat Manuall Configuration On windows

Setting the JAVA_HOME , CATALINA_HOME Environment Variable on Windows One can do using command prompt 1. set JAVA_HOME=C:”top level directory of your java install” 2. set CATALINA_HOME=C:”top level directory of your TomcatRead More…