Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Ads

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

java  January 21, 2012 at 12:54 PM
java script using add values in spring with hipernet progrme? ... View Questions/Answers

Passing a 2 Dimentional Array From one Jsp to Another Jsp file and Retreving it  January 21, 2012 at 11:44 AM
Hi I have a 2 dimensional integer array declared and values are dynamically stored into it in one jsp file .I passed this array into another Jsp File and when i tried to retrieve the data in the 2 Dimensional array it is raising a Null Pointer Exception.I am attaching the sample code . Please he... View Questions/Answers

interface  January 21, 2012 at 11:04 AM
What is the exact use of interface in real time scenario? some people says that interface provides multiple inheritance. Is it true? In such a case how can we say that java doesn't supports multiple inheritance ... View Questions/Answers

while Append need a new line for column and row  January 21, 2012 at 10:32 AM
HI While using append in javascript for retreiving the rows and its column header, its retreiving but after column header i need new line but it is not coming. Thanks in advance Prasath. B ... View Questions/Answers

Dependant & dynamic drop down list  January 21, 2012 at 1:45 AM
I don't know this should be in this or AJAX forum. I have one dynamic drop down list from data base (working fine) Use can select random entries from this table & hit "RETRIEVE" On the bottom of the page I should get result set from other table depending on the values select... View Questions/Answers

cpu usage spike for javaw.exe  January 21, 2012 at 12:34 AM
I have made a software/project as major project for college which involves 7 class files(.class) 122 Images and 1 Database(Microsoft Access 2007).It is a bulky project which do lot of things and continually access database.I have wrapped all .class files into a jar file to make it runnable by dou... View Questions/Answers

billing frame  January 20, 2012 at 6:05 PM
how to generate billing frame using swing which contain sr. no, name of product, quantity, price & total ... View Questions/Answers

StringTokenizer not returning proper result  January 20, 2012 at 5:22 PM
I have this code... System.out.print("Enter the stack integers side by side with a space in between: "); StringTokenizer st=new StringTokenizer(br.readLine()); int a[]=new int[9000]; int i=0; do { a[i]=Integer.parseInt(st.nextToken()); i++; }while(st.hasMo... View Questions/Answers

Sending images through java mail  January 20, 2012 at 4:26 PM
Am trying to develop greeting application that having images..... in one jsp page i displayed all images and by clicking one image the control go to mail sending page in that the image should add to body part and the mail will sent to recipients..... please give me any idea.......... ... View Questions/Answers

Hiding form values using ajax  January 20, 2012 at 3:59 PM
i am trying to show and hide form values with ajax but it's not working,but in javascript it is working.Can anyone will help me to the work in ajax please. Thanks in advance. ... View Questions/Answers

Please Provide the direct Downloadable source code for better understanding  January 20, 2012 at 3:27 PM
Hello Roseindia Team, This is Mohammed Vaseem. Am very much impressed after having rich content in your website. *Your way of explanation is very clear.* As am a fresher, it is difficult for me to implement the code practically. <... View Questions/Answers

java  January 20, 2012 at 2:23 PM
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } ... View Questions/Answers

java Toolkit  January 20, 2012 at 1:58 PM
how to set jframe form screen size any resolutions fit to full screen? ... View Questions/Answers

java  January 20, 2012 at 1:53 PM
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } ... View Questions/Answers

Retrieval column details into respective JComboboxs  January 20, 2012 at 1:26 PM
Hello sir, As of now i created program in the Eclipse the GUI window .I had creaated the GUI window & also i had created the table in MSSQL the differet columns like PNAME,PID,DEPNAME,DOCNAME.SEX,BDATE.i had created the comboboxes to all of the in GUI window,& a... View Questions/Answers

java  January 20, 2012 at 1:14 PM
javascript browse image in spring progrme ... View Questions/Answers

spring  January 20, 2012 at 1:10 PM
javascript browse image in spring progrme ... View Questions/Answers

navigation item back button  January 20, 2012 at 1:09 PM
I wants to add a navigationBar on the top of my UIWebView also a navigation item "back button". can anyone please explain how the back and refresh button works? ... View Questions/Answers

java  January 20, 2012 at 12:55 PM
javascript browse image in spring progrme ... View Questions/Answers

java  January 20, 2012 at 12:34 PM
Saving image and text in mysql db using spring? ... View Questions/Answers

Database  January 20, 2012 at 9:22 AM
Hi i need Grover's algorithm coding!!! or any other searchin ALGORITH coding? its really urgent! pl do the needful!! ... View Questions/Answers

delete a node from singly linked list in java  January 19, 2012 at 8:33 PM
Write a program(in java), if given a pointer to a node (not the tail node) in a singly linked list, delete that node from the linked list. ... View Questions/Answers

validation.....  January 19, 2012 at 7:32 PM
hi.......... thanks for ur reply for validation code. but i want a very simple code in java swings where user is allowed to enter only numerical values in textbox , if he enters string values then it should give a message box that only numerical values should be entered. How can... View Questions/Answers

a Java program  January 19, 2012 at 6:03 PM
Write a Java program to print even numbers from 2 to 1024? Write a Java program to print ? My Name is Mirza? 100 times? Write a Java program to print Fibonacci Series? Write a Java program to reverse a number? plz explain me :- Explain about... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:44 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

i-election voting system project in java  January 19, 2012 at 4:53 PM
I want source code and documentation project in java. send it to ... View Questions/Answers

Reading and writting multiple files  January 19, 2012 at 4:17 PM
how can i read and write say two different files at the same time using threads. ... View Questions/Answers

Need to remove duplicate rows from the Excel Sheet using the Apache POI API  January 19, 2012 at 3:53 PM
Hi There, Is any one aware of java code on how to find the duplicate rows in excel.I am using the Apache POI API to achieve the same have googled but no help :( Thanks ... View Questions/Answers

JTextField  January 19, 2012 at 3:32 PM
simple program for text field cannot not be edited in java swing ... View Questions/Answers

Maintaining States of Selected CheckBoxes in Different Pages using dispaly table in struts2  January 19, 2012 at 3:29 PM
Hi, I am working in a Struts 2 project where in the jsp i am showing the list using a displaytag.Each row in the list has a checkbox. Actually my requirement is to select particular checkboxes across different pages and maintain the states of the selected checkboxes.When I submit the form... View Questions/Answers

Ajax  January 19, 2012 at 2:50 PM
I want message print on jsp page that come from servlet through ajax.please help me out. ... View Questions/Answers

Ajax  January 19, 2012 at 2:50 PM
I want message print on jsp page that come from servlet through ajax.please help me out. ... View Questions/Answers

java  January 19, 2012 at 2:28 PM
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } ... View Questions/Answers

show the database values graphical represantation  January 19, 2012 at 11:21 AM
show the database values graphical represantation and auto refresh for every 30 secand displaying in webpage ... View Questions/Answers

automate mails in lotus notes  January 19, 2012 at 11:06 AM
need some help with this question...we need to open up the Lotus Notes client from a JSP page.. Currently in the JSP we are opening up the Microsoft Outlook Client using ActiveXObject(Outlook.Application) Could someone please help us with this as soon as possible. The from... View Questions/Answers

tom cat server  January 19, 2012 at 2:22 AM
my tom cat server is not working it show access denied error please help me to wrk on it plzz ... View Questions/Answers

Courirer managemnt  January 19, 2012 at 12:05 AM
what is courier management? and what is new in this management ... View Questions/Answers

image  January 18, 2012 at 11:54 PM
how to add the image in servlet code? ... View Questions/Answers

html  January 18, 2012 at 11:46 PM
How to add the calendar in html code? ... View Questions/Answers

File I/O  January 18, 2012 at 11:29 PM
i am trying to read and write a 54mb text file from one directory to another. I managed to do it perfectly using the examples i was given on this forum. my problem is it takes long to do it(4 to 5 minuets) so my question is, is their away i can read and write in the shortes time possible(in secon... View Questions/Answers

DMCA.com