Hudson Path Setting

Step 1: Before deploying hudson ensure you have installed java and apache tomcat server in your system. Step 2: We should set the path as like as follows to deploy the hudson in the tomcat server, set JAVA_HOME=(path of the jdk only (not till bin)) set PATH=%PATH%;path of jdk including bin set CLASSES=(path of tomcat including bin) Step 4: Download and copy the […]

414 total views, 2 views today

» Read more

Extracting .java from .jar and .class

Steps to be followed,  1. Type Hello world program. 2. Convert .java to .class file. 3. Convert .class to .jar file. 4. Convert .jar to .class 5. Convert .class to .java Step 1: Consider the below program, (hello world program) package mygod; public class Hello { public static void main(String[] args) { System.out.println(“God is there…!!”); } }  Step 2: Converting […]

624 total views, 2 views today

» Read more

Command to create war file in command prompt in java

Creating war from jar in command prompt: In order to create the war file, you need to have the jar file first. Then go to project location say, C -> Apache software foundation -> Apache Tomcat -> Webapps -> Guru (consider guru is the project now and we need to create the war file for the same). Go the above […]

934 total views, no views today

» Read more

Guide someone and get paid by about.com….!!!

Hello friends, Yes. Now you can earn money simply guiding someone for something. For example If someone looking for the information on health insurance. then you guide and write for them and get paid by about.com For more details please click the below link, http://beaguide.about.com/gdapplynow.htm   Thanks for reading this post……..!!! 1,356 total views, 5 views today

1,356 total views, 5 views today

» Read more

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 […]

428 total views, no views today

» Read more

Tips to Clear OCJP 6 (SCJP) certification

scjp

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. […]

3,922 total views, 6 views today

» Read more

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 […]

689 total views, no views today

» Read more

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()); } } } } 472 total views, no views […]

472 total views, no views today

» Read more

Design your website within 60minutes…!!

Step 1: Buy domain name (eg: www.javadomain.in) 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 […]

924 total views, 4 views today

» Read more
1 59 60 61 62 63 66