Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

dialog box  April 9, 2012 at 11:30 PM
hi.write an application containing three parallel arrays that hold 10 elements each.the first array holds four digits student ID numbers,the second holds first names and the third holds the students grade point averages. use dialog boxes to accept a student ID number and display the student's fir... View Questions/Answers

Probblems with printing if my innput of text file is correct..  April 9, 2012 at 10:14 PM
I am trying to make sure this block of code does what I think it will do. Can someone show me with some code how I can print out what is is labled with <----print this? There are 3 of them. I am looking for something rather simple and for some reason I cannot get the code to work with System.o... View Questions/Answers

how to handle MySQLIntegrityConstraintViolationException?  April 9, 2012 at 7:37 PM
Cannot add or update a child row: a foreign key constraint fails (outerdb.outerpatient, CONSTRAINT outerpatient_ibfk_1 FOREIGN KEY (xrayno) REFERENCES xray (xrayno)) ... View Questions/Answers

Advertisement

find out in servlet which button was clicked on an html page  April 9, 2012 at 4:24 PM
i have two buttons on my jsp page... and i want two call two seperate codes in a servlet on pressing of those 2 buttons.. how do i find out which button was clicked so as to call that respective method. ... View Questions/Answers

nested for-loop  April 9, 2012 at 4:00 PM
hi.write a program that will prompt the user for a positive integer(num) and then display two triangles with num number of lines to represent the following patterns of asterisks. the input num must be validated, and if invalid, the user must be allowed a maximum of 3 tries to enter the correct va... View Questions/Answers

error message  April 9, 2012 at 3:47 PM
Sir i make one form facility with insert,update,delete.i want to error msg if any type of the data is missing and display in error msg which of the data is misssing. ... View Questions/Answers

spring  April 9, 2012 at 2:54 PM
sir how to access multiple jsp's in spring ... View Questions/Answers

spring  April 9, 2012 at 2:54 PM
Access JSP files in Spring ... View Questions/Answers

How to code a Product id search engine?  April 9, 2012 at 1:27 PM
I always wonder how people here are such greatly helpful. I have about a 30 rare products in my online store(just showcasing, we don't sell) each with a specific id. I am trying to code a search box that let users search products with id. Suppose, "If an user enters id:1234 (and h... View Questions/Answers

springs  April 9, 2012 at 12:08 PM
sir i am trying to insert data from form...using spring and hibernate i got the error like this; rg.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessResourceU... View Questions/Answers

hi  April 9, 2012 at 11:00 AM
i want to develop a online bit by bit examination process as part of my project in this i am stuck at how to store multiple choice questions options and correct option for the question.this is the first project i am doing can any one help me?????? ... View Questions/Answers

how to retrieve images from database to jsp?  April 9, 2012 at 10:59 AM
Hi sir,i want to stores images along with the name and price with database and retrieve it on jsp.and that image also should act as link.when i click on the image retrieved,it should display the elaborated image in th next page.plz help me in coding.its vey urgent. ... View Questions/Answers

what is meta data in java  April 8, 2012 at 11:34 PM
what is meta data in java ... View Questions/Answers

Exception in thread  April 8, 2012 at 10:39 PM
Hi, I have created a java file for sending a file to my mail. I am using mail.jar file. I am able to create .class file properly. But am unable to run this file using java command on command prompt. javac -cp D:\mail.jar SendMailTLSDFC.java above command is working properly. It creates 2 class a... View Questions/Answers

Applets  April 8, 2012 at 9:55 PM
Create an applet, on running which shows the following output. Source Java Output file Compiler .java javac .class JVM All the text within the circle and rectangles should be taken as parameters with names heading1, heading 2, ? heading 5. All the text below the shape should be taken as paramet... View Questions/Answers

Multi-threaded Programming  April 8, 2012 at 9:53 PM
Write a class resourceThread which has a method run which calls display method of resource class. Resource class has synchronized display method which prints the array string. Take a string in a variable and convert that string into array of characters using toCharArray() method of string class .... View Questions/Answers

Implementing Interface  April 8, 2012 at 9:52 PM
interface Mat { void read( ); void display( ); } Create a class Matrix by implementing interface Mat. Derive class MatrixOp from Matrix and provide functions to add and multiply two matrices. Also derive class MatrixSearch from Matrix and add a function ??search ( )?? which searches given value... View Questions/Answers

Implementing Vectors.  April 8, 2012 at 9:51 PM
Create a class Student which stores Name ,Rollno and Grandtotal of a student. Use class Vector to maintain an array of students in the descending order of the Grand_total. Provide the following functions 1) create() : this function will accept the n student records in any order and will ... View Questions/Answers

program to implement array of objects  April 8, 2012 at 9:48 PM
import java.io.*; import java.util.*; public class dataa { DataInputStream in=new DataInputStream(System.in); int i; int a[i]=int acid[5]; String name1[i]=new String[5]; float c[i]=new float bal[5]; String name1; int a; pub... View Questions/Answers

Implement array of objects  April 8, 2012 at 9:48 PM
import java.io.*; import java.util.*; public class dataa { DataInputStream in=new DataInputStream(System.in); int i; int a[i]=int acid[5]; String name1[i]=new String[5]; float c[i]=new float bal[5]; String name1; int a; pub... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Fetch Matching jobs in JSP Servlet... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
how to display matching Results using jsp-servlet? ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Create Jobseeker's profile in JSP and Servlet ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
How to create a user profile in JSP ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Is it possible to create a user profile in Servlet and JSP ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
JSP Servlet Search Page ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Search page to display matching results in JSP and Servlet ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
how to display matching jobs in jobseeker's profile using jsp-servlets? ... View Questions/Answers

How to refresh Client only once by sending setHeader ("refresh" ,??? )  April 8, 2012 at 8:57 PM
How can i send response from JSP that will make my client page to be refreshed ?? I just want to refresh my client page only once....! Not periodically....! Actually i am calling a page that check for flag value in model through JSP page. And if it find flag value 1 in model it will tell ... View Questions/Answers

Changing 2D graph using slider.  April 8, 2012 at 7:58 PM
Code for changing a 2d graph with help of slider? ... View Questions/Answers

Program to implement array of Objects.  April 8, 2012 at 7:38 PM
Create a class it has following data members:- -name -account id -balance initialize the data members through constructors & define a print function & also define a function to compare names. It returns true if the name is equal or else returns false. Initialize an array of objects. Pass ... View Questions/Answers

JSP - Checkbox remain checked although checked values should depend on values stored in a stateful session bean  April 8, 2012 at 7:19 PM
I'm trying to implement like a small shopping cart system where there is a variety of items to choose from. There are 3 JSP pages, shop1.jsp , shop2.jsp and shop3.jsp where each of these pages have different items to choose from. And there is another page final.jsp which displays all of the items... View Questions/Answers

Creating all combinations  April 8, 2012 at 5:54 PM
hello, i want a script that can generate all the all words from given alphabets for example if i have three alphabets A,B,C then a script that will generate the words as like below a b ab bc ca ac abc<... View Questions/Answers

How to take input by user using jDialogue and use that input  April 8, 2012 at 5:49 PM
I am using NetBeans i have a 'Search by employee id' button . I want when user click this button a dialogue box appear which take employee_id as input from user . then that input be used for fethcing data from the database ( desired table in DB has primary key emp... View Questions/Answers

jsp code for employee attendance tracking system  April 8, 2012 at 1:40 PM
i need jsp code for employee attendance tracking system...it should contain date,login time,logout time,difference time in hour in separate fields..plz show the flow of detail. ... View Questions/Answers

how to add plugins into eclipse  April 8, 2012 at 11:22 AM
Hello, I have installed eclipse sdk 4.2M5 separately and tomcat server separately now i have to connect both for that i don't have server option in my eclipse and i m trying to add plugins but m getting many errors .Could someone please help me regarding this,as i m a fresher. Thanks in ... View Questions/Answers

pdf generation.  April 8, 2012 at 11:16 AM
i want to generate the data which is stored in mysql data base in pdf format with php. how i will do that? ... View Questions/Answers

pls answer the Trangle pattern  April 8, 2012 at 10:19 AM
a b c d e b c d e c d e d e e Please answer and give the code for above triangle ... View Questions/Answers

DBMS  April 8, 2012 at 9:16 AM
Write a PL /SQL program to calculate the total ,average and grade of given student. ... View Questions/Answers

DBMS  April 8, 2012 at 9:16 AM
Write PL/SQL program to create a Employee table with the fields EmpNo, Empname, Designation, Salary, and Dateofjoin . Insert 10 records and display the records of only those employee whose salary is more than 15,000. ... View Questions/Answers

DBMS  April 8, 2012 at 9:14 AM
Generate the yearly report (from first January of an year to 31st December of the same year) on the total amounts of individual accounts of each employee in the following format: Emp Table (Emp#, Empname, City, Acc#) Acc Table (Acc#, OpenDate, Bal-Amt) Yearly Report <... View Questions/Answers

how to know which jList is selected and according to that fetch the value  April 8, 2012 at 4:34 AM
Hi. I am Using netBeans.. I have 4 JLists (i.e jList1 , jList2, jList3 , jList4) in 4 different tabs in frame. Each List has the value of employee_id from database (i successfully did it already) there are many field in tabs ( i.e rows of databse with employee id ... View Questions/Answers

collectionMapping using annotation  April 7, 2012 at 8:08 PM
Hello sir, I am using @ElementCollection annotaion in my entity class as @Entity @Table(name="stud_collection") public class StudentEntity implements Serializable{ @Id @Column(name="id") private Long id; @Column(name="sname") private String sname; ... View Questions/Answers

storing values  April 7, 2012 at 5:16 PM
I want coding using asp thro jsxmlhttprequest for storing values in 2nd dropdownlist based on values selected in 1st dropdown list... View Questions/Answers

Servlet error  April 7, 2012 at 3:05 PM
In netbeans6.9 how can we deploy our servlet in my project i design servlet to receive the data through html pages and design database also but unable to do with xml files what we can change in sun-web.xml ... View Questions/Answers

javascript confirm box  April 7, 2012 at 2:49 PM
javascript confirm box ... View Questions/Answers

javascript calendar popup code  April 7, 2012 at 2:48 PM
javascript calendar popup code ... View Questions/Answers

javascript comment syntax html  April 7, 2012 at 2:44 PM
javascript comment syntax html ... View Questions/Answers

JavaScript Comment Tag  April 7, 2012 at 2:43 PM
How to write comment in JavaScript ? ... View Questions/Answers

arraylist  April 7, 2012 at 2:28 PM
create a class employee having instance variable id,name,age,salary.now , when u run the program it must be ask u to 1.add employee 2.view employee 3.exit if u enter value other than 1,2,3 program should say invalid input . if u add more than 5 employees an exaception must be thrown. ... View Questions/Answers

JavaScript Alert YES NO  April 7, 2012 at 12:40 PM
How to send an alert to a user to confirm if there request is valid or not? I wants to send the alert message in Java Script. ... View Questions/Answers

javascript statement alert  April 7, 2012 at 12:31 PM
JavaScript Alert If Statement ... View Questions/Answers

Tictactoe game-2 players- using jax webservices & jsp  April 7, 2012 at 11:13 AM
Hi all, Could anyone please suggest the code /post source code of tictactoe game for 2 players with x & 0 as markers and use mysql database to persist the moves and tell who is winner. Please help,atleast with the html/jsp coding and equivalent servlet coding ... View Questions/Answers

validation  April 7, 2012 at 9:29 AM
hello sir i tried to store emp details in database from form using spring ,hibernate and jsp my all classes and jsp pages are pasted here when i try to validate my form its says invalid property'validater of ur controller class ....ple for this example ple write validater class and bean... View Questions/Answers

how to check dates while retrieving data from database  April 7, 2012 at 2:57 AM
i want to update database record based on delivery date i have tried this query but it wont work b="update deliveryorder set prtnm='"+arr[1]+"',stn='"+arr[0]+"',sbston='"+arr[2]+"',tqty='"+arr1[0]+"',del1='"+arr2[1]+"',del2='"+arr2[2]+"',del3='"+arr2[3]+"... View Questions/Answers

Installing programs over a network using java  April 7, 2012 at 1:32 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:30 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

How to Pass data from jTextField1 in jFrame1 to jLabel1 in jFrame2  April 6, 2012 at 9:22 PM
I have a Form login_pass (jFrame) which has a jTextField1 to take input (employee id) from the user. I want that the value of employee id given by user in jTextfield1 should be transfered to jLabel1 in Form usermainframe (jFrame) when the user press login button present... View Questions/Answers

difference  April 6, 2012 at 8:32 PM
what's the difference between mysql and sql? ... View Questions/Answers

getting problem in storing & retrieving value in database  April 6, 2012 at 7:20 PM
Hello everyone i am doing a project where my back end is ms access & i want to store value like 5353250214 so if i store it as long int in access it wont take it & if i saved it as double then i couldnt retrieve it so pls help me.... ... View Questions/Answers

Convert the code to GUI  April 6, 2012 at 5:46 PM
can any one convert My code to GUI code import java.util.Scanner; public class RegistorClass { private int accumulator; private int instructionCounter; private int instructionRegister; private int operationCode; private int operand; private boolean h... View Questions/Answers

How to Convert the code to GUI  April 6, 2012 at 5:46 PM
How to convert a code into GUI... View Questions/Answers

Java Code to GUI  April 6, 2012 at 5:46 PM
can any one convert My code to GUI code ... View Questions/Answers

Is it possible to convert a code into GUI  April 6, 2012 at 5:46 PM
Is it possible to convert a code into GUI... View Questions/Answers

How to create GUI application in Java  April 6, 2012 at 5:46 PM
How to create GUI application in Java ... View Questions/Answers

Convert the code  April 6, 2012 at 5:46 PM
How to convert a code to GUI look alike... View Questions/Answers

GUI Example  April 6, 2012 at 5:46 PM
GUI Example code to learn... View Questions/Answers

GUI Application example  April 6, 2012 at 5:46 PM
GUI Application example... View Questions/Answers

Write a GUI Application  April 6, 2012 at 5:45 PM
best way to write a GUI based application... View Questions/Answers

GUI code  April 6, 2012 at 5:45 PM
GUI code ... View Questions/Answers

Java and GUI application Example  April 6, 2012 at 5:45 PM
Java and GUI application Example... View Questions/Answers

GUI Application Development  April 6, 2012 at 5:45 PM
GUI Application Development... View Questions/Answers

GUI Java JSP application  April 6, 2012 at 5:45 PM
GUI Java JSP application... View Questions/Answers

GUI example for beginners  April 6, 2012 at 5:45 PM
GUI example for beginners... View Questions/Answers

Java GUI Class Example  April 6, 2012 at 5:43 PM
Java GUI Class Example... View Questions/Answers

jsp code for display of data from database and snap shot of the output  April 6, 2012 at 5:30 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week..i want to se the snapshots of the output ... View Questions/Answers

jsp code for storing login and logout time to an account  April 6, 2012 at 5:01 PM
I need simple jsp code for extracting and storing login and logout time in a database table..plz someone help me... ... View Questions/Answers

Session Bean Example  April 6, 2012 at 4:48 PM
I want to know that how to run ejb module by jboss 4.2.1 GA (session bean example by jboss configuration )? ... View Questions/Answers

How to add google page in my webpage using jquery ajax.  April 6, 2012 at 4:25 PM
Hi, I created a page index.html on desktop . this page content following code. <html> </head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript">... View Questions/Answers

JavaScript Statement Array  April 6, 2012 at 4:00 PM
I need JavaScript Statements Examples in an Array. ... View Questions/Answers

java format date  April 6, 2012 at 3:41 PM
Hi, How can I format the date in the following pattern? yyyy-MM-dd ... View Questions/Answers

JavaScript where to place in HTML  April 6, 2012 at 3:36 PM
Where to place JavaScript code into HTML Code? ... View Questions/Answers

springs  April 6, 2012 at 2:08 PM
ir i have the confusion in spring form validation.using hibernate.my bean configuration only wrong . i dont know how to map my validator to my controller it is shows errpr like org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaannila.val... View Questions/Answers

Method is undefined for the type Object(org.apache.jasper.JasperException)  April 6, 2012 at 1:23 PM
[Tag:java] I am getting an Error, while accessing a JSP Page through my eclipse workspace,, other guys can access that page on their localhost. This error is with all my JSP page where i try to access MYList.MyDo.someGetterMethod(); in JSP page. I am using Tomcat5.5... View Questions/Answers

Struts-problem With DispatchAction Class  April 6, 2012 at 1:13 PM
hi this is Mahesh...i'm working with struts 1.3.10....I have created an application which uses DispatchAction..I'm using Eclipse ide..I hav configured struts-extras 1.3.10 jar but still i'm getting the following error: exception javax.servlet.Serv... View Questions/Answers

code for serching files and folders  April 6, 2012 at 12:09 PM
i want to create a code in java in which i can search any file or folder present on my local machine,with appropriate file path and location of that file or folder....if there are more than one file or folder with that name show all the file or foldea with there path and location...and one more t... View Questions/Answers

Image swap on mouse over and mouse move  April 6, 2012 at 11:06 AM
i tried the code , sent form u...But if there are 50 images and..i want swap images on mousse over and mouse out, then the code becomes very lengthy...so please give the code for multiple images ... View Questions/Answers

Image swap on mouse over and mouse move  April 6, 2012 at 11:06 AM
i tried the code , sent form u...But if there are 50 images and..i want swap images on mousse over and mouse out, then the code becomes very lengthy...so please give the code for multiple images ... View Questions/Answers

Having problem with image upload....  April 6, 2012 at 2:43 AM
I am uploading profile pictures in my site.But after uploading when I visit my home page where it is supposed to show my profile picture,it's not showing.My profile picture is getting uploaded successfully and there is no doubt about that because I checked on the server that the image is getting ... View Questions/Answers

Convert the code to GUI ??  April 6, 2012 at 12:13 AM
hi >> can anyone help me to conver this code to GUI ?? /** * @(#)RegistorClass.java * *. * @author * @version 1.00 2011/12/16 */ import java.util.Scanner; public class RegistorClass { private int accumulator; private int instructio... View Questions/Answers

userloginmid.jsp  April 5, 2012 at 11:00 PM
where is the userloginmid.jsp code? ... View Questions/Answers

Copying data from jTextField1 automatically  April 5, 2012 at 8:25 PM
I am making human resource management system. Copying data from jTextField1 automatically when user enter value in jTextField1 to jTextField2 , jTextField3 .. Each jTextField in different panes of jTabbedPane. There are 4 tabs in jTabbedPane. Each tab has a many jTextField but one jText... View Questions/Answers

Error:No Class Found Exception:org.postgresql.driver  April 5, 2012 at 5:08 PM
Error:No Class Found Exception:org.postgresql.driver while connecting JDBC With PostgreSQL 8.4 I m running My Program with java 6.0 ... View Questions/Answers

Uploading Multiple Image On Server?  April 5, 2012 at 4:24 PM
Hello sir, I am stuck with a problem of uploading multiple images on server. i have done a code which works fine for uploading single image,but it doesn't work with uploading multiple images dynamically on server. one live example of this is like facebook uploading images. so please help me ... View Questions/Answers

want to insert values in drop down menu in struts1.3  April 5, 2012 at 2:04 PM
I am using DynaValidatorForm.please help me with inserting values in color drop down menu. I have tried belowwith arraylist but was not able to find solution. add.jspx <?xml version="1.0" encoding="UTF-8"?> <!-- Document : add ... View Questions/Answers

DMCA.com