Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

arrayList  February 19, 2010 at 7:19 PM
When i call for viewComputer method from main class, I must check through the desktop arraylist and notebook arraylist.How can I combine this two arraylist checking for throw out the msg of"Computer list is empty!"Currently I only can check for desktop arraylist empty if ... View Questions/Answers

Asp.net  February 19, 2010 at 5:27 PM
hi!how to display image in datagrid by using backend ... View Questions/Answers

JAVA  February 19, 2010 at 3:52 PM
WAP TO PRINT GREATEST OF 5 NUMBERS. ... View Questions/Answers


java  February 19, 2010 at 3:49 PM

java,j2ee  February 19, 2010 at 3:46 PM
3.in jar inside class file how to add another class file4.from jsp client have given request but that request is not there in server then what type of error will display5. i have class files in class folder. but i have no java files. but i want to modify the java files which are related ... View Questions/Answers

JAVA  February 19, 2010 at 3:43 PM
WAP TO SOLVE {(a-b)+(c*(d/e%f)} as a=5,b=7,c=9,d=11,e=13,f=15 ... View Questions/Answers

JAVA  February 19, 2010 at 3:38 PM

JAVA  February 19, 2010 at 3:34 PM
WAP TO CHECK FOR 5 NUMBERS FOR EVEN AND ADD IF NO ARE 20,33,64,49,51 ... View Questions/Answers

Java Swings  February 19, 2010 at 1:33 PM
hi ,I am doing project using netbeans. I have a combobox . I want to add items in that combobox from a method.For this i found combobox model . In this we can only enter the items one by one But, i want to add items from executing a method. For this i found two option in the combobox model t... View Questions/Answers

J2ME delete file  February 19, 2010 at 1:09 PM
How do i delete a textfile on a mobile phone using j2me? ... View Questions/Answers

java  February 19, 2010 at 12:42 PM
hi gud afternoon friend's,hey can any one give me a brief idea regarding "LOG4J" and where these are exactly used in realtime application and purpose of using this,thanks in advance,i hope i may get reply for this as soon as posible. ... View Questions/Answers

uploding an file  February 19, 2010 at 12:01 PM
i want a code for uploading a file and storing it in clog and blog using jsp ex:uuploading file using binary input steam ... View Questions/Answers

uploading a file  February 19, 2010 at 10:56 AM
uploading a file and storing in database using clog and blog?java code in swing for that i want ... View Questions/Answers

java  February 19, 2010 at 10:52 AM
2. how to edit how many request recieved in server ... View Questions/Answers

java  February 19, 2010 at 10:50 AM
1. how to navigate from jsp to servlet ? ... View Questions/Answers

Java Code  February 19, 2010 at 10:34 AM
how to develop piecharts by getting values from database...Thanks in advance ... View Questions/Answers

two dimensional  February 19, 2010 at 10:05 AM
write a program to create a 3*3 array and print the sum of all the numbers stored in it. ... View Questions/Answers

for loop  February 19, 2010 at 9:56 AM
write a program to print the following series :10000,5000,2500,1250,625. ... View Questions/Answers

for loop  February 19, 2010 at 9:54 AM
write a program to enter two numbers and print their HCF. ... View Questions/Answers

for loop  February 19, 2010 at 9:52 AM
write a program to print the product of all the numbers from 1 to N(this is also known as factorial of the numbers). ... View Questions/Answers

for loop  February 19, 2010 at 9:51 AM
write a program to print the product of all the numbers from 1 to N(this is also known as factorial of the numbers). ... View Questions/Answers

hi  February 19, 2010 at 9:21 AM
sir,how to set a title for jtable plz tell me sir ... View Questions/Answers

java programming  February 19, 2010 at 9:19 AM
I want the java code for counting reapeted numbers. ... View Questions/Answers

JAVA  February 19, 2010 at 8:45 AM
QUESTION Define a class called Month. Your class will have one attribute of type int torepresent a month (1 for January, 2 for February, and so forth). Include all thefollowing methods in this class:(a) a constructor to set the month using the first three letters in the name ... View Questions/Answers

Java HTML scraping  February 19, 2010 at 7:58 AM
Is it possible to capture a page content from other website and include in our page dynamically. ... View Questions/Answers

java explain  February 19, 2010 at 7:53 AM
int [] a = [1,2,3];object o = "123";string t = "12";boolean b = o.equals(a);boolean b2 = o.equals (t);boolean b3 = o.equals(w);boolean b4 = (o==w);show the effect of executing this code by means of diagram (heap and stak) also explain how... View Questions/Answers

php code: how to insert manual date and also retrieve records by selecting date field.  February 18, 2010 at 11:47 PM
In PHP, how to insert user input date on mysql db. and also how to retrieve records by selecting user input date manually. For example, User may be give the particular year or month or day or these all things, so how to get the records by selecting date field in mysql. Please give me a correct code.... View Questions/Answers

java  February 18, 2010 at 9:25 PM
WAP TO CHECK FOR S NUMBER FOR EVEN AND ADD IF NO ARE 20,33,64,49,51 ... View Questions/Answers

JSP & Servlet  February 18, 2010 at 7:29 PM
In the process of login validation. i'm entering the username correct and pass wrong. when using response.sendRedirect() a new req and resp wil be processed, so the user has to enter the username again and try entering again. To over come re-entering the username again ,how wil i make the username f... View Questions/Answers

upload attachment  February 18, 2010 at 4:12 PM
java code in register form to upload an attachment storing in blog and clog ... View Questions/Answers

jsp,servlets  February 18, 2010 at 3:36 PM
Good Afternoon Sir, I am sowmya i have a doubt that is whether it is possible to use arrays in servlets.how to declare that arrays in servlets and i am getting values from textbox in jsp and that values stores in arrays within servlet. Thankingyou sir... View Questions/Answers

Core java  February 18, 2010 at 3:01 PM
what are the instance variables?how we differenciate them? ... View Questions/Answers

java programming  February 18, 2010 at 2:47 PM
im asking for the code of adding , viewing ,delete, edit and printing information.. ... View Questions/Answers

Print Output in C LAnaguage  February 18, 2010 at 1:20 PM
I want to Print Following Output in C Language with Combined For LoopsNot Seprate Loops pleaseHelp Me .** ** * ** * * ** * ** * * ... View Questions/Answers

Dispaly Inbox Image  February 18, 2010 at 1:12 PM
I want to Display Inbox image when user(Client) send Message to Serverin (Windows Application ) VISUAL BASIC.NET 2008, plz Help Me. ... View Questions/Answers

display diffrence between two dates in a text box  February 18, 2010 at 12:01 PM
i have these set of codes//String di=request.getParameter("timestamp2");String d2=request.getParameter("timestamp3");SimpleDateFormat formater=new SimpleDateFormat("dd-mm-yyyy hh:mm:ss");Date sd= formater.parse(d1);Date ed= formater.p... View Questions/Answers

writing plugin  February 18, 2010 at 10:48 AM
can anyone help me in writing plugin for internet explorer browser using c++ in .net environment.. ... View Questions/Answers

how to get the image path when inserting the image into pdf file in jsp  February 18, 2010 at 9:01 AM
I am using the below code but i am getting the error at .getInstance. i am using the itext.jar now.Plz help to me<[email protected] import="java.io.*"%><[email protected] import="com.lowagie.text.*"%><[email protected] import="com.lowagie.text.pdf.*"%><... View Questions/Answers

C Program to Print Stras  February 18, 2010 at 8:59 AM
How I can Print Following Output using Two For loops in C Language?** ** * ** * * ** * ** ** ... View Questions/Answers

que 2  February 18, 2010 at 7:11 AM
WAP to input a string & print out the text withthe uppercase & lowercase letters reversed,but all other characters should remain the same.eg:input:WelComE TO Schooloutput:wELcOMe to sCHOOL ... View Questions/Answers

que 1  February 18, 2010 at 7:07 AM
WAP to enter a sentence & count the no. of times a particular word occurs in it.Display the frequency of the searched word.eg-input:the quick brown fox jumps over the lazy dog.word to be searched:theoutput:frequency of word-2 times ... View Questions/Answers

Compute the image processing  February 18, 2010 at 5:47 AM
Hi,Question 1:I have some questions here first I need some suggestion - I cannot find what went wrong with my code here to find the averaging of the image (grey image) also, How do i compute an average with a colour images one?Question 2:I need to compute th... View Questions/Answers

Jsp  February 18, 2010 at 12:47 AM
<html><head><title></title></head><body><form>draftAd:<textarea rows=5 cols=5 size=3></textarea>color:<colorpicker></form></body></html>Hello sir i want tha... View Questions/Answers

SQL  February 18, 2010 at 12:43 AM
<%@ page language="java" import="java.io.*,java.lang.* ,java.sql.*,java.util.*,java.text.*,java.text.SimpleDateFormat" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; int No=0,id=0,i=0; Stri... View Questions/Answers

Can you see what i have done because i did it but i still have problem  February 17, 2010 at 11:12 PM
This is what i have done but i still have a problem:-Can you correct my mistakes?-------------------------------------------------------create database University_Accommodation_Office;/*This is Student Table*/Create Table Student(Matric_No nvarchar(10)not... View Questions/Answers

java  February 17, 2010 at 10:23 PM
junit tool which purpose is used ... View Questions/Answers

Final Project II  February 17, 2010 at 10:11 PM
Is there anyway I can get the project back by Saturday??? It is due on Sunday by midnight...Thank You!!!!!!!!!!! ... View Questions/Answers

Final Project  February 17, 2010 at 10:10 PM
The importance of a graphical user interface in programming is paramount in being successful in the business industry. This project incorporates GUI techniques with other tools that you have learned about in this class. Here is your assignment: You work for a Landscape architect. They have ask... View Questions/Answers

java  February 17, 2010 at 8:56 PM
the term instance variable is another name is?class variable another name also ... View Questions/Answers

java  February 17, 2010 at 7:29 PM
1. why implicit object "Exception" is difference from other implicit objects?2. what is the meaning of exception page & exception in jsp directive? ... View Questions/Answers

java  February 17, 2010 at 5:39 PM
How to convert a text file to wav sound file? ... View Questions/Answers

how to get the image path when inserting the image into pdf file in jsp  February 17, 2010 at 4:37 PM
Hi Friend,my image path;C:/images/photo.jpg. i am getting the below errorerror: The type Image is ambiguous document.open(); Image image = Image.getInstance ("devi.jpg"); document.add(new Paragraph("C:/images/ph... View Questions/Answers

JSP  February 17, 2010 at 3:08 PM
Gd afternoon sir,Morning i send a query that how to call the questions in the jsp page.The send answer provides that all questions are displayed in same page but i need the questions have to be come in different pages one after another with submit button.Until the last question If i pressed th... View Questions/Answers

How to generate the pdf file using jsp  February 17, 2010 at 3:07 PM
Hi how to generate the pdf file in jsp ... View Questions/Answers

JSP  February 17, 2010 at 2:15 PM
Hi Sir, This is vanisree My friend has one query in the jsp that is,in the jsp she need to disable one textbox if she select any thing in the listbox. Thankingyou Yours ... View Questions/Answers

java  February 17, 2010 at 2:14 PM
1.which class it extends when servlet is created automatically from jsp?2. jsp get translated to servlet.where can find the servlet class (generetted from jsp)for tomcat? ... View Questions/Answers

JSP and servlets  February 17, 2010 at 2:09 PM
Hi sir, This is vanisree in my project i need to add the start time of examination and end time of examinaion and if the time between end and start are greater than one hour then i need to close that session or page Or otherwise i need to display the result to the user ... View Questions/Answers

JAVA CODE  February 17, 2010 at 1:43 PM
I need in JAVA code./* To calculate the parking fare for customers who parktheir cars in a parking lot when the following informationis givenA. A character showing the type of vehicle : C for car, B for bus,T for truck.B. An integer between 0 and... View Questions/Answers

code for email  February 17, 2010 at 12:32 PM
i want a java code using springs after login process sending an email to the corresponding with a text message to them as successfully registered ... View Questions/Answers

Java Code  February 17, 2010 at 12:09 PM
How to display line charts by getting data from database.....please let me know....Thanks in advance... ... View Questions/Answers

hashmap with struts and jsp  February 17, 2010 at 11:38 AM
i am trying to use hash map in struts.I am inserting on class object as value and string as key.This object is of class type like UserMaster{username,userId.....}.My problem is that its working fine upto 140 records but if i fech more than 400 record from database my browser gets hang.Can any ... View Questions/Answers

ARRAYS  February 17, 2010 at 9:50 AM
write a program to store the list of 100 passengers travelling in an airplane, who have been confirmed.the program should ask for a name and print if the person has been confirmed on the flight or not. ... View Questions/Answers

JSP  February 17, 2010 at 9:45 AM
Hi Sir I am developing the project for online exam.Here i am facing one problem that i need to show the questions one by one in the same page not only that after submitting the last question i need to calculate the result for those all questions and then that is viewed to the user.So please send me ... View Questions/Answers

Invoke EJB 1.1 through Web Services  February 17, 2010 at 8:56 AM
I want to know how to invoke remote method in EJB 1.1 through WebServices in OC4J server i.e (9.0.4). I am using Eclipse 3.5 and JDK 1.3.Please help. It is very critical and urgent.Any recommendation would be highly appreciable. ... View Questions/Answers

JSP  February 16, 2010 at 7:39 PM
Hai friends, I want to use the flash image on jsp or java script, if i click the image then it goes to the next page...... If any one know then pls send the source code... ... View Questions/Answers

code  February 16, 2010 at 7:34 PM
how to store words in j2me without using RMS ... View Questions/Answers

jsp  February 16, 2010 at 6:56 PM
Hi,I have two text fields date and time.If i given time and date click submit button the scheduler will start to download any files.I need the sample code for this.Please send it to me immediately.Its very urgent.Thanks,valarmathi p ... View Questions/Answers

Java swings  February 16, 2010 at 4:45 PM
i have the following class .In that class i has two panels,panel1and panel2.panel1 contains an image.i want drag it in panel2(gray background).but i dont want to remove the image from panel1.i want it as it is in the panel1 and i want to drag a copy of it into panel2.Please send code after modifying... View Questions/Answers

This Question was UnComplete  February 16, 2010 at 4:29 PM
Implement a standalone procedure to read in a file containing words and white space and produce a compressed version of the file in an output file. The compressed version should contain all of the words in the input file and none of the white space, except that it should preserve lines. ... View Questions/Answers

DBMs  February 16, 2010 at 2:55 PM
The University Accommodation Office Data requirements specificationData requirements ----------------Students-------------------------------------------The data stored on each full-time student includes: the matriculation number, name (first and last name), home address (stre... View Questions/Answers

Java unicode  February 16, 2010 at 2:36 PM
I can read unicode character(malayalam language character) from a file but not able to print the character without installing a malayalam font(corresponding language font). Please help me to solve this? ... View Questions/Answers

Jsp  February 16, 2010 at 1:24 PM
Hello sir,And how to store an array of strings in access database please reply me sir Thank you sir. ... View Questions/Answers

SQL  February 16, 2010 at 1:21 PM
Hello Sir,Can u please tell me how to store an image path or image name in Access 2003 Database.Actuall i stored an image in database but it get stores in this way .ong.binary data.But i want to store with a filename or path name how can i do this please reply me?... View Questions/Answers

HASHSET  February 16, 2010 at 11:17 AM
How To Sort HashSet?I Want Source Code? ... View Questions/Answers

fast view web--yes  February 16, 2010 at 10:38 AM
How to enable the fast web view--yes on pdf file ... View Questions/Answers

i am getting the problem when i am downloading the pdf file from oracle 10g database  February 16, 2010 at 10:10 AM
if i created the pdf file from pdf machine,it is storing into datbase and download the pdf file from database. but when i created the pdf file from the struts application(itext.jar),it is uploading into database but it is not downloading .Please help to me.i am getting the below error when downloadi... View Questions/Answers

source code  February 15, 2010 at 7:45 PM
i want source code for my project online examination it includes two modules user and administrator so if user want to write exam first he register his details and then select the topics on which he want to write exam if time is over a dialogue box come u r time is over and automatically terminate y... View Questions/Answers

javascrpt  February 15, 2010 at 7:38 PM
how to clear the content of the javascript file at runtime using java? ... View Questions/Answers

Hit Counter Schema using java script  February 15, 2010 at 5:32 PM
Dear Sir,I am sending you none project i need you help please tell me how to do it?first I have to maintain a cookie, however me choose to do it. The cookie will bemaintained for a session and the page count is to be incremented throughoutthe page visits within t... View Questions/Answers

create MS Word in Java  February 15, 2010 at 5:08 PM
Hi,Could any one please post the code which creates the word document having different paragraphs and two tables.i have sample code "Hello World!!! HAHAHAHAHA I DID IT!!" where we get this code everywhere. But i need to write more to the document like Table inserting values ini... View Questions/Answers

APACHE.POI -- Create word Document  February 15, 2010 at 5:06 PM
Hi,Could any one please post the code which creates the word document having different paragraphs and two tables.i have sample code "Hello World!!! HAHAHAHAHA I DID IT!!" where we get this code everywhere. But i need to write more to the document like Table inserting values ini... View Questions/Answers

java programing  February 15, 2010 at 4:49 PM
Write a program that reads numbers fromthe keyboard into an array of type int[].You may assume that there will be 50 or fewer entries in the array .Your program allows any numbers of numbers to be entered , up to 50 numbers. The output is to be a two-column list. The first column is a list of ... View Questions/Answers

Plz help with third Question  February 15, 2010 at 4:45 PM
1)-Specify and implement a procedure that determines whether or not a string is a palindrome. (A palindrome reads the same backward and forward; an example is "deed.")-----------------------------------------------------------2)-Implement a standalone procedure to r... View Questions/Answers

The second Question is very tuff for me  February 15, 2010 at 4:41 PM
You are to choose between two procedures, both of which compute the mini-mum value in an array of integers. One procedure returns the smallest integer if its array argument is empty. The other requires a nonempty array. Which procedure should you choose and why? ... View Questions/Answers

java  February 15, 2010 at 3:08 PM
why java is called so? ... View Questions/Answers

Java Compilation  February 15, 2010 at 1:06 PM
I tried what was given to me but im still having problems.Here is what i want to do:Write a program that calculates a customer's monthly bill. It should ask user to enter the letter of the package the customer has purachased (A, B, or C) and the number of hours that were used... View Questions/Answers

Data types in Oracle 9i  February 15, 2010 at 12:50 PM
Cn anyone tell me the difference between timestamp wih time zone and timestamp with local timezone datatypes in oracle 9i. ... View Questions/Answers

abt java project  February 15, 2010 at 12:40 PM
this program compile sucessfully but data is not store in data base if any thing correction plz do itimport java.awt.*;import javax.swing.*;import java.sql.*;import java.awt.event.*;public class simple extends JFrame implements ActionListener{ private... View Questions/Answers

JAVA  February 15, 2010 at 11:32 AM
How to parse a HTML web page using JAVA? ... View Questions/Answers

MySQL  February 15, 2010 at 11:09 AM
how to set a time to repeat a trigger in Mysql? ... View Questions/Answers

Plz help me with this Question  February 15, 2010 at 10:29 AM
this is java code-------------------------Consider the following code:int [ ] a = [1, 2, 3];Object o ="123";String t = "12";String w = t + "3"; Boolean b = o.equals (a);Boolean b2 = o.equals (t);Boolean b3 = o.equa... View Questions/Answers

attribute in action tag  February 15, 2010 at 7:24 AM
I'm just a beginner to struts. <action attribute="bookListForm" input="/jsp/bookList.jsp" name="bookListForm" parameter="step" path="/bookList" sc... View Questions/Answers

array 1  February 15, 2010 at 7:17 AM
WAP to input values in 2 arrays and merge them to array M. ... View Questions/Answers

Java Compolation  February 15, 2010 at 7:15 AM
How do I correctly write a program that calculates a customer's monthly bill?This is what I have:import java.util.Scanner;import java.text.DecimalFormat;public class Bill{ public static void main(String[] args) { final double BASE_... View Questions/Answers

array  February 15, 2010 at 7:01 AM
WAP to perform a merge sort operation. ... View Questions/Answers

ThreeArrayList  February 15, 2010 at 2:32 AM
I can't get the message to output in my software Eclispe. I need this by 5pm CST...Thank You'package tal;import java.util.ArrayList;public class ThreeArrayLists { public static void main(String[] args) { ArrayList priceList = new ArrayList();... View Questions/Answers

Javamail  February 15, 2010 at 12:15 AM
Sir as i send mail it shows me message sent but it get enters to my spam mail and sometimes it dont show me the spam mail as my account get any spam mail it deletes it what to do sir please reply me thank you sir.. ... View Questions/Answers

Programming Error  February 15, 2010 at 12:13 AM
<html><head><title>MainPage</title><style type="text/css"> body { font-family:arial,helvitica,serif; color:purple; background-color:#717D7D; }ul{list-style-type:none;margin:0;<... View Questions/Answers

Proogramming Error  February 14, 2010 at 10:55 PM
<%@ page language="java" import="java.io.*,java.sql.*,java.util.*,java.text.*,java.text.SimpleDateFormat" %><% String strDateNew=null; java.util.Date now = new java.util.Date();String DATE_FORMAT = "dd-... View Questions/Answers

Hi  February 14, 2010 at 9:52 PM
Hi sir,i am using netbeans ide,if i am create a file in netbeans ide,to run that file,we r completely run the project or only run the particular file,is there any option to run only the particular file...... Thank u, sir,i want some information about mainframes,if u ... View Questions/Answers