Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

arraylist problem  September 6, 2010 at 1:22 PM
Hello....I wrote the following code for adding a string array into an array list along with other strings...and to display the string array...But there's a problem with this...import java.util.*;class TestArray{ public static void main(String arg... View Questions/Answers

arraylist  September 6, 2010 at 12:41 PM
Hi..I've an arraylist where i need to add a string array along with other string values.My string array is array[]and arraylist is ali added other string values name,time,date asal.add(name);al.add(time);al.add(date);and the string array as,... View Questions/Answers

java  September 6, 2010 at 12:01 PM
how to update database record in jsp.what is the syntax? ... View Questions/Answers

Advertisement

image in jsp  September 6, 2010 at 10:59 AM
i m storing path of image in my database.. but when i m trying to display image using that path image is not getting... i m storing path like c:\image\a.jpg ... and i m using <img /> tag... how to get it??? ... View Questions/Answers

Java  September 6, 2010 at 10:55 AM
How to implement Thread ... View Questions/Answers

Re:number of Files download problem in jsp  September 6, 2010 at 9:32 AM
I write code for single file downloading , but I want to download number of files at same time , means I want stored number of files in one temp zip file then it download it. please help in this case ...code :<%@ page import="java.io.FileInputStream" %><%@... View Questions/Answers

java  September 5, 2010 at 5:01 PM
why main() execution starts defaultly by jvm? ... View Questions/Answers

java  September 5, 2010 at 4:54 PM
why JVM executes only main method by defaultly?why not executes the user defined static method? that means,show below program class sample { public static void main(String[] args) { System.out.pri... View Questions/Answers

need to solve the below question  September 5, 2010 at 1:48 PM
I need to write an application that uses the circle class.it must read a radius of a circle from the user .create a circle object and return the object ... View Questions/Answers

java method return type :  September 5, 2010 at 11:08 AM
i have one question regarding methods,,, if we create a method with return type as class name (public employee addemp(int,int))what should be its return type.....and if any know this pls explain with more example...... ... View Questions/Answers

java  September 5, 2010 at 10:22 AM
there are four text boxes like, id, name,sal,age. if i select any one of the textbox ,remaing textbox values has to come automatically,these values stored in database.database id name age sal 1 a 10 200 2 b 20 300jsp... View Questions/Answers

java reflection  September 4, 2010 at 7:16 PM
how to save and run reflection class in java?please immediately reply sir ... View Questions/Answers

java algm  September 4, 2010 at 6:54 PM
tell me below program algorithm sir.PROGRAM:import java.util.*;class Lisp{public int car(List l){Object ob=l.get(0);String st=ob.toString();return Integer.parseInt(st);}public List cdr(List l){Object ob=l.remove(0);O... View Questions/Answers

java  September 4, 2010 at 6:51 PM
please tell me below program algorithm sir.program:import java.io.*;class Rational{ private float numerator; private float denominator; public Rational(float x, float y) { numerator=x; denom... View Questions/Answers

java  September 4, 2010 at 4:45 PM
what is Locale class? ... View Questions/Answers

j2se  September 4, 2010 at 4:14 PM
what is the difference between JVM AND JRE ? ... View Questions/Answers

javascript  September 4, 2010 at 2:23 PM
on button click get id and make session of that id and use it in query in one page.... ... View Questions/Answers

java  September 4, 2010 at 7:54 AM
where can we exactly use static keyword ... View Questions/Answers

java  September 4, 2010 at 7:53 AM
how can we perform treeview by using jsp.for example: +EMPLOYE ADD DELETE MODIFY VIEWif i click on EMPLOYEE all fields should expand and if i click perticuler field then control goes to that page ... View Questions/Answers

java  September 3, 2010 at 10:17 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.2.Develop multi-threaded echo server and a corresponding GUI client in Java.reply me sir ... View Questions/Answers

java  September 3, 2010 at 10:16 PM
[Mini-Project] Develop a programmer's editor in Java that supports syntax highlighting, compilation support, debugging support, etc.sir please tell me. ... View Questions/Answers

arrays help  September 3, 2010 at 10:05 PM
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

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

DMCA.com