Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Ads

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

Jsp Code:Refreshing Page  August 13, 2010 at 2:36 PM
Dear Frnds,I have a problem where i need to refresh a page based on the button click. once a page is updated, it should refresh the data in another page. structure is given bellow...Empid EmpName Sal Designation Update-button1 Xyz 111 programmer Update-button... View Questions/Answers

hai java  August 13, 2010 at 9:23 AM
what do u mean by unchecked exception and checked exception?and do any java pgm will run with out thread concept...and what si thread... ... View Questions/Answers

Java Basic  August 12, 2010 at 8:16 PM
My Applet Programs are Compiling as well as Running properly.But when I close the Applet window I am getting an Error Message as:Exception in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionand also 10 to 12 lines of Errors get displayed as "Event Dispatch Th... View Questions/Answers

Java String using STACK  August 12, 2010 at 8:11 PM
Can you give me a code using Java String STACKusing the parenthesis symbol ( ) it tells its Valid or Invalidit tells it excess parenthesis if Open parenthesis push it to stack otherwise Pop the stacksample outputEnter a string: ()()VALID... View Questions/Answers

code for image to key generation  August 12, 2010 at 6:37 PM
plz help me how cud i convert image into key using sha1 algorithm in java....plz give me the code to write it...i m doing image based registration ... View Questions/Answers

circles  August 12, 2010 at 4:03 PM
Write Circle class.? The class has one instance variable for diameter.? The class has methodso Circle() // sets a default radius 5o Circle(double radius) // sets radius // into the instance variableo Circle(int radius)o void set(double radius) // sets th... View Questions/Answers

struts  August 12, 2010 at 10:25 AM
shud i write all the beans in the <form bean> tag of struts-config.xml ... View Questions/Answers

Another distance conversion  August 11, 2010 at 9:37 PM
Write an application that reads a distance in metres. The program will then convert the distance to kilometres, feet and inches, by calling methods. The converted distances will be printed.? Write a method for each conversion ? toKilometres(), toFeet(), and toInches().Sample output... View Questions/Answers

ADT stack  August 11, 2010 at 8:44 PM
I want a algorithm for the below programs....1)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 3, while L.cdr() returns [0,2,5].2)Design a Java interface for ADT Stack. Develop two different classe... View Questions/Answers

ADT stack  August 11, 2010 at 8:36 PM
Design a Java interface for ADT Stack. Develop two different classes that implement this interface, one using array and the other using linked-list. Provide necessary exception handling in both the implementations. ... View Questions/Answers

java programs  August 11, 2010 at 5:03 PM
i need a program for rational numbers to represent 500/1000 as 1/2 in java using java doc comments ... View Questions/Answers

java concepts  August 11, 2010 at 5:02 PM
i need theory for designing a java interface for adt stack .develop two different classes that implement the interface one using array and another using linkedlist ... View Questions/Answers

java concepts  August 11, 2010 at 5:00 PM
i need theory for designing a vehicle class hierachy in java.write a program to demonstrate polymorphism ... View Questions/Answers

java concepts  August 11, 2010 at 4:59 PM
i need theory for lisp-like list in java to perform basic operations such as car, cdr ,cons ... View Questions/Answers

java fx  August 11, 2010 at 3:56 PM
compute the factorial of a number entered in one text field by pressing the compute button and output displayed in another text field in javafx ... View Questions/Answers

java  August 11, 2010 at 1:31 PM
Can i have Program that caculates a persons age? ... View Questions/Answers

java  August 11, 2010 at 1:29 PM
Can i pls have a program for serialization? ... View Questions/Answers

MySQL SpeedUp  August 11, 2010 at 12:47 PM
My searching query is taking a lot of time to execute. I have created index also. But it's waste.Kindly tell me some tips to speed up searching query into mysql server 5.1.. ... View Questions/Answers

java  August 11, 2010 at 10:51 AM
design a java interface for adt stack----its is one of lab program please send the program to my mail ... View Questions/Answers

java apptitude question and answers  August 11, 2010 at 10:24 AM
i want java appititude question and answers ... View Questions/Answers

java interview question and answer  August 11, 2010 at 10:19 AM
sir,i want one mark java interview question and answers ... View Questions/Answers

java data structure  August 11, 2010 at 9:02 AM
what is the minimum no of nodes for AVL tree whose height h=15? pls let me know the answer. ... View Questions/Answers

java  August 11, 2010 at 12:00 AM
I can i pls have an example of a program that calculates a persons current age when you only have his birth year.Thank you. ... View Questions/Answers

java  August 10, 2010 at 11:53 PM
I can i pls have an example of serialization. Thank you. ... View Questions/Answers

Distance conversion  August 10, 2010 at 10:09 PM
Write an application that reads a distance in metres. The program will then present a user menu of conversion types, converting the distance to kilometres, feet and inches, according to the user?s selection. The converted distances will then be printed.? Write a method readChoice() for the use... View Questions/Answers

java using Stack  August 10, 2010 at 9:23 PM
How convert decimal to binary using stack in java?whats the java program or code to that.Thank you rose india and java experts ... View Questions/Answers

java using Stack  August 10, 2010 at 9:22 PM
How convert decimal to binary using stack in java? ... View Questions/Answers

event-driven programming paradigm of Java.  August 10, 2010 at 8:46 PM
Design a scientific calculator using event-driven programming paradigm of Java. ... View Questions/Answers

DMCA.com