How Google, Sun, Adobe, Hp names came?

How Google, Sun, Adobe, Hp names came?

How Google Name came? Google founders (Larry Page and Sergey Brin) dropped out of the Stanford computer science PhD program to build a company around their website-ranking algorithm.They decided on a tentative name, “Googol”, which refers to the number 10100, or a 1 followed by a hundred zeros, which is more than the number of atoms(1080) in the universe, to symbolize the massive amounts of data that they were setting out to crawl and organize. When they met SUN founder…

Read More Read More

541 total views, no views today

Tips to Clear OCJP 6 (SCJP) certification

Tips to Clear OCJP 6 (SCJP) certification

Tips to Clear OCJP 6 (SCJP) certification: Amazon.in Widgets Introduction about OCJP 6: OCJP (oracle certified Java Programmer) well known as SCJP (sun certified java programmer). SCJP 6 – 310-065 has now changed to OCJP 6 -1Z0-851. Only exam code has been changed, no changes in the syllabus rather than that drag and drop questions cancelled in the OCJP 6. you will have 60 questions and need to score 61 to get pass within 150 minutes. How to Start the…

Read More Read More

4,213 total views, no views today

How to pass Jsp values to Java?

How to pass Jsp values to Java?

This is jsp page (output.jsp): <%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″ pageEncoding=”ISO-8859-1″%> <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″> <title>Insert title here</title> </head> <body> <%@ page import = “guru.hashmap”%> <% hashmap hm = new hashmap(); String inputvalue = request.getParameter(“word”); String output = hm.HashmapValues(inputvalue); out.println(inputvalue); out.println(“means”);%> <br> <% out.println(output);%> </body> </html>   This is java program (hashmap.java): package guru; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class hashmap { static String naveen; String…

Read More Read More

768 total views, no views today

HashMap with Entryset Example

HashMap with Entryset Example

package cool; import java.util.HashMap; import java.util.Map; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class hashmap { /** * @param args */ public static void main(String[] args) { HashMap<String, String> myMap = new HashMap<String, String>(); myMap.put("ind", "india"); myMap.put("tn", "tamilnadu"); myMap.put("blr","bangalore"); Set<Entry<String,String>> set = myMap.entrySet(); for (Map.Entry<String, String> me : set) { if(me.getKey().equalsIgnoreCase("tn")){ System.out.println(me.getValue()); } } } } 543 total views, no views today

543 total views, no views today

Design your website within 60minutes…!!

Design your website within 60minutes…!!

Step 1: Buy domain name (eg: www.ngdeveloper.com) and hosting (space to store your website contents on the server). You can buy domain names and host spaces from, Bigrock.in Godaddy.com Hostgater.com Hioxindia.in etc…   Note: you can register domain names and host spaces with different persons. Buy the host spaces based on your language, means if your page is asp then you need to buy windows hosting and if your page is java then you need to buy linux hosting. Step…

Read More Read More

1,106 total views, no views today

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/ref/FinalReference

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/ref/FinalReference

Solution: Step 1: Right click on the project and type Run as -> Run configurations Step 2: You can choose Java Application or you can remove the Bootstrap entries and simply run your android project.   Thanks for reading this post……!!! 504 total views, no views today

504 total views, no views today

Tomcat-Java Path Setting

Tomcat-Java Path Setting

Step 1: Right click on computer – > properties – > Advanced system settings – > Advanced – > Environment Variables – > User variables. Step 2: Create New and type as follows, variable: JAVA_HOME value : C:\Program Files\Java\jdk1.6.0 variable: JRE_HOME value : C:\Program Files\Java\jre1.6.0 variable: PATH value : C:\Program Files\Java\jre1.6.0;C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\Java\jre1.6.0\bin;C:\apache-tomcat-6.0.14\bin; variable: CLASSPATH value : c:\Program Files\Java\jdk1.6.0\jre\lib Step 3: If tomcat server doesnot start then remove the end semicolon in JRE_HOME and JAVA_HOME. Now start the server it will start successfully….

Read More Read More

1,166 total views, no views today

Ubuntu 11.1.0 Basic Configuration

Ubuntu 11.1.0 Basic Configuration

The below mentioned steps are required to install any softwares in ubuntu from internet directly, Step 1: System settings -> Software sources -> Ubuntu software. Please check the source code option and, Choose Main server from the Download from drop down. After selecting this it will ask us for password(ubuntu password). then close it.   Step 2: Open the terminal and type sudo su. then create a file called /etc/apt/apt.conf and type as follows inside it, Acquire::http::proxy “https://username:password@(say xxx.yyy.com):port(say 8080)/”; Step 3: Now type…

Read More Read More

421 total views, no views today

Ant (configuration and My First Ant)

Ant (configuration and My First Ant)

Step 1: Set the environment variables as follows, Start -> My Computer -> Rightclick on it and click properties -> Advanced System Settings-> Advanced -> Environmental variables -> create new on the user variables and type, 1. Variable Name: JAVA_HOME Variable value: jdk path.(say C:\Program Files\Java\jdk1.7.0) 2. Variable Name: ANT_HOME Variable Value: Ant path (say C:\Apache Ant 1.7.1) 3. Variable Name: Path Variable Value: Ant path;Jdk path (say C:\Apache Ant 1.7.1\bin;C:\Program Files\Java\jdk1.7.0\bin;) Note: In the JAVA_HOME and ANT_HOME path should be without bin, but in the path till the bin we have to…

Read More Read More

1,010 total views, no views today

Inserting backslash in mysql

Inserting backslash in mysql

Consider the below table for your clear understanding of backslash insertion in mysql, create the myday table with two attributes (say a and b), I am inserting the example below data’s, Insert into myday (a,b) values (“naveen”,”javadomain\java”); If you see the table data’s will be look likes below one, naveen javadomainjava. (no backslash) In order to solve this problem we can consider anyone of the below solutions, 1. Use the preparedstatements to insert the data’s. 2. use two backslashes(one for…

Read More Read More

489 total views, no views today