Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

inheritance  January 24, 2011 at 3:51 PM
can constructors of the parent class be inherited by the child class? ... View Questions/Answers

java  January 24, 2011 at 3:35 PM
hai sir. i have doubt sir. in my form i have one grid table.and these values should pass to database and next to the another form please give me reply as soon as possible ... View Questions/Answers

Java  January 24, 2011 at 2:47 PM
can an interface extend more than one interfaces? justify? give one example. ... View Questions/Answers

Advertisement

Online Shopping Portal  January 24, 2011 at 2:46 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along ... View Questions/Answers

null interface  January 24, 2011 at 2:46 PM
what is the null interface and what is the use of it in real java project ? ... View Questions/Answers

setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key headerView.  January 24, 2011 at 1:30 PM
HI, In my iPhone application I am getting following error: setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key headerView. How to solve this? Thanks ... View Questions/Answers

org.springframework.scheduling.quartz.SimpleTriggerBean repeatinterval  January 24, 2011 at 1:06 PM
Hi, What is the org.springframework.scheduling.quartz.SimpleTriggerBean repeatinterval for 1 Minute 5 Minutes 10 Minutes 1 Hour Thanks ... View Questions/Answers

Export chart to JPEG file  January 24, 2011 at 1:02 PM
Hi. I have one problem. I have generated piecharts and barcharts using chartlib.js and jquery in jsp. Now i want to export this charts to jpeg file . how can i do this? Thank q in advance.. ... View Questions/Answers

Expain the following code ?  January 24, 2011 at 12:58 PM
please explain the following line of code clearly? <html:link href="user.do?parameter=create">Create User</html:link> ... View Questions/Answers

Distinguishes JavaBeans from Java Classes  January 24, 2011 at 12:15 PM
What is the difference between a Java Bean and an instance of a normal Java class?Explain with an example, pls? ... View Questions/Answers

Online Shopping Portal for xyz.com  January 24, 2011 at 12:03 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along with th... View Questions/Answers

Online Shopping Portal for xyz.com  January 24, 2011 at 12:03 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along with th... View Questions/Answers

C Program with Database Connectivity  January 24, 2011 at 11:33 AM
How To Connect MySQL Database in C Program with Graphics. ... View Questions/Answers

util.Zip  January 24, 2011 at 10:25 AM
I have to read a zip file form given path in my class,that zip file may contains many file but i want only one file content how to code this please help mee.......... ... View Questions/Answers

struts tags  January 24, 2011 at 8:08 AM
I want develop web pages using struts tags please help me,but i searched many sites but that sites doesn't give correct information. examples of struts tags are ... View Questions/Answers

Java  January 24, 2011 at 12:31 AM
What is class path and path in java ... View Questions/Answers

i have a problem to do this question...pls help me..  January 24, 2011 at 12:18 AM
Write a program that prompts the user to input an integer and the output the number with the digits reversed. For example if the input is 12345, the output should be 54321. ... View Questions/Answers

online examination system project in jsp  January 24, 2011 at 12:17 AM
How to show the status bar which shows how much time is remaining in online examination system in jsp.my ... View Questions/Answers

Redirecting the console output into a file in Java  January 23, 2011 at 11:54 PM
Hi, i coded a program that read specific lines from a text file. It's working well. Now i want to redirect the output of the console to a text file. i used your tutorial, but it's not working for me. Could you please help for this code. [CODE] import java.io.*; imp... View Questions/Answers

error in taking input from user.  January 23, 2011 at 10:53 PM
//i m having problem inputting the array from user.my program is import java.io.*; class bubble { public static void main(String args[]) { int a[]=new int[20]; int i=0; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter 10 no. to sort"); try { ... View Questions/Answers

confusion  January 23, 2011 at 9:30 PM
how can i write a program to swap a value without using any arithmetic or any other third variable??? and also for adding two numbers without using any arithmetic operator??????? in c language ... View Questions/Answers

extract equation  January 23, 2011 at 8:28 PM
I want to extract equation from doc. ... View Questions/Answers

how to connect two swing frames  January 23, 2011 at 7:23 PM
how to connect two swing frames ... View Questions/Answers

UITableViewCell programmatically  January 23, 2011 at 7:05 PM
Hi, How to create UITableViewCell programmatically? Thanks ... View Questions/Answers

heightForRowAtIndexPath example  January 23, 2011 at 7:02 PM
Hi, Give me code for heightForRowAtIndexPath example? Thanks ... View Questions/Answers

UITableView heightForRowAtIndexPath  January 23, 2011 at 6:59 PM
Hi, How to write method for UITableView heightForRowAtIndexPath? Thanks ... View Questions/Answers

projects on cyber cafe  January 23, 2011 at 6:57 PM
To accept details from user like name Birth date address contact no etc and store in a database ... View Questions/Answers

projects on cyber cafe  January 23, 2011 at 6:57 PM
To accept details from user like name Birth date address contact no etc and store in a database ... View Questions/Answers

projects on cyber cafe  January 23, 2011 at 6:57 PM
To accept details from user like name Birth date address contact no etc and store in a database ... View Questions/Answers

UITableviewcell programmatically  January 23, 2011 at 6:02 PM
Hi, How to create uitableviewcell programmatically? Thanks ... View Questions/Answers

web form(html) with jdbc  January 23, 2011 at 5:21 PM
need a example coding to develop a web form of data with jdbc ... View Questions/Answers

program  January 23, 2011 at 5:05 PM
write a javascript program to create a application form with validation? ... View Questions/Answers

ibatis example  January 23, 2011 at 3:19 PM
Which lib directory should we put the ibatis jar files as given in the example of ibatis ... View Questions/Answers

How to Unrar in Linux?  January 23, 2011 at 2:32 PM
Hi, How to Unrar Files in Linux? Thanks ... View Questions/Answers

hi....  January 23, 2011 at 1:34 PM
a programme which displays a combobox which contains num from 1 to 10 and calculates the factorial of dt num which user clicks............. ... View Questions/Answers

SQL tutorial with examples  January 23, 2011 at 9:39 AM
Hi, I am looking for good SQL tutorial with examples code. Please give me good urls for SQL tutorial with example code which can be downloaded and easily used. Thanks ... View Questions/Answers

mysql alter table add multiple columns  January 23, 2011 at 9:33 AM
Hi, I have a table in database. I want to add multiple columns into existing table. What is the code for mysql alter table add multiple columns? Thanks ... View Questions/Answers

mysql alter table add column  January 23, 2011 at 9:28 AM
Hi, What is the syntax of mysql alter table add column? Thanks ... View Questions/Answers

STRING.....  January 23, 2011 at 8:36 AM
plzz sent me d code for counting vowels in a string... gui programme....... ... View Questions/Answers

FRAME  January 23, 2011 at 8:34 AM
WHILE I'M RUNNINGFILE OF A GUI PROGRAMME(JDBC CONNECTION) INSTEAD OF OUTPUT FRAME ONLY TWO BLANK FRAMES ARE GETTING DISPLAYD... CAN ANYONE HELP ME TO SOLVE DS PROBLEM.. ... View Questions/Answers

FRAME  January 23, 2011 at 8:33 AM
WHILE I'M RUNNINGFILE OF A GUI PROGRAMME(JDBC CONNECTION) INSTEAD OF OUTPUT FRAME ONLY TWO BLANK FRAMES ARE GETTING DISPLAYD... CAN ANYONE HELP ME TO SOLVE DS PROBLEM.. ... View Questions/Answers

one-to-one bidirectional association between an abstract class and a persistent class  January 23, 2011 at 6:02 AM
How do I define a bidirectional one to one association between an abstract class and a persistent class? Please help. ... View Questions/Answers

Delete specific lines from text in Java  January 23, 2011 at 3:39 AM
Hi, beginning in java, i'm trying to delete specific line from a text file. Ex: i want to delete data between line 10 and 20 and between line 20 and 30. or i want to specify line number that i want to delete. how could it be possible with java. thanks a lot ... View Questions/Answers

How can I call a Servlet that is declare on web.xml with spring framework  January 23, 2011 at 1:36 AM
here is my problem, I have spring framework and Crystal Report the problem is when Report.rpt call the servlet CrystalReportViewerServlet the servlet is declare on web.xml, but the spring dispacher don't find it so how I can make spring dispacher to call a servlet that is declare on my... View Questions/Answers

online examination system project in jsp  January 22, 2011 at 10:35 PM
thanks for providing me 6 tables for online examination system. I want to know what will the id field of Answers1 table contain? Will it contain same id for all the questions of Set1 &another id for all questions for Set2? Will it contain 1 as id for all Set1 questions or 1,2,3, ... View Questions/Answers

online examination system project in jsp  January 22, 2011 at 10:33 PM
thanks for providing me 6 tables for online examination system. I want to know what will the id field of Answers1 table contain? Will it contain same id for all the questions of Set1 &another id for all questions for Set2? Will it contain 1 as id for all Set1 questions or 1,2,3,.... ... View Questions/Answers

online examination system project in jsp  January 22, 2011 at 10:29 PM
Thanks for providing me the 6 tables.But I want to know will the id field of answers1 table be same for all questions of Set1? Will it be 1 or will be 1,2,3,... What it will be for Answers2 table whilch conatain fields like(id,ans) ... View Questions/Answers

Servlets Program  January 22, 2011 at 9:07 PM
Hi, I have written the following servlet: [code] package com.nitish.servlets; import javax.servlet.*; import java.io.*; import java.sql.*; import javax.sql.*; import oracle.sql.*; public class RequestServlet extends GenericServlet{ public void init(ServletConfig sc)throws Serv... View Questions/Answers

How to Develop, Compile & Run a rmi Program in NetBeans 6.9.1 ide?  January 22, 2011 at 8:28 PM
how to develop, compile & run a rmi program in netbeans 6.9.1 ide? will you please give me a step by step (practical) explaination? Thanks in advance.. :-) ... View Questions/Answers

Spring Framework with Crystal report  January 22, 2011 at 7:54 PM
here is my problem I have spring framework and I want to integrate Crystal report the problem is when Report call the servlet CrystalReportViewerServlet, the spring dispacher don't find it so how I can make spring dispacher to call a default servlet that is declare on my Web.xml ... View Questions/Answers

Tree3  January 22, 2011 at 7:10 PM
Include a method that will print the depth-first traversal of a tree (choosing left branches first). public void printDepthFirst() { ... } For example, for the tree t = 3 ... View Questions/Answers

Tree3  January 22, 2011 at 7:10 PM
Include a method that will print the depth-first traversal of a tree (choosing left branches first). public void printDepthFirst() { ... } For example, for the tree t = 3 ... View Questions/Answers

Tree2  January 22, 2011 at 7:09 PM
) Include a method that will multiply by three every node of the tree: public void triple() { ... } For example, the tree t = 3 / \ ... View Questions/Answers

Tree  January 22, 2011 at 7:05 PM
print("code sample");1) Write Java code to create the following tree using new Tree state- ments: 1 / \ / \ ... View Questions/Answers

hi....  January 22, 2011 at 6:46 PM
plzz sent me d code for counting vowels in a string... gui programme....... ... View Questions/Answers

Database  January 22, 2011 at 6:22 PM
Thank you for ur immediate reply.... I wanted to know if it is possible to the retrieve and display the names of the databases that are present in mysql on a jlist ... View Questions/Answers

Assignment problem  January 22, 2011 at 4:02 PM
hello, I am designing a program partaining job assingment using hungarian algorithm,but i am totally confused, please help me out! ... View Questions/Answers

how many types of system classes are there?  January 22, 2011 at 3:56 PM
How many types of system classes are there? ... View Questions/Answers

running time watch  January 22, 2011 at 3:14 PM
how to set running watch in applycation with ajax ? ... View Questions/Answers

java interview question  January 22, 2011 at 2:44 PM
when will we use abstraction or interface ... View Questions/Answers

report generation  January 22, 2011 at 2:21 PM
i need to show the report between two dates in jsp is it possible ... View Questions/Answers

please tell me  January 22, 2011 at 12:16 PM
Actually i am working on a Project tiitle is JavaMail System, 1)How to configure java mail API and a Demo Program for Sending mail and Receiving using JSP and Servlet.? ... View Questions/Answers

Searching English words in a string  January 22, 2011 at 8:12 AM
My task is to find English words and separate them from a string with concatenated words..for example AhdgdjHOWAREgshshYOUshdhfh I need to find if there exists any English words. ... View Questions/Answers

what is ment by method signature in java.......  January 21, 2011 at 11:57 PM
what is ment by method signature in java....... ... View Questions/Answers

simple program question  January 21, 2011 at 11:54 PM
how do i get a java program to take an input from the user and have it terminate by a period and not by pressing enter? ... View Questions/Answers

why and where we use setter and getter methods in java, please give me one example program.....  January 21, 2011 at 11:37 PM
why and where we use setter and getter methods in java, please give me one example program..... ... View Questions/Answers

Swing Application  January 21, 2011 at 11:24 PM
hello, i am making swing application in java i am unable to run prog......when my rite clikcing on my project name and clicking thn run it is not showing output .....and when i am cliking on individual java file it is running plzzz reply.... ... View Questions/Answers

please tell me  January 21, 2011 at 11:24 PM
class Sample{ private double num1,num2; void sample(double x,double y){ num1=x; num2=y; } void Sum(){ double result=num1+num2; System.out.println("sum"+result); } } class Methods{ public static void main(String ar[]){ Sample s = new Sample(10.6,20.0); s.Sum(); } } if i compile this D:\pr... View Questions/Answers

array accept all data type  January 21, 2011 at 11:18 PM
how can create array that accept all data type??? if we can solution it? how.. ... View Questions/Answers

array accept all data type  January 21, 2011 at 11:18 PM
how can create array that accept all data type??? if we can solution it? how.. ... View Questions/Answers

objects  January 21, 2011 at 11:15 PM
account a=new account(100); value 100 is used for what purpose of the object? ... View Questions/Answers

how to find [count the number of integers whose value is less than the average value of the integers]  January 21, 2011 at 10:33 PM
Construct an algorithm that will prompt for and receive 10 Construct an algorithm that will prompt for, receive and total a collection of payroll amounts entered at the terminal until a sentinel amount of 999 is entered. After the sentinel has been entered, display the total payroll amount to the... View Questions/Answers

Java project in online examination system  January 21, 2011 at 10:05 PM
how many and which tables are required at backend as SQL for online examination system project in jsp ... View Questions/Answers

please tell me about command line arguments in java?  January 21, 2011 at 9:52 PM
please tell me about command line arguments in java? ... View Questions/Answers

please tell me about command line arguments in java?  January 21, 2011 at 9:52 PM
please tell me about command line arguments in java? ... View Questions/Answers

please tell me  January 21, 2011 at 9:08 PM
class Person{ int age; String name; void Person1(String g,int a){ name=g; age=a; } Person(String s,int i){ name=s; age=i; } void talk(){ System.out.println("my name is:"+name); System.out.println("my age is:"+age); } } class Hash{ public static void main(String ar[]){ Person obj... View Questions/Answers

query related to awt  January 21, 2011 at 9:02 PM
Hi, I want to know how to check a text value is numeric or not when user enters the text to the textbox.After checking whether the enter text is numeric we need to display in LwDialog showing proper message. Regards Nibedita ... View Questions/Answers

why we use constructors instead of methods in java?  January 21, 2011 at 8:44 PM
why we use constructors instead of methods in java? ... View Questions/Answers

java.lang.NoSuchMethodError: com.google.gdata.client.youtube.YouTubeService.setStrictValidation(Z)V  January 21, 2011 at 8:37 PM
Hi, While using youtube client in java I am getting follwing error: java.lang.NoSuchMethodError: com.google.gdata.client.youtube.YouTubeService.setStrictValidation(Z)V Tell me what to do? Thanks ... View Questions/Answers

please tell me  January 21, 2011 at 8:37 PM
class Person{ int age; String name; void talk(){ System.out.println("my name is:"+name); System.out.println("my age is:"+age); } } class Hash{ public static void main(String ar[]){ Person raju=new Person(); raju.name="raju"; raju.age=23; System.out.println("hash code is:"+raju.hashCode(... View Questions/Answers

Setting up Tomcat Server with Eclipse Galileo  January 21, 2011 at 8:08 PM
Please let me know the steps to install Tomcat Server and setting that up with Eclipse Galileo. ... View Questions/Answers

java project  January 21, 2011 at 7:29 PM
how many tables are required in backend for online examination system project in jsp If backend is SQL ... View Questions/Answers

How can I access databse through JSP. I am using postgresql-8.4.4-1-windows as database and jboss-4.0.5.GA as server.  January 21, 2011 at 6:51 PM
I am using postgresql-8.4.4-1-windows as database, jboss-4.0.5.GA as server and jdk-6-windows-i586 with IDE netbeans-6.1-ml-windows.How can I set up connection to database? Please help me. ... View Questions/Answers

code for abstract class  January 21, 2011 at 6:35 PM
code for abstract class ... View Questions/Answers

Java Programming Code HELP  January 21, 2011 at 6:28 PM
Hi, sir/madam. I am new here and currently developing a program whereby it can read the Java source file and then display all the String into tokens. Class Name , attribute and methods are being extracted out respectively throughout the execution. However, I now face the problem to retrie... View Questions/Answers

Jbutton[] background & foregroundcolor change  January 21, 2011 at 6:25 PM
how to change the color of the selected JButton in java swing. I am create JButton in an array JButton button[]=new JButton[100]; if i select button[5] then the Jbutton foreground and background color is changed. the remaining jbutton foregr... View Questions/Answers

how to initialise variables in jsp?  January 21, 2011 at 6:21 PM
1. what is the problem in the folloing jsp <%@ page import="net.viralpatel.struts.helloworld.form.LoginForm" %> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html P... View Questions/Answers

JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use.  January 21, 2011 at 5:55 PM
Deployment error: JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use. How can I solve it? How can I kill the process that uses the port 8080 from dos prompt? ... View Questions/Answers

JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use.  January 21, 2011 at 5:51 PM
Deployment error: JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use. How can I solve it? ... View Questions/Answers

JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use.  January 21, 2011 at 5:42 PM
Please help me to solve the following problem: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Starting JBoss Application Server JBoss Application Server Start Failed. HTTP Connector port 8080 is already in... View Questions/Answers

check box in jsp  January 21, 2011 at 5:24 PM
hey guys i am working on a web based project using jsp. In my project 1 am having 9 check boxes in 3 rows in the same form. I want to select 1 check box from each row and also i want to avoid many check box selected in the same row. How can i get this one working? Can anyone help... View Questions/Answers

checkbox selection in jsp  January 21, 2011 at 5:21 PM
hey guys i am working on a web based project using jsp. In my project i am having 9 check boxes in 3 rows in the same form. I want to select i check box from each row and also i want to avoid many check box in the same row. How can i get this one working? Can anyone help me ... View Questions/Answers

Apache Tomcat6.0  January 21, 2011 at 5:13 PM
Starting Tomcat process... Waiting for Tomcat... Starting of Tomcat failed. E:\Project\Medisoft\nbproject\build-impl.xml:590: Deployment error: Starting of Tomcat failed. See the server log for details. BUILD FAILED (total time: 3 minutes 5 seconds) i dont know why it occur when run tomca... View Questions/Answers

jsp  January 21, 2011 at 4:39 PM
<p>hai sir, i have to send the data which i have in hrid table to data base and at the same time to the next form . i will give u the code.</p> <p>first form(project Manager.jsp) &lt;%@ page language = "java" import = "java.sql.<em&... View Questions/Answers

jsp  January 21, 2011 at 4:39 PM
<p>hai sir, i have to send the data which i have in hrid table to data base and at the same time to the next form . i will give u the code.</p> <p>first form(project Manager.jsp) &lt;%@ page language = "java" import = "java.sql.<em&... View Questions/Answers

solve this pbm  January 21, 2011 at 4:21 PM
sir rows are also inserting i have checked in the database also the rows are not affected in the table . The first pbm wich i have sent to you is not yet solved.......... pls give me detail explaination how we can execute the program ... View Questions/Answers

uibarbuttonitem initwithcustomview action  January 21, 2011 at 3:36 PM
HI, Can anyone provide me the code for uibarbuttonitem initwithcustomview action? In my application I am adding custom BarButtonItem, how I can attach an action to it? Thanks ... View Questions/Answers

Struts-jdbc  January 21, 2011 at 3:26 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> &lt;%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> &lt;%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <html:html locale="true"> <HEAD> &l... View Questions/Answers

solve this pbm  January 21, 2011 at 2:45 PM
its not working the code for databae access using servlets ... View Questions/Answers

How to run our application after deploying .war file in tomcat6.0  January 21, 2011 at 2:25 PM
I did all the things already, but I don't want this way. What I did, 1) first I created one html file,one servlet file and one web.xml file 2) Then I put all these files in appropriate directories. 3) I created .war file of my web application. 4) I started tomcat 5) Then in tomcat I mention .war... View Questions/Answers

DMCA.com