Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Autoupdating graph  February 26, 2012 at 1:02 AM
Hey Anyone who might help me making a XY graph, that autoupdates lets say every 5th minute. All the datasets comes from an mySQL database, and the dataset in the database, comes from a txt file and are being transmitted every 4th minute Frank ... View Questions/Answers

cache refresh after 24 hours  February 26, 2012 at 12:47 AM
I have developed an application which uses websphere application server 6.1 which needs to query the database(oracle) after every 24 hours periodically.But it is not getting executed properly because I am getting dataaccess exception.I am using connection pool and spring jdbc.I wonder why is this... View Questions/Answers

SQL Releted Quastion  February 25, 2012 at 7:57 PM
Hi Sir How to Improve Select Query Performance please explain with examples ... View Questions/Answers

Advertisement

correct the sql error  February 25, 2012 at 6:26 PM
i am getting a SQL Error while retriving data from access to jframe called "datatype mismatch in criteria expression" plez do help me and studentId's datatye is number...... private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handl... View Questions/Answers

programs  February 25, 2012 at 3:19 PM
define SQ(x)x*x main() { int a=SQ(2+1); printf("%d",a); }... View Questions/Answers

programs  February 25, 2012 at 3:17 PM
define SQ(x)x*x main() { int a=SQ(2+1); printf("%d",a); }... View Questions/Answers

To create a shopping cart  February 25, 2012 at 2:21 PM
I want to create a online shopping cart using struts and hibernate. I created my first page. Now i want to provide hyperlink to the product like(apparel,jewellery,foods,utensils) and i want to display the price and tax of each product(it can be a popup window also) , also i want to add the total ... View Questions/Answers

how to add audio clip in swings with event handling  February 25, 2012 at 2:06 PM
hello dear, i wanna to play audio clip in java program in JFrame in swings by event handling ,it should be like when i click on a button , audio clip should play , plz tell me how it can be done...... thanks alot ... View Questions/Answers

SQLException caught: No data found  February 25, 2012 at 2:02 PM
i m using ms office 2010, n when i run my source code it is giving error SQLException caught:No data found, plz help me why i am getting this exception, thanks alot, my source code is as : import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import... View Questions/Answers

turbo C Question 4.  February 25, 2012 at 1:37 PM
Possible to print the following (Using for Loops): 1. * ** 2.* * ** * * * * ... View Questions/Answers

turbo C Question 4.  February 25, 2012 at 1:37 PM
Possible to print the following (Using for Loops): 1. * ** 2.* * ** * * * * ... View Questions/Answers

php query  February 25, 2012 at 1:16 PM
i have a basic index and a login.php page in the web root , but i would like to place it in some other folder .. what modifications do i need to do in index page ? ... View Questions/Answers

Alternative for document.write()  February 25, 2012 at 11:45 AM
Can somebody help me in converting document.write "<applet code="TestApplet2.class"></applet>" into a document.createElement() way? because firfox extension is not allowing for document.write()... View Questions/Answers

equals and hashcode  February 25, 2012 at 10:47 AM
Could you please explain me why equals and hashcode methods to override? and which implementations should override these methods? give me an example... ... View Questions/Answers

Application Variable  February 25, 2012 at 8:36 AM
I have multiple JSP's that are connected to a Database specifically MSSQL, I connect to the DB using a property file containing the necessary data to establish a connection.. In every page I have to call the property file and repeatedly extract the data from the property file.. Can anyone show a ... View Questions/Answers

Submit button to MySQL database?  February 25, 2012 at 3:15 AM
Need help linking html code to mysql database <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <p> <font size="... View Questions/Answers

Submit button to MySQL database?  February 25, 2012 at 3:11 AM
Need help linking html code to mysql database <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <p> <font size="... View Questions/Answers

Flow control of hibernate application..  February 25, 2012 at 12:29 AM
Hello Roseindia team, Please provide flow control of hibernate application.. i.e when it goes to mapping file? when it goes to DAO's? when it goes to hibernate config files?? etc... Thank you for seeing & replying in advance... Mohammed Vaseem ... View Questions/Answers

how to connect java with ms access using odbc in eclipse  February 25, 2012 at 12:23 AM
import java.sql.*; class AccessDatabase{ public static void main(String[] args){ try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //Connection con = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.... View Questions/Answers

deleting messages using checkbox in JSP  February 24, 2012 at 11:32 PM
Am working on a Mail Server Project. In that I have Inbox And Outbox Messages. Now Each and Every message is deleting correctly in my project. But Problem occurs when i use to delete the last message left in both in/out box. i have done the validations which says an alert while i directly click o... View Questions/Answers

deleting messages using checkbox in JSP  February 24, 2012 at 11:32 PM
Am working on a Mail Server Project. In that I have Inbox And Outbox Messages. Now Each and Every message is deleting correctly in my project. But Problem occurs when i use to delete the last message left in both in/out box. i have done the validations which says an alert while i directly click o... View Questions/Answers

for loop  February 24, 2012 at 10:03 PM
hai, I need to write java program to print numbers in "X" format ... View Questions/Answers

multiple language selection  February 24, 2012 at 9:25 PM
Hi how can i do a java program using swing that changes the language like malayalam/tamil etc with languages on a drop down menu ... View Questions/Answers

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

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

DMCA.com