Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

jdbc query  February 22, 2012 at 10:31 AM
hello sir I have used your simple bank application project in my project to display transaction details but i am using ms access data base but when i am trying to display transaction details i will show the datatype mismatch in criteria expression. I have used complete code of transaction details... View Questions/Answers

Java  February 22, 2012 at 10:27 AM
Insert Data in to Db from the Dynamic Rows using JDBC & SQL 2005? ... View Questions/Answers

displaying List of records from database in a jsp using ajax, onclick it should display the results ?? its urgent can u help me  February 22, 2012 at 10:27 AM
displaying List of records from database in a jsp using ajax, onclick it should display the results ?? its urgent can u help me ? ... View Questions/Answers

Advertisement

search in Two Tables to Find data and view by jsp  February 22, 2012 at 9:04 AM
hi i want search in Two Tables to Find data and view by jsp <%@page import="java.sql.*"%> <table border="1"> <h2>Citizen account</h2> <tr><td></td> <td><b... View Questions/Answers

frequency of a letter in a string  February 22, 2012 at 2:09 AM
Could someone answer in netbeans please Write a program that takes in a string and a letter from the user and displays the number of appearances of the entered letter in the entered string. ... View Questions/Answers

generate random numbers and display the largest  February 22, 2012 at 2:03 AM
Hi, I am using netbeans so if someone could help me with an answer in that form i'd appreciate it. Write a method to find the largest value in an array. Write a program that takes creates an array and fills it with random ints, prints the contents to the screen and uses your method to fin... View Questions/Answers

Java  February 22, 2012 at 12:37 AM
H.W create a class called Apple along with the following characteristics: Color Type Weight in pound Selling price per pound Afterwards, your program should output the following elements after creating two apples: ΓΆβ?¬ΒΆ The weight of each object apple in kilograms. ΓΆβ?¬ΒΆ The s... View Questions/Answers

sorting numbers  February 21, 2012 at 8:59 PM
How to sort the numbers in ascending order ... View Questions/Answers

java  February 21, 2012 at 7:55 PM
I Want my jTextfield not to accept any keys from key board but display the calculation part in it ....can you plez help me..... private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) { if(jTextField2.getText(... View Questions/Answers

Help Regarding MXML and SWF  February 21, 2012 at 7:39 PM
hello sir I have a folder. It contains of a HTML file whick run into a browser and it gives us a login page. then the swf file.it is the source of that html page. i decompiled the swf file and now it has many mxml files i want make few changes in one of the mxml file and then compile back all fi... View Questions/Answers

Help Regarding MXML and SWF  February 21, 2012 at 7:39 PM
hello sir I have a folder. It contains of a HTML file whick run into a browser and it gives us a login page. then the swf file.it is the source of that html page. i decompiled the swf file and now it has many mxml files i want make few changes in one of the mxml file and then compile back all fi... View Questions/Answers

Need to Remove Duplicate Records from Excel Sheet  February 21, 2012 at 5:54 PM
Need to Remove Duplicate Records from Excel Sheet. I have one excel sheet having two fields (EmpNum, Rating) have to save in another excel sheet with unique empnum of latest empnum rating (without using sql query have to remove records from excel using java and to save only unique empnum with ra... View Questions/Answers

How to calculate attending hours?  February 21, 2012 at 5:45 PM
I need to calculate attending hours of a employee in a day in my project to make their monthly salary . By using work starting time and ending time. How should I do it using Date class? Or any other method? ... View Questions/Answers

User LogIn According to Role  February 21, 2012 at 4:03 PM
User login According to role but output will be always displayed in a single page.. but content will change according role ... View Questions/Answers

how to search the string arraylist contains database rows?  February 21, 2012 at 3:32 PM
i need to search 2 database. one is excel database and another is SQL database. stored the row values into string arraylist. now i want to print the common rows existed. how do i do it? ... View Questions/Answers

Java  February 21, 2012 at 3:27 PM
how to hide the drop down values based on another drop down values? ... View Questions/Answers

date format in javascript  February 21, 2012 at 2:33 PM
display date format as dd/mm/yyyy and day could take only between 01-31 & month could take only between 01-12 & year could take only between 1990-2090. i use this script, bt i could n't. please help me. thank u var date=/^\d{2}\/\d{2}\/\d{4}$/ if(document.userform.joindate.value.... View Questions/Answers

how to run a .exe file in jsp  February 21, 2012 at 2:14 PM
i want code for to run a .exe file in jsp ... View Questions/Answers

lOGIN according to der roles  February 21, 2012 at 2:11 PM
how to login a user according to roles and page will should be same content will be different ... View Questions/Answers

In servlet directory structure can we write more than one .html file parllerl to index.html and which way we can call another .html file inside the index.html file.  February 21, 2012 at 1:19 PM
In servlet directory structure can we write more than one .html file parllerl to index.html and which way we can call another .html file inside the index.html file. ... View Questions/Answers

highlight today's date  February 21, 2012 at 1:16 PM
How to highlight today's date in Java? ... View Questions/Answers

convert data format sql  February 21, 2012 at 12:56 PM
convert data format sql ... View Questions/Answers

add cookies to login form in jsp by using struts2.0 framework  February 21, 2012 at 12:28 PM
hi sir i implemented login.jsp page it include username and password field I used struts2.0 and hibernate3.0 and mysql database for login .jsp now i want to add cookies to above form please help me ... View Questions/Answers

return all rows mysql php  February 21, 2012 at 12:23 PM
How to find or return results that are not available in another table .. using join method in PHP and MYSql. ... View Questions/Answers

update mysql database  February 21, 2012 at 12:15 PM
update mysql database ... View Questions/Answers

nsdragoperation tableview  February 21, 2012 at 12:07 PM
nsdragoperation for IBAction or UITableView ... View Questions/Answers

nsdragoperation tableview  February 21, 2012 at 12:07 PM
nsdragoperation for IBAction or UITableView ... View Questions/Answers

thread runtime process  February 21, 2012 at 11:58 AM
Java thread runtime process ... View Questions/Answers

java protected variables  February 21, 2012 at 11:39 AM
Can we inherit the Java Protected variable..? ... View Questions/Answers

making use java image filters  February 21, 2012 at 10:44 AM
while making use any functions built in jerry's filter in java application i get a NullPointerException.. I dont know the reason for this.. please give me a solution for this ... View Questions/Answers

Employee Salaries  February 21, 2012 at 3:36 AM
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the sa... View Questions/Answers

Employee Salaries  February 21, 2012 at 3:36 AM
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the sa... View Questions/Answers

Employee Salaries  February 21, 2012 at 3:36 AM
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the sa... View Questions/Answers

Employee Salaries  February 21, 2012 at 3:36 AM
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the sa... View Questions/Answers

Employee Salaries  February 21, 2012 at 3:35 AM
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the sa... View Questions/Answers

Employee Salaries  February 21, 2012 at 3:35 AM
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the sa... View Questions/Answers

LOGIC  February 20, 2012 at 11:37 PM
hey guys..i have my exams coming in somedays and it would be really helpful if someone explained how to develop the logic of any program.. ... View Questions/Answers

LOGIC  February 20, 2012 at 11:37 PM
hey guys..i have my exams coming in somedays and it would be really helpful if someone explained how to develop the logic of any program.. ... View Questions/Answers

Java Struts  February 20, 2012 at 7:12 PM
Hi my name is arun I want to add country name into combo box from the database. I am using struts2 and want to use select tag of it on the JSP page. please help me with this. Thanks in advance. ... View Questions/Answers

Click On Images of Submit Button Perform Action  February 20, 2012 at 5:35 PM
I have login page in which insert of submit button i used image. Therefor on Click of image i have to validate form , link with database and goto the next page. ... View Questions/Answers

On Click on Submit Button Display Data on Orderlist  February 20, 2012 at 5:32 PM
How can retreive data from database on orderlist on Click on submit Button of same page. ... View Questions/Answers

profile page  February 20, 2012 at 4:16 PM
sir, i am beginer in php i am creating simple web site.i am creating login form.the user login he can any status,photo update.he can display in home pages in all user login.but problem in user goto profile page i want to display only status photo display.how can itis possible. i am using php ... View Questions/Answers

getting an error when set classpath  February 20, 2012 at 4:04 PM
Hello Everyone! i have used hssf model for reading excel sheet in my project & i have set classpath for that jar file but when i compile the program it will compile correctly but when i run it, it gives an error "could not find or load main" please help me..... ... View Questions/Answers

ResultSet  February 20, 2012 at 12:22 PM
I want to retrieve data of unknown datatype from database.how to do it using resultset or Resultsetmetadata.Can you please tell me what to write in the dashes specified. <%@page contentType="text/html" pageEncoding="UTF-8"%> <html> <h... View Questions/Answers

Binary tree  February 20, 2012 at 7:58 AM
a. Construct a method to implement a binary tree using an array. b. Implement the binary tree to store numbers in sorted order. ... View Questions/Answers

Database Connectivity  February 20, 2012 at 12:09 AM
I tried to establish database connection with sqlserver2008 through GlassFish server. When I set the path of sqljdbc.jar(E:\Glass Fish\glassfish-v2ur1\javadb\lib\sqljdbc.jar) it shows me error as " An error has occurred Class name is wrong or classpath is not set for:com.ddtek.jd... View Questions/Answers

jsf session  February 19, 2012 at 11:40 PM
How to maintain session in jsf login application? ... View Questions/Answers

jsf session  February 19, 2012 at 11:40 PM
How to maintain session in jsf login application? ... View Questions/Answers

pyramid  February 19, 2012 at 9:39 PM
How to get the code for the following pattern * * * * * * * * * * ... View Questions/Answers

pyramid  February 19, 2012 at 9:39 PM
How to get the code for the following pattern * * * * * * * * * * ... View Questions/Answers

compilation errors  February 19, 2012 at 9:18 PM
package jsptube.tutorials.servletexample; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest;... View Questions/Answers

hibernat frame work  February 19, 2012 at 4:20 PM
what is the deployment structure for 'hibernete.cfg.xml','contact.hbm.xml','Contact.java','FirstExample.java' programs into eclipse ide ... View Questions/Answers

Logic and Degin  February 19, 2012 at 2:22 PM
Need help in writing a pseudocode for this can so please help me with this just need to get started. In this lab, you are going to extend the Fireworks Checkout Stand application in Week 6. This week, we will be more efficient by using files and modularizing the program. This week, we wil... View Questions/Answers

java  February 19, 2012 at 12:46 PM
i need out put for prgm frnds........ import java.io.*; import java.util.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class ConvertPDFToTEXT { public static void main(String[] args) throws IOException { try { Document document = new Document(); document.o... View Questions/Answers

java applet  February 19, 2012 at 11:37 AM
I want code to implement (1) user will enter how many nodes (2)it should allow that no. of clicks and circle should be displayed at that position. ... View Questions/Answers

spring JEE module tutorial  February 19, 2012 at 10:48 AM
Hi, I want spring Jee module tutorial and spring ORM module tutorial plz send me.......................... ... View Questions/Answers

online shopping project  February 19, 2012 at 10:18 AM
Hi, i want online shopping project modules description and screens. ... View Questions/Answers

online shopping project  February 19, 2012 at 10:18 AM
Hi, i want online shopping project modules description and screens. ... View Questions/Answers

sample e-commerce project desc& screens  February 19, 2012 at 10:02 AM
Hi, I want Sample e-commerce project description and screens and registration, cataloge module...............plz send me. ... View Questions/Answers

i got an error while compile this program manually.  February 18, 2012 at 10:33 PM
import javax.servlet.http.*; import org.apache.struts.action.*; public class ActionOne{ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletRespon... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

Java and JSP help  February 18, 2012 at 8:41 PM
I have a website, on my website i have made a form which allows the user to enter a question, this question is then saved on a file, i have the following code: <html> <head> <title>JSP Form</title> <style> ... View Questions/Answers

project  February 18, 2012 at 8:00 PM
hi , we r working on one project related to our results. we using java and for back end sqlserver 2005. In dis we are trying to retrieve result from some site and store it in our data base so that we can perform operations such as calculating percentage, avg, comparing the results with previou... View Questions/Answers

Linear Regression  February 18, 2012 at 7:52 PM
hi........ Can u give me a simple code for Linear Regression in java swings????????? thanks in advance plz reply......... ... View Questions/Answers

code  February 18, 2012 at 3:19 PM
code for android sample program ... View Questions/Answers

how to use button in array  February 18, 2012 at 2:34 PM
plz tell me how to code for button in array, ... View Questions/Answers

how to add components (like button , checkbox etc) in a table column in core java  February 18, 2012 at 2:32 PM
plz tell me how to add components(like button, checkbox, radiobutton etc)in a table column in core java ... View Questions/Answers

the specified dsn contains an architecture mismatch between the driver and application windows 7  February 18, 2012 at 2:20 PM
sir, i m using windows 7 64-bit , 32-bit java version 7, ms office 2007 32-bit, so plz tell me how to resolve the following error--- the specified dsn contains an architecture mismatch between the driver and application ... View Questions/Answers

c++  February 18, 2012 at 1:59 PM
Write the definition of the class dayType that implements the day of the week in a program. The class dayType should store the day, such as Sunday for Sunday. The program should be able to perform the following operations on an object of type dayType: a. Set the day. b. Print the day. c. Return t... View Questions/Answers

C++  February 18, 2012 at 1:58 PM
. Consider the definition of the following class: class CC { public: CC(); //Line 1 CC(int); //Line 2 CC(int, int); //Line 3 CC(double, int); //Line 4 . . . private: int u; double v; }; ... View Questions/Answers

c++  February 18, 2012 at 1:57 PM
Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class ... View Questions/Answers

c++  February 18, 2012 at 1:56 PM
Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class ... View Questions/Answers

c++  February 18, 2012 at 1:56 PM
Characterize the following algorithm in terms of Big-O notation. for (int i = 1; i <= n; i++) for (int j = 1; j <= n; j++) for (int k = 1; k <= n; k++) cout << i + j + k ... View Questions/Answers

c++  February 18, 2012 at 1:55 PM
Characterize the following algorithm in terms of Big-O notation. Also find the exact number of additions executed by the loop. (Assume that all variables are properly declared.) for (int i = 1; i <= n; i++) sum = sum + i * (i + 1); ... View Questions/Answers

c++  February 18, 2012 at 1:54 PM
Consider the following function: int funcExercise7(int list[], int size) { int sum = 0; for (int index = 0; index < size; index++) sum = sum + list[index]; return sum; } ... View Questions/Answers

binding data with textbox on dropdown click  February 18, 2012 at 10:47 AM
Hello friends,Divyesh here. i have jsp page and i would like to bind data with text box on dropdown click. in dropdown employee id are load.and when we select perticular id than how to display all information of perticular id in text box.. pls reply me as soon as possible. ... View Questions/Answers

download file Error in struts2 action class  February 18, 2012 at 10:16 AM
Hi, i am using bellow block of code for download file : public void downloadGreeting(String filename,HttpServletRequest request, HttpServletResponse response){ String strPrefix = System.getProperty("astsoundsfolderoriginal"); F... View Questions/Answers

unable to display image using html tag in servlet.(image src is in a variable.....). i am using netbeans IDE. plz..........do help  February 17, 2012 at 11:33 PM
import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javazoom.upload.MultipartFormDataRequest; import javazoom.uploa... View Questions/Answers

how to write quesry results into spread sheet  February 17, 2012 at 10:27 PM
Hello sir/madam, I need a solution/code for the below scenario. In jsp, based on the date range selection we need to pull the records from the table and to write into spreadsheet and pop up the spread sheet in the jsp to save option. thanks ... View Questions/Answers

java  February 17, 2012 at 8:56 PM
how to determine the bandwidth utilization for nodes(system) using java. ... View Questions/Answers

how can i do group tagging in portlet factory  February 17, 2012 at 7:10 PM
how can i do group tagging in portlet factory ... View Questions/Answers

add XMl to JTable  February 17, 2012 at 6:23 PM
Hi.. i saw the program of adding add XMl to JTable using DOM parser,but i need to do that in JAXB ,is it possible to do? help me .. ... View Questions/Answers

Error in using jstl tags  February 17, 2012 at 5:31 PM
I'm trying to use jstl tags in jsp.i've included the jstl.jsr file in lib folder of my project and also written the foll. tag statement in jsp page <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> but still i'm getting the error "CANNOT FIND THE TAG LIBRARY DESCR... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:10 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:10 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:09 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:09 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:09 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

dynamic query  February 17, 2012 at 5:07 PM
DECLARE QUERY VARCHAR2(32767); FIN_QUERY VARCHAR2(32767); CURSOR C IS (select distinct PORTFOLIO from MPE_TEST1); CURSOR C2 IS SELECT DISTINCT PORTFOLIO_LEVEL, PORTFOLIO FROM MPE_TEST1 ORDER BY PORTFOLIO_LEVEL; TYPE ARRAY IS TABLE OF VARCHAR2(50... View Questions/Answers

DMCA.com