Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Sorting arraylist without using Collection.sort()  February 8, 2011 at 12:01 PM
Hi, How can I sort an arraylist without using Collection.sort() nad also I am not allowed to use any other data structure in the program? Is there any algorithm by using which I can do this? Please help .... ... View Questions/Answers

Hibernate  February 8, 2011 at 11:42 AM
Hi i have 2 doubbts regarding Hibernate ,.. 1)Can we rename hibernate.cfg.xml? 2? can we use multiple mapping resource in hibernate.cf.xml file ? pls let me know soon ... View Questions/Answers

java servlets with database interaction  February 8, 2011 at 11:33 AM
hai friends i am doing a web application in that i have a registration page, after successfully registered it has to display a message like "you have successfully registered" and those values should be saved in to the database.but i am getting an exception like "not enough values" can you please ... View Questions/Answers

Advertisement

Resultset Issue in SQL  February 8, 2011 at 11:00 AM
when i call rs.next() in my code it is returning false, though im having valid query to execute and fetch a row from database.how can i resolve this issue. My code is: SELECT JOBDESCRIPTION,CATEGORY,OVERVIEW,COUNTRY,STATE,CITY FROM JOB WHERE JOBNAME=? ps.setS... View Questions/Answers

SENTINEL  February 8, 2011 at 10:44 AM
PLZ GIVE THE SUGGESTION,WHERE I MUST PUT THE SENTINEL IN THIS PROGRAME OR CODING public class DayType{ final static int SUN = 0; final static int MON = 1; final static int TUE = 2; final static int WED = 3; final static int THU = 4; final st... View Questions/Answers

JTable  February 8, 2011 at 10:30 AM
i want to delete record from JTable using a MenuItem DELETE. and values of JTable are fetched from database....please reply soon ... View Questions/Answers

How to use Bean Area in Oracle Forms 9i with Sample code ?  February 8, 2011 at 10:30 AM
Hi friend.I posted a query,but I didn't get the answer for it.Help me to resolve including a bean area in oracle forms 9i and using it in forms.Thanks in advance.Help me to solve the same. ... View Questions/Answers

send sms from pc to mobile via gsm modem connected to pc in java  February 8, 2011 at 10:02 AM
pls send me the code to send sms from pc to mobile via GSM modem programmed in JAVA ... View Questions/Answers

pass radio button values to next page  February 8, 2011 at 8:56 AM
how to pass selected radio button values which coming from mysql database to next page using php. Please show me with examples ... View Questions/Answers

send sms from pc to mobile via gsm modem in java  February 7, 2011 at 10:56 PM
pls send me the code to send sms from pc to mobile via GSM modem programmed in JAVA ... View Questions/Answers

Windows File Protection  February 7, 2011 at 10:31 PM
I would like to know if there is any way to place a file or folder under windows protection such that it can't be deleted, or in generel if there is a way to prevent a file or folder from being deleted ... View Questions/Answers

Reports to pdf conversion  February 7, 2011 at 9:27 PM
I need to convert reports into pdf format using java.. Will i get any sample code..? ... View Questions/Answers

java  February 7, 2011 at 8:56 PM
coding for upload a jar file ... View Questions/Answers

SMS Receiving JAVA application from GSM modem  February 7, 2011 at 8:48 PM
Hey does any one having SMS reeving JAVA application. ... View Questions/Answers

Ontology  February 7, 2011 at 8:42 PM
how to integrate ontology in netbeans framework? ... View Questions/Answers

class name  February 7, 2011 at 8:32 PM
how to create a class named box thaT INCLUDES integer data fields for length,width,and height, include three contructors that require one,two,three arguments ... View Questions/Answers

what is meant by persistence in java???? give a programming example  February 7, 2011 at 8:12 PM
what is meant by persistence in java???? give a programming example ... View Questions/Answers

backround  February 7, 2011 at 7:37 PM
how to add background image in frames of swings ... View Questions/Answers

backround  February 7, 2011 at 7:37 PM
how to add background image in frames of swings ... View Questions/Answers

background  February 7, 2011 at 7:36 PM
how to add image as background to a frame ... View Questions/Answers

stars question  February 7, 2011 at 6:54 PM
program to get this output * * ... View Questions/Answers

iPhone SDK UIAlertView  February 7, 2011 at 6:46 PM
Hi, How can i use the iPhone UIAlertView to create a message box. Can any help or provide example or online reference. Thanks, ... View Questions/Answers

write a program to create an arraylist and listeterator.and value should be enter through keyboard.  February 7, 2011 at 6:16 PM
write a program to create an arraylist and listeterator.and value should be enter through keyboard. ... View Questions/Answers

JQuery  February 7, 2011 at 6:16 PM
my requirement is: as i have a list of doctors in my table in the DB. a textbox is there in the browser it should display all the doctors names matching with the character typed in the textbox while typing(onkeyup event), textbox is in one jsp file, the ajax mathod call should be in another jsp f... View Questions/Answers

write a program to create an vector and listeterator.and value should be enter through keyboard.  February 7, 2011 at 6:15 PM
write a program to create an vector and listeterator.and value should be enter through keyboard. ... View Questions/Answers

write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard.  February 7, 2011 at 6:14 PM
write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard. ... View Questions/Answers

write a program to create an vector and listeterator.and value should be enter through keyboard.  February 7, 2011 at 6:13 PM
write a program to create an vector and listeterator.and value should be enter through keyboard. ... View Questions/Answers

how to run audio files in net beans using j2me  February 7, 2011 at 5:32 PM
i am running the audioMidlet in net beans. Now where should i place the .wav files inorder to play them ... View Questions/Answers

like operator  February 7, 2011 at 4:48 PM
how to select exact value using like operator in php?????????? ... View Questions/Answers

what does mean of method("1") in below struts.xml file  February 7, 2011 at 4:01 PM
Hi, here is my code ... View Questions/Answers

Ant build  February 7, 2011 at 2:50 PM
Hi, Can anybody help me how to refered to a build.xml file from a buil.xml file ? Like I have a main build.xml file where I have some tags and in another build.xml file I have the rest tags for the same project. So I want to connect the 2nd build.xml file from the main build.xml file. ... View Questions/Answers

generic workflow management system  February 7, 2011 at 1:59 PM
How to design a generic workflow system for applying scholarship and its processes in online? ... View Questions/Answers

generic workflow management system  February 7, 2011 at 1:57 PM
How to design a generic workflow system for applying scholarship and its processes in online? ... View Questions/Answers

Steps not found.  February 7, 2011 at 12:49 PM
import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class Details1 extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response, String StringContext, String StringCo... View Questions/Answers

hibernate  February 7, 2011 at 12:00 PM
in hibernate.cfg.xml file we write a property named "dialect". i would like to know what it exacdtly will do? whit is its use? ... View Questions/Answers

hibernate  February 7, 2011 at 11:36 AM
please let know the most likely asked questions in the interview assoonaspossible. my interview is tomarrow please send me as soon as possible.Hibernate questions Regards, Shweta ... View Questions/Answers

Struts  February 7, 2011 at 11:25 AM
Hi i am new to struts. I don't know how to create struts please in eclipse help me... ... View Questions/Answers

please help  February 7, 2011 at 11:19 AM
public class AllContact extends javax.swing.JFrame { /** Creates new form AllContact */ public AllContact() { initComponents(); try{ Connection1 con =new Connection1(); Connection conobj=con.open(); String stat="select * from contact";... View Questions/Answers

a jsp code for creating a text file  February 7, 2011 at 10:52 AM
Hello,i need jsp code for creating a new text file for each user, when they login in to the website for creating a new data file. So i need a jsp code for following options. when user login then the following has to be displayed for user 1.Creating the new file 2.delete the file 3.update(modify) ... View Questions/Answers

JMeter HTTP request example  February 7, 2011 at 10:21 AM
Concerning: http://www.roseindia.net/jmeter/using-jmeter.shtml how do I set path? also what do i need to do to get the helloworld servlet work? Thanks in advance. ... View Questions/Answers

how to load a table of data from oracle, to a jsp page using hashmap.  February 7, 2011 at 10:05 AM
I have a jsp page which ask for project ID,team name,member name according to this data i have to retrieve their details from the database(oracle). I have to use the hashmap.How can i convert a result set object to hashmap object. ... View Questions/Answers

combo boxes  February 7, 2011 at 2:36 AM
how do you store numbers in the choices. ex. soda is $.75 and tax is $.07 then it equals a new total. I've been trying to use the Itemlistener but i can't figure out how to store the numbers import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.ButtonGroup;... View Questions/Answers

Java code to convert pdf file to word file  February 6, 2011 at 10:40 PM
How to convert pdf file to word file using Java ... View Questions/Answers

time  February 6, 2011 at 9:43 PM
how to find the current system time between the user login and logout using java? ... View Questions/Answers

-[UIPopoverController dealloc] reached while popover is still visible.  February 6, 2011 at 8:54 PM
Hi, I am getting following error in my application: -[UIPopoverController dealloc] reached while popover is still visible. How to solver this? Thanks ... View Questions/Answers

java password function  February 6, 2011 at 7:55 PM
secret password function ... View Questions/Answers

SEEKING THE POSTION OF EOF  February 6, 2011 at 7:53 PM
HOW TO KNOW THE END OF THE FILE OR SEEK THE POSITION OF DATA IN A FILE ... View Questions/Answers

Object reference not set to an instance of an object  February 6, 2011 at 6:14 PM
Object reference not set to an instance of an object ... View Questions/Answers

Circular array implementation  February 6, 2011 at 5:52 PM
i have 2 arrays of strings with size 7 and 9 respectively. I want my array with size 7 to be circular and copy the strings from other array of size 9 to the array of size 7. When i copy the strings the 8th string should be the first in array of size 7. How is it possible? ... View Questions/Answers

how to code  February 6, 2011 at 5:16 PM
how to create mysql coding in php ... View Questions/Answers

write a program to create an arraylist and listeterator.and value should be enter through keyboard.  February 6, 2011 at 5:16 PM
write a program to create an arraylist and listeterator.and value should be enter through keyboard. ... View Questions/Answers

write a program to create an vector and listeterator.and value should be enter through keyboard.  February 6, 2011 at 5:15 PM
write a program to create an vector and listeterator.and value should be enter through keyboard. ... View Questions/Answers

write a program to create an vector with string(add,remove) operation.and value should be enter through keyboard.  February 6, 2011 at 5:13 PM
write a program to create an vector with string(add,remove) operation.and value should be enter through keyboard. ... View Questions/Answers

write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard.  February 6, 2011 at 5:12 PM
write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard. ... View Questions/Answers

java prog que  February 6, 2011 at 5:09 PM
create a class that returns the reverse of each word in the given string. For example if we give "who are u?" as input, it should return "ohw era u?" ... View Questions/Answers

self.navigationController pushViewController  February 6, 2011 at 4:49 PM
Hi, I am looking the code for self.navigationController pushViewController. Can anyone tell me how write its code? Thanks ... View Questions/Answers

iphone button click event  February 6, 2011 at 4:30 PM
Hi, How to write iphone button click event? Thanks ... View Questions/Answers

java reminder Application  February 6, 2011 at 4:24 PM
Create an awt application which imitates a reminder application,that stores notes and specify date and time to be reminded. ... View Questions/Answers

java reminder Application  February 6, 2011 at 4:24 PM
Create an awt application which imitates a reminder application,that stores notes and specify date and time to be reminded. ... View Questions/Answers

GLImageProcessing iphone sample  February 6, 2011 at 3:56 PM
Hi, From where I can download the GLImageProcessing example for iPhone? Thanks ... View Questions/Answers

Failed Client-Socket Communication  February 6, 2011 at 2:20 PM
I hve written a server program & a client program. The server is supposed to echo watever is typed in the client. I hve to get 16 values to be echoed. I hve created a string and all the values are added to this string. When I pass the string to the server, it doesn get echoed by the server. I... View Questions/Answers

how many hours and minutes in 8725 seconds  February 6, 2011 at 12:32 PM
how many hours and minutes in 8725 seconds? Thanks ... View Questions/Answers

how to print of hours and minutes of 8725 seconds  February 6, 2011 at 12:25 PM
how to print of hours and minutes of 8725 seconds? ... View Questions/Answers

sum and average of grades  February 6, 2011 at 11:26 AM
how to print a program which is sum and average of Korean (90), English(85), Mathematics(78), Biology(65), Chemistry(83)? ... View Questions/Answers

print the sum of even number from 1 to 100  February 6, 2011 at 10:43 AM
how to print the sum of even number from 1 to 100 using for loops? Thanks. ... View Questions/Answers

print from a-z, A-Z with exact order using for loop  February 6, 2011 at 10:28 AM
how to print from a-z, A-Z with exact order using for loop? Thanks for all concern. ... View Questions/Answers

print a-z, A-Z with exact order using loops  February 6, 2011 at 10:17 AM
how to print from a-z, A-Z with exact order using for loop? Thanks for all concern. ... View Questions/Answers

help me  February 6, 2011 at 10:15 AM
how to print from a-z, A-Z with exact order using for loop? Thanks for all concern. ... View Questions/Answers

hello  February 6, 2011 at 10:13 AM
how to print from a-z, A-Z with exact order using for loop? Thanks for all concern. ... View Questions/Answers

xyz  February 6, 2011 at 9:49 AM
i m creation form n in form i m creating command exit n command {Phonebuk,message,Player} in a menu then i want if user enter in phone buk then contact list open n in a list i assign 2textfield add num,enter name nd assign 4command add,update,delet,view if user click on a add cmd contact will add... View Questions/Answers

contructors 1&test  February 6, 2011 at 9:14 AM
how do i Create a class named Box that includes integer data fields for length, width and height. Create three constructors that require one, two and three arguments, respectively. Code the constructors as follows: ??h The constructor that takes one argument should assign the value to length an... View Questions/Answers

constructors  February 6, 2011 at 8:46 AM
how do i create a class named "box" that includes integer data fields for length,width,height, that consist of three contructors that require one,two,three aruments, then on the second class i need to call it "boxtest"that tests each of the contructors and demonstrates that each will work correct... View Questions/Answers

hosting the website  February 6, 2011 at 8:20 AM
what are the steps for hosting the website ... View Questions/Answers

class name  February 6, 2011 at 7:27 AM
what is the class name of circle.java ... View Questions/Answers

jsf error  February 6, 2011 at 1:48 AM
type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot find FacesContext root cause java.lang.Runti... View Questions/Answers

AES encryption in J2ME  February 5, 2011 at 10:13 PM
Is it possible to do aes encryption in j2me? ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

java Question  February 5, 2011 at 10:01 PM
use nested loops that print the following patterns in four separate program. Pattern1 1 12 123 1234 12345 123456 Pattern2 123456 12345 1234 123 12 1 Pattern3 1 21 321 4321 54321 654321 Pattern4 123456 12345 1234 123 12 1 ... View Questions/Answers

org.hibernate.MappingException: could not instantiate id generator  February 5, 2011 at 8:17 PM
I am getting the following exception while running Hibernate example, pls suggest me how can i resolve it. Exception in thread "main" org.hibernate.MappingException: could not instantiate id generator at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.ja... View Questions/Answers

org.hibernate.MappingException: could not instantiate id generator  February 5, 2011 at 8:17 PM
I am getting the following exception while running Hibernate example, pls suggest me how can i resolve it. Exception in thread "main" org.hibernate.MappingException: could not instantiate id generator at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.ja... View Questions/Answers

org.hibernate.MappingException: could not instantiate id generator  February 5, 2011 at 8:17 PM
I am getting the following exception while running Hibernate example, pls suggest me how can i resolve it. Exception in thread "main" org.hibernate.MappingException: could not instantiate id generator at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.ja... View Questions/Answers

org.hibernate.MappingException: could not instantiate id generator  February 5, 2011 at 8:17 PM
I am getting the following exception while running Hibernate example, pls suggest me how can i resolve it. Exception in thread "main" org.hibernate.MappingException: could not instantiate id generator at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.ja... View Questions/Answers

transpose of matrix  February 5, 2011 at 7:00 PM
write a program in java to declare a square matrices 'A' or order n which is less than 20.allow in user to input only positive integers into the matrix and print the transpose of it. ... View Questions/Answers

array  February 5, 2011 at 6:56 PM
write a program in java which input n ,a natural number less than 12 and prints the natural number from 1 to n to the power 2 in the form of a spiral.the spiral should move in on anti clockwise direction starting from the entire. ... View Questions/Answers

Iphone Table View Application  February 5, 2011 at 6:40 PM
Hi, How to use Table View Application in Iphone? What parameters i have to follow to develop the Table view Apps with iphone? Please guide me or suggest any online example for reference. Thanks ... View Questions/Answers

Iphone Tab Bar Controller  February 5, 2011 at 6:30 PM
Hi, I am very new in mobile application programming. So, how can i create iphone tab bar controller apps. Please suggest me any online help, so that i will enhance my technical skill in mobile web application. Thanks, ... View Questions/Answers

Iphone Current Date Application  February 5, 2011 at 6:24 PM
Hi, I am a beginner in the mobile web application segment. How can i develop Iphone Current Date Application. I need the online help guide or example about iphone current date format. Thanks, ... View Questions/Answers

Iphone Comparing Strings  February 5, 2011 at 6:18 PM
Hi, I am very new in the mobile application programming. I have trying to develop a small application for IPhone SDK Comparing Strings. Could any one suggest or provide any examples topics iphone sdk application. Thanks, ... View Questions/Answers

setrawcookie() in PHP  February 5, 2011 at 6:14 PM
Hi, How can i set cookie like setcookie() function in PHP to send to the browser. So, please help me or suggest any reference. Thanks, ... View Questions/Answers

WRITE A PROGRAM TO PRINT OUT THE NUBERS 10 THROUGH 49  February 5, 2011 at 5:45 PM
write a program to print out the number 10 through 49 in the following manner 10 11 12 13 ......19 20 21..............29 30 31..............39 40 4142............49 ... View Questions/Answers

j2me database question  February 5, 2011 at 5:44 PM
**Is there any possibility to install a database into the mobile. If possible how can i connect it through midlet(j2me)** pls help me ... View Questions/Answers

javascript  February 5, 2011 at 3:42 PM
i have just learned javascript... can you tell me what kind of applications can be made by javascript?? thank you ... View Questions/Answers

java  February 5, 2011 at 3:34 PM
I am having difficulty in retrieving data from table in oracle.i used resultset but while clicking button the last data in the resultset is getting retrieved.am pasting my code.please give me a solution. page1.jsp <%@ page import="java.sql.*" %> <%@ p... View Questions/Answers

MyQuestions  February 5, 2011 at 3:33 PM
how javac work? why we call jvm as virtual machine? how user run .class file from jarfile? how objects,reference variables & simple variables and values stored in heap/stack memory? what is the class path of no name package/ how by default java.lang.* package is imported? ... View Questions/Answers

STRUTS2.0 Validation Errors  February 5, 2011 at 3:19 PM
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"> <validators> <field name="username"> &l... View Questions/Answers

DMCA.com