Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java program  September 29, 2013 at 12:31 PM
write a program to read 10 numbers from user and store it in a array. display the maximum n minimum number in the array ... View Questions/Answers

how to write a function to print for finding the longest palindrome in the given string  September 29, 2013 at 10:41 AM
how to write a function to print for finding the longest palindrome in the given string? ... View Questions/Answers

java  September 29, 2013 at 12:01 AM
what is classpath?describe various levels of access protection? ... View Questions/Answers

Advertisement

jsp  September 28, 2013 at 11:32 PM
how to upload image through csv format in jsp ... View Questions/Answers

java programming  September 28, 2013 at 12:38 AM
A computer is used to count the votes in an election. At the start of the election, the number of candidates standing is entered. Suppose this value is N ‚?? candidates will then be numbered 1 to N. Each elector in turn has ONE chance to choose his candidate from 1 to N. The program th... View Questions/Answers

java programming  September 28, 2013 at 12:32 AM
A name is ALREADY in a string variable in memory. The string is called NAME or NAME$ . The variable holds a person's name with a space between the first and family name. WILLIAM (space) JONES. Write a high-level language routine to extract from this single variable the two names,... View Questions/Answers

how to solve 'Stop Running This Script' Error ?  September 27, 2013 at 7:00 PM
Hi.. When opened the page on IE browser(version : 8.0),it gives an java script error (i.e.Stop Running This Script). I have used jsp/servlet for this. Please help to resolved this issue. Thanks...... ... View Questions/Answers

Configure Js request in Web.xml  September 26, 2013 at 10:51 PM
Hi all, I have 1 basic doubt,suppose i have 2 jsp,1 servlet,1 web.xml file.i need to redirect 1 page via servlet with help of web.xml file.Here just i need to redirect to mainCtrl.java file.Thats enough. for this purpose any thing i need to configure in web.xml .If it's Explain how do i... View Questions/Answers

Insert value of dynamic generated text box in jsp using javascript  September 26, 2013 at 4:28 PM
hello sir , i want to generate dynamic text box at run time and i did that using javascript code given at your site now sir problem is i am not able to insert that dynamically generated text box value into database at a time without reloading the page what i want is i can insert the multiple colu... View Questions/Answers

java program  September 26, 2013 at 3:38 PM
To find the sum of all integer numbers greater than 100 and less than 200 That are divided by 7. ... View Questions/Answers

jsp  September 26, 2013 at 2:51 PM
Hi I don know any frame works...I am tryin to create a page in jsp which should get translated to Indian languages like kannada , telugu etc..when user selects a language can u help me out.. thanks ... View Questions/Answers

random numbers  September 26, 2013 at 5:34 AM
Hi I need some help with the code for the this program. This program should randomly choose a number between 1 and 1000, and then challenge the user to guess what it is, giving hints ('too high!' or 'too low') for wrong guesses, and congratulations when the user finally guesses the right ... View Questions/Answers

Ascending order  September 26, 2013 at 5:08 AM
Hello,I need some help with the code for the following.A program that allows the user to type in three different integers (none of them equal to each other, in any order, (for example, 23, 7, 156; but not 23, 7, 23), and then it should print out the three integers in ascending order, saying which... View Questions/Answers

project  September 26, 2013 at 1:38 AM
I'm designing a netbeans java program/project. I have to design a program that captures the persons name and mark #.then find the average mark of the whole class.after that need to count and display who had the highest mark and who had the lowest mark from the class.then display how many people p... View Questions/Answers

how to create xls file and give download option using jsp/servlet?  September 25, 2013 at 5:21 PM
Hi, how to create file and give download option to user,so that the user can save the file on defined path. ... View Questions/Answers

i18n example  September 25, 2013 at 11:42 AM
Hi.. I need a code for jsp home where user can select his regional language like kannada, telugu , Tamil etc..so that jsp page gets displayed in that language. ... View Questions/Answers

execute dos commands  September 24, 2013 at 7:50 PM
how to execute dos commands using a java program ... View Questions/Answers

Data over Voice Communication  September 24, 2013 at 5:02 PM
I just Want to know that Data Over Voice communication is possible in India or Not, If not then Why. and If Yes then Why Please anyone give the answer. ... View Questions/Answers

how to open one Jframe from main method call  September 24, 2013 at 4:23 PM
I have downloaded a snake game project in java. Initially the project contains three java files i.e " Engine.java Snake.java GameBoard.java And Engine.java have the main() method, when i run this Engine.java class game starts ru... View Questions/Answers

SPSS Writer  September 24, 2013 at 3:23 PM
Please help me how to create spss file in java ? ... View Questions/Answers

How to threow timeout exception when DB is not responding  September 24, 2013 at 1:50 PM
How to throw timeout exception when DB is not responding ? ... View Questions/Answers

How to threow timeout exception when DB is not responding  September 24, 2013 at 1:48 PM
How to throw timeout exception when DB is not responding ? ... View Questions/Answers

How to create file and save it into user defined path using jsp/servlet?  September 24, 2013 at 12:49 PM
Hi.. Onclick event I have created one file.When file will create it should asked where to save file(like browse option). ... View Questions/Answers

duplicate values  September 23, 2013 at 5:15 PM
My database having cursor that has duplicate values.i want to remove duplicate values through java application. ... View Questions/Answers

instead of extend  September 22, 2013 at 9:41 PM
Hi, I want answer this question. Ouestion: Instead of extends keyword,is there any keyword available in java? Regards krishna ... View Questions/Answers

instead of extend  September 22, 2013 at 9:41 PM
Hi, I want answer this question. Ouestion: Instead of extends keyword,is there any keyword available in java? Regards krishna ... View Questions/Answers

connection of php to MySQL.  September 22, 2013 at 4:04 PM
I have a query on connection of php to MySQL. Website's serverspace by godaddy and provides phpmyadmin(interface of MySQL) for Database I have a page admin.php <?php if (isset($_POST["submitted"])) { include('connect-mysql.php'); $usern... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:14 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:14 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:14 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:14 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:14 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:13 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

core java  September 20, 2013 at 2:38 PM
Is it possible to create a shallow copy of an arraylist instance? if yes then please post the code. ... View Questions/Answers

How to delete excel file records using Store Procedure?  September 20, 2013 at 12:21 PM
Hi.. I have created one Excel file through stored procedure.Now I want to delete records or delete excel file. Thanks............ ... View Questions/Answers

Unable to Insert Arabic words in mysql table  September 19, 2013 at 11:31 PM
I have I java program that I want to insert arabic letters in mysql. Do you have any idea about the configuration of mysql that accepts arabic charcters. ... View Questions/Answers

Upload Image and save in database using jsp-servlet mvc  September 19, 2013 at 3:57 PM
Here is my code.. In jsp ... <form name=frm method="post" action="Device"> <table> <tr><TD ><B>Upload Image</B></TD> <td><input type="file" name="Image" size="20" value=""></TD> ... View Questions/Answers

Upload Image and save in database using jsp-servlet mvc  September 19, 2013 at 3:57 PM
Here is my code.. In jsp ... <form name=frm method="post" action="Device"> <table> <tr><TD ><B>Upload Image</B></TD> <td><input type="file" name="Image" size="20" value=""></TD> ... View Questions/Answers

java assignment  September 19, 2013 at 3:18 PM
Write an application that allows the user to choose insurance options in JCheckBoxes. Use a ButtonGroup to allow the user to select only one of two insurance types√Ę‚?¨‚??HMO (health maintenance organization) or PPO (preferred provider organization). Use regular (single) JCheckBoxes for dental in... View Questions/Answers

javascript  September 19, 2013 at 12:25 PM
hi sir, if i want to learn javascript. what concepts i want to know. ... View Questions/Answers

JavaFX deployment in Jboss  September 19, 2013 at 12:24 PM
Hi, How to deploy javafx application into JBoss? ... View Questions/Answers

javascript  September 19, 2013 at 12:18 PM
Hi sir, This is sinduri, i want to learn javascript, so plz can u help me.how to learn. ... View Questions/Answers

java vertual machine launcher error; cannot access jarfiles  September 18, 2013 at 11:41 PM
Hi I am getting a error while running Dos bat file Error showing as error; cannot access jarfiles D\Documents Please help Regards GP ... View Questions/Answers

In JSF2 application, source code written in xhtml file is downloading  September 18, 2013 at 11:40 PM
HI All, We have a jsf2 application deployed on WAS 8.0. When we hit on xhtml pages, source code written on xhtml pages is downloaded. Same application has some jsp pages, and they are working fine. We are using IBM JSF2.0 for the development. (Due to c... View Questions/Answers

C programming  September 18, 2013 at 9:16 PM
i am beginner in C my text book says getchar() and putchar() reads single character at a time and print single character respectively. but when i write following program, more than one characters are read and printed on screen. Why?please help. #include &... View Questions/Answers

Sql to excel  September 18, 2013 at 5:57 PM
How to convert a Sql Data into excel Doc with Using Netbeans ... View Questions/Answers

image processing in java  September 18, 2013 at 11:58 AM
public class testing { static BufferedImage image; public static void main(String[] args) throws IOException { ArrayList<Integer> l1=new ArrayList<Integer>(); ArrayList<Integer> l2=new ArrayList<Integer>(); ArrayList<Integer> l3... View Questions/Answers

Reading multiple xml files  September 17, 2013 at 4:07 PM
How can we read many xml files from a folder? The same procedure as that of "listfiles()" ? ... View Questions/Answers

esign filter for wifi router  September 16, 2013 at 10:53 PM
How can i make a filter for my wifi router to filter packets from specific ip or mac address? ... View Questions/Answers

java  September 16, 2013 at 10:31 PM
Hi, Can you please help me in writing program in jsp and servlet. Want to get values from combo box and on click of submit button, want to retreive values from database and display values in table format in jsp, from the one column value need give input to query and display result in second table... View Questions/Answers

Java Experience (2.4Years)  September 16, 2013 at 2:06 PM
why should we use interface more instead of abstract class and what are the advantages of interfaces over abstrct class? ... View Questions/Answers

how to ignore http 500 error?  September 16, 2013 at 1:37 PM
In XML data parsing while connecting to many server through URL if one does not connect gives the error. Is there any process to ignore that URL connection and get data from other connection which responds. ... View Questions/Answers

loan calculator  September 16, 2013 at 12:10 PM
code of the loan clculator ... View Questions/Answers

amar  September 16, 2013 at 7:46 AM
write a java program to print all words starting with "a" in a given sentence ... View Questions/Answers

HTML WITH AJAX  September 15, 2013 at 9:55 PM
I WANT A SIMPLE HTML AJAX PROGRAM WHICH GETS ANY STRING STRING AS INPUT AND GIVES THE RESULT ... View Questions/Answers

Prompt for a password when deleting a data  September 15, 2013 at 4:34 PM
I am using netbeans and mysql. i have added a username and password. i have a set of data in the database. so when deleting a data it should prompt for the password and if the password is correct then the data should be deleted and if the password is wrong then the data should not be deleted &... View Questions/Answers

How to browse excel file and stored the contents into the database using jsp/servlet?  September 15, 2013 at 3:56 PM
Hi.. I want to browse excel file and stored the file data into the My-sql database using jsp/servlet. ... View Questions/Answers

online shoping portal  September 15, 2013 at 12:04 PM
Hello Sir/Madam , I am working on a project online shopping portal in Java , I want to share my screen with my friend to show my selected things , can you help me out?what should i do? ... View Questions/Answers

This is the employee form to add data to mysql database but I got error of NullPointerException, Is this write code please give me feedback as soon as possible  September 15, 2013 at 1:34 AM
import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; i... View Questions/Answers

Struts  September 13, 2013 at 10:17 AM
how to learn struts ... View Questions/Answers

MultiClient-server tcp-ip with GUI in java  September 12, 2013 at 6:05 PM
i wanna MultiClient-server tcp-ip with GUI in java ... View Questions/Answers

MultiClient-server tcp-ip with GUI in java  September 12, 2013 at 6:05 PM
i wanna MultiClient-server tcp-ip with GUI in java ... View Questions/Answers

struts internationalization for Korean language  September 12, 2013 at 5:09 PM
Hi All, Please suggest me an example where struts is implemented for korean locale using struts internationalization concept. Regards Nagaraju ... View Questions/Answers

Visual Studio Program creating  September 12, 2013 at 3:10 PM
I'am using Visual Studio 2012 rightnow. And I'am trying to write a program. What it can do is input our email username and Password in the provided bar and the select the email website from the combo box (Facebook, Gmail, Hotmail) then click login. It will redict directly to you... View Questions/Answers

Urgent requirement  September 12, 2013 at 11:25 AM
I want to implement Autocompletion code for Jcombobox in swing can you please help me out from this ... View Questions/Answers

Chat in Java wih GUI  September 12, 2013 at 11:24 AM
Welcome all >> << how is everybody >< i wanna Chat program in java server & client thanks ... View Questions/Answers

Patterns  September 12, 2013 at 10:56 AM
print this pattern * * * * ... View Questions/Answers

automata question  September 11, 2013 at 5:16 AM
LPAL(G) = (LPAL(V), LPAL(C), LPAL(P), LPAL(S)) where LPAL(V) = {a, b, c} LPAL(C) = {A} LPAL(P) = {A ::= c, A ::= aAa, A ::= bAb} LPAL(S) = A Write the derivation steps of the following sentences to determine if they are valid in this grammar a) a3 b2 c b2 a3 b) b2 a c a b... View Questions/Answers

display shapes  September 9, 2013 at 11:49 AM
Hi, I would like to see geometric shapes like square, triangle, circle, rectangle as my outputs. Also, those figures shouldn't overlap while they get displayed. Please help me!! ... View Questions/Answers

Spliting Large XML and one by one Moved to Output Folder  September 9, 2013 at 7:56 AM
How to Spliting Large XML and one by one Moved to Output Folder ... View Questions/Answers

pattern  September 8, 2013 at 7:47 PM
A B B C C C D D D D E E E E E ... View Questions/Answers

Why does this code prints fAfA instead of fBfA ?  September 8, 2013 at 7:34 AM
class B { void f(){ System.out.print("fB");} B(){f(); } } public class A extends B{ void f(){ System.out.print("fA");} A(){ f();} public static void main(String[] args) { new A(); }} Why does this code prints fAfA instead of fBfA... View Questions/Answers

XMl and Java web services  September 7, 2013 at 11:50 PM
I want to do a project on java web services and XML. I wanted to ask, how the data entered by user through the HTML file can be converted to an XML file and sent to the server? At the server site, how the data can be retrieved back from that XML file so that using web services and JDBC the respon... View Questions/Answers

about java  September 7, 2013 at 4:39 PM
how to get the value from the user like c, c++ program pls explain with example for me ... View Questions/Answers

how to write a programm in C for included code below  September 6, 2013 at 5:25 PM
Here is my question 'how to write a program in C that runs your sql-xml application session. In the session, you can run SQL queries interactively. The query results are presented in XML. A '.quit' command ends the session. Below is an example session: s... View Questions/Answers

bigdecimal in java query  September 6, 2013 at 8:52 AM
Hello, I want to create a boolean method which compares two objects and returns true if equal. At the same time I want this method to compare the values of variables of the same objects and returns true if equal. so far I have two different values one has 3 decimal and other has a double ... View Questions/Answers

Datepicker not getting called through include function of php  September 5, 2013 at 5:24 PM
my datepicker.php is as below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Typ... View Questions/Answers

how to get a class object in java  September 5, 2013 at 10:21 AM
Can anyone brief me on how to get a class object in java? ... View Questions/Answers

How to automatically change the value of the textbox based on the dropdown list?  September 5, 2013 at 10:11 AM
I want to know how to automatically change the value of price and the quantity text boxes. Here is my code: <%@ page import="java.sql.*" %> <% Class.forName("com.mysql.jdbc.Driver"); String scid=(String)session.getAttribute("scid"); String s_in=... View Questions/Answers

how to run rmi program  September 5, 2013 at 10:00 AM
how to run rmi program ... View Questions/Answers

remopving errors incore java programming  September 4, 2013 at 11:51 PM
sir error in program:-file does not contain class runnable program:- class MyRunnable implements Runnable{ public void run(){ System.out.println("Run"); } public static void main(String[] args){ System.out.println("Main"); MyRunnab... View Questions/Answers

remopving errors incore java programming  September 4, 2013 at 11:51 PM
sir error in program:-file does not contain class runnable program:- class MyRunnable implements Runnable{ public void run(){ System.out.println("Run"); } public static void main(String[] args){ System.out.println("Main"); MyRunnab... View Questions/Answers

remopving errors incore java programming  September 4, 2013 at 11:51 PM
sir error in program:-file does not contain class runnable program:- class MyRunnable implements Runnable{ public void run(){ System.out.println("Run"); } public static void main(String[] args){ System.out.println("Main"); MyRunnab... View Questions/Answers

jsp  September 4, 2013 at 5:37 PM
sir i want to jsp code for online examination like as bank po,,,,,,plz help me sir ... View Questions/Answers

Java Script  September 4, 2013 at 12:41 PM
Hello Sir, Is it possible to select only current date from datetimepicker in struts2 through java script validation. Means when i select today date past and future date should be unselected by user on datetimepicker. Try to send me java script validation code for this purpose that user won't be... View Questions/Answers

inclusive  September 4, 2013 at 9:13 AM
Write a program that asks the user for a starting value and an ending value and then writes all the integers (inclusive) between those two values. Enter Start: 5 Enter End: 9 5 6 7 8 9 ... View Questions/Answers

java code  September 3, 2013 at 12:56 PM
i want HSVcolor descriptor for color image in java coding ... View Questions/Answers

VB 6 Read Web Page Header  September 2, 2013 at 8:06 PM
Hi, It is a doubt in vb6. wbrWebSite.Navigate txtUrl.Text wbrWebSite.Refresh Set doc = wbrWebSite.Document Header = LTrim(RTrim(doc.head.innerText)) I was trying to read the header of a webpage. But when i run it first time it is returning P... View Questions/Answers

servlet  September 2, 2013 at 6:09 PM
how to get registration details in servlets entering two parameters(like name,phone number) with in a single field. ... View Questions/Answers

java  September 2, 2013 at 4:16 PM
how to use j query ... View Questions/Answers

Print Alphabets in Horizontal order with Astricks.  September 2, 2013 at 3:18 PM
How to print "X",¬?"Y","Z" in console as shown below, user can enter any of these letters, or combination of letters, or all the letters as first parameter, second parameter will be a number which should be odd number minimum of 3 and maximum of unlimited, example of second input parameter is... View Questions/Answers

make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false.  September 1, 2013 at 5:53 PM
make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false. ... View Questions/Answers

change url string  August 31, 2013 at 6:28 PM
How can i change the login parameter in url after login.That parameter which i were entered will not be shown on url it will be changed after login.I want this.I know it is possible but tell me the way. ... View Questions/Answers

struts2  August 31, 2013 at 4:53 PM
Sir when i have run my struts 2 web application,every time i get error " request resources is not available",,,what is this,,,plz help me. ... View Questions/Answers

Struts2 and Hibernate Fetch Data Base Value  August 31, 2013 at 1:01 PM
Hello Sir, I am facing the problem while fetching the database value on jsp page while using struts2.0 and hibernate3.0 and MySql try to help me resolve this problem and try to tell me what should i do for fetch the database value and shown on jsp page. ... View Questions/Answers

Struts2 and Hibernate Fetch Data Base Value  August 31, 2013 at 12:57 PM
Hello Sir, I am facing the problem while fetching the database value on jsp page while using struts2.0 and hibernate3.0 and MySql try to help me resolve this problem and try to tell me what should i do for fetch the database value and shown on jsp page. ... View Questions/Answers

DMCA.com