Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Choose a class  December 30, 2011 at 9:09 PM
Hi, I am working with java. I was wondering what to type in the start of a program so I can choose between all the classes in the program? How to choose to use only "class A" for example? Thanks for a quick answer! ... View Questions/Answers

Android using database  December 30, 2011 at 5:36 PM
How to Add,delete,modify the contact name,address,phone no into the database using android coding ... View Questions/Answers

strings  December 30, 2011 at 4:38 PM
Write a program to initialize 7 names in an array and their respective roll numbers in another array. Search for a roll number input by the user ,in the list ,If found display "Search Successful" and print the name along with its roll number, otherwise display "Search Unsuccessful.roll number is ... View Questions/Answers

Ads

How to handle the list dynamically in struts inside logic:iterate tag  December 30, 2011 at 2:07 PM
I am having following code in JSP <table> <tr> <logic:iterate name="loginForm" id="inutParams" property="inutParams" indexId="i"> <tr> <td><bean:write name="inutParams"/>:</td> <td><html:text size="50" name=... View Questions/Answers

How to save database data into excelsheet using hibernate  December 30, 2011 at 12:36 PM
How to save database data into excelsheet using hibernate.?? ... View Questions/Answers

how to parse xml in j2me tutorial  December 30, 2011 at 12:10 PM
i want to parse xml file in j2me wireless toolkit.i saw ur examples & source code for parsing xml file in j2me & i try to execute same example on my pc i some how manage to run that code successfully but when am running the application it is throwing an exception. i think that application... View Questions/Answers

SCJA Syllabus And Exam Fees  December 30, 2011 at 10:08 AM
What is SCJA syllabus and exam fees for SCJA and also exam dates in 2012 for SCJA? Thanking You (In Advance). ... View Questions/Answers

@configuration annotation in Spring 3  December 30, 2011 at 8:42 AM
doesn't make code tight coupling..? if we keep that in IOC in XML form, its deployment free for some kind of change management right?. ... View Questions/Answers

C++ Starter needs help :S  December 29, 2011 at 9:07 PM
Hi, im 15 & im trying to learn how to program, i am starting with C & C++ since these are (what ive been told) the most used lenguages & they can do all the things that i would love to do with programming, im having a verry hard time trying to understand & learn how to program. im... View Questions/Answers

try to execute this code getting class cast exception, please resolve it.  December 29, 2011 at 4:04 PM
package test; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; public class Over { static int k[] = new int[5]; public static void main(String... ab) { int aa[] = new int[] { 2, 1, 2, 3 }; int... View Questions/Answers

L&T  December 29, 2011 at 3:36 PM
At what exact location we should override hashcode and equals? Can any body........ ... View Questions/Answers

how to validate duplicate records in struts1  December 29, 2011 at 3:32 PM
Hi, After submitting the form i have to validate the email id. If already exists in database i have to display an error message saying that email id already exist. ... View Questions/Answers

how to validate duplicate records in struts1  December 29, 2011 at 3:26 PM
Hi, After submitting the form i have to validate the email id. If already exists in database i have to display an error message saying that email id already exist. ... View Questions/Answers

Time table generation  December 29, 2011 at 12:01 PM
Hi I am 3rd year bca student i want create time table generator for my project.i am going to create it as school time table management.i want some ideas related this project I mean i want the conditions like how can i insert many sections,how can i allot the subjects to classes,how to... View Questions/Answers

Time table generation  December 29, 2011 at 12:01 PM
Hi I am 3rd year bca student i want create time table generator for my project.i am going to create it as school time table management.i want some ideas related this project I mean i want the conditions like how can i insert many sections,how can i allot the subjects to classes,how to... View Questions/Answers

MVC1/MVC2  December 29, 2011 at 9:30 AM
Can u pls tell me exact diff bet MVC1 AND MVC2 ... View Questions/Answers

JasperException?  December 29, 2011 at 9:23 AM
can u pls tell me when well we get JasperException? when well we get parserException? ... View Questions/Answers

How to hold data in map  December 29, 2011 at 9:19 AM
Holding data in map: i have user1 and he has account1,account2,accoutn3 like that user2,user3 will have accounts. now how to hold users and their accounts in hashmap? ... View Questions/Answers

Map.Entry ?  December 29, 2011 at 9:16 AM
Map.Entry is a class or interface can u pls explain it? ... View Questions/Answers

Is it possible in SWT ?  December 29, 2011 at 2:21 AM
I want drop down like google search (ie, when we type one letter then the word start with that are displayed). when the drop down list appear, then we can select one of word as our text box value. Can i do this in SWT ? Thanks. ... View Questions/Answers

how to generate bank account number?  December 29, 2011 at 1:13 AM
how to generate account number?or format or rules for bank account number? ... View Questions/Answers

validate bank account number  December 28, 2011 at 11:04 PM
how to validate bank account number in jsp? ... View Questions/Answers

validate bank account number  December 28, 2011 at 11:04 PM
how to validate bank account number in jsp? ... View Questions/Answers

last question  December 28, 2011 at 7:56 PM
Input the name and marks of 25 students and compute the average. Print out the name and average of each student. (You can do this using an array or without using an array) ... View Questions/Answers

compute  December 28, 2011 at 7:55 PM
Write a menu driven program that will print out the results of the following : (1) Ceiling (2) Floor (3) Absolute (4) (a+b)^3 (5) Exit (Accept a single input when user chooses options 1-3 and accept 2 inputs for option 4. Selecting 5 will end the program. WAP... View Questions/Answers

To display the bar graph  December 28, 2011 at 6:02 PM
hi........ I am able to get the output of bar graph. but now i want that to be displayed on my own form. The code which i am having in that the output is displayed in another form, its creating new form but i want to display it in my form only. Means i want it to be displayed on my form t... View Questions/Answers

JFreechart & JCommon  December 28, 2011 at 5:55 PM
hi........... thanks a lot. The code is running successfully and able to get the output. Thanks once again......... ... View Questions/Answers

Can anybody tell me how to resolve this issue?  December 28, 2011 at 5:40 PM
java.lang.Exception: Exception : java.lang.Exception: Generic Errors = java.util.MissingResourceException: Can't find bundle for base name Connection, locale en_US at hdox.ConnCacheBean.initializeConnectionCache(ConnCacheBean.java:86) at hdox.ConnCacheBean.(ConnCacheBean.java:41) ... View Questions/Answers

problem in WSMO project in eclips  December 28, 2011 at 4:03 PM
HI, I am a beginner in WSMO Studio, I have copied all the plugin required in to eclips plug in, but I can not create a WSMO project yet. I mean i don't have the option of WSMO project in file--> new-->project--> . ... View Questions/Answers

compilation problem  December 28, 2011 at 2:26 PM
struts 2.0 : i have included all 5 jars in lib folder,but its giving compilation problem that package open symphony doesnot exist ( though i imported it) & cant recognise SUCCESS etc symbol.i think i havenot set the build path.if this is the problem then tell me how to set the build path.i... View Questions/Answers

compilation problem  December 28, 2011 at 2:26 PM
struts 2.0 : i have included all 5 jars in lib folder,but its giving compilation problem that package open symphony doesnot exist ( though i imported it) & cant recognise SUCCESS etc symbol.i think i havenot set the build path.if this is the problem then tell me how to set the build path.i... View Questions/Answers

Rose India Stateless Session Bean Example Question  December 28, 2011 at 3:07 AM
Hi Team, Is this example can be compiled using NetBeans and Glass Fish ? Actually, in descriptor .xml file it is shown that it can be run by using JBoss and Apache Ant. If I want to use NetBeans and Glass Fish to r... View Questions/Answers

My jasper Report  December 27, 2011 at 11:34 PM
I can now retrieve information from my database to my jasper Report, But as soon as i close the Report form, the entire desktop window will also be close. i want your help please! ... View Questions/Answers

Coding with Ejb  December 27, 2011 at 11:00 PM
Hi Team, I am learning Ejb now. Can anybody help me how to implement this Stateful Session Bean Example by using this Hibernate example. Thanks in ... View Questions/Answers

Collection  December 27, 2011 at 7:49 PM
What is the exact difference between lagacy classes and collection classes? and Enumeration is possible on Collection classes? ... View Questions/Answers

EJB with NetBeans  December 27, 2011 at 7:42 PM
I am very new in Ejb and with very few knowledge about it. I have download NetBeans (7.01) and GlassFish (3.01). But, as I have no idea about Ejb, I am not getting how to run the code which includes a simple Statefull Session Bean, a jsp page and a back end database. For example, I found some exa... View Questions/Answers

Jcommon error  December 27, 2011 at 6:45 PM
hi................. what u had said i have downloaded the jar file the latest one then also its giving me same error can u tel me why this is happening? Is tht the pakge we want is not there? can u send me the code for bar chart and pie chart where this error will not come. and al... View Questions/Answers

programing  December 27, 2011 at 6:27 PM
write a program to input a number find & print the middle digit if no of digit are odd other wise print the average of middle two digit. ... View Questions/Answers

java programing  December 27, 2011 at 6:24 PM
write a program to input a number or find & print the highest digit. ... View Questions/Answers

programing  December 27, 2011 at 6:24 PM
write a program to input a number or find & print the highest digit ... View Questions/Answers

programing  December 27, 2011 at 6:23 PM
write a program to input a number or find & print the highest digit. ... View Questions/Answers

java programing  December 27, 2011 at 6:04 PM
write a program to input a number or find & print the highest digit. example:-2639 than print 9 ... View Questions/Answers

programing  December 27, 2011 at 5:58 PM
write a program to input a number or find & print the highest digit ... View Questions/Answers

store form data into word document  December 27, 2011 at 4:38 PM
i want form page data, ex username phone number.. to store it in a word document file ... View Questions/Answers

Java Program  December 27, 2011 at 4:08 PM
java program to insert row in excel sheet after identifying an object ... View Questions/Answers

Sales website in Java  December 27, 2011 at 3:47 PM
How to create a sales website in Java? ... View Questions/Answers

Manipulation of war fie contents  December 27, 2011 at 2:44 PM
How can I manipulate a specific file inside my war file without extracting it? Please help... Thanks and regards, Swapnil ... View Questions/Answers

Remote file transfer in java using SSH & Telnet  December 27, 2011 at 1:40 PM
How to upload & download a file in java using SSH & Telnet ? ... View Questions/Answers

browser cache  December 27, 2011 at 11:21 AM
how can we clear browser cache? ... View Questions/Answers

I have need to help  December 27, 2011 at 5:54 AM
Write a program that, for four points A, B, C and P, draws a triangle formed by ABC and a small cross showing the position of P; and displays a line of text indicating which of the following three cases applies: a) P lies inside ABC b) P lies outside ABC Or c) P lies on an edge of ABC. The us... View Questions/Answers

Java array  December 27, 2011 at 12:32 AM
Java program to find first two maximum numbers in an array,using single loop without sorting array. ... View Questions/Answers

To find first two maximum numbers in an array  December 27, 2011 at 12:31 AM
Java program to find first two maximum numbers in an array,using single loop without sorting array. ... View Questions/Answers

To find first two maximum numbers in an array,using single loop without sorting array.  December 27, 2011 at 12:30 AM
Java program to find first two maximum numbers in an array,using single loop without sorting array. ... View Questions/Answers

To find first two maximum numbers in an array,using single loop without sorting array.  December 27, 2011 at 12:22 AM
Java program to find first two maximum numbers in an array,using single loop without sorting array. ... View Questions/Answers

Run a simple EJB code  December 26, 2011 at 11:01 PM
I found the code this. However, as I have no idea with EJB, I can't understand how to run it. Can anybody help me by giving steps (by giving snapshots or writing full procedure)how to run it (any platform is acceptable). Thanks.... View Questions/Answers

Run a simple EJB code  December 26, 2011 at 11:01 PM
I found the code this. However, as I have no idea with EJB, I can't understand how to run it. Can anybody help me by giving steps (by giving snapshots or writing full procedure)how to run it (any platform is acceptable). Thanks.... View Questions/Answers

To delete post  December 26, 2011 at 7:09 PM
How can I delete my old post answer. I've posted 2 same answers by mistake. ... View Questions/Answers

jetty integration  December 26, 2011 at 6:59 PM
hi, i am using jetty server,i want to integrate two ports in which if i submit some data in port1 then port2 takes that data and publish result ... View Questions/Answers

Sum of first n numbers  December 26, 2011 at 3:00 PM
i want a simple java program which will show the sum of first n numbers.... ... View Questions/Answers

How to parse an XML as per dtd in java  December 26, 2011 at 2:49 PM
Please help to tell me a logic to parse an xml as per mentioned dtd inside xml. I've used SAX and DOM both but that only check for well formed xml tags but don't validate as per DTD. please help ... View Questions/Answers

when radio button is selected corresponding jsp page should open  December 26, 2011 at 1:58 PM
how to write code in HTML & jsp, when we click on radio buttons the corresponding jsp page should open..! ... View Questions/Answers

java  December 26, 2011 at 1:37 PM
i need to make a function in java where i will do addition of two matrices then i need to call this function through an object.is it possible to do,i tried everyway but couldnt get the result. ... View Questions/Answers

How do i get the number of online users from a site using jsp?  December 26, 2011 at 12:46 PM
Hi, Can any one tell me how to get the number of records from a database dynamically, when each person got logged into the page in jsp ... View Questions/Answers

storing images in directory,saving path in db2  December 26, 2011 at 10:18 AM
i am working in a web portal that makes a simple networking site. i want to store the profiles images in a folder and its path(relative/absolute) in my DB2 database. and when the user logins, i shall retrieve the image and show it as the profile image again. can you help?? i'm using DB2 databse L... View Questions/Answers

html  December 25, 2011 at 11:09 PM
How to develope a web page with Audio and vidios? give One example? ... View Questions/Answers

Java Final Variable  December 24, 2011 at 7:53 PM
I have some confusion --Final variable has single copy for each object so can we access final variable through class name,or it is necessary to create object for accessing final variable? ... View Questions/Answers

how to make JTable to add delete and update sql database table  December 24, 2011 at 4:54 PM
Hello all I want to know how to make JTable to act actively to add delete and update database table. i am struck ed here from long time please help me. ... View Questions/Answers

jfree missing import file  December 24, 2011 at 4:40 PM
hi....... i have checked the jar file of jfree that import file of RECTANGLEINSETS is not there then what to do now? how to solve this problem? plz help? ... View Questions/Answers

jfree missing import file  December 24, 2011 at 4:40 PM
hi....... i have checked the jar file of jfree that import file of RECTANGLEINSETS is not there then what to do now? how to solve this problem? plz help? ... View Questions/Answers

jfree missing import file  December 24, 2011 at 4:40 PM
hi....... i have checked the jar file of jfree that import file of RECTANGLEINSETS is not there then what to do now? how to solve this problem? plz help? ... View Questions/Answers

jfree missing import file  December 24, 2011 at 4:40 PM
hi....... i have checked the jar file of jfree that import file of RECTANGLEINSETS is not there then what to do now? how to solve this problem? plz help? ... View Questions/Answers

JFREE error  December 24, 2011 at 4:37 PM
hi......... the code for making chart is: WHICH IS GIVING THE ERROR import org.jfree.chart.*; import org.jfree.data.category.*; import org.jfree.data.general.DefaultPieDataset; import org.jfree.data.xy.*; import org.jfree.data.*; import org.jfree.chart.renderer.ca... View Questions/Answers

StringBuffer  December 24, 2011 at 2:43 PM
What's the difference between these two formats? String string=args[0]; String reverse = new StringBuffer(string).reverse().toString(); String string=args[0]; StringBuffer rev = string.reverse(); String reverse = rev.toString();... View Questions/Answers

Networking with OSI model  December 24, 2011 at 1:06 PM
What is networking and it's how to work with OSI model? ... View Questions/Answers

Guide me to learn Flex  December 24, 2011 at 12:18 PM
Guidance to learn Flex Thanks in Advance. Kamal ... View Questions/Answers

JFREE error again  December 24, 2011 at 11:39 AM
hi......... As i had asked u the jfree error i want to tel u that i have taken the both the jar files jfree and jcommon. but then also its giving me error i am able to compile the code but now when i am running the code i am getting expection that: Exception in thread "ma... View Questions/Answers

Applets?  December 24, 2011 at 10:49 AM
applets are using now a days ... View Questions/Answers

Java Spring Desktop application with multiple classes and jframe  December 24, 2011 at 7:04 AM
Hi i am developing a desktop java spring application..It has many Jframes forms and classes...How to close one Jframe from another..Please tell... First jframe package desktopapplication2; import java.awt.Graphics; import java.io.FileNotFoundException; import java.io.IOException; ... View Questions/Answers

Java Spring Desktop application  December 24, 2011 at 7:02 AM
Hi i am developing a desktop java spring application..It has many Jframes forms and classes...How to close one Jframe from another..Please tell... First jframe package desktopapplication2; import java.awt.Graphics; import java.io.FileNotFoundException; import java.io.IOException; ... View Questions/Answers

webservices adding in eclipse  December 24, 2011 at 12:23 AM
hi team, i am working on webservices, please guide me how to add webservices in eclispe with step by step and give some examples also. ... View Questions/Answers

Games Application development  December 23, 2011 at 7:15 PM
Game application development ... View Questions/Answers

Website development in java example and source code  December 23, 2011 at 6:26 PM
Website development in java example and source code... View Questions/Answers

Java  December 23, 2011 at 5:52 PM
What is the difference between Final variable ad static variable in java? Both have single copy for each object.And final variable is for constant .So please tell me What is the main difference between them? ... View Questions/Answers

java with jsp and dynamic database retrival for bar charts  December 23, 2011 at 5:19 PM
Hi, I am having a table name tablelogin,it consists of columns userid,logintime,sessionid,ip_address,logout. so,can any one help me out how to get the bar chart dynamically for the table values logintime and userid from database.. can u please send me ... View Questions/Answers

Same email-massage is sending twice in online server(tomcat) but working fine in my local server(Tomcat)..  December 23, 2011 at 3:51 PM
Sir, I created one project in jsp for a software company. I am using listeners and timer for sending automatic mail to admin at specific time. In local Server(tomcat):::>When employee Submitting their daily report , it is working fine but when am uploading it into Online server . s... View Questions/Answers

Write a C/C++ program to show the result of a stored procedure  December 23, 2011 at 2:28 PM
how to write this?? Write a C/C++ program to show the result of a stored procedure "PROCRESETMAIL" on database "USER_NOTIFY". ... View Questions/Answers

core java  December 23, 2011 at 1:53 PM
how to write or update into excel file using org.apache.poi api. i want to write in the next line if data is in the previous line. ... View Questions/Answers

The @configuration annotation example in Spring 3.0 Framework  December 23, 2011 at 12:27 PM
I was going through the tutorial on Spring for "The @configuration annotation example in Spring 3.0 Framework" but I am getting following error when I Run the Spring3HelloWorldConfigTest.java "java.lang.IncompatibleClassChangeError: Implementing class" if I use cglib-2.0.2.jar & following er... View Questions/Answers

File and data sending  December 23, 2011 at 12:03 PM
Can anyone please tell me how to upload a file along with some data into the server??I want to do it like the way they do it in the blogs,where we can upload both file along with some information.I am using multipart/form-data but using this I cannot send the data.So it would be really helpful if... View Questions/Answers

java bar charts and jsp  December 23, 2011 at 11:44 AM
Hi, Can any one help me out in how to create java bar charts using jsp with the help of data base table values? thanks in advance ... View Questions/Answers

excel  December 23, 2011 at 10:47 AM
how to save excel sheet data into the database using poi api? ... View Questions/Answers

nikesh  December 23, 2011 at 10:36 AM
write a java program to arange 10 employee names in ascending order. ... View Questions/Answers

Bar charts and jsp  December 23, 2011 at 9:47 AM
Hi, How to generate Dynamic Bar Chart Images using jsp with placing any image location in weebroots? Thanks in advance ... View Questions/Answers

regarding images in jsp  December 23, 2011 at 9:35 AM
Hi, When I am trying to display an image in jsp, i am getting the image of bar charts in webroots/jspchart/web/jspbarchart.jsp.. But actually I am not getting any image in the browser.. Can any one help me out in fixing the solution for my problem? Thanks in advance ... View Questions/Answers

java projects  December 23, 2011 at 12:56 AM
I am interested to developed the JAVA projects. But I want to some help about java example projects. So give me suggestions to developed the java projects by me. ... View Questions/Answers

Static keyword in public static void main  December 23, 2011 at 12:17 AM
Hi, I have seen that on page mentioned below for static keyword explanation given is: Page: http://www.roseindia.net/java/learn-java-in-a-day/create-first-program.shtml Explanation: static keyword indicates that this method can be invoked simply by using the name of the class without cre... View Questions/Answers

Timmer  December 23, 2011 at 12:08 AM
Code for timer in java swing ... View Questions/Answers

Timmer  December 23, 2011 at 12:08 AM
Code for timer in java swing ... View Questions/Answers

Timmer  December 23, 2011 at 12:08 AM
Code for timer in java swing ... View Questions/Answers

Timmer  December 23, 2011 at 12:08 AM
Code for timer in java swing ... View Questions/Answers

DMCA.com