Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to move a file from a directory to other directory  January 27, 2012 at 10:49 AM
I tried the above example it will move the folder to other directory but it does not move the image file or other file to a specified directory. Can anyone help me? Thanks in advance ... View Questions/Answers

database  January 27, 2012 at 9:25 AM
i need to insert time in my database. i need a code to insert time in my database. its very urgent!! ... View Questions/Answers

program not compiling  January 27, 2012 at 1:49 AM
Hello can you help me with this program,I am trying to add a loop at the end of the program but it is not compiling,thank you. import java.util.*; import java.text.*; class HardwareItems { String code; String description; double price; HardwareIt... View Questions/Answers

Advertisement

Java  January 27, 2012 at 1:34 AM
I need a code to add two radio buttons in which one button is selected by default in JSP. Those are Sysmex amalyzer and system analyzer. Please required urgently ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

Time series sorce code  January 26, 2012 at 4:48 PM
hi.......... I want to show the output of my project as time series. Can u give me a simple code for time series. Where i amble able to put on x-axis the date and y-axis the range.? I require the time series forecasting the future......... source code in java swings. ? plz... View Questions/Answers

Time series sorce code  January 26, 2012 at 4:48 PM
hi.......... I want to show the output of my project as time series. Can u give me a simple code for time series. Where i amble able to put on x-axis the date and y-axis the range.? I require the time series forecasting the future......... source code in java swings. ? plz... View Questions/Answers

To store value in session & display it  January 26, 2012 at 4:37 PM
Hello..I m trying to run the following code which will store the session of a book selected on click of the button.But first it was showing NullPointerException and then blank page..Please Help me in this.. This is the JSP Page <html> <h... View Questions/Answers

software  January 26, 2012 at 3:04 PM
Please, Give me sample program for, How to view image on Frame in swing(or)awt(or)applet in Java. (give sample program graduates ... View Questions/Answers

session into a query  January 26, 2012 at 3:03 PM
Hi all this am Sreedhar from Hyderabad i am calling one session variable in mysql query but its not working can any one help me please... here is the query.. $query = 'SELECT * FROM post WHERE post_date < "'.$as.'" and posttitle like "%$SESSION['qs']%" ORDER BY post_date DESC... View Questions/Answers

Software graduates please tell me,  January 26, 2012 at 2:58 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

Software graduates please tell me,  January 26, 2012 at 2:58 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

software  January 26, 2012 at 2:53 PM
Please, How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

JAVA QUESTION  January 26, 2012 at 2:38 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

JAVA QUESTION  January 26, 2012 at 2:38 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

JAVA QUESTION  January 26, 2012 at 2:38 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

Deployment on apache tomcat 7.0.14.0  January 26, 2012 at 2:00 PM
Hi guys, Sorry but im not speeking english well. During developement , I deploy my app(with the context path : /EasyOrdo.) directly on netbeans, who use this tomcat version, integrated, on port 8084. but I have one another apache tomcat with what I deply others apps that I download, or something ... View Questions/Answers

Deployment on apache tomcat 7.0.14.0  January 26, 2012 at 2:00 PM
Hi guys, Sorry but im not speeking english well. During developement , I deploy my app(with the context path : /EasyOrdo.) directly on netbeans, who use this tomcat version, integrated, on port 8084. but I have one another apache tomcat with what I deply others apps that I download, or something ... View Questions/Answers

question  January 26, 2012 at 12:53 PM
Q2.WAP to convert a octal number into BCD? ... View Questions/Answers

I am creating one jsp page in which I read in a text file, then display that data in tabular format. Now I need to calculate a total.  January 26, 2012 at 12:07 PM
I am reading the file using BufferedReader, then writing the output like this: String fileName = "C:\\M2011001582.TXT"; BufferedReader is = new BufferedReader(new FileReader(fileName)); int lineCount=1; String fileData = ""; out.println("<table ... View Questions/Answers

java  January 26, 2012 at 10:29 AM
can an abstract method be implemented in other class without using extends keyword? ... View Questions/Answers

about array in java  January 26, 2012 at 9:20 AM
speed of a vehicle is measured using the total time and the distance by using the equation given bellow speed(km/hour)=distance(km)/time(hour) Each vehicle is given a unique identification number and the corresponding times are stored in terms of hours. Distance between two cities is 200km and th... View Questions/Answers

accessor arrayList  January 26, 2012 at 2:02 AM
how to use an acccessor to return an arraylist? ... View Questions/Answers

How to create dynamic buttons for adding products on a cart.  January 26, 2012 at 12:17 AM
Hi. I have some problems creating a page to add items into a cart. The page loads dynamic products from a database, and i would like to know how to group this products so that when i click a button, my CartBean gets updated by that product clicked. here, my xhtml page. ... View Questions/Answers

Shannon Entropy Calculation  January 25, 2012 at 11:32 PM
Hi, Can anyone help me to calculate shannon entropy without using Hashmap? ... View Questions/Answers

laxminarayana  January 25, 2012 at 6:17 PM
what is scheduling ... View Questions/Answers

pngcrush caught libpng error not a png file  January 25, 2012 at 4:32 PM
What is " pngcrush caught libpng error not a png file " error that occurs while running my app in simulator? ... View Questions/Answers

XML parsing to Mysql database  January 25, 2012 at 3:14 PM
Can someone please post the code for parsing an XML file into Mysql database using SAX? ... View Questions/Answers

web page reading in java  January 25, 2012 at 2:39 PM
i wanna read webpage in that i want to get the data from the particular tags like (,) and store into the data base...... can any body tell me the solution? plz urgnt. thanks and regards, jasti ... View Questions/Answers

load more with jquery  January 25, 2012 at 12:17 PM
i am using jquery to loadmore "posts" from my site as pagination like twitter... it's working for all posts in my table but it's not working for filtering table.. means if i am entering "php" in my search box its is going to display php posts and after that when i click on load more button it i... View Questions/Answers

Opening Notepad  January 25, 2012 at 11:27 AM
Sir/madam I want to open notepad from java applications and save the contents on it. Can someone please help me to do this. With Regards Vaishnavi Vishwanath ... View Questions/Answers

Java search from sqlservr  January 25, 2012 at 3:06 AM
Hi I am a newbie to java . I know there are a lot of example on search functionality from Db , but can some please help me to implement search functionality where sql server is backend. Thanks ... View Questions/Answers

how to call the print dialog box through JMenuItem  January 24, 2012 at 8:28 PM
What is the way to call the print dialog box through JMenuItem to print the current page...could you please help me by sending code for this?.. ... View Questions/Answers

jsp and struts  January 24, 2012 at 6:00 PM
What is the difference between jsp and struts? Does struts use jsp? ... View Questions/Answers

How to write more than 65536 rows in single excel file but more than 1 sheets?  January 24, 2012 at 3:27 PM
Hi, i want to write more than 65536 rows in single excel file but more than 1 sheets.. now i can write only less than 65536 rows.. but in my office db having more than 1 crore data.. pls help me... here is my code.. public class ExcelInterface extends JFrame implemen... View Questions/Answers

JAVA assignment  January 24, 2012 at 1:24 PM
Is there any1 on this site who can write a java program given a problem statement? any help would be appretiated. ... View Questions/Answers

Website deployment on LAN  January 24, 2012 at 12:57 PM
I have created a dynamic website in netbeans. Now i have to host the website on LAN so that by typing the URL of the project the users are able to view the content from their end. I have no idea as to how i should go about it. I also have a database in Access 2007 at the backend. Plz guide me ste... View Questions/Answers

REGISTRATION OF MBEAN  January 24, 2012 at 12:19 PM
my question is... i have installed jboss, and created a managed Bean(MBEAN)and provided interface and everything. but i dont know whether the service registerd in jmx or not. please suggest me the steps to register a MBEAN in MBEAN SERVER USING JBOSS? ... View Questions/Answers

How can i Dispose Dialog box From LWUIT Component >  January 24, 2012 at 12:10 PM
Hi All, i am Developing one mobile application using lwuit,Midlet.in that am trying to show a dialog when i press key "0". again if i press key "4" the Dialog should be closed.i leave My sample Code Here.go through and let me know the error.Dialog is showing but after i press key 4, th... View Questions/Answers

declare a variable that will store an array of 5 objects  January 24, 2012 at 11:05 AM
Q7. Give a declaration for a variable that will 'store' an array of 5 Card objects. this is my segment: list = new int[5]; I don't know if it is right or wrong. So, kindly could you help me to be a master of Java I would be appreciate it.... View Questions/Answers

Combobox jsp from 0 to 10  January 24, 2012 at 10:43 AM
Hi guys please help me to write a very easy program using jsp to display value in combobox from 0 to 10. How to write the for loop? Please help.Thank!!! ... View Questions/Answers

Count number of characters in a column.  January 24, 2012 at 3:04 AM
I just need you suggestions. Am from Biology Back ground. I just need to find out number of characters in a column i.e, if i have a file with text in this manner ACGT GCTA GCTA i need to count characters in 1st, 2nd, 3rd columns seperatly and also print flase if i found any other characters othe... View Questions/Answers

please help me solve this problem when i am create database connection using servlecontext  January 24, 2012 at 1:05 AM
hi... I have create a database connection using servletcontext . in this code when i login first time it will exceute sucessfully but when i use again the same page it will throw sql exception but i don't understand what is the problem .... the code are as follows. the servle... View Questions/Answers

Dependant & dynamic drop down list - Follow up  January 23, 2012 at 11:03 PM
Thanks for your answer. As per your answer This will select only ONE row (country) from first drop down. In my case user can choose more than one row , which is then sent to next jsp for extract. How to achieve this ? ... View Questions/Answers

Populate a combo box using data from a database  January 23, 2012 at 10:28 PM
Hi Guys, In need of some help, so i have three combo boxes, the first is supplier, the second range and the final model so what should happen is the user selects the first combo box which will then load the next combo box values, now i know how to populate the first one, and t... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

code to alert when no checkbox is selected and verify them with orther set  January 23, 2012 at 7:47 PM
Hi Guys,I will be very happy if you solve this, I have two lists of checkboxes in the same jsp page , the list names are "attendess" and "Absentees".. Now i need a code to throw alert whenc there is no check box selected under the list Attendees and also alert me when the user checks same name u... View Questions/Answers

Logic and desgin  January 23, 2012 at 7:35 PM
How would this be put in visual logic symbol? ... View Questions/Answers

in my project, i have to add only vertical scrollbar to a panel,but not horizontal scrollbar. i need some example on it,how to doit.  January 23, 2012 at 7:05 PM
in my project, i have to add only vertical scrollbar to a panel,but not horizontal scrollbar. i need some example on it,how to doit. Thanks in advance ... View Questions/Answers

Asp.net with C#  January 23, 2012 at 7:04 PM
Autopopulate values into textbox from database on pressing tab ... View Questions/Answers

Lock while inserting/updating database in multithreaded.  January 23, 2012 at 5:11 PM
Hi, I am having a multithreaded process which replicates the data from many table to one table. My process runs on 4 threads and all are having different connection sessions. I am also handling transaction in such a way that I commit at the end of each transaction and rollback at the time... View Questions/Answers

insert rows from Excel sheet into a database by browsing the file  January 23, 2012 at 3:41 PM
hello, I am trying to insert rows from Excel sheet into SQL database by browsing Excel file in java(JSP). I can insert rows using ODBC connetion. But using odbc user should give DSN in program. I need to insert rows by Browsing file to make it user friendly.i.e user should browse the existing exc... View Questions/Answers

rate and review app iphone  January 23, 2012 at 3:37 PM
How to rate and review app in iphone? ... View Questions/Answers

Logic and Design  January 23, 2012 at 1:30 PM
Please help me with this Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month. (example: This is the 1st month¦January, This is the 2nd month¦February, This is the 12th month¦December). Thanks ... View Questions/Answers

how to highlight the field in image,when i have entered into that corresponding field's textbox-any one help out  January 23, 2012 at 12:58 PM
how to highlight the field in image,when i have entered into that corresponding field's textbox. Here webpage consist of a jpeg image on the top and below that image fields(text boxes) exist. Note:This is used to compare the scan copy image fields with html textboxes(below image) ... View Questions/Answers

Column count doesn't match value count at row 1  January 23, 2012 at 12:04 PM
Column count doesn't match value count at row 1 UPDATE user_profile SET id=[value-1],user_id=[value-2],full_name=[value-3],mobile_phone=[value-4],hide_email_id=[value-5],hide_mobile_num=[value-6],... View Questions/Answers

java interfaces  January 23, 2012 at 12:02 PM
sample code for multiple interface ... View Questions/Answers

Java  January 23, 2012 at 10:56 AM
I have a big problem i have to convert excel file into data base through java?? so please suggest me java code. ... View Questions/Answers

Java  January 23, 2012 at 10:56 AM
I have a big problem i have to convert excel file into data base through java?? so please suggest me java code. ... View Questions/Answers

Java  January 23, 2012 at 10:54 AM
Hoe to convert excel file into postgrey database?? ... View Questions/Answers

Validation  January 23, 2012 at 12:39 AM
I am developing a standalone application which requires me to save the email id and contact number (mobile number) in a database (MySQL). How do i perform a check using JAVA on the data before storing it in the database? PLEASE HELP!!!!! ... View Questions/Answers

JSF error  January 22, 2012 at 9:20 PM
some of the users are not able to update the db. getting the error "An Error Occurred: Error calling action method of component with id CreateorManageOffer:jidjsp134312524923 Caused by: java.lang.NullPointerException - Couldn't udpate existing offer/route" even... View Questions/Answers

IPhone-UIPicker Data to TextField  January 22, 2012 at 8:26 PM
When I select the textfield, a picker view must come in form of action sheet and the data selected from that picker view must be populated in the text field. can anyone help me on this please.? ... View Questions/Answers

tree  January 22, 2012 at 6:48 PM
hi.i want search in bstree . what am i doing? ... View Questions/Answers

can't read my xml file in java  January 22, 2012 at 5:39 PM
i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C_NAME>Customer#000000001</C_NAME> <C_ADDRESS>IVhzIApeRb ot,c,E</C_ADDRESS> <C_NATIONKEY>15</C_NATIONKEY> <... View Questions/Answers

can't read my xml file in java  January 22, 2012 at 5:39 PM
i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C_NAME>Customer#000000001</C_NAME> <C_ADDRESS>IVhzIApeRb ot,c,E</C_ADDRESS> <C_NATIONKEY>15</C_NATIONKEY> <... View Questions/Answers

can't read my xml file in java  January 22, 2012 at 5:39 PM
i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C_NAME>Customer#000000001</C_NAME> <C_ADDRESS>IVhzIApeRb ot,c,E</C_ADDRESS> <C_NATIONKEY>15</C_NATIONKEY> <... View Questions/Answers

can't read my xml file in java  January 22, 2012 at 5:39 PM
i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C_NAME>Customer#000000001</C_NAME> <C_ADDRESS>IVhzIApeRb ot,c,E</C_ADDRESS> <C_NATIONKEY>15</C_NATIONKEY> <... View Questions/Answers

can't read my xml file in java  January 22, 2012 at 5:39 PM
i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C_NAME>Customer#000000001</C_NAME> <C_ADDRESS>IVhzIApeRb ot,c,E</C_ADDRESS> <C_NATIONKEY>15</C_NATIONKEY> <... View Questions/Answers

can't read my xml file in java  January 22, 2012 at 5:39 PM
i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C_NAME>Customer#000000001</C_NAME> <C_ADDRESS>IVhzIApeRb ot,c,E</C_ADDRESS> <C_NATIONKEY>15</C_NATIONKEY> <... View Questions/Answers

HTML  January 22, 2012 at 12:12 PM
actually what is a static page and dynamic page? and also what is the difference between these two? ... View Questions/Answers

checking the data  January 22, 2012 at 12:08 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Html  January 22, 2012 at 11:46 AM
can we send data from one html page to another html page? if yes how? ... View Questions/Answers

Collection  January 22, 2012 at 11:42 AM
actually why do we need collections? means we can also store group of objects in relational data base and dbms also provides all the operatoins insert,delete,update,sort,search etc. then why collection? ... View Questions/Answers

how to sort the result of this 2 class program in java.....????  January 22, 2012 at 8:22 AM
package setget1_method; import java.util.Scanner; public class Main { { { Scanner input = new Scanner(System.in); LBook[] book = new LBook[5]; String title, author; int numPages, ctr; for(ctr =0; ctr... View Questions/Answers

single frame coding in java  January 21, 2012 at 10:54 PM
sir, i am a beginner in java.i want to do a desktop application in java in which a single frame satisfies all needs.but i want changes in that frame only.how can i solve this?i think multiple frames in a desktop application is quite boaring ... View Questions/Answers

image upload with jsp from form  January 21, 2012 at 10:40 PM
hi i used the code specified in your following post http://www.roseindia.net/answers/viewqa/JSP-Servlet/9749-image-upload-and-stored-in-database.html but i am getting following error exception org.apache.jasper.JasperException: java.lang.Inde... View Questions/Answers

How to disable cut, copy, paste, rename, etc from the Windows Registry ?  January 21, 2012 at 10:23 PM
Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc. Cut, copy, paste, rename, delete, open, print, share, create shortcut, open with, send to, properties. I want to give users the option of disabling them selectively... View Questions/Answers

java  January 21, 2012 at 9:23 PM
explain technologies are used in java now days and structure java. ... View Questions/Answers

java array sorting manual way  January 21, 2012 at 8:32 PM
Hi, Anyone has any sample code on how to sort a array manually without using the inbuild sorting algorithm? Thanks ... View Questions/Answers

Validation doubt  January 21, 2012 at 7:45 PM
hi..... thanks for the other validation code. I have got that and implemented in my code but i have a doubt in that. As we try to put string values its not allowing to do tht it gives us message its right but by mistake i have entered a wrong numerical value in the textbox then i... View Questions/Answers

import package.subpackage.* does not work  January 21, 2012 at 7:28 PM
I have 3 class files. A.java B.java C.java Below is the code block A.java:- package com.test; public class A { public void funA() { System.out.println("funA"); } } B.java:- package com.test; public class ... View Questions/Answers

retrieve kv pairs using hashmap  January 21, 2012 at 7:20 PM
i want to retrieve k,v-pairs from a hashmap. the entrys are like this: a = 3,4 b = 5,6 and so on. i need combinations of these values. a=3, b=5. a=3, b=6. a=4, b=5. a=4, b=6. I don't know how many keys and how many entrys the values have. with entryset i can get ... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

ERIYANA ARIS  January 21, 2012 at 5:00 PM
write a java complete program to calculate to number of each vowel characters in a string given by user.Each vowel character should be representing using lower case latter. example ; ERIYANA ARIS ... View Questions/Answers

Session  January 21, 2012 at 3:22 PM
why do we need session? actually what stored in a session? also with a small example? ... View Questions/Answers

Multiplication of two polynomials using linked list in java  January 21, 2012 at 2:18 PM
I am doing a program "Multiplication of two polynomials using linked list in java" for our curriculum, can you please help me in this. Rajesh ... View Questions/Answers

DMCA.com