Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

logging in java  February 10, 2011 at 9:27 AM
Hi, Im using loggers in standalone java program.i need to store the loggers in a xxx.log file in classpath.how can i implement this using slf4j loggers or anythig else? ... View Questions/Answers

hibernate  February 10, 2011 at 9:16 AM
please give me the link where i can freely download hibernate software(with dependencies) ... View Questions/Answers

css  February 10, 2011 at 8:42 AM
Create a new external style sheet with the name exercise1.css 2.In this style sheet, define the following. Use a different element, and different properties and/or values, for each rule: * one or more simple selectors example: p { pro... View Questions/Answers

Advertisement

css  February 10, 2011 at 8:16 AM
Create a new external style sheet with the name exercise1.css 2.In this style sheet, define the following. Use a different element, and different properties and/or values, for each rule: one or more simple selectors example: p { property:value; } ... View Questions/Answers

css  February 10, 2011 at 8:13 AM
Create a new external style sheet with the name exercise1.css 2.In this style sheet, define the following. Use a different element, and different properties and/or values, for each rule: one or more simple selectors example: p { property:value; } ... View Questions/Answers

string to double  February 10, 2011 at 5:20 AM
So I have an assignment where we have to convert strings into double.I have to modify the method parseDouble() to fully implement the method to imitate the Double.parseDouble() method of Java. In other words, parseDouble() method takes a String as input and converts it into a double when possible... View Questions/Answers

Prompt  February 10, 2011 at 2:19 AM
I have a program that is asking for user input. It is divided into methods in the method asking for the input it uses a prompt command that I've never seen. public static int getInput(numberOfGrades) { System.out.print(**prompt** + ' '); return numberOfG... View Questions/Answers

Name  February 9, 2011 at 10:18 PM
make a program that take a input from user in alphabet and show all the name of that character E.g User give character "B". The program shows all the human names which starts from B. ... View Questions/Answers

java applet notpad  February 9, 2011 at 10:17 PM
i need Codes Or programe in java applet ; i want add this programe to my site html > please help me our ... View Questions/Answers

Flex with JSP  February 9, 2011 at 10:08 PM
i want to draw chart in jsp page using flex. how can i do that? any solution?? ... View Questions/Answers

Login page validation on ipad  February 9, 2011 at 8:23 PM
I am using userId & password labels and their corresponding textfield. Now I want to validate the details by single sign in button and want to switch on to next page. Used two labels again to display message "invalid UserId" & "invalid pa... View Questions/Answers

for loop in java  February 9, 2011 at 8:01 PM
54321 4321 321 21 1 using for loop or nested 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 using for loop or nested 1 135 1357 1359 10 8 6 4 2 0 8 6 4 2 0 6 4 2 0 2 1 0 1 2 3 3 4 5 4 5 6 7 5 6 7 8 9 6 7 8 9 10 all for loop code plz friends guide me ... View Questions/Answers

for loop in java  February 9, 2011 at 8:01 PM
54321 4321 321 21 1 using for loop or nested 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 using for loop or nested 1 135 1357 1359 10 8 6 4 2 0 8 6 4 2 0 6 4 2 0 2 1 0 1 2 3 3 4 5 4 5 6 7 5 6 7 8 9 6 7 8 9 10 all for loop code plz friends guide me ... View Questions/Answers

for loop in java  February 9, 2011 at 8:01 PM
54321 4321 321 21 1 using for loop or nested 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 using for loop or nested 1 135 1357 1359 10 8 6 4 2 0 8 6 4 2 0 6 4 2 0 2 1 0 1 2 3 3 4 5 4 5 6 7 5 6 7 8 9 6 7 8 9 10 all for loop code plz friends guide me ... View Questions/Answers

for loop in java  February 9, 2011 at 8:01 PM
54321 4321 321 21 1 using for loop or nested 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 using for loop or nested 1 135 1357 1359 10 8 6 4 2 0 8 6 4 2 0 6 4 2 0 2 1 0 1 2 3 3 4 5 4 5 6 7 5 6 7 8 9 6 7 8 9 10 all for loop code plz friends guide me ... View Questions/Answers

for loop in java  February 9, 2011 at 8:01 PM
54321 4321 321 21 1 using for loop or nested 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 using for loop or nested 1 135 1357 1359 10 8 6 4 2 0 8 6 4 2 0 6 4 2 0 2 1 0 1 2 3 3 4 5 4 5 6 7 5 6 7 8 9 6 7 8 9 10 all for loop code plz friends guide me ... View Questions/Answers

JSON with Java  February 9, 2011 at 6:59 PM
How to request Json From URI and to parse and to store the values in Java array ... View Questions/Answers

What is the microtime() Function PHP ?  February 9, 2011 at 6:37 PM
Hi, What is microtime() Function in PHP? What is the role of Microtime() Function in PHP. Please suggest me any online reference. Thanks, ... View Questions/Answers

how to get string between two characters  February 9, 2011 at 6:34 PM
hgow to get string from between two characters. ex:hareesh.arava@gmail.com from the above word i want a string between characters . and @ send the required method and give better example. ... View Questions/Answers

How to Addding 1 Year with PHP  February 9, 2011 at 6:32 PM
Hi, I am very fresh in PHP language. I trying to create a small application about how to adding 1 year in specific date. Please suggest me. Thanks, ... View Questions/Answers

JInternalFram  February 9, 2011 at 6:18 PM
how can remove title of JInternalFram in Netbeans. ... View Questions/Answers

two dimensional array  February 9, 2011 at 4:23 PM
how tow dimensional array works.How those loopes get incremented .and how every time the value of k changes? ... View Questions/Answers

java  February 9, 2011 at 3:04 PM
we compile FileName.java with command javac FileName.java. then at run time, how JVM decide that .class must be compiled(with JIT compiler) or interpreted or work both at same time.(use of JIT compiler and Interpreter). ... View Questions/Answers

intranet in java swing  February 9, 2011 at 2:00 PM
i want source code of intranet establishment in java swing ... View Questions/Answers

Learning Ajax  February 9, 2011 at 2:00 PM
How to learn Ajax? Thanks ... View Questions/Answers

jsp with database oracle  February 9, 2011 at 1:24 PM
hai i am doing one program in jsp i want to check the jsp life cycle methods so wrote one program, in which i write jspInit() method and jspDestroy() methods. but i am getting error i crate a table with the name employee i am sending sample code to u. plz help me to fix this problem <... View Questions/Answers

hi  February 9, 2011 at 1:18 PM
My program is not find java.io.File; why? help me please.. ... View Questions/Answers

profile doesn't match any valid certificate private key pair in the default keychain  February 9, 2011 at 12:39 PM
Hi, I am not able to create my application build. Following error is coming profile doesn't match any valid certificate private key pair in the default keychain and I am not able to select my certificate for building the app. Thanks ... View Questions/Answers

JQuery  February 9, 2011 at 12:27 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

how to show required fields indicate as * in struts2  February 9, 2011 at 12:09 PM
how to show required fields indicate as * in struts2 ... View Questions/Answers

java  February 9, 2011 at 12:08 PM
what is purpose of UTF? ... View Questions/Answers

ABOUT Jtable  February 9, 2011 at 11:34 AM
My Project is Exsice Management in java swing Desktop Application. I M Use Netbeans & Mysql . How can retrive Data in Jtable from Mysql Database in Net Beans** ... View Questions/Answers

class NSCFString autoreleased with no pool in place - just leaking  February 9, 2011 at 11:00 AM
Hi, In my application following error is coming: class NSCFString autoreleased with no pool in place - just leaking What is the solution? Thanks ... View Questions/Answers

How to know the Sunrise time of particular date and Location.  February 9, 2011 at 10:51 AM
Hi, How to create a small application to know the sunrise time of specific date as well as the locations. So, Please provide any online help. so, that i will manipulate the application. Thanks, ... View Questions/Answers

Java: Adding Row in JTable  February 9, 2011 at 10:14 AM
how about if we already have the JTAble created earlier. And i just found nothing to get its DefaultTableModel, thus, I can't call insertRow() method. Is there any work around for this? I found that we need to re-create the table as a whole using AbstractModel, (what??)... View Questions/Answers

to upload a table from DB to the same html page  February 9, 2011 at 10:13 AM
how to make this booklist table to be opened in the same html page itself using a third frame? ... View Questions/Answers

How to Addding One Month with PHP ?  February 9, 2011 at 10:04 AM
Hi, I am very new in this php programming language. Can anybody will guide me how to add 1 month on a specific date on PHP. Please give any example or reference links. Please feel free for any suggestion. Thanks, ... View Questions/Answers

How to retrieve the ISO Date in PHP?  February 9, 2011 at 9:58 AM
Hi, I am a beginner in PHP programming language. I have a query how to retrieve the ISO Date in PHP Language. Can any one suggest any reference for this. Thanks, ... View Questions/Answers

Java  February 9, 2011 at 9:56 AM
I am using Java netbeans ide. Q 1.Every Time i execute a query My ResultSet points to zero. is there any mechanism to make my cursor point to the last row i viewed.or traveresd through.. Q 2.Whenever a new Record is created in a Database.A unique textfile is created on a host machine.But ... View Questions/Answers

multiple inheritance  February 9, 2011 at 9:05 AM
why java doesn't support multiple inheritance? we can achieve this by using interface but not with classes? what is the main reason that java community implemented like that? ... View Questions/Answers

JList Background Images..Urgent  February 9, 2011 at 8:36 AM
I has done a JList that can change background color when i selected each of it, but if i want to change background image rather than background colors, how can i do it? Please help! my previous coding as below: import java.awt.*; import javax.swing.*; import javax.swing.event.*;... View Questions/Answers

java Question  February 9, 2011 at 6:38 AM
Design a class named rectangle to represent a rectangle. The Class contain: Two double data fielda named width and heigth that specify the width and height of the rectangle.the default values are 1 for both width and height. A string data field named color that specified ... View Questions/Answers

java Question  February 9, 2011 at 6:36 AM
Design a class named rectangle to represent a rectangle. The Class contain: * Two double data fielda named width and heigth that specify the width and height of the rectangle.the default values are 1 for both width and height . *A string data field named color that specified the color of a rect... View Questions/Answers

Question on reversing word of a sentnce  February 8, 2011 at 10:21 PM
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: ?jack and jill went up a hill?... View Questions/Answers

java  February 8, 2011 at 9:58 PM
what is s.charAt(i)-'0' ... View Questions/Answers

Java  February 8, 2011 at 8:48 PM
I have written the code to query the database to retrieve the flight details and the schedule of the flights, however, when executing the code i experience an error which says Error :java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifie... View Questions/Answers

looping through a list of methods  February 8, 2011 at 6:27 PM
I have a number of methods that do the almost same thing: public void setColorRed (int colorvalue); public void setColorYellow (int colorvalue); public void setColorBlue (int colorvalue); Is there a way to place these methods in a list and then call each one f... View Questions/Answers

HTML Upload  February 8, 2011 at 6:05 PM
Hi, I want to upload a word / excel document using the html code (web interface)need to get displayed on another webpage. Please let me the coding to display on another webpage using. ... View Questions/Answers

searching problem  February 8, 2011 at 5:17 PM
how we can make a code in core java for searching in hard disk? i have to make an antivirus as my minor project , so i have need this type code to search the virus in hard disk. ... View Questions/Answers

searching problem  February 8, 2011 at 5:16 PM
how we can make a code in core java for searching in hard disk? i have to make an antivirus as my minor project , so i have need this type code to search the virus in hard disk. ... View Questions/Answers

UIPopOverController - Open a second PopOverController over first UIPopOverController  February 8, 2011 at 4:37 PM
How can i open a second UIPopoverController over my first UIPopoverController in my iPad application? Right now my first UIPopoverController is called on UIBarButtonItem click that is placed in the UIToolBarItem. ... View Questions/Answers

Eclipse  February 8, 2011 at 4:18 PM
I am new to eclipse. I want to write a jsp program and want to connect it with mysql. What are the configurations i need to check in eclipse ... View Questions/Answers

NSZombieEnabled iPhone  February 8, 2011 at 4:13 PM
NSZombieEnabled Trouble in setting How can i set the NSZombieEnabled in iPhone application to track unmanaged memory? ... View Questions/Answers

Delete Query using HQL  February 8, 2011 at 3:50 PM
Can we write 'AND' with 'WHERE' clause in delete query using HQL? For example: delete from table name where field1 = value1 and field2 = value2 ... View Questions/Answers

Spring application in RSA 7.0.0.3  February 8, 2011 at 2:53 PM
how to build a sample spring application using RSA 7.0.0.3 ... View Questions/Answers

java  February 8, 2011 at 1:57 PM
what is the difference between Abstract class and Interface ... View Questions/Answers

email archiving  February 8, 2011 at 1:56 PM
Hi, What is email archiving? Thanks ... View Questions/Answers

hibernate projection  February 8, 2011 at 1:01 PM
why projection are used and in what situation do we need to use projections ... View Questions/Answers

how to get session object in simple java class??  February 8, 2011 at 12:49 PM
i am fallowing a simple mvc architecture. actually my problem is.... i am using 4 classes in my work. 1) GroupDetails.jsp 2) GroupPojo.java (simple pojo class which have setters and getters) 3) GroupServlet.java (a servlet class for control) 4) Gro... View Questions/Answers

Eclipse  February 8, 2011 at 12:48 PM
I am new to eclipse. i want to create a login page in eclipse and want to connect with mysql. what are the software and jar file i need to include in eclipse ... View Questions/Answers

LOOP-HOLE SERIES GENERATION  February 8, 2011 at 12:29 PM
QUESTION:- WRITE A PROGRAM TO GENERATE THE FOLLOWING SERIES CALLED LOOPHOLE SERIES:- 3,5,53,13,19,7,19,13,53,5,3 ... View Questions/Answers

hibernate  February 8, 2011 at 12:27 PM
why we should use hibernate projection? ... View Questions/Answers

LOOP-HOLE SERIES GENERATION  February 8, 2011 at 12:19 PM
QUESTION:- WRITE A PROGRAM TO GENERATE THE FOLLOWING SERIES CALLED LOOPHOLE SERIES:- 3,5,53,13,19,7,19,13,53,5,3 ... View Questions/Answers

closing connections in finally block  February 8, 2011 at 12:05 PM
Hi, What will happen if I close connection before closing the resultset in the finally clock? e.g. finally... { ... conn.close(); rs.Close(); } If i do as above ... what will happen? ... View Questions/Answers

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

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

DMCA.com