Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Blocking a user when he enters his password worng for three times ??  February 24, 2012 at 8:20 PM
I have a login page called login.jsp and a login validation servlet Loginval.java. And i want add more security to my login page such as if any user enters his password wrong foe three times .. his account should be block for a day ? how can that be done using java ? please help .. ... View Questions/Answers

Code to STOP Students from navigating anywhere else till the Online exam is over  February 24, 2012 at 8:19 PM
hi guys i am a final year student of engineering and i am working on an ONLINE EXAMINATION SYSTEM just like GATE, GRE usually used by prometrics. now i am come across one problem, i want that during the exam the student is not able to navigate(can't open anything else just work on test) anywhere ... View Questions/Answers

java  February 24, 2012 at 7:09 PM
hello sir i want to print this pattern: 0 10 010 0101 ... View Questions/Answers

Advertisement

java  February 24, 2012 at 7:08 PM
hi i need java program to print this : 1 22 333 4444 ... View Questions/Answers

modulo operator  February 24, 2012 at 6:37 PM
evaluate 4+2%-8 ... View Questions/Answers

struts - hibernate doubt  February 24, 2012 at 6:26 PM
Hello. I'm developing a web application using Struts 1.0 and Hibernate (I'm a beginner). I've been reading your web and I've seen that in the Struts Action methods you use an Hibernate Plugin in this way: public ActionForward myMethod (.......){ ServletContext context = re... View Questions/Answers

hi RoseIndia why there is not Fackbook Like button on your webpage?  February 24, 2012 at 6:12 PM
hi RoseIndia why there is no Fackbook Like button on your webpage? That's the only prob in your problem. Others are excellent.... ... View Questions/Answers

how to convert a jar file into .exe file  February 24, 2012 at 4:51 PM
hi, I want convert my jar file into executable file,urgently please help me ... View Questions/Answers

unable to run servlet  February 24, 2012 at 4:20 PM
Dear sir/madam i have jdk1.5.0_04 and tomcat server 1.0.16 installed on my computer. on my computer servlet is compiling properly on command prompt but during servlet execution on browser with following url: http://localhost:8080/webdir/servlet/helloworld. it giving error like : HTTP Status 404 -... View Questions/Answers

How to use Apache POI?  February 24, 2012 at 3:36 PM
Can anyone tell me how to use Apache POI??I went through http://poi.apache.org/ but cannot understand anything.I don't know how to implement.Please help me out. ... View Questions/Answers

jdbc connectivity through jsp  February 24, 2012 at 2:53 PM
my code: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="java.sql.*"%>... View Questions/Answers

Send Image Value to Servlet  February 24, 2012 at 2:19 PM
hiiii In my html page i use input type=image src="" value="" name="" how to send this image value to servlet plz be inform me anybody ... View Questions/Answers

Servlet sending image  February 24, 2012 at 2:18 PM
hiiii In my html page i use how to send this image value to servlet plz be inform me anybody ... View Questions/Answers

sms functionality  February 24, 2012 at 1:38 PM
i want to implement sms functionality in web site for sending as well as receiving.i am using jsp and xamp as backend.please guide me.. ... View Questions/Answers

A few questions related to developing a blog....can anyone please help me out??  February 24, 2012 at 1:15 PM
I am trying to develop a project which is almost like a blog using jsp.I have a few questions.... Can anyone tell me if we can insert images inside textarea??Like we do it in blogspot.Right click and paste the image??If it is possible then how is it done?? If we can insert ... View Questions/Answers

String  February 24, 2012 at 1:04 PM
can u resolve anybody my problem is how to remove duplicate characters in string? ... View Questions/Answers

java  February 24, 2012 at 11:46 AM
hai.write a java program to display 10*10 multiplication table. ... View Questions/Answers

java  February 24, 2012 at 10:00 AM
hello, i need a java program to print the nos in this manner a) 1 12 123 1234 ... View Questions/Answers

how to send sms from my website to mobile of particular user.  February 23, 2012 at 11:24 PM
i had created a website and aim of pjt is whoever the client register for site with their mobile number daily one health tip is to sent to their respective mobiles.. so can u tell the process and how to implemnt this using java....???? ... View Questions/Answers

File Upload is working in FireFox & Chrome but not in IE7 using java & jquery  February 23, 2012 at 6:11 PM
Hi, I have a form which is called on my button click "Upload a file" and shows dialogue to select the file.After that I am calling Jquery function to upload that file.In my jquery I am calling a servlet for upload.The code works fine at FireFox & Chrome,but when I t... View Questions/Answers

Encryption Decryption  February 23, 2012 at 5:50 PM
I want to store a type string to my database, specifically MSSQL, I want the stored data in the database to be encrypted and I want to retrieve it in it's decrypted format. I am using JSP's, I want to encrypt user input on one jsp and retrieve it, decrypted, on another jsp for viewing and record... View Questions/Answers

string program  February 23, 2012 at 4:31 PM
write a program to print the pattern p r o program r a m ... View Questions/Answers

calling servlet from JS and return response from servlet to JS  February 23, 2012 at 3:27 PM
hello all, I am working on JSP-servlets n MVC.I am facing a problem. on the web page when user clicks on a button i am calling a javascript function(eg myFunc) which inturn calls a servlet(myServlet).servlet performs some DB related task.now i want this servlet(myServlet) to re... View Questions/Answers

convert date time to int  February 23, 2012 at 2:31 PM
convert date time to int ... View Questions/Answers

using for loop  February 23, 2012 at 1:25 PM
what will be the source code of the program that the output will be printing all numbers that is divisible by 3 and 5 sample output: 3 is divisible by 3 5 is divisible by 5 6 is divisible by 3 9 is divisible by 3 10 is divisible by 5 12 is divisible by 3 15 is divisible by 3 15 is divisib... View Questions/Answers

create a web application using java dat accepts 10 relevant tweets frm twitter in real time for dat keyword  February 23, 2012 at 1:11 PM
create a web application using java dat accepts 10 relevant tweets frm twitter in real time for dat keyword ... View Questions/Answers

create a web application using java dat accepts 10 relevant tweets frm twitter in real time for dat keyword  February 23, 2012 at 1:11 PM
create a web application using java dat accepts 10 relevant tweets frm twitter in real time for dat keyword ... View Questions/Answers

get textfield value in javascript  February 23, 2012 at 12:59 PM
How to get and the set value of text field in JavaScript? ... View Questions/Answers

how to use a single web page multiple functionaliteies  February 23, 2012 at 12:42 PM
i have a web page in that according to user role functionality should be varies/changes but page should be common for every user & functionality..my moto is to reduse the web pages & code... ... View Questions/Answers

how to use a single web page multiple functionaliteies  February 23, 2012 at 12:42 PM
i have a web page in that according to user role functionality should be varies/changes but page should be common for every user & functionality..my moto is to reduse the web pages & code... ... View Questions/Answers

how to use a single web page multiple functionaliteies  February 23, 2012 at 12:42 PM
i have a web page in that according to user role functionality should be varies/changes but page should be common for every user & functionality..my moto is to reduse the web pages & code... ... View Questions/Answers

how to use a single web page multiple functionaliteies  February 23, 2012 at 12:42 PM
i have a web page in that according to user role functionality should be varies/changes but page should be common for every user & functionality..my moto is to reduse the web pages & code... ... View Questions/Answers

how to use a single web page multiple functionaliteies  February 23, 2012 at 12:42 PM
i have a web page in that according to user role functionality should be varies/changes but page should be common for every user & functionality..my moto is to reduse the web pages & code... ... View Questions/Answers

how to use a single web page multiple functionaliteies  February 23, 2012 at 12:42 PM
i have a web page in that according to user role functionality should be varies/changes but page should be common for every user & functionality..my moto is to reduse the web pages & code... ... View Questions/Answers

convert current date into date format  February 23, 2012 at 12:34 PM
How to get current date and convert into date format in Java or PHP? ... View Questions/Answers

java native implementation  February 23, 2012 at 12:28 PM
What is java native implementation..? ... View Questions/Answers

validating web pages  February 23, 2012 at 12:22 PM
How to validate HTML web pages..? ... View Questions/Answers

dynamic web pages in html  February 23, 2012 at 12:19 PM
How to create Dynamic web pages in HTML? ... View Questions/Answers

timer using javascript  February 23, 2012 at 12:03 PM
How to display timer on HTML page using JavaScript..? ... View Questions/Answers

javascript inheritance framework  February 23, 2012 at 11:53 AM
javascript inheritance framework ... View Questions/Answers

calculate milliseconds to hh mm ss  February 23, 2012 at 11:39 AM
how to calculate milliseconds to hh mm ss ? Actually i wanted to calculate week days and hours from milliseconds..? ... View Questions/Answers

Binary search tree (insertion) urgent!!  February 23, 2012 at 11:13 AM
Create a program to construct a binary search tree consisting of nodes that each stores an integer in Java.Avoid duplication of values when inserting nodes in the tree. When a new leaf node is created list all the nodes in the path from the newly added leaf node to the root of the tree. It is... View Questions/Answers

How to change functionlatiy in web page  February 23, 2012 at 10:11 AM
i need to change functionality of my web page..i came to know that by using collections it is possible..but i dont know how to use it...is any other way to change functionality of my web apage ... View Questions/Answers

jsp  February 23, 2012 at 9:45 AM
In any jsp all implicit objects are available directly, in such a case why we need PageContext object again? ... View Questions/Answers

Java Applet  February 22, 2012 at 11:32 PM
Hi, I have a query, on every mouse click an oval should be drawn. But in my program I have used repaint() function, therefore previous oval gets erased.How to avoid this so that I get more than one oval. PFB code snippet of my pgm: public void mouseClicked(MouseEvent m) {... View Questions/Answers

Java Applet  February 22, 2012 at 11:31 PM
Hi, I have a query, on every mouse click an oval should be drawn. But in my program I have used repaint() function, therefore previous oval gets erased.How to avoid this so that I get more than one oval. PFB code snippet of my pgm: public void mouseClicked(MouseEvent m) {... View Questions/Answers

Question about "Insert text file data into Database"  February 22, 2012 at 9:11 PM
Hey I was reading the tutorial "Insert text file data into Database", (awesome btw), and noticed that both a FileInputStream, a DataInputStream and a BufferedReader. Is it really necessary with all these 3? Regards Frank ... View Questions/Answers

video  February 22, 2012 at 8:50 PM
I need code for creating video chatting in a webpage.Can you send me the code related to that or API. ... View Questions/Answers

highlight menu item html  February 22, 2012 at 6:11 PM
highlight menu item in html or CSS ... View Questions/Answers

dynamic image change javascript  February 22, 2012 at 6:05 PM
How to display images in JavaScript dynamically..? ... View Questions/Answers

refresh checkbox jframe  February 22, 2012 at 6:03 PM
How to refresh checkbox button in JFrame .? ... View Questions/Answers

how to run a vlc player in jsp  February 22, 2012 at 5:54 PM
how to run a vlc player in jsp ... View Questions/Answers

writing a text into text file at particular line number  February 22, 2012 at 5:28 PM
Hi, thanks for quick response, I want to insert text at some particular line number.. after line number four my text will display in text file using java program ... View Questions/Answers

writing a text into text file at particular line number  February 22, 2012 at 5:28 PM
Hi, thanks for quick response, I want to insert text at some particular line number.. after line number four my text will display in text file using java program ... View Questions/Answers

writing a text into text file at particular line number  February 22, 2012 at 5:16 PM
Hi, thanks for quick response, I want to insert text at some particular line number.. after line number four my text will display in text file using java program ... View Questions/Answers

calculate size of array  February 22, 2012 at 5:00 PM
Is it possible to calculate the size of array using pointers in Java? ... View Questions/Answers

inserting text into text file using java application  February 22, 2012 at 4:58 PM
Hi, I want to insert a text or string into a text file using java application ... View Questions/Answers

pointer error java  February 22, 2012 at 4:58 PM
How to catch null pointer errors in java if the if(value != null) or null. ... View Questions/Answers

sorting array in java  February 22, 2012 at 4:48 PM
How to sort array in Java or JavaScript? ... View Questions/Answers

How create an overlay button on different containing div  February 22, 2012 at 4:43 PM
How to create an overlay button on different containing div ... View Questions/Answers

if statement in php  February 22, 2012 at 4:05 PM
Correct way of writing if statement in PHP. ... View Questions/Answers

Java deadlock prevention  February 22, 2012 at 3:50 PM
preventing from deadlock in Java ... View Questions/Answers

connectivity  February 22, 2012 at 2:32 PM
how to connect java with database ... View Questions/Answers

static object array  February 22, 2012 at 2:26 PM
static object array ... View Questions/Answers

recording data database  February 22, 2012 at 2:11 PM
How to record data in DB Table..? ... View Questions/Answers

fetch data from database in javascript  February 22, 2012 at 1:29 PM
How to fetch data from database in JavaScript when it is a leap year..? ... View Questions/Answers

java  February 22, 2012 at 11:53 AM
what is java ... View Questions/Answers

Wicket  February 22, 2012 at 11:39 AM
Can any one tell me how to link Homepage.html from .html in wicket. Thnx. ... View Questions/Answers

How can I POST form data from a C#/ASP.NET to a remote website?  February 22, 2012 at 11:25 AM
I'm trying to send data to a remote PHP website. I want to send the data in sessions using HTTP POST. The thing is, my website is built in C#/ASP.NET, and I don't know how to send my data via POST to this remote PHP website. (Also note: the POST data I'm trying to send also contains a file upload... View Questions/Answers

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

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

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

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

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

DMCA.com