Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

java  August 17, 2010 at 6:43 PM
implement lisp-like list in java.write basic operations such as 'car','cdr',and 'cons'.if L is a list[3,0,2,5],L.car()returns[0,2,5]. ... View Questions/Answers

Problem with open connection  August 17, 2010 at 5:59 PM
Hi Team, I am running one hibernate application and the database is ORACLE 10g.I am getting the below error.I connected to the database by using JDBC(with same driver and url).Please tell me where my mistake is ?org.hibernate.exception.GenericJDBCException: Cannot open con... View Questions/Answers

jsp dropdown  August 17, 2010 at 5:42 PM
print dropdown selected value in same page without refreshing page in jsp.... ... View Questions/Answers

Java Stack  August 17, 2010 at 5:17 PM
Can you give me a code using Java String STACKusing the parenthesis symbol ( )the user will be the one to input parenthesis symbol and it will determine if valid or invalidand it also tell what is the cause why is it invalid is it excess in open parenthesis (...or... View Questions/Answers

ajax  August 17, 2010 at 3:59 PM
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 ... View Questions/Answers

load and upload.  August 17, 2010 at 1:28 PM
dear sir, plz give me the sol for my problem.i m waiting for u r reply. why u not replying .. ... View Questions/Answers

jaavscript  August 17, 2010 at 11:48 AM
Dear Sir, Thank you for your reply.I have a mail inbox with e-mails.After reading one of them i want to color the entire line blue.Others unread line should be white as in gmail.Can i have the entire line as click and see the inbox or any other option.Please help meMany Thanks &am... View Questions/Answers

Action of h:commanLink in xhtml page doesn't run correctly  August 17, 2010 at 10:55 AM
In my jsf/facelet xhtml page, when click on h:commanLink, the same page on which has h:commanLink is created in a new window. At second click on the new page, action normally run and rediretion to target page is ok.xhtml code snippet: <h:commandLink action="#{kmmTa... View Questions/Answers

mysql  August 16, 2010 at 11:30 PM
give me a source code to create two table in MsACCESS having one to onerelationship. ... View Questions/Answers

even more circles  August 16, 2010 at 9:42 PM
Write an application that compares two circle objects.? You need to include a new method equals(Circle c) in Circle class. The method compares the radiuses.? The program reads two radiuses from the user? The program then creates two circle objects? and compares them by using ... View Questions/Answers

more circles  August 16, 2010 at 9:42 PM
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 from the usero creates a circle object, and o returns the object.? The program creates a circle obje... View Questions/Answers

how to calculate the employee tax  August 16, 2010 at 5:32 PM
How to calculate the employee tax.Can u please send to me calculation tables ... View Questions/Answers

need of java coding  August 16, 2010 at 5:15 PM
Design a java interface for ADT stack. Develop it and implement the interface using link list. Provide necessary exception handling for that implementations.pls mail me this lab program..its urgent. ... View Questions/Answers

jaavscript & ajax  August 16, 2010 at 5:13 PM
Morning,Can you tell me coding how to upload Excel file.First, i want to browse the excel file from my desktop, then i have a button to save this excel file to database(MySql).Second, i want to call it as attachment and will have a download option to download agai... View Questions/Answers

java  August 16, 2010 at 3:32 PM
what is the difference between classpath and path ... View Questions/Answers

java  August 16, 2010 at 3:31 PM
how insert the row through ResultSet using the insertRow()method ... View Questions/Answers

jdbc  August 16, 2010 at 3:29 PM
kindly give the example program for connecting oracle dase using oracle thin driver ... View Questions/Answers

ftp  August 16, 2010 at 2:21 PM
pls tell me how to connect to a ftp server and copy a file to local machine using java, with UNIX code for copying purpose. ... View Questions/Answers

multi-threaded Java program  August 15, 2010 at 5:57 PM
Write a multi-threaded Java program to print all numbers below 100,000 that are both prime and fibonacci number (some examples are 2, 3, 5, 13, etc.). Design a thread that generates prime numbers below 100,000 and writes them into a pipe. Design another thread that generates fibonacci numbers and ... View Questions/Answers

jsp error  August 15, 2010 at 4:36 PM
To Upload and insert the file into oracle Database with Current Date and Time In JSP and my project is online library management system plz help how to store some books in particular folder and after how retrive books in that folder urgentlyyyyyyy ... View Questions/Answers

java programming  August 15, 2010 at 11:47 AM
Develop a simple OPAC system for library using even-driven and concurrent programming paradigms of Java. Use JDBC to connect to a back-end database.please reply immediately sir. ... View Questions/Answers

java  August 14, 2010 at 11:23 PM
How to embed a image in an awt window?If so which path to be specified and where the image must be placed? ... View Questions/Answers

java  August 14, 2010 at 6:22 PM
what is mean by dynamic binding? ... View Questions/Answers

jaavscript  August 14, 2010 at 1:32 PM
Morning,Can you tell me coding how to upload Excel file.First, i want to browse the excel file from my direktory, then i click this file and view, then i have a button to save this excel file to database(MySql).Second, i want to call it as attachment and will have... View Questions/Answers

how to include Timestamp into my enquiry form?  August 14, 2010 at 12:24 PM
Dear expert,I'd like to include a timestamp function into my enquiry form.However, I am stuck at the servlet portion whereby I want to map my Timesatmp class to my update_time field in my database.Here's my Timestamp.java code:public class Timest... View Questions/Answers

Upload photo  August 14, 2010 at 7:06 AM
Morning,Can you tell me coding how to upload photo.First, i want to browse the photo from my direktory(*.jpg, *.bmp *.gif), then i click this photo and view in my JFrameForm then i have a button to save this photo to database(MySql).Second, i want to calling again... View Questions/Answers

javaprograms  August 13, 2010 at 5:07 PM
provide a class using arraylist ... View Questions/Answers

load and upload.  August 13, 2010 at 5:06 PM
Dear sir/mam,i want code for java based 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 understand what i have asked.plzzzz help me. ... View Questions/Answers

javaprograms  August 13, 2010 at 5:05 PM
provide a class using linkedlist injava ... View Questions/Answers

Data Time Picker is not taking as requried field  August 13, 2010 at 4:51 PM
<s:datetimepicker name="project.endDate"> </s:datetimepicker> when it going to action what is default value? ... View Questions/Answers

javaprograms  August 13, 2010 at 4:30 PM
develop date class in java similar to one avilable in java.util package use javadoc comments ... View Questions/Answers

DMCA.com