Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

connectivity with php  April 11, 2012 at 5:06 PM
i have make one html form and doing connectivity with php database but when i click on submit button on html form display all coding in php form about connectivity instead of adding data, i used in html coding action ="file name of php file". please reply me soon. ... View Questions/Answers

How to create Velocity Engine .vm file for Andorid Appication  April 11, 2012 at 1:53 PM
Hi, I want to create a .vm file of Velocity File for Android Application.please help me to do this? ... View Questions/Answers

Use if, if else,for,while,do wile ad switch in same Java Class  April 11, 2012 at 12:43 PM
hi how to use if, if else,for,while,do wile ad switch in same class? very urgent.. ... View Questions/Answers

Advertisement

Reset( )and Mark( )  April 11, 2012 at 9:41 AM
i am using buffer reader to read each line using loop. My problem is when the pointer reach EOF then it has to be reset. So when using mark() i have to specify the size. For a huge file, length has to be stored in long but mark only takes int type value.. any other function that i can use to rese... View Questions/Answers

jdbc theory qn  April 11, 2012 at 3:41 AM
how to compile jdbc and what software is required? ... View Questions/Answers

JSP  April 11, 2012 at 2:24 AM
Develop a JSP to keep track number of users and display a message ‚??You are nth visitor‚?? where n is number of user. ... View Questions/Answers

java  April 11, 2012 at 1:25 AM
how to create session for login???? how to display uploaded resume and images in the profile??? ... View Questions/Answers

how to create session for login  April 11, 2012 at 1:25 AM
how to create session for login? how to display uploaded resume and images in the profile? ... View Questions/Answers

java  April 11, 2012 at 1:25 AM
how to create session for login???? how to display uploaded resume and images in the profile??? ... View Questions/Answers

c++ array find the average mark, highest mark, lowest mark, number of students passing,  April 10, 2012 at 11:05 PM
i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array. 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 ... View Questions/Answers

c++ array find the average mark, highest mark, lowest mark, number of students passing,  April 10, 2012 at 11:05 PM
i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array. 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 ... View Questions/Answers

SQL  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL fetch value  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

output using SQL  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL get start date and end date result  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL display date in between query  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL date query  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

java date selector ..  April 10, 2012 at 10:16 PM
hey,,,, i am creating my java project...for that i implementing a car renting system and i had used combo boxes to get Ranting start day inputs..3 combo(sy,sm,sd) yyyy ,mm,dd and for returning day i need to get 3 combo inputs(ry,rm,rd)... so when i update starting day... others should be updated... View Questions/Answers

I/O Program output error  April 10, 2012 at 8:08 PM
Hello All, I am working on a program that requries me to read and analyze a .txt file and output the results to a .txt file, but I am getting incorrect output. I have been successfull with part of the program in that it reads the text file and analyzes it, however I need it to take the ke... View Questions/Answers

Problem in enctype="multipart/form-data" in JSP  April 10, 2012 at 7:45 PM
im using a page which is in JSP. i have some text boxes and one upload button. i want to load the file itself when i click the submit button. im using enctype="multipart/form-data" in this form. i also using the commons-fileupload-1.2.2.jar file for getting the uploaded value. but the problem is ... View Questions/Answers

Problem in enctype=  April 10, 2012 at 7:34 PM
im using a page which is in JSP. i have some text boxes and one upload button. i want to load the file itself when i click the submit button. im using enctype="multipart/form-data" in this form. i also using the commons-fileupload-1.2.2.jar file for getting the uploaded value. but the problem is... View Questions/Answers

important topics to prepare for java interview  April 10, 2012 at 6:34 PM
hi friends can anyone tell what are the important topics to prepare for java interview???? ... View Questions/Answers

difference  April 10, 2012 at 6:19 PM
what is the difference between the JDBC-ODBC bridge, the Native-API-Partly-Java driver, and the JDBC-Net-All-Java Driver is the placement of the database access libraries ... View Questions/Answers

sql component  April 10, 2012 at 6:16 PM
is sql package is the component of jdbc ... View Questions/Answers

Retrieving images from the oracle database using jsp and create that rretrieved image as hyperlink  April 10, 2012 at 5:31 PM
I want to insert images into oracle database.I want to retrieve images using jsp and I want to display on the browser.The retrieved images should be hyperlink.When clicking these images it must forward to another page.Can you send code for this ... View Questions/Answers

fetch values in dropdown  April 10, 2012 at 4:51 PM
in my application i want fetch dropdown values in jsp page through servlet. means i have to fetch the database fields values in array variable of servlet and then i have to print those values in dropdown. ... View Questions/Answers

query string  April 10, 2012 at 4:46 PM
on my servlet page i take the values of the field in a variable and that variable is a primary key so on the basis of that i am sorting database and printing on another page. i have to take that variable from servlet page to different servlet jsp page and that i want to do with query string so ca... View Questions/Answers

Run time Exception after Clean and Build JavaNetBeans Project  April 10, 2012 at 4:33 PM
I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5 The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a dist fol... View Questions/Answers

online multiple choice examination  April 10, 2012 at 3:56 PM
hi i am developing online multiple choice examination for that i want to store questions,four options,correct answer in a xml file using jsp or java?can any one help me? ... View Questions/Answers

accessing ms access through jsp  April 10, 2012 at 2:06 PM
i have 3 tables in my database employee,project,task if i put employee id the search field .i should get details from other table what all queries should i use in servlet file and i am using netbeans pls help i have to submit this week ... View Questions/Answers

for statement  April 10, 2012 at 1:17 PM
for(int i=0;i<5;i++); { system.out.println("The value of i is :"+i); } if i end for statement what will be the output ... View Questions/Answers

Core java  April 10, 2012 at 1:12 PM
How to use hyperlink that is href tag in core java without swing, frames etc. My code is StringBuffer oBodyStringBuffer = new StringBuffer("Message Classification: Restricted.\n\n"); oBodyStringBuffer.append("Dear Sir / Mdm,\n\n")... View Questions/Answers

code required in servlet  April 10, 2012 at 1:09 PM
hello... you provided me the answer with javascript.. i want to check which button is clicked in the servlet.. i have only 1 servlet an in that separate codes for different button clicks.. can u plzzz help ... View Questions/Answers

jdbc  April 10, 2012 at 1:00 PM
Write a program to update the salaryRs.6000/- for an employee name like ‚??P. Ramu‚?? using prepared statement. ... View Questions/Answers

jdbc program  April 10, 2012 at 12:57 PM
Write a program to update the salaryRs.6000/- for an employee name like ‚??P. Ramu‚?? using prepared statement. ... View Questions/Answers

how to access database in applet  April 10, 2012 at 12:45 PM
HI... I'm having an applet where we should display the database values in the applet... It works fine in the local system(same network)... but when its in the server, we r getting null values in the local system.. I created a policy file and also added that url in java.security but came error bel... View Questions/Answers

JDBC  April 10, 2012 at 12:06 PM
write a JDBC program to display the result of any query on a student table in a JTable component. ... View Questions/Answers

how to get only checked data  April 10, 2012 at 11:10 AM
my problem is that i have a jsp page on which i retrieve data from the database through servlet , on the jsp page there are checked box corresponding each row. i want that when i click on save button it should redirect only checked data to other jsp page which is connected to other servlet page ... View Questions/Answers

window in center  April 10, 2012 at 11:05 AM
if i run the programme thw window is in lie in top left corner i want a window open in center.......... ... View Questions/Answers

Jdbc connectivity in java to oracle for retrieving data between two dates  April 10, 2012 at 3:26 AM
Dear Sir, I Need a program in which i want to retrieve the data b/w two dates from the database table. I am using combo box to get the date. Problem is arise when i get date from data base in the format such as 10/04/2012 00:00:00, while the date that is inserted to the database is in the format ... View Questions/Answers

registration form using oop concept  April 10, 2012 at 1:17 AM
I would like to write a program student registration form at kindergartens and display the information of students that register to the kindergarten. How to make the form and display the output? ... View Questions/Answers

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

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

DMCA.com