Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Need a JSP CODE  June 17, 2012 at 11:12 AM
*Hi I need JSP source code for selling products which are in database.. please can any one help me ..URGENT* Thank You..!** ... View Questions/Answers

need JSP Code.  June 17, 2012 at 10:48 AM
**Hi I need JSP code for selling Products which are in Database. Please can any one help for this.URGENT... Thank You..! Abhijeet.** ... View Questions/Answers

Dropdown code to retrieve result from oracle database  June 17, 2012 at 9:16 AM
Hi Friends, I am pretty new to Java.I have got a requirement to develop a utility which contains dropdowns in frontend(Javascript or JSP).If i choose an option,it should retrieve the result from Oracle database.We have procedures created already.Just need to fetch the result when the drop... View Questions/Answers

Advertisement

Accessing dynamically created variables inside a function  June 17, 2012 at 5:29 AM
Hi, I'm sure this is a stupid question but I've been trying to find the solution for days and have had no luck. Hopefully someone out there can help. So I am attempting to set a variable dynamically like so: $pid = $GET['p_id']; This part goes smo... View Questions/Answers

Sunstar  June 17, 2012 at 3:23 AM
Hi I am new to java and I'm trying to work on the program add item to shopping cart I would appreciate if you could help me out. I need to add items to a shopping cart in a web application and I'm using selenium webdriver as well to run the program I'm using eclipse ee and ofcourse in junit.... View Questions/Answers

MicroSoft word  June 16, 2012 at 11:12 PM
sir i want to develop an swing application like the microsoft word Document.can you help me pls? ... View Questions/Answers

login box  June 16, 2012 at 5:21 PM
class file for password and conform password and how it connected to database ... View Questions/Answers

java io  June 16, 2012 at 1:40 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

FCK Editor  June 16, 2012 at 12:35 PM
Hi, Can someone please explain the use of FCK editor with some simple example. Thanks in advance. ... View Questions/Answers

Quartz scheduler  June 16, 2012 at 11:02 AM
Hai i m new to quartz. I want to run the simple Helloworld job in Eclipse. When i run this scheduler code with Eclipse I have a error message saying "Cannot instantiate jobdetail and simple trigger". I have already connect those quartz jar files and also set path to all. Please anyone help me wha... View Questions/Answers

how can we store the encrypted passwaord in swings?  June 16, 2012 at 10:45 AM
how can we store the encrypted passwaord in swings? ... View Questions/Answers

java applet  June 15, 2012 at 11:45 PM
If i insert in database from applet this work, but from applet.html don't. ... View Questions/Answers

core java  June 15, 2012 at 11:16 PM
hello sir....i have one table in which i have 3 columns First Name,Middle Name,Last Name...............but i have to show single name in datagrid view in jsp page using concat string tokenizer......for example- First Name-Ranvir Middle Name-Kumar Last Name-Kapoor i have to print Ranvir Kumar Kapo... View Questions/Answers

class file  June 15, 2012 at 5:09 PM
How to create class file in jsf easily ... View Questions/Answers

Session Timeout  June 15, 2012 at 4:38 PM
Hi, we are using JBoss 4.0.2 I have edited the jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml I increased the application timeout value to 120(i.e 2 hours), and reastarted the server. But, the session timeout is not happening... View Questions/Answers

Java InnerClass  June 15, 2012 at 4:33 PM
How can we use Inner Class in java program? ... View Questions/Answers

project  June 15, 2012 at 4:19 PM
Create appropriate packages and super classes etc. to make your program more efficient and your code more manageable. Create a method to print the Pay slip in an appropriate format. The Pay slip should include the employee details, Employee category (Salaried or Contract) and vario... View Questions/Answers

project  June 15, 2012 at 4:18 PM
Assume 30 days in a month. Tax Rate for contractors is 10% For Salaried employees: a. DA - 75% of Basic salary. b. HRA - 20% of Basic Salary c. Medical - 1250 per month. d. HRA and Medical is Tax Exempt. e... View Questions/Answers

project  June 15, 2012 at 4:14 PM
Create a class diagram, both, for permanent and contracted employees, the details of which are supposed to be accepted and displayed on screen The following details need to be tracked for permanent employees: Employee Code, Name, Address, Date of Birth, Annual Basic Salary. Subse... View Questions/Answers

debugging techniques  June 15, 2012 at 4:11 PM
java program to accept the employee code from user and validate it according to the following logic. The first character of the employee code should be the letter 'E'. If it is any other letter, throw a user defined exception that displays an appropriate error message. ... View Questions/Answers

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

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

DMCA.com