Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

display the hidden text from that row, when onclick on a row of 1- 10  October 13, 2011 at 9:03 AM
Using JSP: I'm displaying a set of values from the databse in a table rows (1 to 10)in jsp page, when onclick on one of the view row, it has to submit the page to servlet. In the servlet I'm retreiving the hidden text as a parameter to get the id value of the row I clicked. The problem is everyti... View Questions/Answers

Can you correct this codes?  October 13, 2011 at 6:45 AM
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 4 at searchcon.(searchcon.java:39) at search.initComponents(search.java:41) at search.(search.java:7) at payroll$1.actionPerformed(payroll.java:41) at javax.swing.AbstractButton.fireActionPerformed(Abstra... View Questions/Answers

ATM  October 13, 2011 at 12:38 AM
How do I create interfaces for banking system using Java? ... View Questions/Answers

Advertisement

Walter  October 13, 2011 at 12:36 AM
Construct a Huffman Code tree for the following string: data structures and algorithms and make use of a table to show Characters, Frequency, Code/Binary, Code Length, and Total Length. ... View Questions/Answers

php  October 12, 2011 at 10:13 PM
what is php ... View Questions/Answers

store  October 12, 2011 at 10:10 PM
i want to store data in (.dat) file format using swing and perform operation on that insertion,deletion and update. ... View Questions/Answers

Compare 2 files  October 12, 2011 at 10:01 PM
I would like to compare 2 files in Java. please send me the code snipt for this scenario: File1: ./divisions/Z7346/Z1111/0064C/1232324/123456_aug11.pdf ./divisions/Z7346/Z3333/0064C/3435355/345678_aug11.pdf ./divisions/Z7346/Z4444/0064C/6765765/234567_aug11.pdf File2: ./divisions/... View Questions/Answers

What is Java?  October 12, 2011 at 9:44 PM
what is Java? What is the use of Java programming language? Which all projects I can develop in Java? Thanks ... View Questions/Answers

java tutorials  October 12, 2011 at 7:09 PM
Hi, Much appreciated response. i am looking for the links of java tutorials which describes both core and advanced java concepts in detail with examples in a systematic order.few links i found are discussing topics in detail..but not systematically.For example ..T... View Questions/Answers

Session in java Swing  October 12, 2011 at 6:48 PM
Hello Sir please tell me that how can i Maintain session in Java Swing ... View Questions/Answers

Session in java Swing  October 12, 2011 at 6:48 PM
Hello Sir please tell me that how can i Maintain session in Java Swing ... View Questions/Answers

how to display selected checkboxes dynamically using jsp  October 12, 2011 at 6:02 PM
Hi friends i have a requirement that : in my JSP page i have radio buttons followed by the DB fields..when i click SUBMIT button,if the field(or record) is available in DB,the respective radio button should be selected automatically.. ... View Questions/Answers

COLLECTION FRAMEWORK  October 12, 2011 at 4:54 PM
Hi, i need complete detailed explanation on COLLECTION FRAMEWORK with examples(which include set,list,queue,map and operations performed on them).need help... Regards, Anu. ... View Questions/Answers

COLLECTION FRAMEWORK  October 12, 2011 at 4:54 PM
Hi, i need complete detailed explanation on COLLECTION FRAMEWORK with examples(which include set,list,queue,map and operations performed on them).need help... Regards, Anu. ... View Questions/Answers

inheritance  October 12, 2011 at 4:48 PM
Hi, I have a class mall,how can i use this in case of inheritance.Tell me with example. ... View Questions/Answers

BigInteger  October 12, 2011 at 1:51 PM
write a progam to add two nos with out using BigInteger concept that nos may be more than 1000 digits ? ... View Questions/Answers

SQL and JSP  October 12, 2011 at 11:18 AM
1.sql database 1.store login and password details along with user name 2.list of employees with all relevant personal details like DOB,Education,Adress,Contact no,etc.. how to create these two tables using sql data base.. 2.JSP pages 1.login screen which will have user id and pas... View Questions/Answers

Collections  October 12, 2011 at 11:15 AM
i need individual examples for set,list,queue and map ..pleae provide me the same.... Thanks& Regards, S.Karthick ... View Questions/Answers

Get radio button value after submiting page  October 12, 2011 at 11:00 AM
Radio buttons are dynamically generated.After selecting radio button & submitting the page , the value of the selected radio button get displayed in that jsp page. <% while(rs.next()) { int Countrycodee = rs.getInt("countrycode"); String c... View Questions/Answers

DCL  October 12, 2011 at 10:39 AM
can u explain grant and revoke operations with example...? ... View Questions/Answers

How to change the value of a variable which is set in jsp (by jstl method) by calling the function from js?  October 12, 2011 at 10:26 AM
How to change the value of a variable which is set in jsp (by jstl method) by calling the function from js? I set the value in jsp by using jstl method for eg:'<'c:set var="name1" value="Add User" /> and out it as '<'c:out value='${name1}' />. I need to change the value of 'name1' ... View Questions/Answers

plz help -java project very urgent  October 12, 2011 at 6:56 AM
? Ford furniture is a local furniture store in acts, and they as CS graduate students to implement a software system to generate various reports for them at the end of each month. You are given four files: salesperson.txt id, name furniture.txt id, name, description, room, price ... View Questions/Answers

Use of Java  October 11, 2011 at 11:30 PM
What is the use of Java programming Language? ... View Questions/Answers

sessions  October 11, 2011 at 6:03 PM
how can i restore the session? if i closes the browser.. then i opened the browser i want the same page getting what i closed... Example: like in gmail if i closed inbox..when i opened gmail then inbox is coming ... View Questions/Answers

development environment  October 11, 2011 at 5:59 PM
in which operating system java developers will work in mnc companies (i.e unix,windows family..........). ... View Questions/Answers

Spring Annotation  October 11, 2011 at 5:02 PM
Hi Sire please tell me that how to write Spring Annotation Based Controller ? ... View Questions/Answers

Array search  October 11, 2011 at 4:10 PM
Need a program which performs a searching operation on a one dimensional array called NUM, which is an N-element array stored in a file named DATA9. A 3 digit integer is read from column 1-3 and is used for the search operation. he value with one or more of the array items. Search begins with the... View Questions/Answers

stop repetition  October 11, 2011 at 12:24 PM
i want to know use of Hashmap, and its contains key value option. the problem is , i am accessing records through a loop but I want to access only those records that has unique id. I dont want to use sameid record more than one time. so could u please guide me how to handle this problem. ... View Questions/Answers

Dynamically display values in dropdown box and then show the selected values as selected by the user which is already stored in the DB  October 11, 2011 at 7:20 AM
The below code was posted in one of your query on (April 28, 2010 at 4:48 PM) when I tried this code it is adding one more value to the dropdown box and showing as selected. so if I have 5 values in the dropdown this selected one is added as 6th values. Can you please help me to show more... View Questions/Answers

DOM paring problem  October 10, 2011 at 7:21 PM
Hi My code always show arrayindexoutofbound here is my code i am using arraylist to display and DOM parser to retrieve XML value. I am searching the value by attributes equals 2. this error i am getting. org.apache.jasper.JasperException: An exception occurred processing JSP pag... View Questions/Answers

DOM paring problem  October 10, 2011 at 7:21 PM
Hi My code always show arrayindexoutofbound here is my code i am using arraylist to display and DOM parser to retrieve XML value. I am searching the value by attributes equals 2. this error i am getting. org.apache.jasper.JasperException: An exception occurred processing JSP pag... View Questions/Answers

ToolTip in IE6 for dropdown  October 10, 2011 at 5:53 PM
Hi Can any one tell me how to apply Tool tip in drop down tag in IE6 ?? Thanks ... View Questions/Answers

Array  October 10, 2011 at 5:39 PM
is it possible to define array like this..? int[] intArray = new int[] {4,5,6,7,8}; Explain...? ... View Questions/Answers

CONSOLE  October 10, 2011 at 5:37 PM
system.out.formt();...how it works...? ... View Questions/Answers

Print  October 10, 2011 at 5:10 PM
In system.out.println,what meant ln..? ... View Questions/Answers

Thread  October 10, 2011 at 5:04 PM
will this code work..? class A extends Thread { public void run() { for(int i=0;i<5;i++) system.out.println("i=" + i); } public static void main(string args[]) { A a = new A(); Thread t = new thread(a); t.start(); } } Is it possible to run above program with out ... View Questions/Answers

program to create node.  October 10, 2011 at 4:54 PM
Hi i'm new to flex and trying to create a node and it should also have an option of right click wit any properties. how do i do this. Also i need to create a gui having drag and dop options. Please help me. Thanks & Regards Ashwini.S ... View Questions/Answers

EXCEPTION  October 10, 2011 at 4:52 PM
will this code work..? class A implements interface1,interface2 extends ClassB ... View Questions/Answers

THROWS  October 10, 2011 at 4:47 PM
how can we throw unkown exception using throws clause...? ... View Questions/Answers

Spring login form application  October 10, 2011 at 3:51 PM
Hi Please give me the Spring login form application so that i can understand its flow ? ... View Questions/Answers

object  October 10, 2011 at 2:57 PM
is it possible to create object in the same class..?. ... View Questions/Answers

(ForPro) turbo C prog. Q4  October 10, 2011 at 1:48 PM
I need to learn some easy foxpro program.. for example sum,interchange, loop etc. ... View Questions/Answers

post back  October 10, 2011 at 12:43 PM
I am developing a C# asp.net application. I have a webform which contains 2 dropdowns and a textbox with type="password". On "SelectedIndexChanged" event of the first dropdown, there is a postback, in order to fill the second dropdown according to the value selected in the first dropdown. The pro... View Questions/Answers

Hiding a JFrame  October 10, 2011 at 12:30 PM
Hi All, I need to open two windows at a time and need not to access the behind one when I am using the first one. When I am clicking the behind one it?s getting access.It should not get access.How to do this one.Please help me. ... View Questions/Answers

Hiding a JFrame  October 10, 2011 at 12:29 PM
Hi All, I need to open two windows at a time and need not to access the behind one when I am using the first one. When I am clicking the behind one it?s getting access.It should not get access.How to do this one.Please help me. ... View Questions/Answers

Controller in Spring  October 10, 2011 at 12:13 PM
Hello Sir please help that how to write Controller in Spring web thanks in advance ... View Questions/Answers

How to Configure Spring in web.xml file ?  October 10, 2011 at 11:55 AM
How to Configure Spring in web.xml file ? ... View Questions/Answers

Set Date Parameter to get specific value  October 10, 2011 at 11:04 AM
How to set the date parameter or fetch a specific data records based on date? For example fetching the two or three months old records.. ... View Questions/Answers

Passing variable  October 10, 2011 at 10:50 AM
How to pass variable to HTTP object in HTMl or PHP? ... View Questions/Answers

http header content length  October 10, 2011 at 10:43 AM
How to check the request header content length in HTTP? ... View Questions/Answers

track file size changes  October 10, 2011 at 10:38 AM
How to track a change in file size? ... View Questions/Answers

update the selected records from view immediatly  October 10, 2011 at 6:13 AM
Hi I am extracting data form sql view to Excel(2007). I want update the Flag field (CHAR 1)in one Table as soon as i get the data form the view to excel. Is there any way I can update the records immedialty in view as soon as see the data form view. Thank you very for hel... View Questions/Answers

cannot find symbol class array queue--plzz somebody help..  October 9, 2011 at 7:07 PM
import java.util.*; public class Test { public static void main(String[] args) { ArrayQueue<String> q = new ArrayQueue<String>(6); System.out.println("A new queue is an empty queue ... " + q.isEmpty()); System.out.println("Adding six strings... View Questions/Answers

Javascript  October 9, 2011 at 5:06 PM
Javascript to check Numeric entry in checkbox..... ... View Questions/Answers

linked lists  October 9, 2011 at 4:05 PM
write a program to create a circular linked list in java and perform operations on it? ... View Questions/Answers

simple java search engine  October 9, 2011 at 1:58 PM
i have already downloaded the project simple java search engine.but i am not able to run it.can anyone help me.i have attached my abstract here.if any one really understood this project then help. ABSTRACT Title : Simple Search Engine System Specification: The syst... View Questions/Answers

java database  October 9, 2011 at 11:31 AM
help me with this...i never learn build java database...can you all show me how to build it in simple way on blue j? You are required to design and implement objects needed for a program that maintains a database of students and teachers, and allows you to read in large f... View Questions/Answers

Craps Game Java Programming Help  October 9, 2011 at 8:32 AM
Craps is a casino game that involves the throwing of a pair of dice. Based on the throw, the thrower either gets to continue throw (and win money), or stops throwing (and loses money). Write your solution in a file called Craps.java We wish to write a program that simulates playing craps ... View Questions/Answers

core java  October 9, 2011 at 2:23 AM
class A { int a=3; int b=4; public A(int a,int b) { this.a=a; this.b=b; } void display() { System.out.println(a); System.out.println(b); } } class Testthis { public static void main(String arr[]) { A x=new A(8,9); x.display(); } } /* in the above code which manner will adopted by the jre... View Questions/Answers

Java Class Question?  October 9, 2011 at 12:54 AM
b.Write an application that prompts the user to make a choice for a Coffee cup size, S for Small, T for Tall, G for Grande and V for Venti ? the prices of the cup sizes will be stored in a parallel double array as $2.00, $2.50, $3.25, and $4.50 respectively. Allow the user to choose if they wo... View Questions/Answers

File handlig  October 8, 2011 at 11:36 PM
File hyandling ... View Questions/Answers

variables and methods declared in abstract class is abstract or not  October 8, 2011 at 4:15 PM
variables and methods declared in abstract class is abstract or not ... View Questions/Answers

How to get data from Oracle database using JSP  October 8, 2011 at 1:39 PM
hello i have a simple problem in jsp in the sense to get data from the database like oracle . I have created one jsp program like this <@ page session="false"%> <@ page import="java.io.*" import="java.sql."%> <%try { PreparedStatement ps;... View Questions/Answers

Save the input data until user get changed  October 8, 2011 at 11:12 AM
I would like to know how to store the give input data and perform the calculations even after re-opening the program. I am developing a college library management system, i would like know how to change the fine amount and store for a day by the ADMINISTR... View Questions/Answers

Save the input data until user get changed  October 8, 2011 at 11:12 AM
I would like to know how to store the give input data and perform the calculations even after re-opening the program. I am developing a college library management system, i would like know how to change the fine amount and store for a day by the ADMINISTR... View Questions/Answers

Save the input data until user get changed  October 8, 2011 at 11:12 AM
I would like to know how to store the give input data and perform the calculations even after re-opening the program. I am developing a college library management system, i would like know how to change the fine amount and store for a day by the ADMINISTR... View Questions/Answers

Office  October 8, 2011 at 9:00 AM
Pl sir make a program which generate the following output: ABC Company PVT LTD Main Menu 1. Adding A ... View Questions/Answers

JAVASCRIPT  October 8, 2011 at 2:31 AM
I have one textbox and I want to validate that it must start with number(1-0). can anyone tell me a javascript for that ? thanks in advance. ... View Questions/Answers

how to display the selected row from the data table in model panel ??  October 7, 2011 at 6:32 PM
the below displayed is my datatable:tableDatas.xhtml ... View Questions/Answers

java  October 7, 2011 at 6:06 PM
hello sir,how to run a particular directory using java ... View Questions/Answers

Array stack  October 7, 2011 at 7:36 AM
Write a stack class ArrayStack.java implements PureStack interface that reads in strings from standard input and prints them in reverse order. ... View Questions/Answers

Array stack  October 7, 2011 at 7:35 AM
Write a stack class ArrayStack.java implements PureStack interface that reads in strings from standard input and prints them in reverse order. ... View Questions/Answers

java puestion  October 6, 2011 at 8:10 PM
is aggregation is oop principle? ... View Questions/Answers

upload and download mp3  October 6, 2011 at 1:21 PM
code of upload and download Mp3 file in mysql database using jsp and plz mention which data type used to store mp3 file in mysql database ... View Questions/Answers

Adding two numbers  October 6, 2011 at 12:32 PM
Accepting value ffrom the keyboard and adding two numbers ... View Questions/Answers

Addition of two numbers  October 6, 2011 at 11:44 AM
addition of two numbers ... View Questions/Answers

data type  October 6, 2011 at 11:22 AM
which data type is used to store video file in mysql databse? ... View Questions/Answers

upload video  October 6, 2011 at 11:07 AM
hi sir i want to code of upload and download video in mysql database using jsp... and plz give advice which data type is used to store video in table ... View Questions/Answers

Initializing Integer Variable issue?  October 6, 2011 at 4:39 AM
My program is supposed to take a phrase like you'd see on a TV commercial, for example: "Call 1-800-GETLOAN now to..." then take that phrase and convert it to its actual phone number. My problem is my integer variables (number0 - number6). It is forcing me to initialize them, yet they stay at 0 t... View Questions/Answers

Java application PLZ ?  October 6, 2011 at 4:36 AM
Write an application that demonstrates each of the following methods, based on the statement String dedicate = ?Dedicated to making your event a most memorable one:; indexOf(?D?) charAt(15) endsWith(one) replace(?a?, ?A?) Save the file as Demonstrate.java ... View Questions/Answers

Java application Help?  October 6, 2011 at 4:34 AM
Write an application that accepts a users password from the keyboard. When the entered password is less then six characters more then 10 characters, or does not contain at lease one letter and one digit, prompt the user again. When the users entry meets all the password requirements, prompt the u... View Questions/Answers

Java Class Question?  October 6, 2011 at 4:28 AM
Write an application that prompts the user to make a choice for a Coffee cup size, S for Small, T for Tall, G for Grande and V for Venti ? the prices of the cup sizes will be stored in a parallel double array as $2.00, $2.50, $3.25, and $4.50 respectively. Allow the user to choose if they woul... View Questions/Answers

Java Class Question?  October 6, 2011 at 4:27 AM
Write an application that prompts the user to make a choice for a Coffee cup size, S for Small, T for Tall, G for Grande and V for Venti ? the prices of the cup sizes will be stored in a parallel double array as $2.00, $2.50, $3.25, and $4.50 respectively. Allow the user to choose if they woul... View Questions/Answers

jdbc oracle connectivity problem  October 6, 2011 at 3:41 AM
Hi All, I am trying to connect my swing application to oracle DB . but class.forname is giving error. Please suggest me if there is some different way to connect swing application to oracle. As i connected my struts application with same DB with same code. Thanks ... View Questions/Answers

Java Class Question?  October 6, 2011 at 3:14 AM
Create a class names Purchase Each purchase contains an invoice number, amount of sale and amount of sales tax. Include set methods for the invoice number and sale amount. Within the set() method for the sale amount, calculate the sales tax as 5% of the sale amount. also include a display method ... View Questions/Answers

intersection of two java arrays  October 6, 2011 at 1:11 AM
I am trying to figure out how to compare two arrays and get the intersection and put this into a third array of the correct size. I know how to copy the two arrays into the third array but am having trouble doing the comparison and having it copy into the third. I cannot use set collections wit... View Questions/Answers

how can i remove newline characters and tabs  October 5, 2011 at 9:02 PM
how can i remove newline characters and tabs ? but i wont to using GUI .please help . ... View Questions/Answers

object array  October 5, 2011 at 7:37 PM
Hi i have array that is object[] obj= { new string("hi"), new vector().add(10), new hashmap().setkey()} display(obj); display(object{[] obj) {} Now my question is what is the string length and how to retrieve element from vector and if i give key then i will get ... View Questions/Answers

Creat a program MinMax.java  October 5, 2011 at 6:46 PM
Create a program MinMax.java that finds and prints the minimum and the maximum of integers read in from the keyboard. Use -9999 as a sentinel to stop the read. Do not count -9999 as one of the numbers read in. Do not use arrays. I do not know how to set up the program. Can someone please hel... View Questions/Answers

ORA-01019: unable to allocate memory in the user side  October 5, 2011 at 6:34 PM
when i trying to oracle i got the following error.. ORA-01019: unable to allocate memory in the user side... How to resolve in oracle.. ... View Questions/Answers

Java Annotation  October 5, 2011 at 5:57 PM
What is annotation in Java ? ... View Questions/Answers

How to get the data from the database (Oracle) in console or in ie using servlet or jsp as Front end  October 5, 2011 at 5:29 PM
hello i have a simple problem in jsp in the sense to get data from the database like oracle . I have created one jsp program like this <% PreparedStatement ps; Connectin con; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DrivergetConnection("jdbc:odbc:DNSName","scott","tiger"); Resul... View Questions/Answers

How to use dojoscript with jsf?  October 5, 2011 at 5:20 PM
Hi all , am new to jsf. can anyone help me out in using dojo script frame work with jsf. how to integrate dojo into jsf. Thanks in advance. ... View Questions/Answers

javascript  October 5, 2011 at 5:11 PM
how to set the request or session attribute in javascript head part of jsp page ... View Questions/Answers

Read text File  October 5, 2011 at 5:08 PM
Hi,How can I get line and keep in a String in Java? ... View Questions/Answers

Java Command Line Input  October 5, 2011 at 4:55 PM
How to get input from command line in java ? ... View Questions/Answers

Extract Jar File  October 5, 2011 at 4:49 PM
How to extract jar file? ... View Questions/Answers

Tool Tip on HTML  October 5, 2011 at 4:36 PM
How to add Tool Tip On Html ... View Questions/Answers

Data Access Object  October 5, 2011 at 3:53 PM
Hi sir/madam please give me some tutorial/example about Data Access Object ... View Questions/Answers

javascript and database  October 5, 2011 at 2:28 PM
i want to connect javascript pages with msaccess (as a database)how can i do so....... ... View Questions/Answers

DMCA.com