Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Read Text file from Javascript  September 3, 2010 at 7:02 PM
plz send the code How to Retrieve the data from .txt file thru Javascript? And how to find the perticular words in that file? ... View Questions/Answers

java  September 3, 2010 at 6:51 PM
1.Develop multi-threaded echo server and a corresponding GUI client in java ... View Questions/Answers

java  September 3, 2010 at 6:50 PM
1.Develop a simple OPAC system for library using even-driven and concurrent programming paradigms of java.use JDBC to connect to a back-end database. ... View Questions/Answers


how to run servlet  September 3, 2010 at 4:48 PM
pls give me comlete procedure to run the servlet on apache-tomcat 6.0.16how can i set my classpath, java_home etc.also where i have to save my servlet program and how it compile and then run on web browser. ... View Questions/Answers

send data thru parallel port  September 3, 2010 at 3:56 PM
Hi, I want to print send data to printer thru parallel port.How can it be possible thru java code ?? ... View Questions/Answers

java  September 3, 2010 at 3:29 PM
Hi sir ..Write a program in java for Password Generator that should ask from user in the format as given below. Please reply with output as well. Input the string:- Insert string of any lengthPassword Type:- Numeric/Alphabetic/Alphanumeric... View Questions/Answers

java  September 2, 2010 at 8:07 PM
1.write a multi-threaded java program to print all numbers below 100,000 that are both prime and fibonacci number(some examples are 2,3,5,13,etc).design a thread that generates prime numbers below 100,000 and writes them into a pipe.design another thread that generates fibonacci numbers and writes t... View Questions/Answers

java image converting to byte codes  September 2, 2010 at 6:19 PM
i want to convert an image to human unreadable format which is uploaded by client to server.How can i do it? ... View Questions/Answers

setting classpath of tomcat  September 2, 2010 at 5:46 PM
hello i am giri. I Installed the Tomcat6 in my system and the problem is, How to set the classpath, Please give the solution. ... View Questions/Answers

chat server  September 2, 2010 at 12:58 PM
i want to develop chat server in java using smtp and pop3 protocol.plz tell me what i have to do.what are the APIs i have to use. ... View Questions/Answers

How do i start to create Download Manager in Java  September 2, 2010 at 12:02 PM
Can you tell me from where do i start to develop Download manager in java. ... View Questions/Answers

javacode  September 1, 2010 at 9:56 PM
how to use inherritance using switch case.if suppose i use two classes named customer details and student details and i want to call either one at a time so how to use switch case in these type of situation.help me out please ... View Questions/Answers

JAVA  September 1, 2010 at 9:45 PM
Develop a template for linked-list class along with its methods in Java. ... View Questions/Answers

how to begin  September 1, 2010 at 8:59 PM
i want to know that to develope a webside in java how i start my tutoril.sir please write step to take tutorial in sequence . i want to develope webside using jsp and servlet. ... View Questions/Answers

how to save web pages in a partcular document in html format using java..  September 1, 2010 at 5:47 PM
i have to save a particular web page in a folder in html format using java.the url will be the input of the program.the program when run will first save the web page in a folder and then will parse the page.the parsing part is done..i am unable to do the former part please he... View Questions/Answers

Jasper Reports  September 1, 2010 at 5:46 PM
Hi, I'm new to Jasper Reports. Please help me by giving a simple example of Jasper report generating.Thank You,Umesh ... View Questions/Answers

jsp dropdown  September 1, 2010 at 5:38 PM
in my table there are 3 fields named orderid ,itemname, itemqty. i want code that fetch orderid in dropdown... on select dropdown get all items list of that orderid... there are multiple items at one orderid... ... View Questions/Answers

Tooltip problem  September 1, 2010 at 3:31 PM
In my project i used google map...I want show tooltip on marker when marker created not on marker event like mouseover,click..... ... View Questions/Answers

form text box connection with mysql database feild  September 1, 2010 at 10:41 AM
Respected Sir,What is the coding to connect a form text box field with mysql database table field will you explain me with simple example..thanking you.. ... View Questions/Answers

java  September 1, 2010 at 9:37 AM
design classes for currency,rupee,and doller.write a program that randomly generates rupee and doller objects and write them into a file using object serialization.write another program to read that file,convert to rupee if it reads a doller,while leave the value as it is if reads a rupee. ... View Questions/Answers

Java Calendar issue  September 1, 2010 at 9:00 AM
HiI have having weird situation with java Calendar, its driving me crazy.My requirenment is that i got a xml schema element that accepts only Calendar TypeSay element <expDtTime>2011-09-25T13:00:00</expDtTime>Say Singapore time zoneWhen i s... View Questions/Answers

sorting  September 1, 2010 at 7:14 AM
Write a program that sorts values.? The program includes readIntegers() thato reads the user inputso stores them in an array, ando returns the array&#8195;? The program includes easySort() that o sorts values in the array in the ascending order, and retu... View Questions/Answers

arrays part 2  September 1, 2010 at 7:12 AM
Question 2: Useful Array Algorithms and Operations (5 marks)Upgrade the program in Question 1 so that the program includes:? A static method search() that:o Has a parameter of integer array and another integer valueo Searches the integer value in the array, ando Returns... View Questions/Answers

arrays  September 1, 2010 at 7:11 AM
Write an application that reads user inputs and prints the largest and the smallest values in the group.? Include a static method readIntegers() that:o Reads a certain number of integers from the usero Saves them in an array, ando Returns the array&#8195;? Inc... View Questions/Answers

linked list example problem  September 1, 2010 at 2:53 AM
Q: Create your own linked list (do not use any of the classes provided in the Collections API). Implement the following two operations If you are using jdk1.4 or before: void add(Object ob); boolean find(Object ob); ... View Questions/Answers

linked list example problem  September 1, 2010 at 2:49 AM
Q: Create your own linked list (do not use any of the classes provided in the Collections API). Implement the following two operations If you are using jdk1.4 or before: void add(Object ob); boolean find(Object ob); ... View Questions/Answers

Java code  August 31, 2010 at 7:00 PM
Hello All,I need a code to convert the xml file to text file using Java ... View Questions/Answers

developing skills in java , j2ee  August 31, 2010 at 6:22 PM
How to understand or to feel the flow of java or j2ee programme what is the way to become a expert programmer can you please give me tipsthanking you.. ... View Questions/Answers

java swing jdbc  August 31, 2010 at 1:31 PM
hello, i want to populate the data(ms access) to the jtable component and want to perform some operations on it like add,edit,delete. Again i want to store the updated data to the database. can you help me out..... ... View Questions/Answers

java swing  August 31, 2010 at 1:11 PM
utlility of super.paintComponent(Graphics g) in java?what does it do actually i.e. which class it is extending or method overriding?Please clarify this with example. ... View Questions/Answers

Interfaces  August 31, 2010 at 11:59 AM
two interfaces having same method names and these two interfaces are implemented by a single class. so now i would like to generate different code of same methods of different interfaces in single class? my query is, see below interface i1{void method1();}in... View Questions/Answers

org.apache.jasper.jasperexcxeption  August 31, 2010 at 9:48 AM
how to resolve org.apache.jasper.jasperexcxeption in jsp ... View Questions/Answers

adding background image  August 31, 2010 at 8:35 AM
how do i add background image to this code:import javax.swing.*;import java.awt.*;import java.awt.event.*;public class sampleProg extends JFrame { JButton button = new JButton ("Result"); JButton button2 = new JButton ("Clear... View Questions/Answers

JAVA  August 30, 2010 at 9:42 PM
how to compile the DNA Sequence Question and what are the the files should be created while compilingbecoz it is not compiling its makes the following line to be appearedwhile compilingD:\JAVA>javac SortFileData.javaNote: SortFileData.java uses unchecked or unsafe operatio... View Questions/Answers

Java help  August 30, 2010 at 8:25 PM
I need to write an application that uses the circle class. It must read a radius of a circle from the user creates a circle object, and return the object. The program creates a circle object by using the above method.The program passes the circle object to a static method that prints the circu... View Questions/Answers

Null pointer exception in hibernate  August 30, 2010 at 7:59 PM
Hii am getting null pointer exception.while running the program in hibernate at roseindia.tutorial.hibernate.FirstExample. i copied the total files from roseindia tutorial. the program is compiled successfully but while running the program i am getting null ponter exception. SessionFact... View Questions/Answers

java multi thread  August 30, 2010 at 7:11 PM
Develop multi-threaded echo server and a corresponding GUI client in Java.please immediately reply me sir.its very urgent sir. ... View Questions/Answers

How to display data in form using aryylist in struts  August 30, 2010 at 1:38 PM
Hi,I want to display data using arraylist in struts pls help meIts urgent ... View Questions/Answers

sql exception  August 30, 2010 at 10:54 AM
Dear sir , I am working in a web-based project, In my system it is working fine but at client side getting the following exception so how to resolve this help me...java.sql.SQLException: ORA-28231: no data passed to obfuscation toolkit ORA-06512: at "SYS.DBMS_OBFUSCATIO... View Questions/Answers

java  August 30, 2010 at 10:44 AM
6. Write a Java program to read a file that contains DNA sequences of arbitrary lengthone per line (note that each DNA sequence is just a String). Your program shouldsort the sequences in descending order with respect to the number of 'TATA'subsequences present. Finally write the s... View Questions/Answers

Design pattern  August 30, 2010 at 8:19 AM
How to make a java program to check the java program is already started if started the execution then dont allow the new program to start ... View Questions/Answers

struts imagelink  August 30, 2010 at 12:38 AM
i need one dropdown menu in that i have to select imageAND i need one button when i clicks on that image will be open. ... View Questions/Answers

java to oracle code  August 29, 2010 at 11:22 PM
please suggest m calculate the database performance between scaled images and unscaled images in the database ... View Questions/Answers

JAVA  August 29, 2010 at 7:19 PM
Write a Java program to read a file that contains DNA sequences of arbitrary length one per line ... View Questions/Answers

j2me database  August 29, 2010 at 3:33 PM
hi can anyone tell is there any possibility of connecting database in j2me application..if so, how can i connect it..please help me.. ... View Questions/Answers

J2me Fonts  August 29, 2010 at 3:32 PM
hi ,i am doing my project in j2me..english to tamil dictionary is my title..i dont know how to integrate tamil fonts in j2me application..can anyone help me..i am in need of this idea very soon..please reply as soon as possible.. ... View Questions/Answers

JAVA  August 29, 2010 at 2:00 PM
1.Develop a template for linked-list class along with its methods in Java.2. Design a thread-safe implementation of Queue class. Write a multi-threadedproducer-consumer application that uses this Queue class.3. Write a multi-threaded Java program to print all numbers below 100,000 ... View Questions/Answers

JAVA  August 29, 2010 at 2:00 PM
1.Develop a template for linked-list class along with its methods in Java.2. Design a thread-safe implementation of Queue class. Write a multi-threadedproducer-consumer application that uses this Queue class.3. Write a multi-threaded Java program to print all numbers below 100,000 ... View Questions/Answers

Text To speech exception  August 29, 2010 at 1:35 PM
Sir/Madam,I want to create a application for text to speech.I am using Sysnthesizer class of speech package but it return null.Can you help me to create that.i am facing error in synth.allocate() line.import javax.speech.*;import javax.speech.syn... View Questions/Answers

java abstract class  August 28, 2010 at 6:20 PM
how to save and run abstract class program in java?please immediately reply sir. ... View Questions/Answers

java  August 28, 2010 at 1:38 PM
give me the introduction and purpose of "RANDOM PASSWORD GENERATION" and how it works ... View Questions/Answers

Email Validation code  August 28, 2010 at 12:41 PM
Can anybody tell me how to write email validation code using java ... View Questions/Answers

need to ans abt db  August 27, 2010 at 7:31 PM
helllo can you tell me m just starting to knowing abt servlet and i trying to making e-mail site so can you tell me with the java servlet wht is the backhand database to use to proper with that site with the using java servlet..whts the comfortable database is using with servlet page.. ... View Questions/Answers

Jsp Code  August 27, 2010 at 5:53 PM
Hi,I am new to java programming & as per the requirement, i need to implement a 'SEARCH' functionality which will search the database & should display a unique record.The design contains the 4 input boxes & it should satisfy at least one or two or three or all inp... View Questions/Answers

error for getting the data from an api using br.readLine  August 27, 2010 at 4:35 PM
hithe application is hanging while reading the data using readLine() function . actually the data is coming from remote using particular api call see the following code. StringBuilder sb = new StringBuilder(); String strtemp; Runtime runtime = Runtime.g... View Questions/Answers

JAVA  August 27, 2010 at 3:00 PM
Sir how can i design flow chart and Synopsis for random password generation by using swing in java . ... View Questions/Answers

Display Data  August 27, 2010 at 12:36 PM
I need sample how to display data from my table Mysql with swt/jfaceThank you. ... View Questions/Answers

Fwd: Please spend 2 minutes  August 27, 2010 at 12:35 PM
Fresher to Java...getting some problem with getting output for this program1+1/2+1/3+......+1/n.please if possible send it to me ... View Questions/Answers

How servlet Handles Multiple Request  August 27, 2010 at 12:35 PM
In servlet life cycle,consider two requests are waiting for service().I know all request will be assigned to thread, which request getsexcecuted first. 1 ... View Questions/Answers

java  August 27, 2010 at 6:41 AM
Develop multi-threaded echo server and a corresponding GUI client in Java ... View Questions/Answers

programming  August 27, 2010 at 12:27 AM
sir howcan i creat a buttion for generating randompassword whose length are fix upto 5-15, the condition is every time we get differnt password. we have to take input from user side as:-1.Text for which password to be generated.2.Length of password to be generated.(5-15).3.Types of... View Questions/Answers

how to create a create personalized SMS for each recipient  August 26, 2010 at 10:50 PM
i am doing a project at college, i am using java server facestechnology. I am having a problem of file upload, i want to upload acomma separated file (CSV) and read the contents of the file and thesend them to cell phone numbers. It is an web based sms platform thatsend diffe... View Questions/Answers

DropDown and text boxes with AJAX, JSP  August 26, 2010 at 3:59 PM
Hi,we are using one drop down and two text boxes. Drop down values needs to be retrive from one table.we should provide a text box through which users can input the emp number and emp rev number for textboxes in the Add employee Form. when the user entered values in the text boxes onblur... View Questions/Answers

learn sql  August 26, 2010 at 3:44 PM
how to learn sql......idont know anything about programming knowledge ... View Questions/Answers

java  August 26, 2010 at 3:00 PM
hai... i have problem of unterstanding the ResourceBundle concept kindly give me good Example for it ... View Questions/Answers

Interfaces  August 26, 2010 at 1:38 PM
two interfaces having same method names and these two interfaces are implemented by a single class. so now i would like to generate different code of same methods of different interfaces. eg:----interface i1{void method1();}interface i2{... View Questions/Answers

Jsp  August 26, 2010 at 1:15 PM
I am new to Jsp. I dont know how to get combo box value from servlet to jsp ... View Questions/Answers

JSP  August 26, 2010 at 8:42 AM
what is the difference between implicit objects and implicit variables? ... View Questions/Answers

Circle question  August 26, 2010 at 3:17 AM
Hey You helped me with one this question already but the code you gave doesnt seem to work any more ideas?Write an application that uses Circle class you created in the previous assignment.? The program includes a static method createCircle() thato reads a radius of a circle ... View Questions/Answers

how to make an unreachable object as reachable  August 25, 2010 at 6:47 PM
i know that an object is garbagecollected when it is unreachable to the programmer but my question is how that unreachable object which was garbage collected will become reachable to the programmer again...............plz anybody who knows may help me............ View Questions/Answers

Java Ivent Handler  August 25, 2010 at 6:35 PM
Is it possible to make two listeners work simultaneously?I used a keyboard listener to detect key press and also a mouse listener to detect different events generated by mouse.But when the mouse is moving if any key is pressed or released it cannot detect the keyboard event!!! ... View Questions/Answers

Java Inheritance and abstract  August 25, 2010 at 6:01 PM
1) Why we need to write the separate Interface in which we are not doing any operation except declaring empty abstract method and implementing this interface to force the subclass to implements all the abstract methods. If the subclass need to use this methods then he can write this in his own class... View Questions/Answers

jsp  August 25, 2010 at 5:58 PM
I have table named list of employee... this table also contains images... i want code to get image on click edit button ... means i want to made employee registration form with addition of image and also want form that will show employee details with image.... ... View Questions/Answers

how to distinguish engines having same code  August 25, 2010 at 3:25 PM
hi we are using struts as UI in application and from UI a file is uploaded and inserted into database and it is kept in central repository.user can change the file and again upload it.there is a console application engine which collects the data from the database and compares it file kept in centra... View Questions/Answers

how to use iframe in jsp  August 25, 2010 at 3:11 PM
Hi, i am using a jsp page in whic records from database are shown in a table in one of the column i am showing all error links which point to error. jsp an another jsp when i click the link a new page is opened.however i require to open it in the parent jsp help me please? ... View Questions/Answers

source code  August 24, 2010 at 11:39 PM
source code for a program to shutdown, restart, log off the pc after clicking jbutton on jpanel or a jframe by user.thanks in advance ... View Questions/Answers

code  August 24, 2010 at 8:41 PM
Example on exception handling with generics ... View Questions/Answers

java  August 24, 2010 at 5:16 PM
what is clone() and example ... View Questions/Answers

how to open a file with a jbutton?  August 24, 2010 at 3:00 PM
HelloIs it possible that by clicking on a button it can open java html file or doc exists on the pc?I searched and I found that it is possible to open a web page so I tried to open www.google.fr it worked but when I tried to open a web page recorded on my pc it did not work.Does a... View Questions/Answers

source code  August 24, 2010 at 11:46 AM
give me a source code to connect from java to mysql that can run on eclipsedi am using mysql-essential-5.0.41-win32_1. also give procedure how can i connect from eclipsed to mysql-essential-5.0.41-win32_1.thanks in advn. ... View Questions/Answers

Retrieving cells in MySQL  August 24, 2010 at 10:14 AM
Hi,Am creating an online exam application using JSP & MySql.The exam is of objective nature with four choices each and 100 questions.Can you please help me to insert the chosen choice into cells of the database and evaluate the answers for a score.Regards,Prem... View Questions/Answers

JavaScript for decimal number comparisons  August 24, 2010 at 7:41 AM
Hi,I need to compare a BigDecimal in my javascript. I need a have a validation the text field value should not exceed (15,2) (max value is : 9999999999999.99).I am not able to compare my text field value with this max value. Can u plz suggest some solution.Thanks for ur... View Questions/Answers

java console programming  August 23, 2010 at 10:07 PM
how to clear d screen in java console programming? ... View Questions/Answers

java code  August 23, 2010 at 8:46 PM
i write program to upload image into perticular folder.but i want to store that path into database but not image and display that image in webpage from the db.pls any one send me code for that in servlets asap.pls vary urgent.i will be thankful to youpls send me ... View Questions/Answers

java  August 23, 2010 at 7:33 PM
Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rupee a... View Questions/Answers

java  August 23, 2010 at 5:16 PM
After the declaration:char[] c = new char[100];what is the value of c[50]?a) 50b) 49c) '\u0000'd) '\u0020'e) " "f) cannot be determinedg) always null until a value is assigned5. After the declaration:int x;... View Questions/Answers

java  August 23, 2010 at 5:15 PM
18. Consider the code below:arr[0] = new int[4];arr[1] = new int[3];arr[2] = new int[2];arr[3] = new int[1];for( int n = 0; n < 4; n++ )System.out.println( /* what goes here? */ );Which statement below, when inserted as the body of the for loop, would pri... View Questions/Answers

javascript  August 23, 2010 at 12:58 PM
Dear Sir,What is the code for radio button validation.Please give me a code with example.Thank YouDebasis ... View Questions/Answers

Interview Question  August 23, 2010 at 12:27 PM
I need Interview Questions on Java,J2EE Pls help me . ... View Questions/Answers

Javascript  August 23, 2010 at 11:43 AM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Please helpaThank YouDebasisjsp page--... View Questions/Answers

jdbc  August 23, 2010 at 10:21 AM
i use pool connection for my application but whenever i insert data into database ,sometimes two copy of the data have been entered into the database and sometimes single copy .But there is no logic or a specific way of entering the two copy of data into database . please provide me the full code of... View Questions/Answers

java  August 23, 2010 at 3:00 AM
whats the problem with my code? it's giving me one error illegal start of expression on line 201? and also help me change the colors to their names instead of numbers. thxpublic class EmployeeDetails3 extends JFrame { public EmployeeDetails3() { ... View Questions/Answers

java  August 22, 2010 at 7:59 PM
wh is abstract in project?how is module in java project? ... View Questions/Answers

java  August 22, 2010 at 7:57 PM
wh is native method? ... View Questions/Answers

java  August 22, 2010 at 5:12 PM
Hello sir could you please explain what is mean by reflection? ... View Questions/Answers

difference  August 22, 2010 at 3:44 PM
what is the difference in between awt and swing package...and what is the difference in between frame,panel ... View Questions/Answers

Java Final Project Error  August 22, 2010 at 5:29 AM
It isnt showing the result when I press the proper button...?? It isnt doing the work... can someone help me??import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.*;import java.text.SimpleDateFormat;impo... View Questions/Answers

java  August 21, 2010 at 9:45 PM
Can you provide me the example program which uses all the concepts like encapsulation ,inheritance ,polymorphism in a single program ... View Questions/Answers

email problem  August 21, 2010 at 5:04 PM
hi,i want to write a code for sending a mail to a company employees having strength more than 1000.I had fetched the mail ids from database.I want to send mail to employee with mail id in 'TO' column.To column should have the email id of only 1 employee only(means he will not able to know who other ... View Questions/Answers

ERROR with my JAVA code  August 21, 2010 at 9:48 AM
The error came up in my main method... it wasnt there until i finished my actionListener coding so I dont know how to fix this....it is really stressing me out!! HELP!!!import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;... View Questions/Answers