Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Email Validation code  August 28, 2010 at 12:41 PM
Can anybody tell me how to write email validation code using java ... View Questions/Answers

need to ans abt db  August 27, 2010 at 7:31 PM
helllo can you tell me m just starting to knowing abt servlet and i trying to making e-mail site so can you tell me with the java servlet wht is the backhand database to use to proper with that site with the using java servlet..whts the comfortable database is using with servlet page.. ... View Questions/Answers

Jsp Code  August 27, 2010 at 5:53 PM
Hi,I am new to java programming & as per the requirement, i need to implement a 'SEARCH' functionality which will search the database & should display a unique record.The design contains the 4 input boxes & it should satisfy at least one or two or three or all inp... View Questions/Answers

Advertisement

error for getting the data from an api using br.readLine  August 27, 2010 at 4:35 PM
hithe application is hanging while reading the data using readLine() function . actually the data is coming from remote using particular api call see the following code. StringBuilder sb = new StringBuilder(); String strtemp; Runtime runtime = Runtime.g... View Questions/Answers

JAVA  August 27, 2010 at 3:00 PM
Sir how can i design flow chart and Synopsis for random password generation by using swing in java . ... View Questions/Answers

Display Data  August 27, 2010 at 12:36 PM
I need sample how to display data from my table Mysql with swt/jfaceThank you. ... View Questions/Answers

Fwd: Please spend 2 minutes  August 27, 2010 at 12:35 PM
Fresher to Java...getting some problem with getting output for this program1+1/2+1/3+......+1/n.please if possible send it to me ... View Questions/Answers

How servlet Handles Multiple Request  August 27, 2010 at 12:35 PM
In servlet life cycle,consider two requests are waiting for service().I know all request will be assigned to thread, which request getsexcecuted first. 1 ... View Questions/Answers

java  August 27, 2010 at 6:41 AM
Develop multi-threaded echo server and a corresponding GUI client in Java ... View Questions/Answers

programming  August 27, 2010 at 12:27 AM
sir howcan i creat a buttion for generating randompassword whose length are fix upto 5-15, the condition is every time we get differnt password. we have to take input from user side as:-1.Text for which password to be generated.2.Length of password to be generated.(5-15).3.Types of... View Questions/Answers

how to create a create personalized SMS for each recipient  August 26, 2010 at 10:50 PM
i am doing a project at college, i am using java server facestechnology. I am having a problem of file upload, i want to upload acomma separated file (CSV) and read the contents of the file and thesend them to cell phone numbers. It is an web based sms platform thatsend diffe... View Questions/Answers

DropDown and text boxes with AJAX, JSP  August 26, 2010 at 3:59 PM
Hi,we are using one drop down and two text boxes. Drop down values needs to be retrive from one table.we should provide a text box through which users can input the emp number and emp rev number for textboxes in the Add employee Form. when the user entered values in the text boxes onblur... View Questions/Answers

learn sql  August 26, 2010 at 3:44 PM
how to learn sql......idont know anything about programming knowledge ... View Questions/Answers

java  August 26, 2010 at 3:00 PM
hai... i have problem of unterstanding the ResourceBundle concept kindly give me good Example for it ... View Questions/Answers

Interfaces  August 26, 2010 at 1:38 PM
two interfaces having same method names and these two interfaces are implemented by a single class. so now i would like to generate different code of same methods of different interfaces. eg:----interface i1{void method1();}interface i2{... View Questions/Answers

Jsp  August 26, 2010 at 1:15 PM
I am new to Jsp. I dont know how to get combo box value from servlet to jsp ... View Questions/Answers

JSP  August 26, 2010 at 8:42 AM
what is the difference between implicit objects and implicit variables? ... View Questions/Answers

Circle question  August 26, 2010 at 3:17 AM
Hey You helped me with one this question already but the code you gave doesnt seem to work any more ideas?Write an application that uses Circle class you created in the previous assignment.? The program includes a static method createCircle() thato reads a radius of a circle ... View Questions/Answers

how to make an unreachable object as reachable  August 25, 2010 at 6:47 PM
i know that an object is garbagecollected when it is unreachable to the programmer but my question is how that unreachable object which was garbage collected will become reachable to the programmer again...............plz anybody who knows may help me............ View Questions/Answers

Java Ivent Handler  August 25, 2010 at 6:35 PM
Is it possible to make two listeners work simultaneously?I used a keyboard listener to detect key press and also a mouse listener to detect different events generated by mouse.But when the mouse is moving if any key is pressed or released it cannot detect the keyboard event!!! ... View Questions/Answers

Java Inheritance and abstract  August 25, 2010 at 6:01 PM
1) Why we need to write the separate Interface in which we are not doing any operation except declaring empty abstract method and implementing this interface to force the subclass to implements all the abstract methods. If the subclass need to use this methods then he can write this in his own class... View Questions/Answers

jsp  August 25, 2010 at 5:58 PM
I have table named list of employee... this table also contains images... i want code to get image on click edit button ... means i want to made employee registration form with addition of image and also want form that will show employee details with image.... ... View Questions/Answers

how to distinguish engines having same code  August 25, 2010 at 3:25 PM
hi we are using struts as UI in application and from UI a file is uploaded and inserted into database and it is kept in central repository.user can change the file and again upload it.there is a console application engine which collects the data from the database and compares it file kept in centra... View Questions/Answers

how to use iframe in jsp  August 25, 2010 at 3:11 PM
Hi, i am using a jsp page in whic records from database are shown in a table in one of the column i am showing all error links which point to error. jsp an another jsp when i click the link a new page is opened.however i require to open it in the parent jsp help me please? ... View Questions/Answers

source code  August 24, 2010 at 11:39 PM
source code for a program to shutdown, restart, log off the pc after clicking jbutton on jpanel or a jframe by user.thanks in advance ... View Questions/Answers

code  August 24, 2010 at 8:41 PM
Example on exception handling with generics ... View Questions/Answers

java  August 24, 2010 at 5:16 PM
what is clone() and example ... View Questions/Answers

how to open a file with a jbutton?  August 24, 2010 at 3:00 PM
HelloIs it possible that by clicking on a button it can open java html file or doc exists on the pc?I searched and I found that it is possible to open a web page so I tried to open www.google.fr it worked but when I tried to open a web page recorded on my pc it did not work.Does a... View Questions/Answers

source code  August 24, 2010 at 11:46 AM
give me a source code to connect from java to mysql that can run on eclipsedi am using mysql-essential-5.0.41-win32_1. also give procedure how can i connect from eclipsed to mysql-essential-5.0.41-win32_1.thanks in advn. ... View Questions/Answers

Retrieving cells in MySQL  August 24, 2010 at 10:14 AM
Hi,Am creating an online exam application using JSP & MySql.The exam is of objective nature with four choices each and 100 questions.Can you please help me to insert the chosen choice into cells of the database and evaluate the answers for a score.Regards,Prem... View Questions/Answers

JavaScript for decimal number comparisons  August 24, 2010 at 7:41 AM
Hi,I need to compare a BigDecimal in my javascript. I need a have a validation the text field value should not exceed (15,2) (max value is : 9999999999999.99).I am not able to compare my text field value with this max value. Can u plz suggest some solution.Thanks for ur... View Questions/Answers

java console programming  August 23, 2010 at 10:07 PM
how to clear d screen in java console programming? ... View Questions/Answers

java code  August 23, 2010 at 8:46 PM
i write program to upload image into perticular folder.but i want to store that path into database but not image and display that image in webpage from the db.pls any one send me code for that in servlets asap.pls vary urgent.i will be thankful to youpls send me ... View Questions/Answers

java  August 23, 2010 at 7:33 PM
Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rupee a... View Questions/Answers

java  August 23, 2010 at 5:16 PM
After the declaration:char[] c = new char[100];what is the value of c[50]?a) 50b) 49c) '\u0000'd) '\u0020'e) " "f) cannot be determinedg) always null until a value is assigned5. After the declaration:int x;... View Questions/Answers

java  August 23, 2010 at 5:15 PM
18. Consider the code below:arr[0] = new int[4];arr[1] = new int[3];arr[2] = new int[2];arr[3] = new int[1];for( int n = 0; n < 4; n++ )System.out.println( /* what goes here? */ );Which statement below, when inserted as the body of the for loop, would pri... View Questions/Answers

javascript  August 23, 2010 at 12:58 PM
Dear Sir,What is the code for radio button validation.Please give me a code with example.Thank YouDebasis ... View Questions/Answers

Interview Question  August 23, 2010 at 12:27 PM
I need Interview Questions on Java,J2EE Pls help me . ... View Questions/Answers

Javascript  August 23, 2010 at 11:43 AM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Please helpaThank YouDebasisjsp page--... View Questions/Answers

jdbc  August 23, 2010 at 10:21 AM
i use pool connection for my application but whenever i insert data into database ,sometimes two copy of the data have been entered into the database and sometimes single copy .But there is no logic or a specific way of entering the two copy of data into database . please provide me the full code of... View Questions/Answers

java  August 23, 2010 at 3:00 AM
whats the problem with my code? it's giving me one error illegal start of expression on line 201? and also help me change the colors to their names instead of numbers. thxpublic class EmployeeDetails3 extends JFrame { public EmployeeDetails3() { ... View Questions/Answers

java  August 22, 2010 at 7:59 PM
wh is abstract in project?how is module in java project? ... View Questions/Answers

java  August 22, 2010 at 7:57 PM
wh is native method? ... View Questions/Answers

java  August 22, 2010 at 5:12 PM
Hello sir could you please explain what is mean by reflection? ... View Questions/Answers

difference  August 22, 2010 at 3:44 PM
what is the difference in between awt and swing package...and what is the difference in between frame,panel ... View Questions/Answers

Java Final Project Error  August 22, 2010 at 5:29 AM
It isnt showing the result when I press the proper button...?? It isnt doing the work... can someone help me??import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.*;import java.text.SimpleDateFormat;impo... View Questions/Answers

java  August 21, 2010 at 9:45 PM
Can you provide me the example program which uses all the concepts like encapsulation ,inheritance ,polymorphism in a single program ... View Questions/Answers

email problem  August 21, 2010 at 5:04 PM
hi,i want to write a code for sending a mail to a company employees having strength more than 1000.I had fetched the mail ids from database.I want to send mail to employee with mail id in 'TO' column.To column should have the email id of only 1 employee only(means he will not able to know who other ... View Questions/Answers

ERROR with my JAVA code  August 21, 2010 at 9:48 AM
The error came up in my main method... it wasnt there until i finished my actionListener coding so I dont know how to fix this....it is really stressing me out!! HELP!!!import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;... View Questions/Answers

JSP Error  August 21, 2010 at 2:19 AM
When i am running my registration.jsp getting following error.HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () ... View Questions/Answers

java  August 20, 2010 at 10:23 PM
Hello, i have a text file having strings like"dab";"daxyb";"axb";how to read this file and how to convert these strings into a character array.output like this:d a bd a x y b a x b than... View Questions/Answers

JAVA  August 20, 2010 at 8:07 PM
Hi,I have one small word(number type as password) of containing 6 digits. Now i want to encrypt to this password and decrypt the password in different programs. for encrypt and decrypt the public & private keys are automatically generate for encrypt and decrypt with in the program it... View Questions/Answers

Interface  August 20, 2010 at 7:27 PM
Dear Sir,Could you send me a java program for INTERFACE?Thank You. ... View Questions/Answers

cloning  August 20, 2010 at 7:26 PM
Dear Sir,Can you send a simple java program for CLONING an object? ... View Questions/Answers

java beginers  August 20, 2010 at 6:33 PM
how to write program for rational numbers ... View Questions/Answers

java  August 20, 2010 at 6:09 PM
sir I want some java file codings pls send it......... ... View Questions/Answers

java beginners  August 20, 2010 at 4:40 PM
let me know the java code for the followign patteren*00**0*****0*00 means space whereever the stars are there that is the pattern ... View Questions/Answers

Java urgent  August 20, 2010 at 4:36 PM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Please helpaThank YouDebasisjsp page--... View Questions/Answers

programing  August 20, 2010 at 2:17 PM
reason for producing a good program documentation ... View Questions/Answers

exception at runtime  August 20, 2010 at 1:33 PM
while i executing this source code:-import java.sql.*;public class MysqlConnect{public static void main(String args[]){System.out.println("MySQL Connect Example.");Connection con = null;String url = "jdbc:mysql://localhost:3306/&qu... View Questions/Answers

jsp query  August 20, 2010 at 1:10 PM
in first division there is one table which contains data with edit button... when i will click on edit button that division will become hidden and new division come with all related data... ... View Questions/Answers

javascript  August 20, 2010 at 10:49 AM
using below code i got value in textbox but i also wants to use this textbox value in query in same page..<html><script>function passVariable(){var v=document.form.txt.value;document.form.txt1.value=v;}</script><form na... View Questions/Answers

Javascript  August 20, 2010 at 10:35 AM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Thank YouDebasisjsp page--<!DOC... View Questions/Answers

Java-Abstract Class  August 20, 2010 at 10:22 AM
Can a abstract class have a constructor ?When would the constructor in the abstract class be called ?Please give me with good example code..Please implement the example with code. THanks in advance. ... View Questions/Answers

jcheckbox not enabled in java  August 20, 2010 at 10:15 AM
. im new to java..jcheck box not enabled after i placed in sort select table in gui. what can i do to enable and made a click on it.after that selected rows are are opened in excel . already i placed a Jbutton . but its not working ... View Questions/Answers

onclick pass variable  August 20, 2010 at 10:00 AM
on button onclick event pass variable and print in textbox in same page... i want to pass value of variable at onclick event of button and also want to print it in textbox in same page.... ... View Questions/Answers

java  August 20, 2010 at 9:38 AM
what is mean by reflection please kindly expalin me with neat example ... View Questions/Answers

java  August 20, 2010 at 9:35 AM
Is there any difference b/w instantiation and object creation? ... View Questions/Answers

Struts: validations code to support 2 date foramats  August 20, 2010 at 9:32 AM
What is the code in validation.xml to support 2 date formats (DD-MM-YYYY & DD/MM/YYYY ) in form. (I'm using struts 1.3) ... View Questions/Answers

Java Button issue  August 20, 2010 at 1:56 AM
I have this project and I have numerous steps to it. I am trying to figure out what I have to do to make my frame panel do what it is I am assigning it to do. I need the program to be able to tell when the user is clicking the round or oval button and than perform the proper mathmathical problem to ... View Questions/Answers

java runtime exception  August 20, 2010 at 12:41 AM
while i executing this source code:-import java.sql.*;public class MysqlConnect { public static void main(String args[]) { System.out.println("MySQL Connect Example."); Connection con = null; String url = "... View Questions/Answers

install jdk 6  August 19, 2010 at 8:45 PM
sir i have installed my jdk1.6 but dont know how to run, could you please help me i this ... View Questions/Answers

install jdk 6  August 19, 2010 at 8:45 PM
sir i have installed my jdk1.6 but dont know how to run, could you please help me i this ... View Questions/Answers

javascipt  August 19, 2010 at 6:37 PM
dear sir,how to attach text or excel files from desktop.How to store in a database.how to retrieve from databse by clicking on a link.please help me.i will be grateful.RegardsDebasis ... View Questions/Answers

java  August 19, 2010 at 12:10 PM
1. Which of the following are valid definitions of an application's main( ) method?a) public static void main();b) public static void main( String args );c) public static void main( String args[] );d) public static void main( Graphics g );e) public static boolean ... View Questions/Answers

java  August 19, 2010 at 12:09 PM
If s1 is declared as:String s1 ="phenobarbital";What will be the value of s2 afterthe following line of code:String s2 = s1.substring( 3, 5 );1.a) nullb) "eno"c) "enoba"... View Questions/Answers

Javascript  August 19, 2010 at 10:28 AM
Dear sir,Sir,i want to display a text box by clicking on Addcc button and then display another text box by clicking on Addbcc button.Primarily there would be text box.After clicking on those buttons text box should appear in that line of button.Can you please help.Please helpRegards... View Questions/Answers

Java JSP  August 19, 2010 at 5:53 AM
package com.wipro.semsary.model.bao;import com.wipro.semsary.model.SearchList;import com.wipro.semsary.model.dao.AdminModuleClass;import java.util.ArrayList;public class AdminClass implements AdminInterface{ AdminModuleClass admin = new Admin... View Questions/Answers

java  August 19, 2010 at 12:03 AM
Can any assite me, which one is the best open source tool to design the uml digrams ... View Questions/Answers

java  August 19, 2010 at 12:00 AM
I need a code How to insert delete ,edit & update the data in database using struts1.1 or 1.2 ... View Questions/Answers

java  August 18, 2010 at 11:52 PM
I want a program to count the number of repeteate word in file & also i want to repalce the repeate word with another new word.plse help me. ... View Questions/Answers

java test  August 18, 2010 at 11:39 PM
Trace through the following program segment and state clearly the output that will be generated: public static void main(String [] args){ int no1; int no2; for (no1 = -2; no1 <= 1; no1++){ for (no2 = 0; no2 < 6; no2 = no2 + 3){ System.out.print... View Questions/Answers

Java Final Project  August 18, 2010 at 11:24 PM
I am having a real hard time with this java assignment. Any help or tips will be great!!! This is the requirements:Final Project OverviewThis document provide a sample of what is possible, and could lead to a project worth the maximum grade of 100% Something to th... View Questions/Answers

java  August 18, 2010 at 8:36 PM
design a java interface for ADT stack.develop two differant classes that implement this interface,one using array and the other using using linked list.provide necessary exception handling in both the implementations. ... View Questions/Answers

upload using youtube api  August 18, 2010 at 7:27 PM
sir, as u have asked for my question i m sending it again plz reply me.i want code for java based mobile application, that can take .3GP video file and upload it to youtube using youtube's APIs. The video file would be located on a weblink (a direct http link to a video file).i hope u u... View Questions/Answers

java  August 18, 2010 at 6:27 PM
hello,how to convert this string array to character array.String[] str={"da","234ab","dab","abb"};please give reply for this problemsthanks a lot for your previous response ... View Questions/Answers

ajax  August 18, 2010 at 6:02 PM
Dear sir,In that ajax page why it is showing invalid coloumnMy getuser page is--<%@ include file="/security/authenticate.jsp"%><jsp:useBean id="Bean" scope="request" class="bean.administration.MailServer"></jsp:useB... View Questions/Answers

javscript  August 18, 2010 at 6:00 PM
Dear sir,Thank you for ajax help.it is showing invalid coloumn name when am typing.Another thing sir,i want to display a text box by clicking on Addcc button and then display another text box by clicking on Addbcc button.Primarily there would be no button.After clicking on those buttons text b... View Questions/Answers

ajax  August 18, 2010 at 12:49 PM
Dear Sir,Please help me.I need it urgently.How to query usernames in compose page after typing the 1st name in the To text box in email.After that we can choose one or more for the to box.Likewise addcc and Addbcc text box will have same feature.Please help me,please help me.Regards... View Questions/Answers

jsp help  August 18, 2010 at 12:04 PM
In below code value got in text box using 'ID' Attribute ... I want to use that value in query to fetch related values in same page.... without refreshing page.... 1)selectbox.jsp:<html><head><script language="javascript" type="text/j... View Questions/Answers

Servlet Problem  August 18, 2010 at 11:55 AM
I need to get an alert message when the submit button is clicked again while processing...how is it possible...??Thanks in advance... ... View Questions/Answers

ajax  August 18, 2010 at 10:31 AM
Dear Sir,In my compose mail box i have To option as text.But i was asked to use ajax.In that case from our table user by typing 1st letter it should show all names relating to that letter as in gmail.By clickin on that i can choose that name to To box.By this many names i can choose.I also hav... View Questions/Answers

java  August 18, 2010 at 5:17 AM
Hello, how to convert string array to character array in java.kindly give an idea or write a code plz.thanks ... View Questions/Answers

java methods  August 18, 2010 at 2:42 AM
Hello, what is difference between a.length() and a.length;kindly can anybody explain.thanks for your time ... View Questions/Answers

java (Automata by java)  August 18, 2010 at 2:33 AM
Hello All, i have a problem in automata.i want to program DFA by java.i have five states in my dfa. how i will develope a program using java.can anybody help me.i will thankful.thanks ... View Questions/Answers

java  August 17, 2010 at 10:25 PM
Where are the card layouts used? ... View Questions/Answers

java  August 17, 2010 at 10:18 PM
Where are the card layouts used? ... View Questions/Answers

How will you add panel to a frame?  August 17, 2010 at 10:15 PM
How will you add panel to a frame? ... View Questions/Answers

java program  August 17, 2010 at 8:50 PM
sir,i'm ask to develop a program on below question.Design a Vehicle class hierarchy in java.write a test program to demonstratepolymorphism using advanced java concepts and dynamic binding. ... View Questions/Answers

java  August 17, 2010 at 6:45 PM
design a vehicle class hierarchy in java.write a test program to demonstrate polymorphism. ... View Questions/Answers

DMCA.com