Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Java ArrayList Example  June 15, 2012 at 4:07 PM
How can we use array list in java program ? ... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Advertisement

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Jsp and ajax  June 15, 2012 at 3:59 PM
Hi I am using jsp and ajax.I am retrieving the entire content from database(al.jsp) and put it into a textbox.When i am clicking a combo box,it updates the selected value in the database(jag.jsp). But it only works for first textbox and combobox.I noticed that it requires d... View Questions/Answers

Where clause  June 15, 2012 at 11:18 AM
I have doubt in Where clause .. i got a Employid from user and check the id and display the details of that id what can i do? ... View Questions/Answers

Opendlp  June 15, 2012 at 10:41 AM
Hi, Can someone please tell me what is opendlp in simple meaning. Google it but not able to understand. For what purpose is opendlp used for? ... View Questions/Answers

jsp  June 14, 2012 at 11:46 PM
hello sir.....i am doing one web application project in which i have one module called user management and into usermanagement two submodules are there user category and user........both having their own add,edit and delete..........i have to give permission(priveledge) that submodule user does n... View Questions/Answers

plese tell me the control flow of this program  June 14, 2012 at 7:23 PM
public class starForTest { public static void main(String [] args) { for (int i=1; i<=9; i++) { System.out.println(); for (int j=9; j>=i; j--) { ... View Questions/Answers

program to create an http proxy server that runs top on netty  June 14, 2012 at 7:07 PM
program to create an http proxy server that runs top on netty ... View Questions/Answers

couldnt run this program  June 14, 2012 at 6:48 PM
package calculator; import java.util.Scanner; public class calculator{ public static void main(String args[]){ Scanner vin = new Scanner(System.in); Double firstnum,secondnum,sum,sub,mul; System.out.println("enter first number"); firstnum = vin.nextDouble(); System.out.println("enter seco... View Questions/Answers

database  June 14, 2012 at 2:54 PM
i am created one table in mysql database with one of the column name is emailid.now i want to write a java code that if the mail id is already exit then it will show this emailid is already exit otherwise it will show you can register now. thanks pls reply soon ... View Questions/Answers

JSP LOGIN  June 14, 2012 at 2:48 PM
sir....i have two user types usercategory and user and both user have userid and password in two different table and now i am making login page for which i have to retrieve usertype,userid and password from two different tables....!!!!!! ... View Questions/Answers

JSP LOGIN Page  June 14, 2012 at 2:41 PM
sir....i have two user types usercategory and user and both user have userid and password in two different table and now i am making login page for which i have to retrieve usertype,userid and password from two different tables....!!!!!! ... View Questions/Answers

school student attendence report  June 14, 2012 at 2:20 PM
Hi i want school student attendence genaration source code please urgent help me. ... View Questions/Answers

Explain the process of implementing a CORBA client using a Java programming example and the steps involved.  June 14, 2012 at 2:13 PM
plz tell me answer of this question... it's urgent i have to submit the assignment by end of this week... Explain the process of implementing a CORBA client using a Java programming example and the steps involved. ... View Questions/Answers

Data retrieve from mysql database  June 14, 2012 at 11:02 AM
Hi sir, please give some example of jsp code for retrieving mysql database values in multiple dropdown list. if we change a value in a dropdown its related value must be shown in the adjacent text field using struts and hibernate. Regards Subrat ... View Questions/Answers

CORE JAVA get middle name  June 14, 2012 at 10:42 AM
hello sir...how to get middle name using string tokenizer....??? eg..like name ANKIT it will select only K...!!!! ... View Questions/Answers

Advance and Core JAVA Topics  June 14, 2012 at 10:05 AM
topics come under core java and topics come under advanced java? ... View Questions/Answers

java,jdbc,netbeans  June 14, 2012 at 9:32 AM
can you tell me the program which read multiple dbf files and then insert those dbf files data in msaccess automatically ? ... View Questions/Answers

JSP-Servlet  June 13, 2012 at 7:23 PM
Hi , I have a table and a checkbox box in that. If i select a particular checkbox, then the particular row details has to be fetched and should be given to two buttons..i/e. when i click on a checkbox, two buttons should be activated and when i selct any one, the fetched details should to given ... View Questions/Answers

Continue and break statement  June 13, 2012 at 6:48 PM
How can we use Continue and break statement in java program? ... View Questions/Answers

GUI Applications  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

open jmenu item in java  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

save and open jmenu item  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

jmenu item in java desktop application  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

Regarding GUI Applications  June 13, 2012 at 5:14 PM
How to create a save and open jmenu item in java desktop application. ... View Questions/Answers

Inheritance java Example  June 13, 2012 at 5:09 PM
How can we use inheritance in java program? ... View Questions/Answers

FinalizeMethod in java  June 13, 2012 at 4:59 PM
How can we use FinalizeMethod in java program ? ... View Questions/Answers

passing values on button click  June 13, 2012 at 3:44 PM
Please help me to solve this issue.I want to pass a value assigned to button to another view upon button click in xcode. ... View Questions/Answers

Hi good afternoon  June 13, 2012 at 3:43 PM
write a java program that Implement an array ADT with following operations: - a. Insert b. Delete c. Number of elements d. Display all elements e. Is Empty ... View Questions/Answers

jsp  June 13, 2012 at 11:26 AM
hello sir..i am editing data with an edit image but the values are not coming i am sending you my code...plz look on that where i am doing wrong.i have taken datatype for id as INT. manageuser.jsp function editRecord(id){ ... View Questions/Answers

student marks sheet genaration in struts frame work  June 13, 2012 at 10:47 AM
Hi every body iam using struts frame work back end as oracle 10g xe i wanna urgent code for student marks genaration code please help me thanks in advance. ... View Questions/Answers

Default Package  June 12, 2012 at 11:11 PM
Can we import default packages??? ... View Questions/Answers

why hibernate?  June 12, 2012 at 10:28 PM
why hibernate? ... View Questions/Answers

I want to know the all possible syntax for EL code to print the first element of an array.  June 12, 2012 at 9:16 PM
Which is the correct EL codes syntax to print the first element of an array named employeeArray. ${employeeArray["0"]} or ${employeeArray[0]} or ${employeeArray.[0]} ... View Questions/Answers

java basics  June 12, 2012 at 8:03 PM
how to show all the decimal places in a double value? ... View Questions/Answers

printing the following output using for loop  June 12, 2012 at 7:26 PM
1 2 3 3 4 5 4 5 6 7 ... View Questions/Answers

printing the following output using for loop  June 12, 2012 at 7:26 PM
1 2 3 3 4 5 4 5 6 7 ... View Questions/Answers

airline with hotels  June 12, 2012 at 6:31 PM
I need airlines with hotel webpages on php ... View Questions/Answers

Java Factorial Program  June 12, 2012 at 4:55 PM
I want to create a factorial program in Java. Please help me. ... View Questions/Answers

uinavigationcontroller add multiple buttons  June 12, 2012 at 4:45 PM
How to add multiple buttons to the UINavigationController? ... View Questions/Answers

Find out last character of array  June 12, 2012 at 4:41 PM
How we can find out the last character of array in java program ? ... View Questions/Answers

Quartz scheduler  June 12, 2012 at 2:59 PM
I m new to quartz scheduler.... I want to schedule a job in quartz.... How can i schedule ? pls send me some step by step procedure..... ... View Questions/Answers

how can i write a code to book a space in hotel  June 12, 2012 at 2:52 PM
how can i write a code to book a space in hotel ... View Questions/Answers

insertion sort  June 12, 2012 at 2:09 PM
how many arrays needed for insertion sort and why? ... View Questions/Answers

os comparison  June 12, 2012 at 2:08 PM
what is the difference between ubuntu os and windows os? what are the advantages and disadvantages of ubuntu over windows os? ... View Questions/Answers

retrun 0 to os  June 12, 2012 at 2:06 PM
why should the os needs to be notified of the completion of the program using return 0? what will the os do when it receives a call from return 0 in c? ... View Questions/Answers

heap memory  June 12, 2012 at 1:31 PM
how long is the object stored in heap memory persist? ... View Questions/Answers

time and space complexity  June 12, 2012 at 1:28 PM
sort the data structures according to efficient time and space utilisation? ... View Questions/Answers

why not float main?  June 12, 2012 at 1:25 PM
why should the main be int or void?why cant it be float or char? why int main()?why not float main()?or char main()? ... View Questions/Answers

why not float main?  June 12, 2012 at 1:25 PM
why should the main be int or void?why cant it be float or char? why int main()?why not float main()?or char main()? ... View Questions/Answers

return 0 vs exit 0  June 12, 2012 at 1:22 PM
what is the difference between return 0 and exit 0 in c? i could not find any difference in their behaviour (both terminates the process execution) in a program. ... View Questions/Answers

genarating student weekly progress report  June 12, 2012 at 11:14 AM
Hi every one iam using struts frame work backend as oracle 10g . i want code for how to genarate student weekly and monthly marks . thanks in advance ... View Questions/Answers

collections  June 12, 2012 at 10:27 AM
public class Student{ private String name; private int studentId; //getter and setters } Write a method which accepts a Set of Student objects and returns a Map with Student Id as key and name as value. ... View Questions/Answers

web development.  June 12, 2012 at 10:08 AM
I have designed a website using asp.net in that i have used oracle as database,in that users can upload,view and edit their details.so,how to write code for edit,update and delete button in asp.net and these changes has to be reflected in oracle database table. ... View Questions/Answers

splash screen time delay iphone  June 12, 2012 at 10:03 AM
How can i delay the splash screen? ... View Questions/Answers

How do I change the while loop in this code to the range with range list style display page (like search results on google) for a ResultSet() in jsp?  June 12, 2012 at 5:08 AM
<%@ page language="java" import="java.sql.*" %> <html> <head> <title>Display data from database in jsp</title> </head> <body> <table border="0" width="75%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> <... View Questions/Answers

DropDown Department Login  June 12, 2012 at 2:53 AM
Hi all, I am doing a project using JSP. My Issue is..... I have two departments name Customs and Accounts in the database with different tables. I have designed the HTML page in such a way the I have a drop down list consisting of Customs and Accounts. I have user accounts of both the dep... View Questions/Answers

Application reading data from JDBC database  June 11, 2012 at 11:58 PM
I would like to develop an online registration system that captures details of potential candidates for a Prime Game competition. The application has two links namely "register" and "view competition participants". The "register link" takes user to a page generated by a servlet that capt... View Questions/Answers

memory span and shrink - pointers  June 11, 2012 at 11:25 PM
Memory span and shrink as per application requirement and this is one of major advantage of pointer. please explain the above statment with an example with respect to c. ... View Questions/Answers

store and retrive image from the database  June 11, 2012 at 11:22 PM
please provide me with the code and the explanation of what each line does for the below query. -how to store and retreive images from sql database using sql commands -how to store and retreive images from sql database using asp.net/c# thanks in advance ... View Questions/Answers

memory layout  June 11, 2012 at 11:16 PM
how much space does each segement(data,stack,heap,static) holds in memory? memory here refers to ram or hard disk? ... View Questions/Answers

About method calls  June 11, 2012 at 11:00 PM
If I have a method that is called so many times, what can I do to increase its priority? If the question looks ambiguous, just tell me what things I can do if I have a method that is being called so many times. Because I have to use this functionality somewhere in java project... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:56 PM
Prompt the user to enter the name of a text file to search for. If the name does not end in a .txt extension, display an error message. Search for this file in the current directory. If the file does not exist print a message that says so. ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:55 PM
Write a program to use a File object and print even numbers from two to ten. Then using RandomAccessFile write numbers from 1 to 5. Then using seek () print only the last 3 digits. ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:54 PM
Write a program that stores the names of four employees in an array of strings. Store the contents of the array in an alphabetical order in a file and display it back on console. Do not use the RandomAccessFile class*/ ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:53 PM
In a random access file, first write the alphabets a,b, c, d till z. Read the file in reverse order and print it on screen. ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:52 PM
Write a program to write the details of an employee to a file. Details such as year of joining, department code, employee name and salary should be included. You must use RandomAccessFile to accomplish this. Now, read the data that has been written in the previous step and display it on the co... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:51 PM
Write a program to read and write the details of an employee like year of joining, Department code, salary using some byte stream classes. ... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:50 PM
Write a program that reads input from the console in the form of a string. When the user enters a word called end, the program should stop reading from the console and print out the values that have been entered so far.*/ ... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:50 PM
Write a program that reads input from the console in the form of a string. When the user enters a word called end, the program should stop reading from the console and print out the values that have been entered so far.*/ ... View Questions/Answers

FILE CONCEPT  June 11, 2012 at 7:48 PM
Prompt the user to enter the name of a text file to search for. If the name does not end in a .txt extension, display an error message. Search for this file in the current directory. If the file does not exist print a message that says so. ... View Questions/Answers

wrapper class concept  June 11, 2012 at 7:47 PM
Write a Java class that stores an integer item id, a string item name and a float price. Store all these in a String member Variable, separated by a space delimiter. Use an overloaded method to add these different types to the String member. Provide a get method to retrieve the formatted string m... View Questions/Answers

HQL in hibernate ? Explain the use of HQL.  June 11, 2012 at 7:02 PM
What is the HQL in hibernate ? Explain the use of HQL. ... View Questions/Answers

sleep method in thread java program  June 11, 2012 at 6:59 PM
How can we use sleep method in thread ? ... View Questions/Answers

Hibernate generated SQL statements on console  June 11, 2012 at 6:36 PM
If you want to see the Hibernate generated SQL statements on console, what should we do? ... View Questions/Answers

UIImageView set Image URL  June 11, 2012 at 6:28 PM
Show image by URL ... View Questions/Answers

Define the session factory interface in hibernate?  June 11, 2012 at 6:22 PM
Define the session factory interface in hibernate? ... View Questions/Answers

write a program for complete JDBC based application  June 11, 2012 at 6:02 PM
thank you sir giving answer for my question. my another question is: Write a complete JDBC based application where in the user supplies the following table as input and the program should have the facilities of Adding, Modifying, Viewing and Deleting the Records of the given table. Stud<... View Questions/Answers

Update value of database using hibernate.  June 11, 2012 at 5:37 PM
How to update value of database using hibernate? ... View Questions/Answers

Use of delete() method in hibernate.  June 11, 2012 at 5:31 PM
Define the use of delete() method of hibernate? ... View Questions/Answers

Why to use Session interface in Hibernate?  June 11, 2012 at 5:28 PM
Why to use Session interface in Hibernate? ... View Questions/Answers

add imageview to uiview  June 11, 2012 at 5:28 PM
i want to add an image to UIView background. ... View Questions/Answers

If and else if ladder  June 11, 2012 at 5:23 PM
How we can use if and else if statement? ... View Questions/Answers

Switch Statement  June 11, 2012 at 5:02 PM
How we can use switch case in java program ? ... View Questions/Answers

coolection class  June 11, 2012 at 4:01 PM
how to find maximum and minimum from a list using max & min method of collection class ... View Questions/Answers

Write an event driven program to perform the arithmetic operations as shown in the interface  June 11, 2012 at 1:09 PM
hi sir i have an assignment question, but i don't know the java programming code for that question. my question is here: Q. Write an event driven program to perform the arithmetic operations as shown in the interface arithematic operators: this is the form heading enter n1 :te... View Questions/Answers

image file upload to a web server  June 11, 2012 at 1:08 PM
Refer roseindia post http://www.roseindia.net/jsp/fileupload/Sinleupload.xhtml.shtml. It works fine on my local computer. But when I use it on a server it don't work. My server uses Apache Tomcat 5 server. How can I upload a file to the web server? ... View Questions/Answers

sending a zip file to servlet  June 11, 2012 at 12:48 PM
I have created a .zip file in a servlet on the local system(no static ip). The .zip file contains xml files. I have to send it to another servlet which is in a server(has a static ip). I have done the other way round(server to local). But, not able to send and receive from the local system to ser... View Questions/Answers

Problem about coding in ajvascript  June 11, 2012 at 11:58 AM
I created a three radio buttons in the following way How many iphone styles are present in the image? <input type="radio" name="option" id="option" value="01" /> 01<br /> <input type="radio" name="option" id="option" value="03... View Questions/Answers

different output trying to execute same java code  June 11, 2012 at 11:54 AM
i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding to read value from serial port : import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements Runnable, SerialPortEventListener { stati... View Questions/Answers

different output trying to execute same java code  June 11, 2012 at 11:54 AM
i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding to read value from serial port : import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements Runnable, SerialPortEventListener { stati... View Questions/Answers

different output trying to execute same java code  June 11, 2012 at 11:48 AM
i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding to read value from serial port : import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements Runnable, SerialPortEventListener { static ... View Questions/Answers

data base  June 11, 2012 at 11:03 AM
how to connect coding in data base ? ... View Questions/Answers

simple source code for tower of hanoi in android  June 11, 2012 at 12:21 AM
may I get a source code for tower of hanoi game in android pls.If possible help me as much as possible. ... View Questions/Answers

dropdown list and text fields in php  June 10, 2012 at 10:38 PM
How could I use php to populate text fields by selecting a name of a business from dropdown list? Those text fields that will be populated by information in regards its company name, suite number, description, and opening times from a mysql database. If you can, post code in php. Also, the user w... View Questions/Answers

Using Servlets, JSP for Online Shopping  June 10, 2012 at 9:38 PM
What is wrong with my code ? JSP <form action="LoginServlet "method="post" > <table> <tr ><td>Username:</td><td><input type="text" name="Id" ></td></tr> <tr><td>Pa... View Questions/Answers

How to populate text fields using php code?  June 10, 2012 at 9:18 PM
How could I use php to populate text fields by selecting a name of a business from dropdown list? Those text fields that will be populated by information in regards its company name, suite number, description, and opening times from a mysql database. If you can, post code in php. Also, the user w... View Questions/Answers

PHP Sticky form problem  June 10, 2012 at 7:46 PM
I have done the full coding of a sticky form. It is a simple calculator. Whenever I input the value and press "add" or"minus" or "multiply"..etc..etc..and also the reset button the result does not display. Please see my coding below...and advice me what is the problem, and what it need me to done... View Questions/Answers

DMCA.com