Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Issue with Javascript  June 19, 2012 at 11:52 AM
Hi I created arrays in javascript in following way var myimages= new Array(); myimages[0]="iphone_pushups.png"; myimages[1]= "cricket.png"; myimages[2]= "july.png"; myimages[3]= "matrix.png"; myimages[4]= "rhymes.png"; var Questions= new Array(); Questions[... View Questions/Answers

jQuery Autocomplete fetch_object fatal error?  June 19, 2012 at 10:43 AM
I am consistently getting this error when I use the code supplied here, even after updating the database information etc. http://www.roseindia.net/tutorial/ajax/jquery/autocomplete.html "Fatal Error: Call to a member function fetch_object() on a non-object" Now the ... View Questions/Answers

get details of employee after enter the emp_id  June 19, 2012 at 2:39 AM
how to get employee details after entered the emp_id from database after that we have three more option add new,modify and delet employee ... View Questions/Answers

Advertisement

get details of employee after enter the emp_id  June 19, 2012 at 2:39 AM
how to get employee details after entered the emp_id from database after that we have three more option add new,modify and delet employee ... View Questions/Answers

Java Create a file that contains your favorite movie quote  June 19, 2012 at 1:00 AM
Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file as Quote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file as Quote.doc. Write an application that displays the sizes of the two files, as... View Questions/Answers

temperature converting  June 19, 2012 at 12:41 AM
Write a program that makes use of a class called Degrees that implements the following doublemethods as per the UML class Method celsius returns the Celsius equivalent of a given Fahrenheit temperature Method fahrenheit returns th... View Questions/Answers

How to show data from database in textbox in jsp  June 18, 2012 at 11:55 PM
How to show data from database in textbox in jsp ... View Questions/Answers

jsp and servlets  June 18, 2012 at 10:06 PM
i want code for remember password and forget password so please send as early as possible ............. thanks in advance ... View Questions/Answers

OCR with java  June 18, 2012 at 9:18 PM
how to use OCR technique with java for the scanned images??? ... View Questions/Answers

java related question  June 18, 2012 at 9:13 PM
How can we make a program in which we make mcqs question file and then make its corresponding answer sheet....like if we make 15 mcqs then java should generate it answer sheet of 15 mcqs with a,b,c d options......can we create this type of code. ... View Questions/Answers

tables in oracle 10g  June 18, 2012 at 7:26 PM
sir i have created a table in oracle 10g,i want to know where this table is stored and how can i move this table to another pc and insert values in to it ... View Questions/Answers

Sending mail (Contact Form in a website)  June 18, 2012 at 7:19 PM
Hi, I just uploaded few of my webpages into a free web hosting service, where i can just upload the web pages. Am very much new into this field. I want to write a contact form, which on submit should send the details to my inbox. I heard this can be possible in PHP. Can anyone plsss tel me how to... View Questions/Answers

triangle  June 18, 2012 at 7:10 PM
Write a program that makes use of a class called Trianglethat: Reads three positive, nonzero integer values from the keyboard (assume valid integers will be entered) Determine and print if they could represent the sides of a triangle If they can form a triangle, dete... View Questions/Answers

Java  June 18, 2012 at 7:08 PM
hello sir.........i am doing one jsp project and i am having one table with columns first name middle name last name mobile number address i want to concat first,middle,last name and i have to show a datagrid view as Name Mobile Number Address for example-if table contais data as- firs... View Questions/Answers

how to display data from database according to entered value in search field  June 18, 2012 at 7:06 PM
this is my search.jsp file <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%> <%@page import="java.sql.*"%> <%@page contentType="text/html" pageEncoding="UTF... View Questions/Answers

hide and show result in jsp  June 18, 2012 at 6:27 PM
what codes do i have to change to make my result display if only i enter the correct value? suppose if i click search,then the result will be display at the bottom.. if not.. only the header will be shown. i suppose to put an if statement,but im not sure where to put it. before or after my while... View Questions/Answers

Java code for set...!!!  June 18, 2012 at 5:49 PM
Create 2 classes in same package Product.java productId, name, price ProductImpl.java create a set in this and try to add objects of product. You should write this exercise such that it should not allow the duplicate produ... View Questions/Answers

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException  June 18, 2012 at 5:43 PM
when i click on the SUBMIT button ON,OFF window is visiable first OFF button is clicking I getting the error : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at NextPage$2.actionPerformed(NextPage.java:36) ON button is clicking the application is runing a... View Questions/Answers

The server encountered an internal error () that prevented it from fulfilling this request  June 18, 2012 at 4:33 PM
I copied your state city code . but i getting this error how can i retrieve this error ." The server encountered an internal error () that prevented it from fulfilling this request ". ... View Questions/Answers

Java code for buffer operation...!!!  June 18, 2012 at 3:45 PM
Implement a buffer operation using character array, storing last 100 characters inserted by user. Make method to get and retrieve??? ... View Questions/Answers

java code for PartialSearch using Map????  June 18, 2012 at 3:43 PM
java code for Partial Search using Map???? ... View Questions/Answers

Ask date difference  June 18, 2012 at 2:38 PM
Hello, I have a problem about how to calculate date, the result from this code is not complete , this is my code . please help me. thank you public void a(){ String date1 = jTextField33.getText(); String date2 = jTextField12.getText(); try { getDiffer(date1, date2); } cat... View Questions/Answers

Error in context path  June 18, 2012 at 1:27 PM
I Tried a Struts2 Login application having following class as Action class.. package com.actions; import com.dao.EmpDao; import com.hibernate.employees; import com.opensymphony.xwork2.ActionSupport; import javax.servlet.http.HttpS... View Questions/Answers

database  June 18, 2012 at 1:26 PM
tell me use about database and give me a small program. ... View Questions/Answers

database  June 18, 2012 at 1:25 PM
tell me use about database and give me a small program. ... View Questions/Answers

database  June 18, 2012 at 1:25 PM
tell me use about database and give me a small program. ... View Questions/Answers

Core Java  June 18, 2012 at 10:32 AM
Q. A producer thread is continuously producing integers. Write a program to save the integers and find the pattern in which the integers are produced. Constraints: 1. Your solution must be thread safe. 2. Stress will be on following coding standards and data structures used. ... View Questions/Answers

tokeniser  June 18, 2012 at 1:19 AM
program to find middle name eg rakesh kumar rathod so the output will be kumar .. bt tokeniser ... View Questions/Answers

Java Objectives Question  June 18, 2012 at 12:43 AM
Exercise 1: Create a file by using any word-processing program or text editor. Write an application that displays the file's name, size, and time of last modification. Save the file as FileStatistics.java. Exercise 2: Create a file that contains your favorite movie quote. Use a text edito... View Questions/Answers

Computer shop mangerment  June 17, 2012 at 11:44 PM
Part A You are supposed to write a class Computer to stores the computer id, description, brand, price, speed and another two members of it. You need to declare its members, constructor, and methods of it. Part B Develop array based java program to help a local computer shop to store their comp... View Questions/Answers

Need a JSP CODE  June 17, 2012 at 11:12 AM
*Hi I need JSP source code for selling products which are in database.. please can any one help me ..URGENT* Thank You..!** ... View Questions/Answers

need JSP Code.  June 17, 2012 at 10:48 AM
**Hi I need JSP code for selling Products which are in Database. Please can any one help for this.URGENT... Thank You..! Abhijeet.** ... View Questions/Answers

Dropdown code to retrieve result from oracle database  June 17, 2012 at 9:16 AM
Hi Friends, I am pretty new to Java.I have got a requirement to develop a utility which contains dropdowns in frontend(Javascript or JSP).If i choose an option,it should retrieve the result from Oracle database.We have procedures created already.Just need to fetch the result when the drop... View Questions/Answers

Accessing dynamically created variables inside a function  June 17, 2012 at 5:29 AM
Hi, I'm sure this is a stupid question but I've been trying to find the solution for days and have had no luck. Hopefully someone out there can help. So I am attempting to set a variable dynamically like so: $pid = $GET['p_id']; This part goes smo... View Questions/Answers

Sunstar  June 17, 2012 at 3:23 AM
Hi I am new to java and I'm trying to work on the program add item to shopping cart I would appreciate if you could help me out. I need to add items to a shopping cart in a web application and I'm using selenium webdriver as well to run the program I'm using eclipse ee and ofcourse in junit.... View Questions/Answers

MicroSoft word  June 16, 2012 at 11:12 PM
sir i want to develop an swing application like the microsoft word Document.can you help me pls? ... View Questions/Answers

login box  June 16, 2012 at 5:21 PM
class file for password and conform password and how it connected to database ... View Questions/Answers

java io  June 16, 2012 at 1:40 PM
Write a program to use a File object and print even numbers from two to ten. Then using RandomAccessFile write numbers from 1 to 5. Then using seek () print only the last 3 digits ... View Questions/Answers

FCK Editor  June 16, 2012 at 12:35 PM
Hi, Can someone please explain the use of FCK editor with some simple example. Thanks in advance. ... View Questions/Answers

Quartz scheduler  June 16, 2012 at 11:02 AM
Hai i m new to quartz. I want to run the simple Helloworld job in Eclipse. When i run this scheduler code with Eclipse I have a error message saying "Cannot instantiate jobdetail and simple trigger". I have already connect those quartz jar files and also set path to all. Please anyone help me wha... View Questions/Answers

how can we store the encrypted passwaord in swings?  June 16, 2012 at 10:45 AM
how can we store the encrypted passwaord in swings? ... View Questions/Answers

java applet  June 15, 2012 at 11:45 PM
If i insert in database from applet this work, but from applet.html don't. ... View Questions/Answers

core java  June 15, 2012 at 11:16 PM
hello sir....i have one table in which i have 3 columns First Name,Middle Name,Last Name...............but i have to show single name in datagrid view in jsp page using concat string tokenizer......for example- First Name-Ranvir Middle Name-Kumar Last Name-Kapoor i have to print Ranvir Kumar Kapo... View Questions/Answers

class file  June 15, 2012 at 5:09 PM
How to create class file in jsf easily ... View Questions/Answers

Session Timeout  June 15, 2012 at 4:38 PM
Hi, we are using JBoss 4.0.2 I have edited the jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml I increased the application timeout value to 120(i.e 2 hours), and reastarted the server. But, the session timeout is not happening... View Questions/Answers

Java InnerClass  June 15, 2012 at 4:33 PM
How can we use Inner Class in java program? ... View Questions/Answers

project  June 15, 2012 at 4:19 PM
Create appropriate packages and super classes etc. to make your program more efficient and your code more manageable. Create a method to print the Pay slip in an appropriate format. The Pay slip should include the employee details, Employee category (Salaried or Contract) and vario... View Questions/Answers

project  June 15, 2012 at 4:18 PM
Assume 30 days in a month. Tax Rate for contractors is 10% For Salaried employees: a. DA - 75% of Basic salary. b. HRA - 20% of Basic Salary c. Medical - 1250 per month. d. HRA and Medical is Tax Exempt. e... View Questions/Answers

project  June 15, 2012 at 4:14 PM
Create a class diagram, both, for permanent and contracted employees, the details of which are supposed to be accepted and displayed on screen The following details need to be tracked for permanent employees: Employee Code, Name, Address, Date of Birth, Annual Basic Salary. Subse... View Questions/Answers

debugging techniques  June 15, 2012 at 4:11 PM
java program to accept the employee code from user and validate it according to the following logic. The first character of the employee code should be the letter 'E'. If it is any other letter, throw a user defined exception that displays an appropriate error message. ... View Questions/Answers

Java ArrayList Example  June 15, 2012 at 4:07 PM
How can we use array list in java program ? ... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Where clause  June 15, 2012 at 11:18 AM
I have doubt in Where clause .. i got a Employid from user and check the id and display the details of that id what can i do? ... View Questions/Answers

Opendlp  June 15, 2012 at 10:41 AM
Hi, Can someone please tell me what is opendlp in simple meaning. Google it but not able to understand. For what purpose is opendlp used for? ... View Questions/Answers

jsp  June 14, 2012 at 11:46 PM
hello sir.....i am doing one web application project in which i have one module called user management and into usermanagement two submodules are there user category and user........both having their own add,edit and delete..........i have to give permission(priveledge) that submodule user does n... View Questions/Answers

plese tell me the control flow of this program  June 14, 2012 at 7:23 PM
public class starForTest { public static void main(String [] args) { for (int i=1; i<=9; i++) { System.out.println(); for (int j=9; j>=i; j--) { ... View Questions/Answers

program to create an http proxy server that runs top on netty  June 14, 2012 at 7:07 PM
program to create an http proxy server that runs top on netty ... View Questions/Answers

couldnt run this program  June 14, 2012 at 6:48 PM
package calculator; import java.util.Scanner; public class calculator{ public static void main(String args[]){ Scanner vin = new Scanner(System.in); Double firstnum,secondnum,sum,sub,mul; System.out.println("enter first number"); firstnum = vin.nextDouble(); System.out.println("enter seco... View Questions/Answers

database  June 14, 2012 at 2:54 PM
i am created one table in mysql database with one of the column name is emailid.now i want to write a java code that if the mail id is already exit then it will show this emailid is already exit otherwise it will show you can register now. thanks pls reply soon ... View Questions/Answers

JSP LOGIN  June 14, 2012 at 2:48 PM
sir....i have two user types usercategory and user and both user have userid and password in two different table and now i am making login page for which i have to retrieve usertype,userid and password from two different tables....!!!!!! ... View Questions/Answers

JSP LOGIN Page  June 14, 2012 at 2:41 PM
sir....i have two user types usercategory and user and both user have userid and password in two different table and now i am making login page for which i have to retrieve usertype,userid and password from two different tables....!!!!!! ... View Questions/Answers

school student attendence report  June 14, 2012 at 2:20 PM
Hi i want school student attendence genaration source code please urgent help me. ... View Questions/Answers

Explain the process of implementing a CORBA client using a Java programming example and the steps involved.  June 14, 2012 at 2:13 PM
plz tell me answer of this question... it's urgent i have to submit the assignment by end of this week... Explain the process of implementing a CORBA client using a Java programming example and the steps involved. ... View Questions/Answers

Data retrieve from mysql database  June 14, 2012 at 11:02 AM
Hi sir, please give some example of jsp code for retrieving mysql database values in multiple dropdown list. if we change a value in a dropdown its related value must be shown in the adjacent text field using struts and hibernate. Regards Subrat ... View Questions/Answers

CORE JAVA get middle name  June 14, 2012 at 10:42 AM
hello sir...how to get middle name using string tokenizer....??? eg..like name ANKIT it will select only K...!!!! ... View Questions/Answers

Advance and Core JAVA Topics  June 14, 2012 at 10:05 AM
topics come under core java and topics come under advanced java? ... View Questions/Answers

java,jdbc,netbeans  June 14, 2012 at 9:32 AM
can you tell me the program which read multiple dbf files and then insert those dbf files data in msaccess automatically ? ... View Questions/Answers

JSP-Servlet  June 13, 2012 at 7:23 PM
Hi , I have a table and a checkbox box in that. If i select a particular checkbox, then the particular row details has to be fetched and should be given to two buttons..i/e. when i click on a checkbox, two buttons should be activated and when i selct any one, the fetched details should to given ... View Questions/Answers

Continue and break statement  June 13, 2012 at 6:48 PM
How can we use Continue and break statement in java program? ... View Questions/Answers

GUI Applications  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

open jmenu item in java  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

save and open jmenu item  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

jmenu item in java desktop application  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

Regarding GUI Applications  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

Inheritance java Example  June 13, 2012 at 5:09 PM
How can we use inheritance in java program? ... View Questions/Answers

FinalizeMethod in java  June 13, 2012 at 4:59 PM
How can we use FinalizeMethod in java program ? ... View Questions/Answers

passing values on button click  June 13, 2012 at 3:44 PM
Please help me to solve this issue.I want to pass a value assigned to button to another view upon button click in xcode. ... View Questions/Answers

Hi good afternoon  June 13, 2012 at 3:43 PM
write a java program that Implement an array ADT with following operations: - a. Insert b. Delete c. Number of elements d. Display all elements e. Is Empty ... View Questions/Answers

jsp  June 13, 2012 at 11:26 AM
hello sir..i am editing data with an edit image but the values are not coming i am sending you my code...plz look on that where i am doing wrong.i have taken datatype for id as INT. manageuser.jsp function editRecord(id){ ... View Questions/Answers

student marks sheet genaration in struts frame work  June 13, 2012 at 10:47 AM
Hi every body iam using struts frame work back end as oracle 10g xe i wanna urgent code for student marks genaration code please help me thanks in advance. ... View Questions/Answers

Default Package  June 12, 2012 at 11:11 PM
Can we import default packages??? ... View Questions/Answers

why hibernate?  June 12, 2012 at 10:28 PM
why hibernate? ... View Questions/Answers

I want to know the all possible syntax for EL code to print the first element of an array.  June 12, 2012 at 9:16 PM
Which is the correct EL codes syntax to print the first element of an array named employeeArray. ${employeeArray["0"]} or ${employeeArray[0]} or ${employeeArray.[0]} ... View Questions/Answers

java basics  June 12, 2012 at 8:03 PM
how to show all the decimal places in a double value? ... View Questions/Answers

printing the following output using for loop  June 12, 2012 at 7:26 PM
1 2 3 3 4 5 4 5 6 7 ... View Questions/Answers

printing the following output using for loop  June 12, 2012 at 7:26 PM
1 2 3 3 4 5 4 5 6 7 ... View Questions/Answers

airline with hotels  June 12, 2012 at 6:31 PM
I need airlines with hotel webpages on php ... View Questions/Answers

Java Factorial Program  June 12, 2012 at 4:55 PM
I want to create a factorial program in Java. Please help me. ... View Questions/Answers

uinavigationcontroller add multiple buttons  June 12, 2012 at 4:45 PM
How to add multiple buttons to the UINavigationController? ... View Questions/Answers

Find out last character of array  June 12, 2012 at 4:41 PM
How we can find out the last character of array in java program ? ... View Questions/Answers

Quartz scheduler  June 12, 2012 at 2:59 PM
I m new to quartz scheduler.... I want to schedule a job in quartz.... How can i schedule ? pls send me some step by step procedure..... ... View Questions/Answers

how can i write a code to book a space in hotel  June 12, 2012 at 2:52 PM
how can i write a code to book a space in hotel ... View Questions/Answers

insertion sort  June 12, 2012 at 2:09 PM
how many arrays needed for insertion sort and why? ... View Questions/Answers

os comparison  June 12, 2012 at 2:08 PM
what is the difference between ubuntu os and windows os? what are the advantages and disadvantages of ubuntu over windows os? ... View Questions/Answers

retrun 0 to os  June 12, 2012 at 2:06 PM
why should the os needs to be notified of the completion of the program using return 0? what will the os do when it receives a call from return 0 in c? ... View Questions/Answers

heap memory  June 12, 2012 at 1:31 PM
how long is the object stored in heap memory persist? ... View Questions/Answers

time and space complexity  June 12, 2012 at 1:28 PM
sort the data structures according to efficient time and space utilisation? ... View Questions/Answers

DMCA.com