Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Swing program  April 12, 2011 at 11:56 AM
Write a java swing program to get name and email id. Display the error message if email id is not in xxxxx@xxxx.xxx format. ... View Questions/Answers

C,C++  April 12, 2011 at 11:07 AM
int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r); ... View Questions/Answers

Javascript & jsp  April 12, 2011 at 11:04 AM
Dear Sir, I have a table which has records relating to student name,roll no,sex,subject.address. I have a dropdown list which has all the roll numbers of the students in the database.How can i populate the text box like name,class,sex after selecting a roll number from the dropdown.It wil... View Questions/Answers

Ads

Related to GenericServlet and HttpServlet  April 12, 2011 at 8:56 AM
Que: Http Servlet extends Generic Servlet then Why both GenericServlet and HttpServlet implements Serializable interface ? ... View Questions/Answers

java beginner  April 12, 2011 at 8:02 AM
HI I am swetha iam confused when to use service(), doget(), dopost() method in servlets ... View Questions/Answers

fast food restaurant  April 12, 2011 at 8:00 AM
I need to design a Java application to manage a drive-thru restaurant. There are two drive-thru windows to serve customers and a kitchen to prepare the ordered food. Use an random number generator to determine when a customer arrives. Assign the arrived customer to an available drive-thru window.... View Questions/Answers

Please provide me with the coding for a program that prompts the user to enter the number of student's, the student's name, and the student's test score.  April 12, 2011 at 6:44 AM
Hi. I need the coding for this problem. I am not even sure where to start. This is what I need. Write a java program that prompts a user to enter the number of students, the student's name, and the student's test score. The output will be the student's names and matching scores in decreasing orde... View Questions/Answers

Java with Arrays  April 12, 2011 at 5:12 AM
I was given the assignment to create two parallel arrays; both of size 50 (declares 50 as a constant) One is an array of strings and hold names, While the other is an array of numbers (int or double) to hold test scores. We were also given the task to have the code get input from user and store i... View Questions/Answers

java beginners  April 12, 2011 at 4:39 AM
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program: ? calcAverage - This method should accept five test scores as arguments and return the average o... View Questions/Answers

java beginners  April 12, 2011 at 4:38 AM
When an object is falling because of gravity, the following formula can be used to determine the distance of the object falls in a specific time period. d = 1/2 gt2 The Variables in the formula are as follows: d is the distance in meters, g is 9.8, ... View Questions/Answers

java beginners  April 12, 2011 at 4:36 AM
Q1: Write a method named showChar. The method should accept two arguments: a reference to a String object and an integer. The integer argument is a character position within the String, with the first character being at position 0. When the method executes, it should display the character at that... View Questions/Answers

Dynamic check box problem  April 12, 2011 at 2:49 AM
In my project i have used a dynamic table, in the each row of that table there is one check box [that i have created dynamically]. Now my problem is that i can't access those values from that dynamic check boxes ... pleas help me as soon as possible... ... View Questions/Answers

jsp  April 12, 2011 at 12:37 AM
retrieve the values from the database which you have entered through the form and display ... View Questions/Answers

jsp  April 12, 2011 at 12:37 AM
retrieve the values from the database which you have entered through the form and display ... View Questions/Answers

online attendance management in java.....  April 11, 2011 at 11:51 PM
if any body have this project or project related to this please help.... i need it urgently.. plz help me out ... View Questions/Answers

DOJO+Creating button of same size.  April 11, 2011 at 8:51 PM
I am trying to create two buttons in DOJO of equal size. But the size of the buttons varies depending upon the name of the button that will get displayed. I tried by giving a class atribute but it did not workout. Could any one help? ... View Questions/Answers

Q6 Write a java applet that displays 9 squares, one below the other. Every third square must be filled in black?  April 11, 2011 at 6:03 PM
Q6 Write a java applet that displays 9 squares, one below the other. Every third square must be filled in black? ... View Questions/Answers

read paragraph  April 11, 2011 at 5:29 PM
how to read paragraph from one file to another file? ... View Questions/Answers

Regular expression in c++{MFC}  April 11, 2011 at 5:22 PM
Hi ALL, I want to build a regular expression in c++{MFC} which validates the URL. The regular expression must satisfy following conditions. Valid URL:- http://cu-241.dell-tech.co.in/MyWebSite/ISAPIWEBSITE/Denypage.aspx/ http://www.google.com http://www.google.co.in ... View Questions/Answers

struts  April 11, 2011 at 4:35 PM
hi i would like to have a ready example of struts using "action class,DAO,and services" for understanding.so please guide for the same. thanks... View Questions/Answers

struts  April 11, 2011 at 4:32 PM
hi i would like to have a ready example of struts using"action class,DAO,and services" so please help me ... View Questions/Answers

java  April 11, 2011 at 3:12 PM
I am new to eclipse IDE. Now i am using eclipse 3.4.2 ganymede for my project. I tried to open an existing project in eclipse. But its showing 2 errors.. 1. The project cannot be built until build path errors are resolved 2. Unbound classpath container: 'JRE System Library [jdk1.5.0_08... View Questions/Answers

business component development  April 11, 2011 at 1:20 PM
sir ineed objectives type questions ... View Questions/Answers

web component development  April 11, 2011 at 1:04 PM
sir ineed objectives type questions ... View Questions/Answers

web component development  April 11, 2011 at 1:04 PM
sir ineed objectives type questions ... View Questions/Answers

Multiple select box  April 11, 2011 at 12:55 PM
Hi, I need help in code for multiple select box. The multiple select box should be populated with the db values.The selection done in the multiple select box is to be moved to the text area provided a add and remove buttons in between for moving the selected items into the text area. ... View Questions/Answers

java  April 11, 2011 at 12:23 PM
how run an eclipse project with tomcat server.. ... View Questions/Answers

how to create directed line between two buttons when i clicked there  April 11, 2011 at 11:48 AM
Hi I have to create a topology between 6 nodes. 6 nodes are created as 6 buttons and when i clicked in first button and then on second button a directed line should be formed between them.Give me a solution. ... View Questions/Answers

java  April 11, 2011 at 10:51 AM
how to set SMS alert in my proj? Pls tel me the procedure.. ... View Questions/Answers

unchecked exception  April 10, 2011 at 8:45 PM
What happens if the service method throws an unchecked Exception??? ... View Questions/Answers

java plugin code for nutch using filter indexer  April 10, 2011 at 4:17 PM
hello: i want to write an indexer filter (aplugin for nutch) that take the arabic words from the indexer and remove the movements from this words then return them to the indexer what i should use instead of the parse.getdata() and what i should put in the doc.add(name,value) . I don't know what ... View Questions/Answers

jsp validation  April 10, 2011 at 12:55 PM
enter name-___ enter number-__ I want that the focus should not go to number till the time u have entered name. Means the number text should be disabled.. i require code for it.... ... View Questions/Answers

Java Method with arrays  April 10, 2011 at 12:23 AM
My assignment is to write a java method, smallestIndex, that takes as its parameters an int array and its size, and returns the index of the (first occurrence of the) smallest element in the array. Also, write a program to test your method. my main method code is : ... View Questions/Answers

Question on pooling  April 9, 2011 at 10:15 PM
which server supports pooling?Application server or web server? ... View Questions/Answers

dynamicly add component to jsf page.  April 9, 2011 at 10:12 PM
i want display image or text from database on jsf page. so i want to add components dynamicly. how am i do this. thanks for answers... ... View Questions/Answers

hash map  April 9, 2011 at 7:49 PM
write a program in hash map , that shows the value in asending order. but not key value. ex: key value ==== ===== k5 ashutosh k1 babita k7 debasis k2 vikas plz help me ......... and value entry from keyboard. ... View Questions/Answers

loan repayment  April 9, 2011 at 5:17 PM
Monthly installment calculation is (Loan Amount / (12 * number of years of year repayment)) + 7% of (loan Amount) In case the customer forgets to pay the installment amount for n months the next bill would show the pending amount as well as the fine for the month. Fine for n months is:- 12 % of m... View Questions/Answers

java.io package  April 9, 2011 at 3:33 PM
The java.io package includes a PrintStream class that has two formatting methods that we can use to replace print () and println (). Find this two methods & Describe with your own examples ... View Questions/Answers

methods  April 9, 2011 at 3:29 PM
PrintStream class has two formatting methods,what are they? ... View Questions/Answers

methods  April 9, 2011 at 3:29 PM
PrintStream class has two formatting methods,what are they? ... View Questions/Answers

methods  April 9, 2011 at 3:29 PM
PrintStream class has two formatting methods,what are they? ... View Questions/Answers

printstrim class  April 9, 2011 at 3:27 PM
discribe PrintStream class ... View Questions/Answers

printstrim class  April 9, 2011 at 3:27 PM
discribe PrintStream class ... View Questions/Answers

Working of POS Terminal  April 9, 2011 at 1:47 PM
Hi there, thanks for this post. Just curious how actual POS terminal will interact with PHP. PHP doesn't provide hardware interaction. Thanks for reply. Regards. ... View Questions/Answers

I want to submit the below "struts html tag" based jsp when i hit the enter key as well as submit button.(inthe belwo code wroking properly for submit button)  April 9, 2011 at 12:28 PM
<p>&lt;%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> &lt;%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>F... View Questions/Answers

Displaying file from database  April 9, 2011 at 12:01 PM
I have list of files in my database. I want to display these files in browser according to the input. My need is like google search result. when i click on the link it should display that corresponding file from database. I have list of file id related to search. I want to retrieve and display al... View Questions/Answers

C4.5 ALGORITHM  April 9, 2011 at 10:55 AM
I am doing my project in data mining.Any body having code for C4.5 decision tree algorithm in java with output.Help me Friends. ... View Questions/Answers

Reading RDF file using Java code in Eclipse  April 9, 2011 at 10:36 AM
Could you please tel me what this statement means - Model model = ModelFactory.createDefaultModel(); ... View Questions/Answers

ANZ PLZ  April 8, 2011 at 10:20 PM
Discuss String class METHODS ... View Questions/Answers

ANZ PLZ  April 8, 2011 at 10:19 PM
FIND DISCRIPTION ABOUT print () and println ()METHODS ... View Questions/Answers

GIVE ME A ANSWER  April 8, 2011 at 10:17 PM
Discuss the Number Class in the java.lang package ... View Questions/Answers

write following program  April 8, 2011 at 5:25 PM
Q1 What is the difference between single threaded application and multithreaded application? What are the benefits of multi-threading. Explain with examples Q2 Write a java applet that takes your name through a parameter from the HTML file and displays it Q3 Write a short note on ... View Questions/Answers

Get specific item details by clicking on hyperlink  April 8, 2011 at 5:08 PM
sir, I am developing a shopping site, following is my problem definition: I have a search item button, if I click on that button it lists all items with item name and corresponding image with a hyperlink on it from the database to a jsp page. -If I click on the image or item name I shoul... View Questions/Answers

mfmailComposeViewController link  April 8, 2011 at 4:30 PM
Is there any way to get a hyperlink on email text using mfmailComposeViewController in my iPhone application? ... View Questions/Answers

eraser type generics in java  April 8, 2011 at 4:09 PM
Explain eraser type generics in java with example. ... View Questions/Answers

validate email objective c  April 8, 2011 at 2:26 PM
how can i validate email text field in objective c? is there any method that support multiple email address separated by coma. ... View Questions/Answers

Setting of java1.4.2 path  April 8, 2011 at 12:50 PM
Hello I have uploaded java1.4.2 into my laptop and i have done path settings for System variabales as Path (C:\j2sdk1.4.2\bin) and classpath(C:\j2sdk1.4.2\lib) .But when i write simple code and executed the java program , ie When i compile as javacHelllo.java(in which Hello is my cl... View Questions/Answers

validate text field iPhone  April 8, 2011 at 12:42 PM
i got two different UITextfield in my iPhone application for user login. Just wondering how to validate it? ... View Questions/Answers

objective c extending a class with a class  April 8, 2011 at 12:26 PM
I need an example for extending a class with a class in objective c. thanks! ... View Questions/Answers

objective c extending a class with a class  April 8, 2011 at 12:26 PM
I need an example for extending a class with a class in objective c. thanks! ... View Questions/Answers

interface  April 8, 2011 at 12:18 PM
what is the use of marking interface? ... View Questions/Answers

how to display one image on jsp through java  April 8, 2011 at 11:57 AM
Hi, I wanted to display one image on my jsp file like social networking sites. But the scenario is that the image file is not inside the project folder. That is inside the C://upload/image.jpg . what is the procedure to get that and display on my jsp page. Thanks in advance.... View Questions/Answers

htpp 404 error "Servlet as is not available"  April 8, 2011 at 10:25 AM
hi iam new to struts. when iam running my struts app after filling the login form iam getting "Servlet as is not available". iam unable to find out where the error is.iam pasting my web.xml file below. <web-app> <servlet> <servlet-name>as</servl... View Questions/Answers

java or 3d  April 8, 2011 at 10:22 AM
can we use of 3d in core java? if yes pls tell me a demo example of 3d java. thanks... ... View Questions/Answers

htpp 404 error "Servlet as is not available"  April 8, 2011 at 10:21 AM
hi iam new to struts. when iam running my struts app after filling the login form iam getting "Servlet as is not available". iam unable to find out where the error is.iam pasting my web.xml file below. as org.apache.struts.a... View Questions/Answers

jsp  April 8, 2011 at 10:09 AM
in my project i have following jsp in this jsp the pagesize=30 but i have to create drop down box with values 10,20,30. and i have to pass them to pagesize how can i do this please help me... View Questions/Answers

jsp  April 8, 2011 at 10:09 AM
p>in my project i have following jsp in this jsp the pagesize=30 but i have to create drop down box with values 10,20,30. and i have to pass them to pagesize how can i do this please help me <%@ page contentType="text/html; charset=UTF-8" language="java" ... View Questions/Answers

plz give me answer  April 8, 2011 at 7:07 AM
description about string class methods ... View Questions/Answers

plz give me answer  April 8, 2011 at 7:07 AM
description about string class methods ... View Questions/Answers

Discuss the Number Class in the java.lang package  April 8, 2011 at 7:06 AM
Discuss the Number Class in the java.lang package ... View Questions/Answers

plz give me answer  April 8, 2011 at 7:05 AM
description about string class methods ... View Questions/Answers

Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples.  April 8, 2011 at 7:05 AM
Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples. ... View Questions/Answers

Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples.  April 8, 2011 at 7:04 AM
Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples. ... View Questions/Answers

plz give me answer  April 8, 2011 at 7:03 AM
Discuss & Give brief description about string class methods ... View Questions/Answers

Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples.  April 8, 2011 at 6:56 AM
Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples. ... View Questions/Answers

Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples.  April 8, 2011 at 6:56 AM
Discuss the Number Class in the java.lang package & list all its subclasses with appropriate examples. ... View Questions/Answers

how can create album in java by using Stack ....  April 8, 2011 at 3:20 AM
hi all , if i press push button put the image to the stack , and when i press pop button remove the image ..??? please help me please , ... View Questions/Answers

CORE JAVA  April 8, 2011 at 2:01 AM
CORE JAVA PPT NEED WITH SOURCE CODE EXPLANATION CAN U ?? ... View Questions/Answers

session value not get in many jsp page.  April 8, 2011 at 1:12 AM
I am using servlet to set session by following code :- HttpSession session=request.getSession(false); session.setAttribute("user", email); RequestDispatcher rd=request.getRequestDispatcher("Login_home.jsp"); rd.forward(request,response); and get... View Questions/Answers

Core Java -String  April 8, 2011 at 12:00 AM
Write a program to print "Ranjan pintu am i". the given string is i am pintu ranjan. here there is a condition, we can't use split() method, using loop only. ... View Questions/Answers

how can create pop() method in this program ,Or how can delete image in it when i press pop button in runtime ??? please help me ...  April 7, 2011 at 10:57 PM
// these image that put in program must be in the same folder that saved the program . //AlbumInJava.java import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.io.*; public class AlbumInJava extends JPanel { static int size=... View Questions/Answers

what error in this program plese correct it  April 7, 2011 at 9:26 PM
import java.io.*; class y { public static void main (String args[]) { Data inputStream dis = new Data inputstream(System.in); float l,b,a; Systyem.out.println("enter the lengh"); l=float.parse float{dis.readLine()}; Systyem.out.println("enter the breath"); b=float.parse float(dis.readLine()); a... View Questions/Answers

program  April 7, 2011 at 8:26 PM
write a java program to input a no. and print wheather the no. is a special no or not. (special no. are those no whose factorial of the sum of digit of the no is same as the original) ... View Questions/Answers

program  April 7, 2011 at 8:19 PM
WAP a java program to form 1/2+3/4+5/6+7/8 series ... View Questions/Answers

.xhtml or .jsp page in a jsf project  April 7, 2011 at 8:16 PM
in a jsf project which pages should i use, .jsp or .xhtml? and why ? what are adventages or dis adventages jsp and xhtml pages. thanks... ... View Questions/Answers

java quetion  April 7, 2011 at 7:06 PM
A company has four salespeople (numbered from 1 to 4), who sell five different products (numbered from 1 to 5). Once a day, each salesperson passes in a slip for each type of product sold. Each slip contains the following: ï??· The salesperson number, ï??· The product number, ï??· The to... View Questions/Answers

please help me.  April 7, 2011 at 7:03 PM
I have three table in mysql,and i hava create a excel sheet and add this sheet.but my question is in every sheet i can display one one table result.how can i do this? ... View Questions/Answers

edge detection  April 7, 2011 at 5:56 PM
hown we can detect edges in an image ... View Questions/Answers

edge detection  April 7, 2011 at 5:55 PM
hown we can detect edges in an image ... View Questions/Answers

is it possible to add a button inside an autocomplete jquery ui plugin?  April 7, 2011 at 5:31 PM
is it possible to add a button inside an autocomplete jquery ui plugin? My requirement: I have a 4 text input fields that I want to implement autocomplete functionality. If the input does not match the dropdownlist, I want to put a button that will open a jquery modal form, that the us... View Questions/Answers

struts  April 7, 2011 at 3:55 PM
i have one textbox for date field.when i selected date from datecalendar then the corresponding date will appear in textbox.i want code for this in struts.plz help me ... View Questions/Answers

inheritance  April 7, 2011 at 3:51 PM
how does one implement inheritance in java? ... View Questions/Answers

Java Xml Data Store  April 7, 2011 at 3:32 PM
I have to do this project and i'm finding it so hard its way over my head if any one has any ideas or help. What would the best way to do this ? small application to keep track of enquiries. When an enquiry comes in by phone or in person, she needs to record their name, address, contact p... View Questions/Answers

Spring MVC, request object in val;idator class  April 7, 2011 at 3:11 PM
Spring MVC validators by default gives you a commandClass object which you can validate. For each variable in the commandClass there is a binding on jsp, which populates the variable. Now there may be some elements on your view which are not bound to any variable in the commandClass but you will ... View Questions/Answers

advance java  April 7, 2011 at 2:46 PM
give the sourse code for sky high institute of management using j2ee ... View Questions/Answers

Getting HTTP 404 error in Spring web MVC with Hibernate Integration  April 7, 2011 at 2:25 PM
Hi, i am Getting HTTP 404 error in Spring web MVC with Hibernate Integration after click on submit button. so provide me a better solution. ... View Questions/Answers

Solving task 1 by 1 from bundle of task data  April 7, 2011 at 1:57 PM
Hello and namaste guys, i really need help here.i use ResultSet to query data from database. as we know, it query row by row using while (ResultSet()) this means, i have a lot of row.row means task.in each task, there will be an information like userid, Taskid, user_input i have ... View Questions/Answers

UITextview inside UITableviewcell  April 7, 2011 at 1:50 PM
How can i adjust the height of UITableCell view according to the UITextfield height inside it? ... View Questions/Answers

JTable  April 7, 2011 at 1:10 PM
Hi I have problems in setting values to a cell in Jtable which is in a jFrame which implements TableModelListener which has a abstract method tableChanged(TableModelEvent e) . I'll be loading values from data base when i enter id... View Questions/Answers

Height for cell in table view - UITableView  April 7, 2011 at 1:09 PM
UITableview height for cell What is the height for cell in table view iPhone mobile application? ... View Questions/Answers

DMCA.com