Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

iPhone Make Call from App  January 25, 2011 at 5:45 PM
iPhone Make Call Programmatically I have created an application in iPhone that has the functionality to make Call from App. I am just wondering how to make a call programmatically... is there any iphone make call api? ... View Questions/Answers

servlet programe  January 25, 2011 at 5:31 PM
import java.io.*; import javax.servlet.*; public class Helloservlet extends GenericServlet{ { public void service(ServletRequest request, ServletResponse response) throws ServletException , IOException { String msg="HelloWorld"; response.setContentT... View Questions/Answers

Tutorial  January 25, 2011 at 4:50 PM
suggest me some good spring material for begginer.... ... View Questions/Answers

Advertisement

receiving null value in back bean by the jsf page  January 25, 2011 at 4:42 PM
i have done above things but i m receiving null value in back bean by the jsf page plz tell me solution as soon as possible ... View Questions/Answers

Zooming Panel  January 25, 2011 at 4:41 PM
Hello, i have to create a small panel of size( 50, 50 ), which allow to display web pages and should allow the user to zoom the panel on mouse wheel to fit the screen. can someone please help me! i have be able to make the URL display correctly, but am unable to make the panel to grow in size on ... View Questions/Answers

Unable to compile Servlet  January 25, 2011 at 4:36 PM
First I installed the tomcat server in C:\apache-tomcat-6.0.14 directory. Then I created a system variable CATALINA_HOME with the value C:\apache-tomcat-6.0.14. Then I created another system variable JAVA_HOME with the value C:\Program Files\Java\jdk1.6.0.14 Then I created... View Questions/Answers

error!!!!!!!!!  January 25, 2011 at 4:25 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String e=txtname.getText(); String f=txtgen.getT... View Questions/Answers

error!!!!!!!!!  January 25, 2011 at 4:24 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String e=txtname.getText(); String f=txtgen.getT... View Questions/Answers

error!!!!!!!!!  January 25, 2011 at 4:24 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String e=txtname.getText(); String f=txtgen.getT... View Questions/Answers

Datagrid not working  January 25, 2011 at 3:43 PM
The code here is working fine, apart from the fact that that I'm using netbeans 6.5 and the servlet v2.5 and struts 1.1. the datagrid tag gives an error saying that the items attribute does not accept ant expression. I looked up on the internet for answers. according to one i used the following v... View Questions/Answers

online voting system source code in java  January 25, 2011 at 3:42 PM
Please send me source code for online voting system in java. please replay as fast as. Thank you. ... View Questions/Answers

write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string  January 25, 2011 at 2:49 PM
write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string ex:If a user enters a numbered value in a text field, like 1 or 2 or 3 or 4 the o/p should appear as 1st or 2nd or 3rd or 4th. ... View Questions/Answers

write a java pogram to add elements to linked list using keyboard and display it  January 25, 2011 at 2:27 PM
write a java pogram to add elements to linked list using keyboard and display it ... View Questions/Answers

incementation  January 25, 2011 at 12:28 PM
why it displays aa, after incremening $a='z'? ... View Questions/Answers

Pass a dom object from jsp to servlet  January 25, 2011 at 12:17 PM
I am creating a dom object in my jsp page. now i want to pass that object in a servlet through calling servlet in jsp. can anyone help me? ... View Questions/Answers

incrementing characters  January 25, 2011 at 12:08 PM
why it displays aa, after incremening $a='z'? ... View Questions/Answers

where the progrming is done in the struts.  January 25, 2011 at 12:01 PM
where the progrming is done in the struts. ... View Questions/Answers

finout longest word in sentence  January 25, 2011 at 9:29 AM
write a program , how to find out the longest word in a sentence using java ... View Questions/Answers

searching string  January 25, 2011 at 9:25 AM
how to write a program for searching a string ... View Questions/Answers

reverse string  January 25, 2011 at 9:22 AM
how to reverse a string without changing its place ... View Questions/Answers

how to reverse a string without changing its place  January 25, 2011 at 9:21 AM
how to reverse a string without changing its place ... View Questions/Answers

need help to create applet  January 25, 2011 at 7:51 AM
Can u help me..?? I get a task ...and i dont know how to make it... So I hope that u can help me... Here is the task... ~Create an Applet using all Layout Manager(use whatever component in each layout) a) FlowLayout b) BorderLayout c) GridLayout d) Grid... View Questions/Answers

Array List  January 25, 2011 at 7:08 AM
Could somebody help me to solve this question. I am glad to hear ideas or answers from everyone. The situation: Complete the class House and HouseApp below to display class House{ int lotNo; String type; //Bungalow, SemiDetached double price; public House ( int l, String t, do... View Questions/Answers

Array List  January 25, 2011 at 7:04 AM
Complete the class House and HouseApp below to display class House{ int lotNo; String type; //Bungalow, SemiDetached double price; public House ( int l, String t, double p) { â?¦ } public int theLotN() { â?¦ } public String theType(){â?¦} public doubl... View Questions/Answers

An exercise using (SRS) as a blue print for Abstraction and Modeling in a one page answer. Was this example correct?  January 25, 2011 at 2:01 AM
The software tool to help automate the process of producing a blueprint for problems with a television by using operation systems(SRS). By using this system will enable the user to model from an (OO)perspective (i.e., software perspective). As an Operator System Object Modeler the program to auto... View Questions/Answers

Dependent drop down list  January 24, 2011 at 11:20 PM
hi,i am trying to design a form on which 2 dependent drop down list is used my code is successful but when i select class from first drop down list all the data get lossed means the value entered in fields before drop down list get blank.what can i do for this? This is the code <... View Questions/Answers

JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use.  January 24, 2011 at 11:05 PM
init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Created dir: D:\Paritosh\My JSP\WebApplication1\dist Building jar: D:\Paritosh\My JSP\WebApplication1\dist\WebApplication1.war Starting JBoss Application Server JBoss... View Questions/Answers

Tutorial  January 24, 2011 at 9:14 PM
Please give me a solution (running program) for the questions below: 1) Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named Erase. When a user clicks this button, the whole drawing/scribble will be erased. <... View Questions/Answers

Tutorial  January 24, 2011 at 9:08 PM
Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named ??Erase??. When a user clicks this button, the whole drawing/scribble will be erased. Write a program to display a user-input character. The user can also mo... View Questions/Answers

Tutorial  January 24, 2011 at 9:03 PM
Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named â??Eraseâ??. When a user clicks this button, the whole drawing/scribble will be erased. Write a program to display a user-input character. The user can ... View Questions/Answers

Tutorial  January 24, 2011 at 9:03 PM
Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named â??Eraseâ??. When a user clicks this button, the whole drawing/scribble will be erased. Write a program to display a user-input character. The user can ... View Questions/Answers

php format number to 2 decimal places  January 24, 2011 at 9:01 PM
Hi, How to format a number in PHP to 2 decimal places? Can anyone provide me good code for php format number to 2 decimal places? Thanks ... View Questions/Answers

search for a name  January 24, 2011 at 8:24 PM
Search for a name Write a program to accept an array of names and a name and check whether the name is present in the array. Return the count of occurrence. Use the following array as input {?Dave?, ?Ann?, ?George?, ?Sam?, ?Ted?, ?Gag?, ?Saj?, ?Agati?, ?Mary?, ?Sam... View Questions/Answers

garbage collection  January 24, 2011 at 8:18 PM
how to use garbage collection in program using core java ... View Questions/Answers

where exactly we use interface and where abstract class?  January 24, 2011 at 6:37 PM
what is the use of interface over abstract class? and where we should use interface and where abstract class? ... View Questions/Answers

how to connect two databse through HibernateFramework  January 24, 2011 at 5:53 PM
how to connect two databse through HibernateFramework ? ... View Questions/Answers

Serlization  January 24, 2011 at 5:42 PM
give me real time example of serialization? ... View Questions/Answers

Finding searching phrase of a search engine  January 24, 2011 at 4:52 PM
how to find out searching phrase of a search engine..? like, if visitors enter the keyword to google, is is any possible to get that keyword.. ... View Questions/Answers

image save to folder in java  January 24, 2011 at 4:35 PM
Hi, I am working with java. In my application i want to give facility to user to add and change image. I use open dialog box to select image, it will work properly i.e on button click open dialog is open select any image i want to store that selected image into specified folder and that ... View Questions/Answers

platform(s/w requirements) for run jsp programs?  January 24, 2011 at 4:32 PM
in which platform jsp programms are run? ... View Questions/Answers

error please send me the solution  January 24, 2011 at 4:15 PM
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet Could not display records. DisplayServlet.doPost(Di... View Questions/Answers

error please send me the solution  January 24, 2011 at 4:15 PM
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet Could not display records. DisplayServlet.doPost(Di... View Questions/Answers

SEVERE: Error listenerStart  January 24, 2011 at 3:52 PM
Hi When I deployed my web application( named: hospital) in Tomcat 6.0.29, I am getting the following issue and I am not able to access my application. SEVERE: Error listenerStart Jan 24, 2011 3:48:07 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/hospital] sta... View Questions/Answers

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

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

DMCA.com