Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Java Application change to java applet  April 14, 2011 at 12:33 PM
Hi every Java Masters i'm Java beginner ,and i want below this figures source code convert to Java Applet hope every Masters can helping thank . import java.util.*; import java.text.*; class Parking{ public static void main(String[] args){ DecimalFormat df = new ... View Questions/Answers

database  April 14, 2011 at 12:01 PM
when i am writing this code CREATE TABLE student ( id bigint(20) NOT NULL auto_increment, firstname varchar(100) default NULL, lastname varchar(100) default NULL, em... View Questions/Answers

CHECK WHICH NO IS GREATER IN 4 NO'S  April 14, 2011 at 11:53 AM
MAKE A PROGRAM TO CHECK WHICH NO. IS GREATER IN 4 NO'S IN JAVA ??? ... View Questions/Answers

Advertisement

Database  April 14, 2011 at 11:30 AM
in my database i insert the first name and last name as('abc','def')but it gives error.plz send me the query how can we insert the first name,last name,email id,bate of birth,and mobile number. ... View Questions/Answers

Database  April 14, 2011 at 10:44 AM
in my database i insert the first name and last name as('abc','def')but it gives error.plz send me the query how can we insert the first name,last name,email id,bate of birth,and mobile number. ... View Questions/Answers

Database  April 14, 2011 at 10:29 AM
In MYSQL database i m given as the email id as the char but i enter the email id it gives manually error.how can i recover that error ... View Questions/Answers

About Database  April 14, 2011 at 10:26 AM
in my database i enter the date of birth as Birth_Date date but i dont know in which format we can mention the date of birth ... View Questions/Answers

servlet  April 14, 2011 at 10:07 AM
How do we define an application level scope for servlet? ... View Questions/Answers

please help me to this problem..  April 14, 2011 at 2:21 AM
i wrote a program like keyboard and i used [JTextFiled] means that just you can write inside the program (i.e inside the JTextField) but i want to make this program to let me write where i clicked (i.e allows me to write any thing at the field where i clicked on it ... View Questions/Answers

java exception  April 13, 2011 at 10:42 PM
define an exception called no match exception tat z thrown wen a string z not equal to india ... View Questions/Answers

DESKTOP SHARING USING JAVA  April 13, 2011 at 9:11 PM
Sir i have the following code for scren capturing it is capturing in png format but when i am sending it over other m/c it is taking delay of around 16 seconds..i think it is because this line of code sleep(10000); because i am making the thread to sleep for 10sec it is taking too much of time ... View Questions/Answers

mysql error 1042 can't get hostname for your address  April 13, 2011 at 5:23 PM
Hi, I am not able to connect to MySQL database. Its giving following error: mysql error 1042 can't get hostname for your address How to solve this error? Thanks ... View Questions/Answers

List files recursively in linux  April 13, 2011 at 5:18 PM
Hi, How to List files recursively in linux? I want to list all the .php file. Thanks ... View Questions/Answers

MySQL Default Port number  April 13, 2011 at 5:13 PM
HI, What is MySQL Default Port number? Thanks ... View Questions/Answers

Regarding path settings in java  April 13, 2011 at 4:41 PM
Hello I had a problem of setting paths in Java.I setted classpath(C:\java\j2sdk1.4.2\lib) and path(c:\java\j2sdk1.4.2\bin) in system variables. But when i compile simple java progrm by typing javac Hell.java it is not working in compiling and telling no external and internal commands and ... View Questions/Answers

About MYSQL  April 13, 2011 at 4:31 PM
is it possible to upload the video on mysql database ... View Questions/Answers

ClassCastException  April 13, 2011 at 4:11 PM
import java.util.*; public class Test1{ public static void main(String a[]){ Set s = new TreeSet(); s.add(new Person(20)); s.add(new Person(10)); System.out.println(s); } } class Person{ Person(int i){} } output: Exception in thread "main" java.lang.ClassCa... View Questions/Answers

Remove Whitespace SQL  April 13, 2011 at 3:46 PM
Hi, can any one please explain how to remove whitespace in sql database. ... View Questions/Answers

Collections  April 13, 2011 at 2:51 PM
import java.util.*; public class Mapit { public static void main(String[] args) { Set<Integer> set = new HashSet<Integer>(); Integer i1 = 45; Integer i2 = 46; set.add(i1); set.add(i1); ... View Questions/Answers

collections in java  April 13, 2011 at 2:47 PM
please explain me the flow of this program..i m getting o/p as 2 1 1..y not 2 1 0..is it that if we change the i2 value,it doesnt remove. import java.util.*; public class Mapit { public static void main(String[] args) { Set<Integer> set = new HashSet<Integer>(); Integer i1 = 45; Int... View Questions/Answers

what is the java cache system?  April 13, 2011 at 2:40 PM
To send the webapplication of java cache system. ... View Questions/Answers

Java swing code  April 13, 2011 at 2:38 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

Java swing code  April 13, 2011 at 2:37 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

Java swing code  April 13, 2011 at 2:37 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

Java swing code  April 13, 2011 at 2:37 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

Java swing code  April 13, 2011 at 2:37 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

Java swing code  April 13, 2011 at 2:37 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

Java swing code  April 13, 2011 at 2:37 PM
can any one send me the java swing code for the following: "A confirmation message after the successful registration of login form" ... View Questions/Answers

java question  April 13, 2011 at 2:00 PM
Can any one send me the source code to get confirmation after the successful registration to our mobile? ... View Questions/Answers

web server  April 13, 2011 at 1:52 PM
we need to restart tomcat server when we upload java class file but no need to restart when we upload jsp file. why? ... View Questions/Answers

how create package of this java code  April 13, 2011 at 11:16 AM
Hi,i have email code in java which is working fine with out making package but when i want to make package of this code its stop working.Its showing exception while I execute it.I have to use this code in jsp to send mail. please help , my code is.... package jav... View Questions/Answers

how create package of this java code  April 13, 2011 at 11:16 AM
Hi,i have email code in java which is working fine with out making package but when i want to make package of this code its stop working.Its showing exception while I execute it.I have to use this code in jsp to send mail. please help , my code is.... package javap; import javax.mail.*; ... View Questions/Answers

jsp  April 13, 2011 at 11:14 AM
I'm attempting to run the program , I got the following error.I am using Apache Tomcat/5.0.28 , jdk1.6 HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this reque... View Questions/Answers

jsp  April 13, 2011 at 10:51 AM
I'm attempting to run the program , I got the following error.I am using Apache Tomcat/5.0.28 , jdk1.6 HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this reque... View Questions/Answers

jsp  April 13, 2011 at 10:51 AM
I'm attempting to run the program , I got the following error.I am using Apache Tomcat/5.0.28 , jdk1.6 HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this reque... View Questions/Answers

How to find latitude and longitude of my Mobile Phone?  April 13, 2011 at 10:21 AM
Hi, What is the best method to find the latitude and longitude of my current location in my Mobile Phone? Thanks ... View Questions/Answers

How to handle Transaction IN and OUT in Inventory using java  April 13, 2011 at 8:03 AM
Hi Everyone, I have an Inventory Database(Oracle 10g), where when the items are IN, we scan two times as we have two barcodes PartNo, SerialNo for each item. The scanned data is in .CSV file, Loaded to Oracle database using Oracle SQL Developer. The database table have 23 columns, includ... View Questions/Answers

adding a method to calculate a students grade  April 12, 2011 at 8:38 PM
The Following program which displays a students name, id and mark works fine. But when i tried to add a method to display the grade based on the mark of the student i cant seem to get it working. i'm sure it is an easy fix but i cant seem to figure it out. can someone help please the program code... View Questions/Answers

java applet prog  April 12, 2011 at 8:36 PM
applet to display scrolling text from right to left in an applet window using thread. text should be accepted by html parameter. ... View Questions/Answers

applet program  April 12, 2011 at 8:27 PM
applet to simulates a traffic signal light with short delay between states ... View Questions/Answers

ecilpse  April 12, 2011 at 8:18 PM
just now i have entered into IT development field facing many difficulties being a fresher just tel me how to work with eclipse an connection establishment in jdo and html jsp etc.... getting many confusion while writing a program and deploying in Google appengine... ... View Questions/Answers

java with xml  April 12, 2011 at 8:17 PM
Hi i am reading xml data with sax parser in java. ok its fine. But in future xsd and xml will change. now my question is if xsd and XML will change my java progrm will not change. is it possible ? Thanks. ... View Questions/Answers

java with xml  April 12, 2011 at 8:17 PM
Hi i am reading xml data with sax parser in java. ok its fine. But in future xsd and xml will change. now my question is if xsd and XML will change my java progrm will not change. is it possible ? Thanks. ... View Questions/Answers

html text linking  April 12, 2011 at 8:01 PM
How to link a text in HTM? ... View Questions/Answers

read xml elements  April 12, 2011 at 6:23 PM
i want read xml data using sax parser in java. but is there any classes or methods to read xml elements. ... View Questions/Answers

read xml elements  April 12, 2011 at 6:23 PM
i want read xml data using sax parser in java. but is there any classes or methods to read xml elements. ... View Questions/Answers

java with xml  April 12, 2011 at 5:27 PM
hi i have a problem. // this sample code is reading xml file in java DefaultHandler handler = new DefaultHandler() { boolean name = false; public void startElement(String uri, String localName, String qName, Attributes attributes... View Questions/Answers

Repairing mysql database from command line  April 12, 2011 at 4:44 PM
Hi, Can anyone tell me the process for repairing mysql database from command line? Thanks ... View Questions/Answers

string increment  April 12, 2011 at 4:38 PM
Sir, I want to auto icrement cust_id which is string whenevr i add customer, i cannot use integer Plz Help ... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Ajax  April 12, 2011 at 3:37 PM
Hi, In my project there is a page which contains a select box and checkboxes. The checkboxes are the permissions to be assigned.So for checkboxes there are some corresponding names.There are parent names and also the child names.For parent names the checkbox should be readonly.If the corres... View Questions/Answers

Insertion into database  April 12, 2011 at 3:12 PM
Hi, I need code for inserting the multiple select box values into database.Please do send me the code. Thanks for ur immediate replies its helping a lot. ... View Questions/Answers

activity indicator for uiwebview  April 12, 2011 at 12:54 PM
In my iPhone application, we required an activity indicator for uiwebview to show the loading time. Can any one please explain how to do that? Thanks in Advance! ... View Questions/Answers

C,C++  April 12, 2011 at 12:49 PM
Sir, 100&30 gives output 4 in C++ and 100|30 gives output 116 How & and | gives output 4 and 116 ... View Questions/Answers

How do i validate form using javascript and send data to database?  April 12, 2011 at 12:40 PM
I need a "JOIN US" form that can validate using javascript and be able to connect with and post data into a database. The details to be validated and posted into the database are: FIRST NAME, LAST NAME, EMAIL ADDRESS, PHONE NUMBER, ADDRESS, CITY Kindly assist. Thanks ... View Questions/Answers

Applet program  April 12, 2011 at 11:58 AM
Write a java applet for the following case- The hotel Maharaja provides the facility to its customers to select any one room (from TYPE A, B AND C) and various Facilities (like TV, AC, Non AC, Refrigerator, Room Service). Charges are as follows- Type A ?? Rs. 20000 B ?? Rs. 15000 C-Rs.... View Questions/Answers

Swing program  April 12, 2011 at 11:56 AM
Write a java swing program to get name and email id. Display the error message if email id is not in xxxxx@xxxx.xxx format. ... View Questions/Answers

C,C++  April 12, 2011 at 11:07 AM
int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r); ... View Questions/Answers

Javascript & jsp  April 12, 2011 at 11:04 AM
Dear Sir, I have a table which has records relating to student name,roll no,sex,subject.address. I have a dropdown list which has all the roll numbers of the students in the database.How can i populate the text box like name,class,sex after selecting a roll number from the dropdown.It wil... View Questions/Answers

Related to GenericServlet and HttpServlet  April 12, 2011 at 8:56 AM
Que: Http Servlet extends Generic Servlet then Why both GenericServlet and HttpServlet implements Serializable interface ? ... View Questions/Answers

java beginner  April 12, 2011 at 8:02 AM
HI I am swetha iam confused when to use service(), doget(), dopost() method in servlets ... View Questions/Answers

fast food restaurant  April 12, 2011 at 8:00 AM
I need to design a Java application to manage a drive-thru restaurant. There are two drive-thru windows to serve customers and a kitchen to prepare the ordered food. Use an random number generator to determine when a customer arrives. Assign the arrived customer to an available drive-thru window.... View Questions/Answers

Please provide me with the coding for a program that prompts the user to enter the number of student's, the student's name, and the student's test score.  April 12, 2011 at 6:44 AM
Hi. I need the coding for this problem. I am not even sure where to start. This is what I need. Write a java program that prompts a user to enter the number of students, the student's name, and the student's test score. The output will be the student's names and matching scores in decreasing orde... View Questions/Answers

Java with Arrays  April 12, 2011 at 5:12 AM
I was given the assignment to create two parallel arrays; both of size 50 (declares 50 as a constant) One is an array of strings and hold names, While the other is an array of numbers (int or double) to hold test scores. We were also given the task to have the code get input from user and store i... View Questions/Answers

java beginners  April 12, 2011 at 4:39 AM
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program: ? calcAverage - This method should accept five test scores as arguments and return the average o... View Questions/Answers

java beginners  April 12, 2011 at 4:38 AM
When an object is falling because of gravity, the following formula can be used to determine the distance of the object falls in a specific time period. d = 1/2 gt2 The Variables in the formula are as follows: d is the distance in meters, g is 9.8, ... View Questions/Answers

java beginners  April 12, 2011 at 4:36 AM
Q1: Write a method named showChar. The method should accept two arguments: a reference to a String object and an integer. The integer argument is a character position within the String, with the first character being at position 0. When the method executes, it should display the character at that... View Questions/Answers

Dynamic check box problem  April 12, 2011 at 2:49 AM
In my project i have used a dynamic table, in the each row of that table there is one check box [that i have created dynamically]. Now my problem is that i can't access those values from that dynamic check boxes ... pleas help me as soon as possible... ... View Questions/Answers

jsp  April 12, 2011 at 12:37 AM
retrieve the values from the database which you have entered through the form and display ... View Questions/Answers

jsp  April 12, 2011 at 12:37 AM
retrieve the values from the database which you have entered through the form and display ... View Questions/Answers

online attendance management in java.....  April 11, 2011 at 11:51 PM
if any body have this project or project related to this please help.... i need it urgently.. plz help me out ... View Questions/Answers

DOJO+Creating button of same size.  April 11, 2011 at 8:51 PM
I am trying to create two buttons in DOJO of equal size. But the size of the buttons varies depending upon the name of the button that will get displayed. I tried by giving a class atribute but it did not workout. Could any one help? ... View Questions/Answers

Q6 Write a java applet that displays 9 squares, one below the other. Every third square must be filled in black?  April 11, 2011 at 6:03 PM
Q6 Write a java applet that displays 9 squares, one below the other. Every third square must be filled in black? ... View Questions/Answers

read paragraph  April 11, 2011 at 5:29 PM
how to read paragraph from one file to another file? ... View Questions/Answers

Regular expression in c++{MFC}  April 11, 2011 at 5:22 PM
Hi ALL, I want to build a regular expression in c++{MFC} which validates the URL. The regular expression must satisfy following conditions. Valid URL:- http://cu-241.dell-tech.co.in/MyWebSite/ISAPIWEBSITE/Denypage.aspx/ http://www.google.com http://www.google.co.in ... View Questions/Answers

struts  April 11, 2011 at 4:35 PM
hi i would like to have a ready example of struts using "action class,DAO,and services" for understanding.so please guide for the same. thanks... View Questions/Answers

struts  April 11, 2011 at 4:32 PM
hi i would like to have a ready example of struts using"action class,DAO,and services" so please help me ... View Questions/Answers

java  April 11, 2011 at 3:12 PM
I am new to eclipse IDE. Now i am using eclipse 3.4.2 ganymede for my project. I tried to open an existing project in eclipse. But its showing 2 errors.. 1. The project cannot be built until build path errors are resolved 2. Unbound classpath container: 'JRE System Library [jdk1.5.0_08... View Questions/Answers

business component development  April 11, 2011 at 1:20 PM
sir ineed objectives type questions ... View Questions/Answers

web component development  April 11, 2011 at 1:04 PM
sir ineed objectives type questions ... View Questions/Answers

web component development  April 11, 2011 at 1:04 PM
sir ineed objectives type questions ... View Questions/Answers

Multiple select box  April 11, 2011 at 12:55 PM
Hi, I need help in code for multiple select box. The multiple select box should be populated with the db values.The selection done in the multiple select box is to be moved to the text area provided a add and remove buttons in between for moving the selected items into the text area. ... View Questions/Answers

java  April 11, 2011 at 12:23 PM
how run an eclipse project with tomcat server.. ... View Questions/Answers

how to create directed line between two buttons when i clicked there  April 11, 2011 at 11:48 AM
Hi I have to create a topology between 6 nodes. 6 nodes are created as 6 buttons and when i clicked in first button and then on second button a directed line should be formed between them.Give me a solution. ... View Questions/Answers

java  April 11, 2011 at 10:51 AM
how to set SMS alert in my proj? Pls tel me the procedure.. ... View Questions/Answers

unchecked exception  April 10, 2011 at 8:45 PM
What happens if the service method throws an unchecked Exception??? ... View Questions/Answers

java plugin code for nutch using filter indexer  April 10, 2011 at 4:17 PM
hello: i want to write an indexer filter (aplugin for nutch) that take the arabic words from the indexer and remove the movements from this words then return them to the indexer what i should use instead of the parse.getdata() and what i should put in the doc.add(name,value) . I don't know what ... View Questions/Answers

jsp validation  April 10, 2011 at 12:55 PM
enter name-___ enter number-__ I want that the focus should not go to number till the time u have entered name. Means the number text should be disabled.. i require code for it.... ... View Questions/Answers

DMCA.com