Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Excel conversion tool.  July 6, 2010 at 1:57 PM
Hi, I need a conversion tool which can convert .xls(Excel 2003) to .xlsx (Excel 2007) and vice-versa.Please suggest any links ro tools.Thank You, ... View Questions/Answers

tread  July 6, 2010 at 1:29 PM
what is a thread and synchronization? give real time example? ... View Questions/Answers

with out class  July 6, 2010 at 1:02 PM
can we write a program with out a class in core java?if yes,give example ... View Questions/Answers


online shopping project in java  July 6, 2010 at 12:17 PM
hii, i am doing a project online shopping in JSP-SERVLET.I wanted to know that i need 2 use images which will be retrieved through oracle 10g.1) what is the best strategy for storing and retrieving images in oracle?? i heard directly storing images in oracle through blob degrades the per... View Questions/Answers

fully object oriented language  July 6, 2010 at 11:30 AM
Is java is a fully object oriented language?if no,why? ... View Questions/Answers

Real time examples  July 6, 2010 at 11:19 AM
what is method overloading,method overriding,constructor overloading concept in java and explain with real time examples? ... View Questions/Answers

Hibernate  July 6, 2010 at 10:35 AM
when I run Hibernate Code Generation wizard in eclipse I'm getting the following error. I added ojdbc14.jar to my build path. Still I'm getting this error. please let me know, how to resolve it.org.hibernate.console.HibernateConsoleRuntimeException: Problems while loading database driver... View Questions/Answers

How to read excel2007 file  July 6, 2010 at 9:19 AM
Dear sir , I am able to read a excel 97-2003(.xls)files using apache poi.But for 2007(.xlsx)files to read using poi its nt possible.So please help me sir....Thanks .... ... View Questions/Answers

Hibernate- Oracle connection  July 5, 2010 at 10:44 PM
In Eclipse I tried Windows --> Open perspective--> otherin that Database DevelopmentRight click on databaseconnection --> NewOracleAdded ojdbc14 Jar file pathUID and password as scott and tiger.clicked Test connec... View Questions/Answers

Java Servlets  July 5, 2010 at 8:14 PM
1.What is Pojo class? How and where it is used?2.Can anyone tell me where can execute servlet program online?3.Can anyone tell me where can i download NetBean 5.5.1? ... View Questions/Answers

multiple inheritance  July 5, 2010 at 7:28 PM
Why java does not support Multiple Inheritance? ... View Questions/Answers

JAVA  July 5, 2010 at 5:39 PM
write a program to display the higest number stroed in two variables,test whether the higest number is even or odd ... View Questions/Answers

java  July 5, 2010 at 2:46 PM
to create heading'parameter'which tag should be inserted in javadoc? ... View Questions/Answers

clarification in jsp  July 5, 2010 at 8:57 AM
Hi did jsp supports post method to send values to next jsp?if possible how to use post method in jsp?and what is the default method(get/post) of jsp? ... View Questions/Answers

Displaying calendars  July 4, 2010 at 10:03 PM
Write a program that prompts the user to enter the year and first day of the year, and displays the calendar table for the year on the console. For example, if the user entered the year 2005, and 6 for Saturday, January 1, 2005, your program should display the calendar for each month in the year, as... View Questions/Answers

java  July 4, 2010 at 6:39 PM
please help to calculate the distance between two image pixels difference so that we can now wheather a image is a exact match or not based on the search query given in the text box ... View Questions/Answers

dynamic display  July 4, 2010 at 4:44 PM
hi, i want to display dynamic values in drop drown box in a jsp page.these values are in the form of arraylist's object which came form another servlet or bussiness logic after being validated in rdbms.hope u will understand what i have mentioned.plz reply soon.... ... View Questions/Answers

JAVA  July 4, 2010 at 4:49 AM
write the program for class called caculator difine two variable write method for performing the operation for addition ,subtration,multipication,division make using of constructor in this class ... View Questions/Answers

compilation error  July 3, 2010 at 10:32 PM
Dear sir,When i compile some pgms i am getting below error.what may be the reason?"uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details." ... View Questions/Answers

Help with jQuery show hide div script  July 3, 2010 at 8:30 PM
Hi guys,I have a jquery script for showing and hiding the content inside, between two divs, controlled with radiobuttons. I like to use the same jquery script for another group of divs and radiobuttons so I'm trying to create a loop are so inside jQuery.Could somebody please help. ... View Questions/Answers

Insertion Sort  July 3, 2010 at 7:14 PM
Hello rose india java experts.If you don't mind.Can you help me.What is the code for Insertion Sort and Selection Sort that displays LETTERS in alphabetical order from A to Z.Thank you.Hope you gonna helpme. ... View Questions/Answers

servlets  July 3, 2010 at 5:40 PM
what kind of reports java will supportand also send the pdf format of that support report pls ... View Questions/Answers

servlets  July 3, 2010 at 4:49 PM
how to generate reports in servelts pls tell me from first onwards i.e., i don't know about reports only i know upto servlets that's why pls tell me from begining ... View Questions/Answers

user defined subclass of throwable class  July 3, 2010 at 10:56 AM
Dear Sir,pls help me to write this pgm:Program to illustrate the use of user defined subclass of throwable class ... View Questions/Answers

Compiling Error  July 2, 2010 at 10:36 PM
cant able to compile java servlet file in the command prompt? WHY?but i can compile normal java filegive me answer to fix my problem. ... View Questions/Answers

Compiling Error  July 2, 2010 at 10:31 PM
cant able to compile java servlet file in the command prompt? WHY?but i can compile normal java filegive me answer to fix my problem. ... View Questions/Answers

mapping  July 2, 2010 at 10:28 PM
how does the web.xml works and how does the mapping done will you explain me? ... View Questions/Answers

GUI testing/software testing  July 2, 2010 at 9:39 PM
how to create a GUI testing/software testing module in java? ... View Questions/Answers

linux4.2 supported jdk versions  July 2, 2010 at 8:30 PM
linux 4.2 supported jdk versions ?.is it supports to jdk1.6(linu4.1.2)or not?please giive me clarifications ... View Questions/Answers

java implementation  July 2, 2010 at 7:53 PM
Im M.Phil research scholar,i need a software testing module implemented in java.My research area is software testing,if anyone could help me out in this? ... View Questions/Answers

when sending the mail from java I am getting the below error  July 2, 2010 at 1:42 PM
when sending the mail from java I am getting the below error:Exception in thread "main" java.lang.NoClassDefFoundError: javax.mail.internet.MimeMessage at java.lang.Class.initializeClass(libgcj.so.7rh) at SendMail.main(SendMail.java:23)Caused b... View Questions/Answers

javamail supported java versions (mail.jar or jdk versions)  July 2, 2010 at 1:37 PM
Hi.Javamail suported version jdk version? ... View Questions/Answers

java script code  July 2, 2010 at 12:56 PM
I want make header like-http://www.sigmainfotech.com.au/ this sitebut in this site header make in flash,I use java script or any other script.like that side click left side image it expand in header, and same way header bottom image mouse over it expand.so please help me asap... View Questions/Answers

scriptlet tags in jsp  July 2, 2010 at 10:36 AM
i know we can do method implementation in declarative tag, but can we do method implementation in scriptlet tag? please reply, if poss with example. ... View Questions/Answers

JSP Code  July 2, 2010 at 10:28 AM
Hi,Do we have a datagrid equivalent concept in JSP? If so, then please help me to find the solution of the problem.Its Urgent.........Please...........RegardsVinay Kumar Rai ... View Questions/Answers

JSP Code  July 2, 2010 at 10:25 AM
Hi,I have a problem in limiting the number of row display in the table.For example, if i have 1000 records in my table & want to display only 10 records per pages in jsp, then how can i achieve this concept.Please help me to find the solution. Its really urgent.... View Questions/Answers

struts hibernate  July 1, 2010 at 6:27 PM
how to integrate struts and hibernate ?is need any plugin ?programmer manually create that plguin? ... View Questions/Answers

java  July 1, 2010 at 4:11 PM
twin primes are prime numbers whose difference is 2.for example3,5;5,7;11,13;17,19;etc.define a class number problem with suitable methods which takes an integer argument and prints out all the twin primes below the number ... View Questions/Answers

java  July 1, 2010 at 4:04 PM
A programe in java for making a calculator. ... View Questions/Answers

calculator  July 1, 2010 at 4:01 PM
Some ideas for the project of calculator. ... View Questions/Answers

Copy a Html chart into PPT  July 1, 2010 at 10:28 AM
Hi Experts,i am facing with a problem without solution.I have a Html site and would like to write a code so that by clicking on a button the graph will be copied in an active ppt.Could you please help?Thank you in advance.CheersDreams... View Questions/Answers

Asking for exercise  June 30, 2010 at 11:10 PM
Can you send me a small exercise question -a prograsm for collections in java? ... View Questions/Answers

arrays  June 30, 2010 at 9:08 PM
1)write a program that take integer array as input and find the second largest number in array?(Array values taken from keyboard)?2)Given two array A & B and B has same elements same as A but one element missing? Write a program that take arrays A & B as input and find missing element ... View Questions/Answers

OOPs  June 30, 2010 at 8:35 PM
i know what is an abstract class and what is an interface but i wanted to know in which scenarios i use them and why nowadays java is stressing on interface programming.and i also want to know where do we exactly implement singleton pattern in our application. ... View Questions/Answers

how to get a values from a multipart/form-data  June 30, 2010 at 3:57 PM
Dear sir , I used your code for getting a values,i used the fllowing<%@ page language="java" %><html><body><SCRIPT type="text/javascript"> function submitForm(f){ var form = document.createElement(&quo... View Questions/Answers

social bookmarking  June 30, 2010 at 11:38 AM
<?php$services = array ( "digg" => array ( "Target" => "http://digg.com/submit?phase=2&url=PERMALINK&title=TITLE", "Image" => "digg-48x48.png", "Title" => "Digg" ... View Questions/Answers

Printing numbers in pyramid format  June 30, 2010 at 10:42 AM
Q) Can you please tel me the code to print the numbers in the following format: 1 2 3 4 5 6 7 8 9 10 ... View Questions/Answers

website deployment  June 30, 2010 at 8:46 AM
Hi All,Requirment: To fetch records depends on the scenario from database and display on webpages in a grid format with paging.Bind the table data corresponding to combo box selection.IDE : NetBeans 6.7Web Server : Apache Tomcat 5.5Database Server: FireBird... View Questions/Answers

dout  June 30, 2010 at 7:22 AM
where to down load jdk latest vesion ... View Questions/Answers

java number to word  June 30, 2010 at 12:32 AM
Can somebody please fix this to come out with the word, not the number 23?import java.util.Scanner;public class WordExtractor5{ //----------------------------------------------------------------- // Pulls integers from a string to form a word. ... View Questions/Answers

How to convet reader to double?  June 29, 2010 at 11:13 PM
I have this set of coding which read the input from the com1 port. I wan to ask how to convert the input (the reader) into Double so that the input can perform arithmetic operation?/* * To change this template, choose Tools | Templates * and open the template in the editor.... View Questions/Answers

why mails are sending from the linux server  June 29, 2010 at 2:07 PM
Mails are not sending from the linux server.We have 3 systems. server system is windows 2003 server and Our java application is inside linux server. Whenever we send the mails from java application,mail are not sending .Mail server is installed on windows 2003 server (all are in network). ... View Questions/Answers

subclasses an imported class  June 29, 2010 at 11:15 AM
Sir,Pls help me to write:Program to illustrate subclasses an imported classThanks ... View Questions/Answers

POST AND GET METHOD  June 29, 2010 at 1:58 AM

java  June 29, 2010 at 12:15 AM
write a java program that will read a positive integer and determine its binary equivalent ... View Questions/Answers

java  June 29, 2010 at 12:13 AM
write a java program that will read a positive integer and determine its binary number ... View Questions/Answers

jsp code  June 28, 2010 at 6:59 PM
in a jsp a table is existed ,in table each row contain one checkbox and name and desription how to delete specific rows in a table . ... View Questions/Answers

XML  June 28, 2010 at 3:56 PM
Write a program using SAX that will count the number of occurrences of each element type in an XML document and display them. The document file to be processed should be identified by the first command-line argument. ... View Questions/Answers

jdbc,odbc,MySQL,swing  June 28, 2010 at 3:42 PM
write a code that displays a menu list of all available database drivers in a window,and allows the user to select any driver from this list and execute any query (within a text field)related to the selected database driver.It is very well known as jdbc front end of a database. ... View Questions/Answers

merge sorting in arrays  June 28, 2010 at 3:31 PM
Write a program to insert string or characters to an array and apply merge sorting on this array ... View Questions/Answers

to add on to my queries  June 28, 2010 at 1:32 PM
Dear Experts,Sorry but I am worried that I did not explain clearly so I am adding in the error message I get from Netbean IDE when I run that queries using the last solution provided.I'm puzzled that given a perfect match - that is same subjects from parent's requiremen... View Questions/Answers

further clarification needed  June 28, 2010 at 1:27 PM
Dear Experts,I refer to the last answer you have written to me.The good news is that there's no error already but the code is still not working for me. As Tsuch, I hope to clarify about the query statement.I would like to know how by executing that query statemen... View Questions/Answers

jsp  June 28, 2010 at 10:57 AM
how to write the jsp code to enable and disable the textfields based on the selection of drop down list elements ... View Questions/Answers

java compilation error  June 28, 2010 at 10:38 AM
hi i am getting org.hibernate.exception.GenericJDBCException: Cannot open connection exception when runnig the code why this exception is coming ... View Questions/Answers

html dropdownlist code  June 28, 2010 at 1:42 AM
hi how to get textfield in html when i select the option others in the dropdown list, pls provide the code? ... View Questions/Answers

DynaActionform in JAVA  June 27, 2010 at 9:54 PM
how to use dynaActionFrom?why we use it?give me a demo if possible? ... View Questions/Answers

Validation  June 27, 2010 at 9:49 PM
what is the best way to use validation in Struts?either "validation.xml" or JavaScript. ... View Questions/Answers

struts compilation  June 27, 2010 at 7:44 AM
how to compile struts example ... View Questions/Answers

Averaging an Array  June 27, 2010 at 5:09 AM
Write two overloaded methods that return the average of an array with the following headers. However, prompt user to enter 10 int and 10 doubles. a) public static int average(int[] array)b) public static double average(double[] array) ... View Questions/Answers

main func  June 27, 2010 at 3:35 AM
why do we pass array of strings in main function of java? ... View Questions/Answers

Arrays  June 26, 2010 at 11:43 AM
1)write a program that take integer array as input and find the second largest number in array?(Array values taken from keyboard)?2)Given two array A & B and B has same elements same as A but one element missing? Write a program that take arrays A & B as input and find missing element ... View Questions/Answers

random numbers  June 26, 2010 at 10:13 AM
Hello i need this code to be modified for me to display the random numbers, but not twice or more. I mean i need a number to be display once. This code allows some numbers to be displayed more than once.Hi Friend,Try the following code:import java.util.*;cla... View Questions/Answers

Java word extraction program.  June 26, 2010 at 4:52 AM
Need to code a public class named WordExtractor that contains a main method. Prompt the user to enter a line of text and read it in using a Scanner object. The line of text should follow the prompt on the same line of the console screen. next, prompt the user to enter an integer for the starting let... View Questions/Answers

corejava  June 25, 2010 at 11:38 PM
how to write a program to multiply 1000 digit numbers with out using biginteger class ... View Questions/Answers

Getting an exception  June 25, 2010 at 4:56 PM
Dear Sir , While sending a mail am getting an following exceptionjavax.mail.MessagingException: 554 mail server permanently rejected message (#5.3.0)so how to over come from this please help me sir..Thanks and RegardsHarini veerapur. ... View Questions/Answers

clarify date class  June 25, 2010 at 1:29 PM
Dear,clarify this question..."Develop Date class in Java similar to the one available in java.util package. Use JavaDoc comments."Give me the source code and explain how to create classes similar in java.util or any packages.. please.thanks i... View Questions/Answers

JAVA  June 25, 2010 at 11:34 AM
i browsed a picture in a html page then i want to use the path in the jsp then what i to do ?in java the the path of a file takes the two slashes instead of one example for c:\vinay\ghaf.gif we must use c:\\vinay\\ghaf.gifmy doubt is in the above question the returned... View Questions/Answers

Spring Hello World prog  June 25, 2010 at 8:07 AM
I used running the helloworld prog code mentioned in http://www.vaannila.com/spring/spring-mvc-tutorial-1.htmlI'm getting null pointer exception. as shown below. I added all the jars and my folder structure is similar to what showed in the website. I guess the null pointer e... View Questions/Answers

Spring Framework Training  June 25, 2010 at 4:29 AM
THinking of taking spring framework training from Intertech. Here's the class... does this give me what I need? http://www.intertech.com/Courses/Course.aspx?CourseID=99468 ... View Questions/Answers

Java code  June 24, 2010 at 10:19 PM
Write a Java program that accepts 5 integers and sort them ascending?Thank you so much.for helping me.thanks roseindia.hope you will help me ... View Questions/Answers

jsp  June 24, 2010 at 2:34 PM
LOAD DATA INFILE 'tempc.txt' INTO TABLE main FIELDS TERMINATED BY '|' LINES TERMINATED BY '#'(A200,A060,A620,A300,A201,A490,A400,A101,A630,A040,A600,A440,A100,A610,A320,A310,A002,A020,A022); ... View Questions/Answers

surface chart  June 24, 2010 at 2:25 PM
i have to make a surface chart of a piece of land with data given for each point in the xy plane....the chart should be such that the areas with different data range should show up in different colour.seriously need help on this one... ... View Questions/Answers

java  June 24, 2010 at 12:12 PM
how to sql database retrivr in excel sheet with code ... View Questions/Answers

java  June 24, 2010 at 11:34 AM
What is the different between swing and awt? ... View Questions/Answers

java+cts  June 24, 2010 at 10:24 AM
4100156955 ... View Questions/Answers

java+cts  June 24, 2010 at 10:12 AM
4100156952 ... View Questions/Answers

interface  June 24, 2010 at 9:47 AM
I need the complete program for Design of java interface for Stack ADT and implement the same using array and linked list in java.Kindly send it as soon as possible.SOme of your solutions are not accessible on net. how can we get them? ... View Questions/Answers

Java Coding  June 24, 2010 at 12:20 AM
Two overloading methods that returns average using following headersA) public static int average(int[] array)B) public static double average(double[] arrayThe program should prompt the user to enter a combination of 10 double and integer values and display the average v... View Questions/Answers

java error  June 23, 2010 at 10:30 PM
Thanks for providing me the answer for the question,but there are some errors while running the code are1.class SortFileData is public, should be declared in a file named SortFileData.java2.void cannot be dereferenced If Programme saved in SortFileData also shows some error Please ... View Questions/Answers

Java programme  June 23, 2010 at 10:20 PM
Can you provide me the coding for Date class provided by java util package ... View Questions/Answers

programming  June 23, 2010 at 7:45 PM
what are the majors of paradigm? ... View Questions/Answers

groovy compilation error  June 23, 2010 at 6:08 PM
while i am running the grails application , i got the error message like: [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] C:\Software\projects6.9\BookDemo\grails-app\conf\BootStrap.groovy: 4: unable to resolve class Book ... View Questions/Answers

Daemon Thread  June 23, 2010 at 5:58 PM
How to implement Daemon thread in java using JSF. ... View Questions/Answers

How to read a rows which have a values in a excel file using apache poi  June 23, 2010 at 4:31 PM
Dear sir, How to read excel file in that only a rows which are having some values using apache poi...please help me sir.Thanks and RegardsHarini Veerapur. ... View Questions/Answers

bpel and ActiveBpel  June 23, 2010 at 2:52 PM
Hello, I need help in Installing the ActiveBpel engine from this website http://www.activevos.com/community-open-source-engine-download.php. I don't know what to do with the patches. I had downloaded the zip file and patches (version 2.1). How am I going to invoke the webservice.?T... View Questions/Answers

to display single row from database and next to display other question  June 23, 2010 at 12:52 PM
Hi all,I am using JSP with MYSQL backend.In my project we have 100 questions in databasewe have to display first questionon clicking the button it has to display the next question.i tried it first question is displayed, but i am facing a problem while retiev... View Questions/Answers

j2me  June 23, 2010 at 12:45 PM
Dear all...Can you plz tell what is the distribution based security of mobile application,wat should be criteria for stoping the illegal copieng of software.Thanks RegardsRashan Abid ... View Questions/Answers

j2me  June 23, 2010 at 12:43 PM
Hey....I am developing a mobile application which stores the important datas, can you plz suggest how to take back up of datas in phone gallery which I am storing in rms,Thanks and regardsRashan Abid9990978757 ... View Questions/Answers

java  June 23, 2010 at 11:39 AM
Hi,What is hashing techniquesin java?Related program and examples.RegardsRagahvendra ... View Questions/Answers

How to upload a large excel file  June 23, 2010 at 11:02 AM
Dear sir , How to upload a large excel file and how to read a that large excel file or how to get a each column values from that large excel file.For small file i am getting values but for large file my code is not working so please help me sir i have used u r uploadandstore code for up... View Questions/Answers