Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Please help need quick!!! Thanks  June 13, 2011 at 6:43 AM
hey i keep getting stupid compile errors and don't understand why. i'm supposed to use abstract to test a boat race simulation program of sorts here is my code: RentforthBoatRace.java public abstract class RentforthBoatRace { public abstract double getSu... View Questions/Answers

help me 3  June 12, 2011 at 9:34 PM
write aprogram in java using two dimentional array.Accept the two dimentional array from the user and perform addition and subtraction of these two arrays and display the result for each add and subtruct ... View Questions/Answers

help me 2  June 12, 2011 at 9:31 PM
write java program to enter five numbers and will determine the location of the number sample output: ENTER 5 NUMBERS: 1 2 3 4 5 ENTER NUMBER TO SEARCH:1{press enter} 1 found in index 0 ... View Questions/Answers

Advertisement

help me  June 12, 2011 at 9:24 PM
I have a quastion a bout array whic is>>> 1-write aprogram to diplay a multiplication table for 1to 10 by entering the start number and the end number. EXAMPLE: ENTER START NUMBER:1 ENTER END NUMBER:3 the result will be 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 14 16 18 20 3 6 9 ... View Questions/Answers

hibernate  June 12, 2011 at 2:58 PM
i am using hibernate3.2.5 and oracle9i. First i set classpath to ojdbc14.jar and all the hibernate jar files to path env variable.After that when i try to execute the program i got an error "unknown oracle major version " please give me the suggestion to sort out the problem ... View Questions/Answers

swing program  June 12, 2011 at 2:42 PM
Write a java swing program to getname and email id. Display the message if email id contains the name of theuser. ... View Questions/Answers

applet question  June 12, 2011 at 2:41 PM
Write a java applet to display atriangle inside a circle. ... View Questions/Answers

applet question  June 12, 2011 at 2:40 PM
Write a java applet to display a rectangle inside a circle. ... View Questions/Answers

applet Question  June 12, 2011 at 2:39 PM
Write a java applet to display a circle in a rectangle. ... View Questions/Answers

how to do two database tables in one page?  June 12, 2011 at 12:15 PM
dear all: i want to show these two database tables in one page. one table on the left (dbtable.jsp) and the other on the right (table2.jsp). how can i do that with HTML? this is my code: index.jsp <html> <for... View Questions/Answers

doGet() Vs doPost()  June 12, 2011 at 11:40 AM
plz explain the differences between both of these methods used in a servlet. also give an example of both the methods. thanks. ... View Questions/Answers

Confirmation Mail  June 12, 2011 at 11:10 AM
hi, i need the code.when we sign up it will send the confirmation mail to the e-mail right.how to do that part.....and also help me whether the AJAX is better or PHP better for the front design ..for the social application like facebook,orkut... ... View Questions/Answers

Netbeans GUI Ribbon  June 11, 2011 at 11:00 PM
how to create ribbon task in java GUI using netbeans ???? ... View Questions/Answers

i have problem with classnofounderror  June 11, 2011 at 10:53 PM
import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getCon... View Questions/Answers

i have problem with classnofounderror  June 11, 2011 at 10:53 PM
import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getCon... View Questions/Answers

java programs  June 11, 2011 at 10:31 PM
Why word "static" is used in java programs? ... View Questions/Answers

java  June 11, 2011 at 9:08 PM
hi,i m creating an admin module and creating new username and password for a particular user and assigning a module to that user,and my question is after by login by that user with that assigned username and password only that particular module will b shown in the header link after login....pls h... View Questions/Answers

string manipulation  June 11, 2011 at 2:11 PM
write a java program that asks the user to enter a string(where a consonant means insert, a punctuation means return element at the top and a vowel means remove the maximum) to be applied to an initially empty priority queue.The program will output the sequence of values returned by remove the ma... View Questions/Answers

string manipulation  June 11, 2011 at 2:11 PM
write a java program that asks the user to enter a string(where a consonant means insert, a punctuation means return element at the top and a vowel means remove the maximum) to be applied to an initially empty priority queue.The program will output the sequence of values returned by remove the ma... View Questions/Answers

Difference between 3d and 4d  June 11, 2011 at 1:16 PM
what is the difference between 3d and 4d? ... View Questions/Answers

Select string from array in objective c  June 11, 2011 at 1:09 PM
Hi, I wanted to select a string from the database table in objective c. But somehow it is not working..can-you suggest anything regarding the fetch query in objective c? Thanks. ... View Questions/Answers

null pointer error  June 11, 2011 at 12:56 PM
Respected sir there is a problem in this code when i add any new record in ms access data base from my code, it gives only null pointer error sir please help me my code are given below compilatation class name is "jd". import java.io.*; import java.... View Questions/Answers

null pointer error  June 11, 2011 at 12:56 PM
Respected sir there is a problem in this code when i add any new record in ms access data base from my code, it gives only null pointer error sir please help me my code are given below compilatation class name is "jd". import java.io.*; import java.... View Questions/Answers

Captcha Refresh - Jquery  June 11, 2011 at 12:47 PM
I'm looking for an example to refresh the Captcha image in Jquery ..every time the page get refresh. Thanks. ... View Questions/Answers

regular expression for phone number  June 11, 2011 at 12:36 PM
Hi, i need the regular expression code for phone number in PHP. Thanks. ... View Questions/Answers

What is NSAttributedString  June 11, 2011 at 11:40 AM
Please explain the NSAttributedString in Objective C and also give an example. Thanks. ... View Questions/Answers

java question  June 11, 2011 at 9:54 AM
find the 127 twin pair in java ... View Questions/Answers

Java Script location.replace method  June 10, 2011 at 6:29 PM
Hi, What does `Print `{<SCRIPT LANGUAGE="JavaScript"> location.replace("} & urlpop & {","BOTTOM") </SCRIPT>} this mean as this is written in an Lotus Script agent and I didnt understand the meaning of this? Could you pls... View Questions/Answers

i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 for ee, 1522 for xe  June 10, 2011 at 6:19 PM
i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 for ee, 1522 for xe.... and my program is...... import java.sql.*; import java.io.*; public class DBConnect{ public static void main(String ar[])throws SQLExcep... View Questions/Answers

how to start a java project from scratch level  June 10, 2011 at 5:59 PM
1.how to start a java project from scratch level ?can u give me small example from design to development process? ... View Questions/Answers

json  June 10, 2011 at 4:37 PM
how to develop iphone web service application using json. Please help me by giving any link where I could find an example or any help will be anticipated ... View Questions/Answers

programming  June 10, 2011 at 4:09 PM
how was the google logo of 9/06/2011 was programmed? ... View Questions/Answers

java  June 10, 2011 at 4:04 PM
pls send me some java basic interview questions with answers... ... View Questions/Answers

Tomcat Error: coyote connector has not been started  June 10, 2011 at 3:41 PM
Hi, I am not able to start the tomcat server. If I try to start it then I am getting the below error. "coyote connector has not been started" Could some body please help me to solve the problem??? Thanks a ton, Hemachandra ... View Questions/Answers

Tomcat Error:  June 10, 2011 at 3:40 PM
Hi, I am not able to start the tomcat server. If I try to start it then I am getting the below error. "coyote connector has not been started" Could some body please help me to solve the problem??? Thanks a ton, Hemachandra ... View Questions/Answers

Fax service in Java application.  June 10, 2011 at 3:36 PM
Hello, I want to develop a Java application to send fax to any destination fax numbers. Anyone who knows about this, please tell how I can do this. Is there any free libraries for this requirements? ... View Questions/Answers

how to create classes for lift program  June 10, 2011 at 3:30 PM
i would like to know creating classes for lift program ... View Questions/Answers

Join Point  June 10, 2011 at 2:40 PM
What is a join point in Spring ? ... View Questions/Answers

Call UIViewController over RootViewController  June 10, 2011 at 1:04 PM
Hi, i have created the window based application.. but not sure how to call the UIView over RootViewController. Thanks. ... View Questions/Answers

universal binary for ipad iphone  June 10, 2011 at 12:49 PM
How can i create a universal binary for iPad and iPhone? ... View Questions/Answers

NSMutableArray Search String  June 10, 2011 at 12:47 PM
Hi all, In my iPhone SDK application.. i wanted to search from the table data. My question is ..do i need to innsert the table data into search array? thanks. ... View Questions/Answers

how to pass command line arguments in ant  June 10, 2011 at 12:18 PM
How to pass runtime values ie commandline arguments to a program written in java using ant tool ... View Questions/Answers

iphone  June 10, 2011 at 12:10 PM
How can connect with the other database in iphone application(like... MYsql or oracle) is this dirctly possible or not ... View Questions/Answers

how to output text from comboBox from first frame to textField on the second frame? please help me.. thank you in advance..  June 10, 2011 at 12:03 PM
how to output text from comboBox from first frame to textField on the second frame? please help me.. thank you in advance.. ... View Questions/Answers

please solve this program  June 10, 2011 at 11:15 AM
Build a package EMPPACK that contains one stored function Validatesal() and two stored procedures Insertemp() and Getempdetails().The Insert_emp() procedure inserts a particular employee tuple into the EMP table if salary of the employee lies between 2... View Questions/Answers

Write a program to get student details and store in a database  June 10, 2011 at 7:18 AM
Write a program to get student details and store in a database ... View Questions/Answers

Write an applet program to transfer the content of the text field into the component on clicking a button  June 10, 2011 at 7:18 AM
Write an applet program to transfer the content of the text field into the component on clicking a button ... View Questions/Answers

Write an applet program for displaying 3 different sentences with 3 different colors  June 10, 2011 at 7:18 AM
Write an applet program for displaying 3 different sentences with 3 different colors ... View Questions/Answers

Write a java program to display the season given the month using switch case  June 10, 2011 at 7:17 AM
Write a java program to display the season given the month using switch case ... View Questions/Answers

Write a question to display the follwing  June 10, 2011 at 7:14 AM
Write a Java program to display a pattern? ... View Questions/Answers

download code from database  June 9, 2011 at 10:18 PM
how to download files from database? ... View Questions/Answers

no respose for questions  June 9, 2011 at 8:43 PM
sir i have posted many of the question related java and applet programs bt yet i dnt receive any answers pls concern my problem and try to send answers. ... View Questions/Answers

no respose for questions  June 9, 2011 at 8:42 PM
sir i have posted many of the question related java and applet programs bt yet i dnt receive any answers pls concern my problem and try to send answers. ... View Questions/Answers

no respose for questions  June 9, 2011 at 8:42 PM
sir i have posted many of the question related java and applet programs bt yet i dnt receive any answers pls concern my problem and try to send answers. ... View Questions/Answers

Redirect page  June 9, 2011 at 8:21 PM
In this code redirect tag is not work, so please help me ,how to redirect page in Tiles With JSTL . <%@ taglib prefix="tiles"uri="http://jakarta.apache.org/struts/tags-tiles" %> <%@ taglib prefix="c"uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib uri="http://java.sun.com/jsp... View Questions/Answers

java  June 9, 2011 at 7:36 PM
There are Pens. You can use a pen to write. Each pen has some quantity of ink which dictates how much you can write with a pen (meaning the pen runs out of ink after a while). Marker, ball point, ink are types of Pens. Write a tester class to construct objects of the various types of pens and use... View Questions/Answers

Error  June 9, 2011 at 4:58 PM
I have created ajax with php for state and city. When I change state then city will not come in dropdown list and it give me error as 'Unknown Runtime Error'. This error come only in IE browser, but in other brower it shows me proper output. Please anybosy can give me remedy on th... View Questions/Answers

help me  June 9, 2011 at 3:21 PM
please send me the java code to count the number of similar words in given string and replace that word with new one... ... View Questions/Answers

cylinder tree structure  June 9, 2011 at 3:20 PM
**hi am trying to develop a visualization of learning repository content by classifying courses, subjects and learning materials in a hierarchical structure in a cylinder form. for example my interface will contain 4 to 5 cylinders each represent a category to facilitate users browsing. what is t... View Questions/Answers

objective c read file line by line  June 9, 2011 at 2:32 PM
Please explain how to read files in Objective C line by line?? ... View Questions/Answers

please help  June 9, 2011 at 2:23 PM
please send me the code of dynamic stack in java without using the built in functions... ... View Questions/Answers

Employee Management Sysem  June 9, 2011 at 11:58 AM
coding for Daoclass Login Page Validation ... View Questions/Answers

retreiving data from microsoft access database  June 9, 2011 at 11:48 AM
How can i retrieve data from microsoft access when i have select the vaules in combo box and text box. When i select these values... i want to retrieve the corresponding columns and print them. Plzz help. ... View Questions/Answers

question  June 9, 2011 at 11:00 AM
I have a project named demo using eclipse with ApacheTocatv7 but while we are trying to run there is an error like type :Status report message : /demo/ description: The requested resource (/demo/) is not available. Please help me ... View Questions/Answers

question  June 9, 2011 at 10:59 AM
I have a project named demo using eclipse but while we are trying to run there is an error like type :Status report message : /demo/ description: The requested resource (/demo/) is not available. Please help me ... View Questions/Answers

Java programing help  June 9, 2011 at 8:17 AM
Can you help me create this program? Write a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type and the... View Questions/Answers

find factorial of any number using recursion  June 9, 2011 at 8:10 AM
error in 14 line ; expected int rec( int a) ^ how to resolve this.please correct the code. import java.io.*; class Fact { public static void main(String[]arg)throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.pri... View Questions/Answers

how to use mysql event scheduler in hibernate  June 8, 2011 at 8:14 PM
Hi all, I am creating a web application using hibernate and struts. in that i have requirement that when i update something it has to reflect in database after specific interval of time, i need to use mysql event scheduler My query is like this create event.... On SCHEDUL... View Questions/Answers

Mysql DB backup size increases rapidly  June 8, 2011 at 7:25 PM
we are using mysql 5.1 with jboss application server. recently database size increases rapidly. it goes upto 8GB. how can we optimize the DB? or shall we delete any log files? let me know ur suggestions. ... View Questions/Answers

Resizing Height of UITextView iPhone  June 8, 2011 at 4:56 PM
Hi all, Is it possible to resize the height of the UITextField in objective C? ... View Questions/Answers

inserting image into database  June 8, 2011 at 3:49 PM
how to insert image into database using struts frame work and spring JDBC ... View Questions/Answers

Multiple Inheritance  June 8, 2011 at 3:28 PM
All are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend at most one class so each class can extend more than one class so java any how do multiple inheritance? Can you please explain it. ... View Questions/Answers

question  June 8, 2011 at 3:24 PM
Good afternoon Sir, how to solve the problem of The requested resource is not available+java+eclipse if you can play a demo ... View Questions/Answers

question  June 8, 2011 at 3:16 PM
how to solve the problem of The requested resource is not available+java+eclipse ... View Questions/Answers

My SQL  June 8, 2011 at 3:11 PM
Connection class for MySQL in java ... View Questions/Answers

Dateformat in MySQL  June 8, 2011 at 2:53 PM
Date format in MySQL ... View Questions/Answers

Is PHP interpreted or compiled language?  June 8, 2011 at 1:15 PM
is PHP interpreted or compiled scripting language? ... View Questions/Answers

error in driver connection  June 8, 2011 at 11:01 AM
String driver = "org.gjt.mm.mysql.Driver"; Class.forName(driver).newInstance(); //error at this line Connection con=null; ResultSet rst=null; Statement stmt=null; but this is the syntax for aceesing database in jsp ... View Questions/Answers

Showing error in the driver declaration.Please suggest  June 8, 2011 at 10:46 AM
org.apache.jasper.JasperException: Exception in JSP: /LogIn/8June.jsp:15 12: String driver = "org.gjt.mm.mysql.Driver" 13: //String connectionURL = "jdbc:mysql://localhost:3306/birla_dashboard?user=root;password=root"; 14: 15: Class.forName(driver).newInstance(); 16: ... View Questions/Answers

The server encountered an internal error () that prevented it from fulfilling this request.  June 8, 2011 at 10:42 AM
when i run my code in eclipse i get the error that server encountered an internal error () that prevented it from fulfilling this request and http status error 404 also occurs. is there any problem in tomcat or mysql .Please reply asap. Thanks... ... View Questions/Answers

The server encountered an internal error () that prevented it from fulfilling this request.  June 8, 2011 at 10:42 AM
when i run my code in eclipse i get the error that server encountered an internal error () that prevented it from fulfilling this request and http status error 404 also occurs. is there any problem in tomcat or mysql .Please reply asap. Thanks... ... View Questions/Answers

function addValue  June 8, 2011 at 9:51 AM
i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save? ... View Questions/Answers

function addValue  June 8, 2011 at 9:51 AM
i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save? ... View Questions/Answers

function addValue  June 8, 2011 at 9:51 AM
i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save? ... View Questions/Answers

Prefix / Postfix to Infix  June 8, 2011 at 2:35 AM
Hi, I'm currently a high school student studying Computer Science 3 in the USA. We are currently learning prefix, postfix, and infix and have been tasked with creating a program that converts prefix to infix and another one that converts postfix to infix. I recently arrived here from India and th... View Questions/Answers

java  June 8, 2011 at 12:09 AM
Write a programme in java to take the value of A and B as input and print the value of(A+B)3 and (A+B)2 ... View Questions/Answers

Tomcat server  June 7, 2011 at 6:55 PM
Can anyone tell me in simple words what this error is about.. ERROR org.hibernate.event.def.AbstractFlushingEventListener Could not synchronize database state with session org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value ... View Questions/Answers

Java  June 7, 2011 at 6:43 PM
1Wap to find the area of square and circle using switch statement 2 Wap to find the area of triangle whose sides are a,b,c which are not in equal lenght ... View Questions/Answers

Quest  June 7, 2011 at 6:15 PM
see the above code is to create a form ..now can one proceed to put the data entered in form into a file?? ... View Questions/Answers

NSInvalidArgumentException  June 7, 2011 at 5:57 PM
NSInvalidArgumentException - Please explain the NSInvalidArgumentException and when it occurs..also how can i solve it? Thanks. ... View Questions/Answers

What is NSRangeException  June 7, 2011 at 5:55 PM
Can anyone explain the NSRangeException and the reason why it occurs? ... View Questions/Answers

validating username and password from database  June 7, 2011 at 5:26 PM
Hello sir, i am developing a login page. i want that when i fill data in text fields. it validate data from database. if enter data is match from database. page goes to next page which is servlet. otherwise display an error message. ... View Questions/Answers

link  June 7, 2011 at 3:48 PM
Hi Shruti Step1 :First thing you need to do is fetch the value from database and save it in a variable for ex. temp and put it in between a href tag as : Step2 : Use a id to select this using JavaScript or jQuery to displays some data on click and post data using ajax. ... View Questions/Answers

convert rupees to doller  June 7, 2011 at 2:50 PM
give me the core code that how to convert rupees to doller and doller to rupees . user put the rupees and it convert in doller. ... View Questions/Answers

Transport  June 7, 2011 at 2:13 PM
1- How to handle null pointer exception in try block 2-weak reference 3-strong reference ... View Questions/Answers

CORE JAVA CMD  June 7, 2011 at 1:40 PM
How to run cmd command in jsp?? ... View Questions/Answers

How to perform search using AJAX?  June 7, 2011 at 12:21 PM
Hi, I have following HTML code: <table style="border: 1px solid #9f9f9f; float:right;"> <tr> <td><label for="status">Search Status</td> <td><input type="text" id="status" name="status" dojoType="dijit.for... View Questions/Answers

Employee Management System  June 7, 2011 at 9:38 AM
coding for employee management system ... View Questions/Answers

Regarding JSP code  June 6, 2011 at 7:33 PM
hello sir tell me the way to navigate different type of user like manager and client from same login page to different interfaces in JSP code I am using Oracle 10g database .Exactly problem with me is that i cant be able to write the code for navigate different users from same login page. i had u... View Questions/Answers

Java & OOPs  June 6, 2011 at 7:17 PM
Is JAVA a fully Object Oriented Language? or A what degree Java supports Fully OOPs concept? ... View Questions/Answers

DMCA.com