Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Problem dispalying Country, City, State in JSP using Ajax in Struts Framework  March 3, 2010 at 10:35 PM
Hi,In my JSP page, I have used one div that adds some rows dynamically. Inside this div, there are drop downs to select Country, State and City values. On the baisi of country selected, its corresponding state should come nd corresponding city should comeon basis of state selected. ... View Questions/Answers

Problem in updating query in Hibernate  March 3, 2010 at 10:27 PM
Hi,I have used a query to update the existing columns of one table. The query updates the records in the main table but it does not update the tables that are mapped from the main table. The child table(mapped from main table) is in the form of 'Set' Collection. Bean class is created fo... View Questions/Answers

Probability Vs. Number of people table  March 3, 2010 at 9:33 PM
The probability that at least two people in the group of 5 people will have the same birthday is:1 - 365/365 x 364/365 x 363/365 x 362/365 x 361/365 = 0.027, which is1 - (365 - 0)*(365 - 1)*(365 - 2)*(365 - 3)*(365 - 4) / 365^5 = 0.027 The probability that at least two people... View Questions/Answers

Ads

How to read yahoo mail using java mail api  March 3, 2010 at 8:45 PM
Hi there .... i wanted to know how to read mail from yahoo using pure java code. Is there any one who can help me regarding this, please if possible show me the exact way as well as provide me some code so that i can understand it....i will be very thank full ... View Questions/Answers

compilation error  March 3, 2010 at 4:45 PM
i 'm not able to compile a program :prblem is there is one package in which 2 class person & dog reside. both classes r public still i'm not able to make object of Dog clss in Person class!!plezz help ... View Questions/Answers

java  March 3, 2010 at 3:25 PM
how to configure the servlet ... View Questions/Answers

java  March 3, 2010 at 3:20 PM
urgent sir plz send quicklyfirst screen maintain db connection.two select box is there.one select box display the text of sequencial order that is a clicks "a" will be display and so on z and 0-9. if we select the first select box items click arrow that selected da... View Questions/Answers

java programming  March 3, 2010 at 2:27 PM
i'm asking for the java code for adding , viewing ,delete, edit and printing information...how can i make this...can you give me a code..help me plzz ... View Questions/Answers

swings  March 3, 2010 at 12:30 PM
I want to add images(.jpeg,.gif) to a combobox list items.How can i acheive this.....Just now i send the above question.I got the below code fro you.I just change the image addresses in the Img[] string and the remaining code is same has u given.While i am trying to execute this co... View Questions/Answers

swings  March 3, 2010 at 12:12 PM
I want to add images(.jpeg,.gif) to a combobox list items.How can i acheive this.....Just now i send the above question.I got the below code fro you.I just change the image addresses in the Img[] string and the remaining code is same has u given.While i am trying... View Questions/Answers

login page  March 3, 2010 at 11:55 AM
I have one login page in jsp that is login.jsp.Now i have validate user from database by another page validate.jsp.but if the user feeded wrong information then i want to print error massege on the first page that is login.jsp not in any other page.So what i have to use.plzzzz tell... View Questions/Answers

JSF using Tomcat 6.0  March 3, 2010 at 11:49 AM
Hai i have a problem during deployement time.Actually this is my first example.I have already run one jsf application, that also be not run.Actually right now i am learning stage. so please give me brief details.The problem is paste on here.=================... View Questions/Answers

why it is very slow when I am using the backend as microsoft access file for running the java webapplication  March 3, 2010 at 11:35 AM
I am using the backend as microsoft access file for running the java webapplication.it is very slow when twoor mor users are logon the project.How to handle the above problem.is it solve by the sqlserver as a backend ... View Questions/Answers

swings  March 3, 2010 at 11:33 AM
I want to add images(.jpeg,.gif) to a combobox list items.How can i acheive this..... ... View Questions/Answers

how to close the connection object,statement object,resultssetobject when using the microsoft access a database  March 3, 2010 at 9:45 AM
Hi Friend,I am developing the webapplication using the jsp(business logice-jsp).backend is microsoft access file. How to close the conection objects,resultset object.objects are increaseing when accessing the jsp page. ... View Questions/Answers

Closing Statement and ResultSet Objects  March 3, 2010 at 9:32 AM
I Friend.i am getting the closing the objects problem.i am using the business logic in jsp now.it is having the two or more statements objects and results set objects ,how to close the objects.My code is selectQuery="select no_of_ho... View Questions/Answers

hi  March 3, 2010 at 9:21 AM
hi sir,i want to copy the sql prompt queries to one text file,how to achieve this ,plz tell me Thanq ... View Questions/Answers

why tomcat is shoutdown when access the jsp page  March 3, 2010 at 8:58 AM
I have a menu.when i click on menutitem(jsp page),some time tomcat is shoutdown and sometimes it is working fine ... View Questions/Answers

problem with main  March 3, 2010 at 4:14 AM
import javax.swing.*;import java.awt.*;public class YellowFace extends JApplet{ public static final int FACE_DIAMETER = 200; public static final int X_FACE = 100; public static final int Y_FACE = 50; public static final int EYE_... View Questions/Answers

java programme  March 2, 2010 at 7:33 PM
Write a complete program, which prints all Fibonacci numbers that are less than 1600. ... View Questions/Answers

I need your help  March 2, 2010 at 7:15 PM
What is the purpose of garbage collection in Java, and when is it used? ... View Questions/Answers

Applet program for drawing picture and graph  March 2, 2010 at 6:45 PM
Please send me the program(code) of drawing picture and graph in Applet. ... View Questions/Answers

EJB and Servlet  March 2, 2010 at 5:52 PM
hi all;I Have some Question regarding theEJB and servlet,How can we communicates servlet and EJB?can u give me a sample Code how to connectmy servlet to ejb..ty ... View Questions/Answers

java programming  March 2, 2010 at 3:46 PM
asking for java code .. counting for how many times the character is being entered in phrase like for instance..input: learning is bestoutput:a -- 1b -- 1e -- 2i -- 2n -- 2l -- 1s -- 1t -- 1help me plz... thank u ahead... View Questions/Answers

hi  March 2, 2010 at 1:56 PM
hi sir,i want to use the variable in 1 class to another class,how we use the 1 class variable in another class, Thanq ... View Questions/Answers

a program in java to generate the powerset of a given set  March 2, 2010 at 12:24 PM
Hello :)am a fresher to java i am in need of a java code which generates the powerset of a given seti.esuppose the set S be {a,b,c}the power set would be{}{a}{b}{c}{a,b}{a,c}{b,c}{a,b,c}and also the size of the... View Questions/Answers

JSF  March 2, 2010 at 12:17 PM
Hello everyone,I want to know about JSF. How it works? What other terms related to it? How to start with "Hello World !" ?Kindly Reply.With Regards,Sarang Dave. ... View Questions/Answers

swings  March 2, 2010 at 11:47 AM
hi i have two combo boxes.When we r selecting the first combobox items ,depending upon the selected item in the first combobox the values are loaded into second combobox.In the first combobox i selected 3rd item and in second combobox i selected 5th item, after this i closed the Combobox wind... View Questions/Answers

The Big Competition  March 2, 2010 at 9:52 AM
Let the Machine understand you-----------------------------Each team is asked to implement an application that can execute at least 3 commands ? depend on the operating system that you are working on ? using voice recognition tool (Sphinx 4.0).the application must recognize the pro... View Questions/Answers

The Big Competition  March 2, 2010 at 9:50 AM
Let the Machine understand you-----------------------------Each team is asked to implement an application that can execute at least 3 commands ? depend on the operating system that you are working on ? using voice recognition tool (Sphinx 4.0).the application must recognize the pro... View Questions/Answers

The Big Competition  March 2, 2010 at 9:46 AM
Let the Machine understand you-----------------------------Each team is asked to implement an application that can execute at least 3 commands ? depend on the operating system that you are working on ? using voice recognition tool (Sphinx 4.0).the application must recognize the pro... View Questions/Answers

validation  March 2, 2010 at 9:45 AM
hi.. how to validate the username,email,mobilenumber,radio button,drop down list using the java script. ... View Questions/Answers

The Big Competition  March 2, 2010 at 9:44 AM
Let the Machine understand you-----------------------------Each team is asked to implement an application that can execute at least 3 commands ? depend on the operating system that you are working on ? using voice recognition tool (Sphinx 4.0).the application must recognize the pro... View Questions/Answers

i have developed the application in jsp(front-end -jsp,business logic-jsp).it is very slow when accessing the page  March 2, 2010 at 8:32 AM
i have developed the application in jsp only.i did not use any classes.application is very slow when access the pages.how to improve the performance.i am using the microsoft access file as backend or sql server ... View Questions/Answers

General Question  March 2, 2010 at 4:09 AM
Sir, I'm the beginner about this course JDK 1.3 BlueJ Software. Hence, I want to learn from the beginning, as:1)When I open the BlueJ Icon, the window appears. So, in that window there we use to see four menus like - Project, Edit, Tools and View on the Menu Bar. So, under those Menu - there a... View Questions/Answers

An Applet program for Drawing picture & graph  March 1, 2010 at 8:07 PM
How can I write an Applet program for drawing picture and graph having various colours and tools provided? ... View Questions/Answers

Histoqram  March 1, 2010 at 7:41 PM
I want to do show histogram, when the user clicks the button, a new window appears that displays a histogram to show the occurrence of the letters in the text area.This is my coding, import javax.swing.*;import java.awt.*;public class Histogram extends JPanel { /... View Questions/Answers

Pizza Order..??  March 1, 2010 at 7:10 PM
Define a class PizzaOrder class that contains a list of several types of pizza that ordered by the customer. This class also contains number of pizza been ordered. There is a method to add new pizza to the list (which increment the number of pizza been ordered) and also a method to calculate the cos... View Questions/Answers

Java Project Questions  March 1, 2010 at 1:59 PM
Hello sir ,I want Course Form in JAVA SWING that includes following contents-1)Course Id -Numeric2)Course NAME-TEXT3)Course Duration-NUMBERS4)Course Fees-NUMBERSI want to to add,Update,Delete Course Details into to Access Database,and then this course table connected wi... View Questions/Answers

I want to Do Addtion ,Substraction,Division,Multiplication in C Without using Any Arithmetic Operators  March 1, 2010 at 1:49 PM
I want to Do Addtion ,Substraction,Division,Multiplication in C Without using Any Arithmetic Operators.plz Help Me. ... View Questions/Answers

Java Program  March 1, 2010 at 11:14 AM
Write a program to input a string and print out the text with the uppercase and lowercase letters reversed, but all other characters should remain the same as before. Example :- INPUT : WelComE TO School OUTPUT : wELcOMe to sCHOOL Sir, Can we show this ... View Questions/Answers

how to test the strtus webapplication on myeclipse6.0  March 1, 2010 at 8:59 AM
I am using the myeclipse6.0 now,how to test the webapplication on myeclipse and how to use checkin and check out. ... View Questions/Answers

Quadratic Equation  March 1, 2010 at 8:51 AM
Write a program that will determine the roots of quadratic equations ax^2 + bx +c. the program should repeatedly prompt the user for values of a, b, and c. For each set of values, the program should solve the corresponding equation, if it has a solution, or print an appropriate message, if it has no... View Questions/Answers

Math Program  March 1, 2010 at 8:29 AM
The greatest common divisor of two integers 16 and 24 is 8. Develop the algorithm for finding the greatest common divisor of two numbers. Write a program that prompts the user to enter two integers and calculates the GCD for the entered numbers. ... View Questions/Answers

jsp  February 28, 2010 at 6:30 PM
hi..plz tell me by select a value in a combo box the corressponding values should shown in the another combo box which is retrived from the back end using the jsp. ... View Questions/Answers

java script  February 28, 2010 at 6:27 PM
hi.. i need a table formate list of customers from the back end which will not more than 8 customers, the other customers in the backend can be viewed by next previous buttons into the same table.which is the same like our inbox in mail ... View Questions/Answers

Programming error  February 28, 2010 at 4:09 PM
Register.jsp<%@ page language="java" import="java.io.*,java.lang.*,java.sql.*,java.util.*,java.text.*,java.text.SimpleDateFormat" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; int Urid=0;... View Questions/Answers

html  February 28, 2010 at 2:47 PM
3) Create a HTML page to display a list of film songs available in the library. The following are features of the pagea. The name of the songs must be hyper linked to the songs, so that the users must be able to download songs.b. The following is the song database available in the librar... View Questions/Answers

html  February 28, 2010 at 2:43 PM
3) Create a HTML page to display a list of film songs available in the library. The following are features of the pagea. The name of the songs must be hyper linked to the songs, so that the users must be able to download songs.b. The following is the song database available in the librar... View Questions/Answers

java program  February 28, 2010 at 12:12 PM
1.write a program to show traffic signal using multithreading.2.Except an integer from 1-12 and display corresponding month. if the integer is not between 1-12 then give the errer message and promit the user to enter it again. ... View Questions/Answers

marks  February 28, 2010 at 11:10 AM
the marks obtained by 100 students in a subject are tabulated as fallow:-NAME MARKSwap a program to input the names and marks of the students in the subject of computer applications.calculate the display:-*average marks in the sub... View Questions/Answers

outputs  February 28, 2010 at 10:54 AM
WAP that outputs the result of the following evalutions based on the number entered by the user:--square root of the number_power of the number_consine value of the numbe-random numbers between 0 and 1 ... View Questions/Answers

bill  February 28, 2010 at 10:51 AM
WAP in java to create a bill using the information given below:-Input:-date of purchase,name of the buyer,price of each item on that day ,quantities of each item.Output:-make the appropriate title,include data and name of the buyer there should be five columb with heading serial number ,... View Questions/Answers

array  February 28, 2010 at 10:43 AM
Accept a two dimensional array from the user check if this array is symetric display a message yes,if it is symetric otherwise display it ,is not symetric. ... View Questions/Answers

How to make a list from file text in J2ME  February 27, 2010 at 7:15 PM
I was trying to make a method that read file from text and make a list of it, I have tried ReadHelpText method and want to make some improvement,I've tried like thisprivate String readHelpText( ) {InputStream is = getClass().getResourceAsStream( "kamus.txt" );... View Questions/Answers

Java Project Questions  February 27, 2010 at 5:02 PM
Hello sir ,I want Course Form in JAVA SWING that includes following contents-1)Course Id -Numeric2)Course NAME-TEXT3)Course Duration-NUMBERS4)Course Fees-NUMBERS I want to to add,Update,Delete Course Details into to Access Database,and then this course table conn... View Questions/Answers

I want to Do Addtion ,Substraction,Division,Multiplication in C Without using Any Arithmetic Operators  February 27, 2010 at 4:55 PM
I want to Do Addtion ,Substraction,Division,Multiplication in C Without using Any Arithmetic Operators.plz Help Me. ... View Questions/Answers

java application  February 27, 2010 at 8:49 AM
codes in repetition and decision ... View Questions/Answers

compiling a uploaed java file  February 27, 2010 at 7:22 AM
How a uploaded java source file is automatically compiled(i.e converted to .class file) in server using jsp/servlet ? ... View Questions/Answers

Read file zip in J2ME  February 26, 2010 at 11:26 PM
I would like to read file.zip in J2ME,I don't know how to extract it. Please help me!! ... View Questions/Answers

Open Jgraph Problem  February 26, 2010 at 8:37 PM
Hi,I have go through the example given in http://sourceforge.net/projects/openjgraph/ for Open Jgraph by Jesus M. Salvo Jr. I have amended one of the sample (SampleTreeLayout.java) codes as below: package examples;import salvo.jesus.graph.;import salvo.jesus.graph... View Questions/Answers

java code  February 26, 2010 at 7:51 PM
how to generate random numbers ... View Questions/Answers

constructir  February 26, 2010 at 2:00 PM
how to create a constructor to set the month using the first three letters in the name ofthe month as three arguments ... View Questions/Answers

java swing  February 26, 2010 at 1:24 PM
How to upload the image in using java swings. ex- we make a button to browsbutton and savebutton , when we click on the browsbutton , i can brows the image from the computer. plz help soon.........thanx. ... View Questions/Answers

Java  February 26, 2010 at 1:11 PM
Hi friends, I want to compare two time objects.the first time object is before or not How can i do this in java code ... View Questions/Answers

proxy server and client using java  February 26, 2010 at 12:33 PM
how to write program in java for proxy server and client ... View Questions/Answers

jsp  February 26, 2010 at 10:03 AM
hi, What is the difference between page and pageContext in jsp.If any body know this answer please tell me thank u ... View Questions/Answers

servlet  February 26, 2010 at 10:03 AM
what is the difference between servletconfig and servletcontext objects in servlet.If any body knows please tell me ... View Questions/Answers

servlet  February 26, 2010 at 10:03 AM
what is the difference between servletconfig and servletcontext objects in servlet.If any body knows please tell me ... View Questions/Answers

jsp  February 26, 2010 at 10:01 AM
hi, What is the difference between page and pageContext in jsp.If any body know this answer please tell me thank u ... View Questions/Answers

jdbc  February 26, 2010 at 9:58 AM
hi, I am new to java.What is the difference between statement and preparedstatement in jdbc.Please help me ... View Questions/Answers

Hibernate query  February 26, 2010 at 9:29 AM
Hi,In my one interview i face one question that is how to write query without using hql and sql.If any body knows please give the answer thank u ... View Questions/Answers

login authentication  February 25, 2010 at 7:43 PM
hi.. how to validate username and password for both admin and user using java script which is retrive from backend ... View Questions/Answers

jsp  February 25, 2010 at 7:13 PM
hi.. tel me the coding, if a value is selected in the combo box the corresponding list should be placed in the another combo box. ... View Questions/Answers

coding for logout  February 25, 2010 at 7:10 PM
hi.. coding for logout using the session in jsp ... View Questions/Answers

Student Admission Form in Java  February 25, 2010 at 4:25 PM
I want to store following Information into MS Access 2007 with JDBC.1)Student PRN Number2)Student Name3)Date of admission4)Fees 5)Payment Mode-with Combobox component(By Cheque,By Cash)6)Education7)Course8)Admission Type(Regular,External) when i ... View Questions/Answers

project with myeclipse  February 25, 2010 at 4:21 PM
Hi,i want to develop a simple web application using struts and jsp in MyEclipse 5.5.1A.Pleas help me. ... View Questions/Answers

Validaton(Checking Blank space)  February 25, 2010 at 3:23 PM
Hi i am using java springs .I am having problem in doing validation.I am just checking blank space.This is my controller. I named it salescontroller.package controller;import org.springframework.stereotype.Controller;import org.springframework.web.bind.anno... View Questions/Answers

abt java project  February 25, 2010 at 1:49 PM
if we want to create a pannel on the button how to write on the code in side the button plz help ... View Questions/Answers

hi  February 25, 2010 at 1:19 PM
hi sir,how to place the database records into jtable ,i am using the oracle database plz provide the program how to retrieve the database records and placed into a jtable plzzzzzzzzzzzzzzz ... View Questions/Answers

jsp updation  February 25, 2010 at 12:32 PM
hi.. how to change the password using jsp and update in the backend ... View Questions/Answers

MySQL exception  February 25, 2010 at 12:25 PM
HI.. how to prevent this exceptioncom.mysql.jdbc.exceptions.mysqlnontransientconnectionexceptionpz tell me the query ... View Questions/Answers

How to retreive data by using combo box value  February 25, 2010 at 12:05 PM
Hello friend , i am using only one form. U are using html form and jsp form. So get the values from html. So u r usingif(request.getParameter("cid")!=null){cid=Integer.parseInt(request.getParameter("cid"));I am using only a ... View Questions/Answers

core java  February 25, 2010 at 11:51 AM
1. What are the Advantages of Java?2. What are the Differences between c,c++ & java?3. Where we need to Write Java Programs?4. Explain public static void main(String args[])5. What is the purpose of String args[],what happens if we dont mention? ... View Questions/Answers

Java program?  February 25, 2010 at 10:13 AM
In order for an object to escape planet's gravitational pull, it must attain a minimum initial velocity called the escape velocity. The escape velocity varies from planet to planet.Create a Java program which calculates the escape velocity for the planet. Your program should first prompt the user fo... View Questions/Answers

How to retreive data by using combo box value  February 25, 2010 at 9:55 AM
I am using a single jsp form.. i did not get from another form.. i do not use 2 jsp form.. all are satisfaction in this form.. What will i do. My code is following there...<select select name="productid"><% Class.forName(... View Questions/Answers

java  February 25, 2010 at 9:53 AM
first screen maintain db connection.two select box is there.one select box display the text of sequencial order that is a clicks "a" will be display and so on z and 0-9. if we select the first select box items click arrow that selected data shows in the next box and as... View Questions/Answers

Charts in JSP  February 25, 2010 at 8:15 AM
Hi, Thanks for replying for the chart query I made 2 days back.. Can u plz provide me an example for creating a series bar chart with the datas coming from the database? Series chart in the sense, If I have x axis as months(Jan, Feb, Mar,.......) and y axis some values say.. For januar... View Questions/Answers

How to retrieve data by using combo box value in jsp?  February 24, 2010 at 9:12 PM
I am using a single jsp form.. i did not get from another form.. i do not use 2 jsp form.. all are satisfaction in this form.. What will i do. My code is following there...<select select name="productid"> ... View Questions/Answers

How to retrieve data from database by using combo box value in jsp?  February 24, 2010 at 6:48 PM
Hello friend i want use only one jsp page.. but u give 2 pages...I want to work in one page... Pl response.. I do not need getParameter...Pl respose me.Your code here..CREATE TABLE "user"("name" character varying(100),... View Questions/Answers

How to give the value  February 24, 2010 at 4:08 PM
How to give the value in following query.. "select * from studentinformation where studentid = '?'"; How to give the value into question mark?... ... View Questions/Answers

java  February 24, 2010 at 3:53 PM
selected strings clicks right arrow goto shows in another listbox and as it is stored into table type to the next jsp page ... View Questions/Answers

Java Project for College Admission System  February 24, 2010 at 3:44 PM
I want Project for Student Information System in JavaBack end-MS Accessplz Give Me source code or website to download it.plz Help Me. ... View Questions/Answers

swings  February 24, 2010 at 3:13 PM
hi While i am going to execute my code the following exception is raising,run:java.lang.NoClassDefFoundError: tools/MapPanelException in thread "main" Exception in thread "main" Java Result: 1BUILD SUCCESSFUL (total time: 0 seconds)... View Questions/Answers

How to retrieve data by using combo box value in jsp?  February 24, 2010 at 2:09 PM
Hi Friends, When i click combobox value in jsp form page, it will diplay related value.... I am using only this page.. not get value from another page... For Example, in Student.jsp... when i click student id in combo box, the related student name will be dis... View Questions/Answers

java  February 24, 2010 at 2:02 PM
how to create next button goto nextpage? ... View Questions/Answers

How To Make Executable Jar File For Java P{roject  February 24, 2010 at 12:44 PM
Hello Sir I want Help to make Executable File for java Project How I can Make it? ... View Questions/Answers

Java Project for College Admission System  February 24, 2010 at 12:38 PM
Hello Sir I urgently wants College Admission Project in Java,with Back End Microsft Access 2007 ,sir plz Give me Full Source Code. ... View Questions/Answers

DMCA.com