Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Design a class named account  November 30, 2010 at 12:54 AM
The class contains: § An int data field named id for the account (default 0). § A double data field named balance for the account (default 0.0) § A double data field named annualInterestRate that stores the current interest rate (default 0.0) § A Date data fiel... View Questions/Answers

login page  November 29, 2010 at 11:48 PM
pls say how to create a login page in jsp and mysql using netbaens ... View Questions/Answers

How to display nested ArrayList in JSF  November 29, 2010 at 11:19 PM
I have a class with an attribute which is an ArrayList<ArrayList<String[]>> arrPartners I want to display it in jsf but i dont know how and i am getting mad. I have nested but it shows an error: ... View Questions/Answers

Advertisement

threads  November 29, 2010 at 10:22 PM
how to print names in different lines in different spaces generating random numbers and using thread...like ping pong ping pong ... View Questions/Answers

text field  November 29, 2010 at 9:42 PM
How to retrieve data from text field ... View Questions/Answers

Struts  November 29, 2010 at 5:56 PM
When Submit a Form and while submit is working ,press the Refresh , what will happen in Struts ? ... View Questions/Answers

JAVA  November 29, 2010 at 5:44 PM
Can a main method be final method? ... View Questions/Answers

How to Register Custom MBeans in Tomcat5.5  November 29, 2010 at 4:54 PM
How to register custom MBeans in Tomcat5.5 , please provide me an end-to-end example? ... View Questions/Answers

instruction to install oracle 10g in linux....  November 29, 2010 at 4:48 PM
how to install oracle 10g in linux ... View Questions/Answers

Java  November 29, 2010 at 4:39 PM
what is the difference between a servlet and jsp? or relation between them? how to execute .jsp file without .java file when we doesn't know the port number? ... View Questions/Answers

webpage  November 29, 2010 at 4:22 PM
java, servlet and JSPs to create a web page with a text box and a button named submit. after submitting i shpuld get a msg successfully added. ... View Questions/Answers

hibernate  November 29, 2010 at 3:26 PM
pls give one simple example program for hibernate ... View Questions/Answers

java  November 29, 2010 at 3:17 PM
how to search a book in library management system by using partial entry ... View Questions/Answers

Altering a Column name in a table  November 29, 2010 at 2:42 PM
how to alter column name in MSSQL server 2005 the codesample given using "change" keyword alter table tablename change oldcolumnname to newcolumnname is not working.... ... View Questions/Answers

how to display data from database in jsp  November 29, 2010 at 1:58 PM
how to display data from database in jsp ... View Questions/Answers

how to display a table from database using servlet  November 29, 2010 at 1:17 PM
how to display a table with values from servletpage ... View Questions/Answers

Mlm tree structure  November 29, 2010 at 12:10 PM
i want mlm tree structure code in php with jquery or Ajax ... View Questions/Answers

Mlm tree structure  November 29, 2010 at 12:10 PM
i want mlm tree structure code in php with jquery or Ajax ... View Questions/Answers

Mlm tree structure  November 29, 2010 at 12:10 PM
i want mlm tree structure code in php with jquery or Ajax ... View Questions/Answers

onmouseover event in jsf  November 29, 2010 at 11:52 AM
hello friends, I am in the middle of the project, I have a requirement in my project. I am using jsf ,spring, hibernate & mysql database. can u suggest a code for, If I place mouse on a component I want to dispaly the list of some documents by using onmouseover event in jsf. ... View Questions/Answers

jsp  November 29, 2010 at 11:03 AM
JSP that accepts a string parameter from the browser and simply displays it back in the HTML response. ... View Questions/Answers

Checkbox pagination problem  November 29, 2010 at 10:12 AM
HI ., Following is my code test.jsp <%@page import="java.sql.*"%> <%@taglib prefix="c" uri="/WEB-INF/c-rt.tld" %> <%@page import="java.util.HashMap"%> <%@page import="com.web.abc.integration.model.Domain"%> <%@page import="com.web.abc... View Questions/Answers

importent  November 29, 2010 at 10:00 AM
if we hv abstract class then why we use interface? ... View Questions/Answers

Getting NumberFormatException  November 29, 2010 at 3:27 AM
Hello Sir, I'm using Integer.parseInt(String str) function which returns a NumberFormatException(Unknown source). I also used Integer.parseInt(String str, int radix) but it also throws the exception. I used the same type of code in a simple .java program but when I.m using it in a JSP it continuo... View Questions/Answers

Getting garbage value  November 29, 2010 at 2:09 AM
Thanks for the reply. Its works well, but whenever I'm using numeric value from 0010 to 0757 it is returning some garbage value. I dont have the idea what is going wrong. Please give me some idea to solve this problem. I'm giving you the code below. Code: <% String t=request.getParameter("ti... View Questions/Answers

Java  November 28, 2010 at 10:26 PM
what is difference between jsp and servelet. ... View Questions/Answers

result problem  November 28, 2010 at 10:20 PM
sir,i have written program given below but that program is not giving proper output.pls help me import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; class filedata extends HttpServlet { public void doPost(HttpServletRequest req,HttpServ... View Questions/Answers

program  November 28, 2010 at 10:08 PM
explanation of program on extending thread class ... View Questions/Answers

java basic  November 28, 2010 at 9:18 PM
i need to give a hexadecimal input (0x71014802 and 0x8c2a0000) and want to get a MIPS instruction code(assembly level lang.):the output is not a matter... i want to create a package and then input converted converted to binary then i need 3 function R-type I-type and J-type... ... View Questions/Answers

write program have product - using loops  November 28, 2010 at 9:03 PM
Write a program for a grocery that reads products data and determine and display the product that has the highest price and the average price. A product has three pieces of data: id (int), name (String) and price (double). Your program should continue reading new products until user enters -1 as ... View Questions/Answers

Software Developer  November 28, 2010 at 8:57 PM
what is the java code to turn off my pc ? ... View Questions/Answers

pattern-using loops  November 28, 2010 at 8:55 PM
Write a program that displays the following pattern ... (use nested loops) * ** * ** * ** * ... View Questions/Answers

read string - using loops in Java  November 28, 2010 at 8:48 PM
Write a program to read a string composed of an unknown number of words, then count the number of words in the string, and Display the longest and shortest words, with first letter Uppercase and rest in lowercase.?? ... View Questions/Answers

iPhone xcode database  November 28, 2010 at 8:32 PM
Hi, How I can add SQLite database support in iPhone Xcode project? Thanks ... View Questions/Answers

Best PHP tutorial for beginners  November 28, 2010 at 6:48 PM
Hi Friends, I want to learn PHP programming language. Please let's know the best tutorials url for beginners. I want to know: a) How to install PHP? b) How to create simple program and test? c) Learn basics and advanced concepts of PHP programming language in very less time. d) Al... View Questions/Answers

query  November 28, 2010 at 5:42 PM
Sir this is table code. i created successfully ,but i want to get table data.so could you please help me for this problem.Thank you sir import java.util.*; import java.awt.*; import javax.swing.*; import javax.swing.event.*; import java.awt.event.*; import java.awt.print.*; public class t... View Questions/Answers

How to match a string symbols using the INDEX and the method use Stack  November 28, 2010 at 4:55 PM
How to match a string symbols using the INDEX and the method use Stack it will determine balance or not balance ...use the STACK ...and it must be in priority...... -PARENTHESIS -BRACKET -BRACES Example output: Enter a string symbols:{()} ... View Questions/Answers

NSTimeInterval to NSString  November 28, 2010 at 4:44 PM
Hi, I am developing a program for iPhone. I have to get the current timestamp in NSString. Please let's know how to do this. Any code example for converting NSTimeInterval into NSString will help me a lot. Thanks ... View Questions/Answers

calculator midlet  November 28, 2010 at 3:35 PM
give me code calculator midlet in bluetooth application with j2me? ... View Questions/Answers

how to connect mysql from gui?  November 28, 2010 at 1:13 PM
i am unable to connet to mysql server from my projet that is gui for mysql...can anyone help me in this...its urgent? i have to connet to mysql from gui.. ... View Questions/Answers

Program to read 2 integers using oops concepts  November 28, 2010 at 12:45 PM
Write a program to read two integers with the following significance. ? The first integer value represents a time of day on a 24 hour clock, so that 1245 represents quarter to one mid-day, for example. ? The second integer represents time duration in a similar way, so that 345 represents th... View Questions/Answers

System.out.println cannot be written inside a class  November 28, 2010 at 11:28 AM
why System.out.println cannot be written inside a class? ... View Questions/Answers

color change  November 28, 2010 at 10:51 AM
how to change the color in circle using scrollbar? ... View Questions/Answers

core java  November 27, 2010 at 11:39 PM
i need core java material ... View Questions/Answers

plz help me to create gui using Java netbeans  November 27, 2010 at 11:21 PM
Hi, I am unable to fetch a particular data from DB.I am using netbeans for creating GUI. If I want to fetch a particular value like '6', it is calling all the data which contains 6. I am unable to fetch the particular data. Plz help me ... View Questions/Answers

java program  November 27, 2010 at 9:07 PM
Problem 2 Note:Use prompt command to input values and use document.write command to display the output. Write a JavaScript program that would input a student's final grade from 50-100. Evaluate the Final Grade and display the Point Equivalent based on the table below. Indicate also the re... View Questions/Answers

java program  November 27, 2010 at 9:06 PM
Problem 2 Note:Use prompt command to input values and use document.write command to display the output. Write a JavaScript program that would input a student's final grade from 50-100. Evaluate the Final Grade and display the Point Equivalent based on the table below. Indicate also the re... View Questions/Answers

java program  November 27, 2010 at 8:55 PM
Problem 1 Write a javaScript program that would input Employee Name, rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds eight hours 30% to each excess as overtime rate. Formula: Daily Wage equals Rate per hour * No. of hours wo... View Questions/Answers

java program  November 27, 2010 at 8:55 PM
Problem 1 Write a javaScript program that would input Employee Name, rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds eight hours 30% to each excess as overtime rate. Formula: Daily Wage equals Rate per hour * No. of hours wo... View Questions/Answers

J  November 27, 2010 at 6:09 PM
how can stop back after logout using javascript ... View Questions/Answers

J  November 27, 2010 at 6:09 PM
how can stop back after logout ... View Questions/Answers

a  November 27, 2010 at 6:05 PM
how can prevent back after logout ... View Questions/Answers

how to make list in our own style in pdfwriter  November 27, 2010 at 3:44 PM
can u please any of one help me i want to make a list as follows in pdf file from java by pdfwriter account calculation ------------------------- amount -100.00 advance - 70.00 ------------------------- net - 30.00 ... View Questions/Answers

Update statement  November 27, 2010 at 3:22 PM
I create a access database my program When I click add button bata are adds to the my data base but when i click update button my database is not update I write this program using 3 differfnt notepad pages MY CarGUI.java import java.awt.*; import javax.swi... View Questions/Answers

Designing a Database with a junction table or without it?  November 27, 2010 at 2:46 PM
Designing a group of table with, where many tables reference single parent table. In that case is it a better option to create a junction table to maintain the relationship between all these table. Or they should be related individually. Which is the be... View Questions/Answers

code to disable back button of browser  November 27, 2010 at 2:37 PM
code to disable back button of browser ... View Questions/Answers

code to disable back button of browser  November 27, 2010 at 2:37 PM
code to disable back button of browser ... View Questions/Answers

how to insert image into server  November 27, 2010 at 2:21 PM
how to insert an image into sql server and retrieve it using jSP ... View Questions/Answers

java  November 27, 2010 at 11:32 AM
calculate simple interest using jsp ... View Questions/Answers

javabean  November 27, 2010 at 11:22 AM
addition program using bean.java ... View Questions/Answers

query  November 27, 2010 at 10:45 AM
i want to set font size of a string which will added in a label.will u please provide code for it ... View Questions/Answers

Find the Running time in sql***  November 27, 2010 at 5:56 AM
I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job_Run Job Name start time job_1 22/10/2010 18:20:00 job_2 22/10/2010 17:30:00 I want to find the running time of both the jobs. (i.e when i run the query it sho... View Questions/Answers

How to find run time in SQL.  November 27, 2010 at 5:44 AM
I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job_Run Job Name start time job_1 22/10/2010 18:20:00 job_2 22/10/2010 17:30:00 I want to find the run time of both the jobs. (i.e w... View Questions/Answers

How to pass value of a link to a textfield  November 27, 2010 at 1:46 AM
Dear Sir, in my project I'm initially making a value of the textfield as a link. Now, I want to pass the value of the link in the textfield after clicking the link and dont want to open a new page. Please reply ASAP. ... View Questions/Answers

how can clear the browser cache memory using java script  November 26, 2010 at 9:16 PM
how can clear the browser cache memory using java script ... View Questions/Answers

database connectivity  November 26, 2010 at 8:54 PM
describe java program steps in order to get connectivity to database along with example ... View Questions/Answers

wap showing three threads working simulteniously upon single object.  November 26, 2010 at 8:52 PM
wap showing three threads working simulteniously upon single object. ... View Questions/Answers

how can we prevent back option after log out.  November 26, 2010 at 8:25 PM
how can we prevent back option after log out. ... View Questions/Answers

javascript variable value insertion in DB  November 26, 2010 at 7:05 PM
how can I insert javascript variable value into database using php ... View Questions/Answers

ejb  November 26, 2010 at 5:56 PM
why ejb components are invisible components.justify that ejb components are invisible ... View Questions/Answers

javascript doubt  November 26, 2010 at 5:46 PM
How to retrieving the values from Database by using javascript? ... View Questions/Answers

what is the meaning of abstract?  November 26, 2010 at 5:44 PM
what is the meaning of abstract? ... View Questions/Answers

Multiarray concept  November 26, 2010 at 4:47 PM
i have 4 text box in html page, when i click new it would want to add another 4 like that ,i will go on like this? when i click delete last four buttons want to delete from it. how i can do this using js and php With Regards pragal ... View Questions/Answers

struts  November 26, 2010 at 4:10 PM
Hi, Here my quation is can i have more than one validation-rules.xml files in a struts application? ... View Questions/Answers

Struts  November 26, 2010 at 3:37 PM
How to retrive data from database by using Struts ? ... View Questions/Answers

File manipulations  November 26, 2010 at 3:35 PM
how to count number of words in a file ... View Questions/Answers

File manipulations  November 26, 2010 at 3:34 PM
how to read input to a file from console ... View Questions/Answers

POI APPLICATION  November 26, 2010 at 3:34 PM
HI .. I WANT POI (JAVA POI)SOURCE CODE FOR CONVERT EXCEL TO TEXT FORMAT ? EXPLAIN IN DETAIL PLEASE .. ... View Questions/Answers

File manipulations  November 26, 2010 at 3:33 PM
how to read the contents from one file and move the contents to another file ... View Questions/Answers

Compressing a folder into GZIP format using PHP Windows  November 26, 2010 at 3:33 PM
How to gzip compress a folder/directory in PHP using windows? ... View Questions/Answers

instance varaiable  November 26, 2010 at 3:24 PM
if we create a class which has two instance variable but don't create object of that class then what is called that instance variable??? bcoz they didn't allocate memory....... ... View Questions/Answers

generating unique combinations of length of x in a string of length l  November 26, 2010 at 2:25 PM
Generating unique combinations of length of x in a string of length l? Suppose a string abcd in read from the console and we have to produce all unique combinations of length 3 then it should produce abc bcd acd abd in case of the string abac there should not be repeatation in the combi... View Questions/Answers

validation using validate method  November 26, 2010 at 2:07 PM
HOW TO DO THE VALIDATION IN THE STRUTS 2 USING VALIDATE METHOD IN ACTION CLASS,AND ALSO AM HAVING MY BEAN CLASS AS SEPERATE. I HAD TRIED THAT BUT IT WAS NOT WORKING PROPERLY. IF U KNOW THE ANSWER KINDLY GIVE ME A BRIEF ANSWER ABOUT IT. ... View Questions/Answers

Research on java  November 26, 2010 at 2:07 PM
sir is it possible to create an new operating system for general purpose use. please inform me sir.. my id is sweeturajdani@gmail.com. ... View Questions/Answers

Java program - convert words into numbers?  November 26, 2010 at 1:17 PM
convert words into numbers? ... View Questions/Answers

jsp login page  November 26, 2010 at 11:54 AM
Hi All, can any one tell me how to create Login page using JSP and Beans. A simple log in page. Please reply ASAP. Thanx, am2085 ... View Questions/Answers

Difference between jsonstring and json object  November 26, 2010 at 9:49 AM
Is There any difference between JsonString and jsonobjectA? if there is any differece could any one explain with example. Thanks venkatesh ... View Questions/Answers

arithmetic expression tree  November 26, 2010 at 9:01 AM
how to create the java code randomly for arithmetic expression tree? ... View Questions/Answers

wap for multithreading  November 26, 2010 at 2:58 AM
wap for multithreading ... View Questions/Answers

wap  November 26, 2010 at 2:45 AM
wap to count the number of object created for class using static member method ... View Questions/Answers

Struts 2 File Upload error  November 25, 2010 at 11:41 PM
Hi! I am trying implement a file upload using Struts 2, I use this article, but now the server response the error: ognl.MethodFailedException: Method "setArquivo" failed for object br.gov.caixa.action.ProcessarMovimentoAction@1fb19a9 [java.lang.NoSuchMethodException: br.gov.caixa.action.P... View Questions/Answers

Proxies  November 25, 2010 at 6:39 PM
what are proxies in java? ... View Questions/Answers

database entry using jdbc  November 25, 2010 at 6:39 PM
Give me a program to enter records in table using jdbc in java. ... View Questions/Answers

java  November 25, 2010 at 6:05 PM
How to implement java programming in EEE(non IT).what is the scope for EEE department. ... View Questions/Answers

Getting error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver.  November 25, 2010 at 6:00 PM
I am doing project in JSP with database WampServer and glassfish as server .when i done database connection then i get an error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. The following is the code of connection. Please suggest the solution or give sample code of mysql connection. Yo... View Questions/Answers

send mail from j2me application  November 25, 2010 at 5:47 PM
how to send mail from j2me application? i need some example code related to this. ... View Questions/Answers

send mail from j2me application  November 25, 2010 at 5:47 PM
how to send mail from j2me application? i need some example code related to this. ... View Questions/Answers

javascript  November 25, 2010 at 4:02 PM
write a java script program that would input the ff:Student Name,Average,Tuition Fee and output Total Tuition Fee. Formula: Total Tuition Fee=Tuition Fee-Discount If average is: 95-100 100% discount 90-94 25% 85-89 10% 84 and below no discount Sample Output: Student Name:_ Average:_... View Questions/Answers

Error in connecting to the mySQL database in TOMCAT using more than one PC (database connection pooling)  November 25, 2010 at 3:25 PM
how do i implement connection pooling with tomcat5.5? i have updated context.xml <Context path="/HTHL" docBase="webapps/HTHL" debug="5" reloadable="true" crossContext="true" > <!-- Default set of monitored resources --> <Wat... View Questions/Answers

javascript  November 25, 2010 at 3:08 PM
write a java script program that would input the ff:Student Name,Average,Tuition Fee and output Total Tuition Fee. Formula: Total Tuition Fee=Tuition Fee-Discount If average is: 95-100 100% discount 90-94 25% 85-89 10% 84 and below no discount Sample Output: Student Name:_ Average:_... View Questions/Answers

DMCA.com