Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

xml  April 17, 2011 at 12:19 AM
Design an XML to maintain book details to do the following: (i) Separate Data (ii) Exchange Data (iii) Store Data (iv) Create new language. ... View Questions/Answers

Java web Application  April 16, 2011 at 11:09 PM
Hi! I have developed a java web application project using netbean IDE with glassfish server. My question is how to create a runnable file from this. How can we make it to a single file? I think it is war file. Please help me. Thanks in advance. ... View Questions/Answers

read xml  April 16, 2011 at 10:17 PM
hi all, i want to ask about how to read an xml in java ME.. here is the xml file <data> <value> <struct> <member> <name> User_Name </name> <value> ... View Questions/Answers

Advertisement

how to call static method  April 16, 2011 at 10:05 PM
class A { //some code } class B extends A { static method() } class C { } //how to access static method() from B to C ... View Questions/Answers

how to call static method  April 16, 2011 at 10:05 PM
class A { //some code } class B extends A { static method() } class C { } //how to access static method() from B to C ... View Questions/Answers

how to call static method  April 16, 2011 at 10:05 PM
class A { //some code } class B extends A { static method() } class C { } //how to access static method() from B to C ... View Questions/Answers

how to call static method  April 16, 2011 at 9:59 PM
class A { //some code } class B extends class A { static method() } class C { } //how to access static method() from B to C ... View Questions/Answers

how to call static method  April 16, 2011 at 9:58 PM
class A { //some code } class B extends class A { static method() } class C { } //how to access static method() from B to C ... View Questions/Answers

how to call static method  April 16, 2011 at 9:58 PM
class A { //some code } class B extends class A { static method() } class C { } //how to access static method() from B to C ... View Questions/Answers

Java memory options from command line  April 16, 2011 at 6:56 PM
Hi, How to use java memory options from command line? Thanks ... View Questions/Answers

java  April 16, 2011 at 5:28 PM
Design a simple applet that can draw shapes such as rectangles, circles, Lines and ovals. Set them to different colors. ... View Questions/Answers

java  April 16, 2011 at 5:26 PM
Using Java, Design a simple interface that can capture information of your choice with the following controls; Labels, Text Fields, Checkbox, Radio buttons and command buttons. You may have to use the following files and others you may find important. Import java.awt.FlowLayout Import javax.swing... View Questions/Answers

Access URL Failed!?  April 16, 2011 at 2:43 PM
Hi, May i know how to convert my domain name into IP address? becuase i working on J2ME but don't know why the my application unable to access the URL. "connector.open("http://886089.com/datetime.asp")". I Had test on www.google.com, www.yahoo.com and everything just work fine. Please Help Me!! T... View Questions/Answers

secret behind Serializable interface  April 16, 2011 at 1:53 PM
How serialization work? What is the secret behind it. Can we create our one serializable interface. If so how? ... View Questions/Answers

what are the codes for uploading and downloading files in and from database?  April 16, 2011 at 12:19 PM
We are designing a student's website where they can get and post study materials. We actually need the code to upload and download files in and from the database. we will be very gratefull if you provide us those with a bit of explanations. Thank you. ... View Questions/Answers

secure online payment code for jsp  April 16, 2011 at 11:58 AM
how to implements online payment in jsp . ... View Questions/Answers

Query about bioinformatics  April 16, 2011 at 11:39 AM
Wat is ment by spring? How it useful in bioinformatics? ... View Questions/Answers

Help with SELECT/JOIN statement  April 16, 2011 at 2:58 AM
I have two tables (t1 and t2) that each have the same columns. t1 has data and t2 has changes to the data. I want a select statement that will return me all rows of t1 but, when t1.id = t2.id, I want the columns of t2 instead of t1. I am using Postgres. t1 id | ... View Questions/Answers

Expand / Collapse form div when click on button  April 15, 2011 at 9:03 PM
Hi, I have a form integrated from Wufoo with iFrame code. If the user misses a field an error message appears but it takes more space than the DIV Formbox. How can I make the DIV formbox expand once the form gets higher? Thanks <div class="formbox"><... View Questions/Answers

jsp  April 15, 2011 at 7:44 PM
write a code for jsp file generator to generate a jsp page automatically taking html page as input ... View Questions/Answers

java  April 15, 2011 at 7:24 PM
Write a Java application that can capture five or more numbers and returns the total of the numbers, the average and the difference between total and average using input dialogs ... View Questions/Answers

Writing a Program to calculate Circumference of planets reading from a file and writing to new file.  April 15, 2011 at 6:38 PM
Hello, I would like to know how to write a program to read data from a file. Then use the numerical data within to then calculate the circumference of the planets. I then have to output the data into a new file. The text file is Sun,860000 Mercury,4000 Venus,8000 Earth,8400 Mars,2500 Ju... View Questions/Answers

how can manages records in jsp  April 15, 2011 at 5:59 PM
how can sho only five record at a time and next 5 on click next button and so on in jsp.... ... View Questions/Answers

Writing a Program to calculate Circumference of planets reading from a file and writing to new file.  April 15, 2011 at 4:43 PM
Hello, I would like to know how to write a program to read data from a file. Then use the numerical data within to then calculate the circumference of the planets. I then have to output the data into a new file. The text file is Sun,860000 Mercury,4000 Venus,8000 Earth,8400 Mars,... View Questions/Answers

Augmented Reality in Android  April 15, 2011 at 4:27 PM
How to get location of the object shown in camera view using Augmented Reality in Android? ... View Questions/Answers

Media player design  April 15, 2011 at 3:37 PM
i want to know that how will create media palyer application in java ... View Questions/Answers

Exception in Thread  April 15, 2011 at 3:12 PM
i am developing a rmi application in eclipse use genady rmi plugin and server side code run effeciently but when i run client and generate connection with server i have following exception : Blockquote Exception in thread "RMI TCP Connection(idle)" ... View Questions/Answers

html  April 15, 2011 at 1:12 PM
DHTML page to create drop down menu with three menus and on Mouse over. ... View Questions/Answers

Database  April 15, 2011 at 1:09 PM
In MySQL table i am adding the fields of name,photo,video,age,category.in the category i have some subjects.if one person login into my-site the he upload the one video under one subject.then i want the following thing i want to see the uploaded videos under the one category of same type(for e... View Questions/Answers

Regarding Documentation of API  April 15, 2011 at 1:08 PM
Hello How to get java documentation of classes ,Interfaces and methods from windows command prompt.In the sense Java.lang,java.awt,java.math,java.io etc. Kindly tell the solution. How to type in Windows command prompt(console) to get the documentation API. ... View Questions/Answers

Regarding Documentation of API  April 15, 2011 at 1:08 PM
Hello How to get java documentation of classes ,Interfaces and methods from windows command prompt.In the sense Java.lang,java.awt,java.math,java.io etc. Kindly tell the solution. View Answers. How to type in Windows command prompt(console) to get the documentation API. ... View Questions/Answers

XML  April 15, 2011 at 1:05 PM
Design an XML to maintain book details to do the following: (i) Separate Data (ii) Exchange Data (iii) Store Data (iv) Create new language. ... View Questions/Answers

forgot password code in jsp  April 15, 2011 at 12:49 PM
forgot password code in jsp ... View Questions/Answers

Database  April 15, 2011 at 12:23 PM
In my project i am adding some subjects under the field of category.i want the following things 1)possible for the admin to add some more subjects in the category in the web page. 2)when admin add some subjects then automatically save that subjects in my database for this i want procedure some q... View Questions/Answers

servlets  April 15, 2011 at 11:24 AM
Even though HttpServlet doesn't contain any abstract method why it is declared as abstract class? what benifits we can get by declaring like this?(i.e, with out containing the abstract methods, declaring a class as abstract) please give the answere ... View Questions/Answers

Database  April 15, 2011 at 10:38 AM
i want to store the uploaded video and image for this which datatype we want to use in creation of the table in MySQL ... View Questions/Answers

jsp interview questions  April 15, 2011 at 9:59 AM
what is difference betwen and ? ... View Questions/Answers

java Application Convert to java Applet  April 15, 2011 at 9:46 AM
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 RCars{ public static void main(String[] args){ DecimalFormat df = new DecimalForm... View Questions/Answers

java Application to java Applet  April 14, 2011 at 11:48 PM
sorry Java master disturb again how can i modify below this Java application to applet because in swtich case i had put this countinue selection source code to make user choosing so hope can helping again thank a lot . sample source code System.out.... View Questions/Answers

Listening port 8080  April 14, 2011 at 9:42 PM
I need a java code through which i can listen the http port 8080 ... i want to interpret the incoming http request on 8080 port. Please help. ... View Questions/Answers

jdbc drivers  April 14, 2011 at 7:58 PM
what are the various kinds of jdbc drivers explain in detail ? ... View Questions/Answers

GCD  April 14, 2011 at 7:47 PM
WRITE PROGRAM TO FIND GREATEST OF TWO NUMBERS? ... View Questions/Answers

Where is my.cnf in linux?  April 14, 2011 at 7:30 PM
Hi, Can anyone tell me where is my.cnf in linux? Thanks ... View Questions/Answers

Database  April 14, 2011 at 3:49 PM
select * from student i am not asking this.i am asking about that the command line code like create table student(..........) like this way ... View Questions/Answers

Including applet in JSF (XHTML)  April 14, 2011 at 3:45 PM
Hi I want to generate graphs in facelets project. We are using JSF 2.0. We have Perspective for Java to generate graphs. in this project. So, Perspective for Java is providing an applet which i need to embed in jsf. Could any one let me the solution? ... View Questions/Answers

Database  April 14, 2011 at 3:10 PM
is it possible to view the query code after executing it.if yes tell me the procedure. ... View Questions/Answers

Java (Text To Speech)  April 14, 2011 at 2:42 PM
How can a selected part of a webpage be pronounced using java Swing? ... View Questions/Answers

Regarding Documentation of Packages  April 14, 2011 at 1:14 PM
Hello How to get java packages ie documentation of classes ,Interfaces and methods from windows command prompt.In the sense Java.lang,java.awt,java.math etc. Kindly tell the solution. ... View Questions/Answers

Database,Java  April 14, 2011 at 1:01 PM
help me for the following things if one customer upload the video,photo,text on the site then automatically it saved in MYSQL database.and how to retrieve that video,photo,text.and another time he upload the another video,photo,text then how can watch that uploaded videos.photo,text so tell me ... View Questions/Answers

database  April 14, 2011 at 12:37 PM
in my database i add some fields.the total fields are first name,last name,email,password,conform password,date of birth,age,gender,address,country,state,city,telephone,mobile, how did u hear about us. but i got some syntax errors so send me the how to write the query and insert the one table va... View Questions/Answers

How to Increase / decrease the brightness of an image?  April 14, 2011 at 12:35 PM
How to Increase / decrease the brightness of an image? ... View Questions/Answers

How to Increase / decrease the contract of an image?  April 14, 2011 at 12:34 PM
How to Increase / decrease the contract of an image? ... View Questions/Answers

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

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

DMCA.com