Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

What is the advantage of hibernate over JDBC?  April 20, 2013 at 3:59 PM
HI, What is the advantage of hibernate over JDBC? thanks, ... View Questions/Answers

What is the advantage of hibernate over JDBC?  April 20, 2013 at 3:59 PM
HI, What is the advantage of hibernate over JDBC? thanks, ... View Questions/Answers

What is database persistence?  April 20, 2013 at 3:58 PM
Hi, What is database persistence? thanks, ... View Questions/Answers

Advertisement

How do we create new table apart from mapping with existing table ?  April 20, 2013 at 3:56 PM
Hi, How do we create new table apart from mapping with existing table ? Thanks, ... View Questions/Answers

How to create primary key using hibernate?  April 20, 2013 at 3:52 PM
Hi, How to create primary key using hibernate? Thanks, ... View Questions/Answers

What is the main advantage of using the hibernate than using the SQL  April 20, 2013 at 3:50 PM
Hi, What is the main advantage of using the hibernate than using the SQL. thanks, ... View Questions/Answers

Login Page  April 20, 2013 at 3:28 PM
Can anyone tell me the steps to create a login page in myeclipse 7.0 and validating it with login database in db2 9.7 ??? Please tell me ... ... View Questions/Answers

how to check username & password from database using jsp  April 20, 2013 at 2:25 PM
Hello, I have created 1 html page which contain username, password & submit button. in my oracle10G database already contain table name admin which has name, password. name is amit and password is ddave. so hw could i check whether the username & password is correct or not...if co... View Questions/Answers

Find Exact Location from IP address in java?  April 20, 2013 at 11:35 AM
I am looking for API where we can pass IP address and get the location (Cityname,Country name). please suggest any API OR sample code. Thank you. ... View Questions/Answers

Core Java  April 19, 2013 at 5:20 PM
Hi, Can any one please tell me the program to print the below matrix in a spiral order. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Thanks a lat in advance!!! ... View Questions/Answers

calculating time difference for manually entered in-time and out-time in hours and min for dynamically generated rows in jsp and display in third textfield.  April 19, 2013 at 5:11 PM
calculating time difference for manually entered in-time and out-time in hours and min for dynamically generated rows in jsp and display in third textfield. ... View Questions/Answers

youtube api for uploading video  April 19, 2013 at 4:56 PM
Hi, I am using the youtube api for uploading video, today I am getting following error: <errors><error><domain>yt:quota</domain><code>too_many_recent_calls</code></error></errors> Tell m... View Questions/Answers

Simple banking system using Java  April 19, 2013 at 10:40 AM
I am trying to make a simple banking system that has only 3 interfaces which does not connect to the database. a person can be able to deposit and withdraw. One interface is the main office and the other is the branch, the third interface is the main class. Using inheritance the branch is suppose... View Questions/Answers

Jdbc  April 19, 2013 at 9:54 AM
A java program with jdbc connectivity with insert,delete,update options for name,regno,mark1,mark2,total ... View Questions/Answers

JSP CODE  April 19, 2013 at 9:21 AM
Please help me as soon as possible.Its Urgent. I am working on my college ALUMNI PORTAL. I want to have a ADD FRIEND option in a user's profile. Please send me code for the that. ... View Questions/Answers

drawing out of bounds  April 19, 2013 at 8:35 AM
How to throw an exception when a rectangle goes out of the boundaries of a JFrame. The program is asking to draw a triangle, and resize it. If the triagle size goes out of the JFrame throw an execption. I got the triangle and resizing done. MY QUESTION IS HOW CAN THROW AN EXCEPTION WHEN ... View Questions/Answers

to update drop down list value when selected from website  April 19, 2013 at 8:05 AM
hi help me, i want to insert value into db when i select from a drop down list, this is my code, <div id="age"> Age <select name='NEW'> <option value="">--- Select ---</option> </div> <?php mysql_connect("localhos... View Questions/Answers

to update drop down list value when selected from website  April 19, 2013 at 8:03 AM
hi help me, i want to insert value into db when i select from a drop down list, this is my code, <div id="age"> Age <select name='NEW'> <option value="">--- Select ---</option> </div> <?php mysql_connect("localhos... View Questions/Answers

to update drop down list value when selected from website  April 19, 2013 at 8:02 AM
hi help me, i want to insert value into db when i select from a drop down list, this is my code, <div id="age"> Age <select name='NEW'> <option value="">--- Select ---</option> </div> <?php mysql_connect("localhos... View Questions/Answers

jsp code  April 19, 2013 at 6:35 AM
how to display date in drop down list by jsp thus the date start from current date and for next year it has to check leap year function to february then it display 30 for some months else 31 for other months ... View Questions/Answers

Registration Form  April 18, 2013 at 11:44 PM
Hi Friends I am Working on a small project.I have to create a Registration page using MVC pattern where i have to insert data username,password,date of birth,Mobile number number into database. How to insert Date of birth from Drop down to database and how to validate user entered String instead ... View Questions/Answers

get Blob  April 18, 2013 at 7:50 PM
how i can display a Blob in XHTML (i developpe with hbernate) ... View Questions/Answers

what is difference between one-way data binding and two-way data binding?  April 18, 2013 at 3:46 PM
what is difference between one-way data binding and two-way data binding? Thanks ... View Questions/Answers

oracle 18/04/2013  April 18, 2013 at 12:42 PM
Why it is called as structured query language? ... View Questions/Answers

oracel 18/04/2013  April 18, 2013 at 12:38 PM
Which protocol is used in oracle log server? ... View Questions/Answers

jsp 18/04/2013  April 18, 2013 at 12:36 PM
how to retrieve collection object in jsp page ... View Questions/Answers

Generating password and id and triggering mail.  April 18, 2013 at 12:22 PM
I want a code for below mention situation `print("Filling out the form and clicking on save button creates a new record in the system and a unique id and a MD5 hash password is generated and saved in the database as new record.");` A mail is triggered by the system on id mentioning passwo... View Questions/Answers

Jsp code for disabling record.  April 18, 2013 at 11:46 AM
I want a Jsp and servlet code for the mentioned scenario. Q. A cross sign appears in front of each record, click to disable the record.System marks the record as disabled.The record will not appear for further selection. ??? Can anyone please help me out ??? Thanks in Advance from... View Questions/Answers

Form Processing Problem  April 18, 2013 at 11:11 AM
I am trying to create a Circular Page. This is the Code where the circular is updated and asks for Circular Reference number and date. <%@ page import="java.io.*" %> <% //to get the content type information from JSP Request Header String cont... View Questions/Answers

Delete Internet Explorer History in java program  April 17, 2013 at 9:28 PM
code for Delete Internet Explorer History in java program ... View Questions/Answers

Dashboard from MogoDB  April 17, 2013 at 5:54 PM
Hi Friends I need to develop a dashboard which will retrieve the data from MogoDB and show it in a web page. Which is the best way to do it? ... View Questions/Answers

Web Application Common Architecture  April 17, 2013 at 5:47 PM
Hi, Any one tell me, while project constructing , how they architect it which means using some layers and specify importance of layers. And also best way to follow program flow,,,,,,,,,,,,. ... View Questions/Answers

What’s the usage of Hibernate QBC API?  April 17, 2013 at 1:29 PM
Hi, What?s the usage of Hibernate QBC API? Thanks, ... View Questions/Answers

How can we get hibernate statistics?  April 17, 2013 at 1:27 PM
Hi, How can we get hibernate statistics? Thanks, ... View Questions/Answers

What is criteria API?  April 17, 2013 at 1:26 PM
Hi, What is criteria API? Thanks, ... View Questions/Answers

What are POJOs and what’s their significance?  April 17, 2013 at 1:25 PM
Hi, What are POJOs and what?s their significance? Thanks, ... View Questions/Answers

How do we create session factory in hibernate?  April 17, 2013 at 1:18 PM
Hi, How do we create session factory in hibernate? thanks, ... View Questions/Answers

What are the types of inheritance models in Hibernate?  April 17, 2013 at 1:17 PM
Hi, What are the types of inheritance models in Hibernate? thanks, ... View Questions/Answers

What are Callback interfaces?  April 17, 2013 at 1:15 PM
Hi, What are Callback interfaces? thanks, ... View Questions/Answers

What is Hibernate proxy?  April 17, 2013 at 1:14 PM
Hi, What is Hibernate proxy? thanks, ... View Questions/Answers

What are the Collection types in Hibernate ?  April 17, 2013 at 1:13 PM
hi, What are the Collection types in Hibernate ? Thanks, ... View Questions/Answers

Hibernate in liferay  April 17, 2013 at 1:11 PM
How to use hibernate in liferay jsf portlet? Can you illustate it with an example? ... View Questions/Answers

Hibernate in liferay  April 17, 2013 at 1:11 PM
How to use hibernate in liferay jsf portlet? Can you illustate it with an example? ... View Questions/Answers

What is component mapping in Hibernate?  April 17, 2013 at 1:09 PM
Hi, What is component mapping in Hibernate? thanks, ... View Questions/Answers

Define HibernateTemplate?  April 17, 2013 at 1:07 PM
Hi, Define HibernateTemplate? Thanks, ... View Questions/Answers

What’s the difference between load() and get()?  April 17, 2013 at 1:06 PM
Hi, What?s the difference between load() and get()? thanks, ... View Questions/Answers

How do you map Java Objects with Database tables?  April 17, 2013 at 1:05 PM
Hi, How do you map Java Objects with Database tables? thanks, ... View Questions/Answers

What is Hibernate Query Language (HQL)?  April 17, 2013 at 1:04 PM
Hi, What is Hibernate Query Language (HQL)? thanks, ... View Questions/Answers

What is the general flow of Hibernate communication with RDBMS?  April 17, 2013 at 1:03 PM
Hi, What is the general flow of Hibernate communication with RDBMS? thanks, ... View Questions/Answers

What are the Core interfaces are of Hibernate framework?  April 17, 2013 at 1:01 PM
Hi, What are the Core interfaces are of Hibernate framework? Thanks, ... View Questions/Answers

What are the most common methods of Hibernate configuration?  April 17, 2013 at 1:00 PM
Hi, What are the most common methods of Hibernate configuration? thanks, ... View Questions/Answers

What is the difference between the Boolean & operator and the && operator?  April 17, 2013 at 12:45 PM
Hello, What is the difference between the Boolean & operator and the && operator? thanks, ... View Questions/Answers

What is the difference between the >> and >>> operators?  April 17, 2013 at 12:44 PM
hi, What is the difference between the >> and >>> operators? Thanks, ... View Questions/Answers

How does Java handle integer overflows and underflows?  April 17, 2013 at 12:43 PM
hi, How does Java handle integer overflows and underflows? Thanks, ... View Questions/Answers

What does it mean that a class or member is final?  April 17, 2013 at 12:41 PM
hi, What does it mean that a class or member is final? Thanks, ... View Questions/Answers

How are this() and super() used with constructors?  April 17, 2013 at 12:40 PM
Hi, How are this() and super() used with constructors? thanks, ... View Questions/Answers

What is a transient variable?  April 17, 2013 at 12:09 PM
Hi, What is a transient variable? Thanks, ... View Questions/Answers

What is the difference between a break statement and a continue statement?  April 17, 2013 at 11:54 AM
Hi, What is the difference between a break statement and a continue statement? Thanks, ... View Questions/Answers

What is the difference between an if statement and a switch statement?  April 17, 2013 at 11:41 AM
Hi, What is the difference between an if statement and a switch statement? Thanks, ... View Questions/Answers

What is a Java package and how is it used?  April 17, 2013 at 11:25 AM
HI, What is a Java package and how is it used? thanks, ... View Questions/Answers

What is numeric promotion?  April 17, 2013 at 11:09 AM
Hi, What is numeric promotion? Thanks, ... View Questions/Answers

J query event for selecting the more than one div in tablet browser(Select and drag)?  April 17, 2013 at 10:27 AM
Web application five div is created. For selecting the more than one div using the ctrl and shift in web application. But in tablet or ipad ctr l and shift not possible to use. Touch start and drag event is support the tablet or ipad browser. Touch start and drag event work with in the div tag. I... View Questions/Answers

Write an applet that prints "Lear Java it is useful" at the current cursor position whenever the mouse left button is clicked.  April 16, 2013 at 8:05 PM
Write an applet that prints "Lear Java it is useful" at the current cursor position whenever the mouse left button is clicked. ... View Questions/Answers

Write a program in Java to append content at the end of an already existing file.  April 16, 2013 at 7:55 PM
Write a program in Java to append content at the end of an already existing file. ... View Questions/Answers

java  April 16, 2013 at 7:50 PM
Write a program in Java to append content at the end of an already existing file. ... View Questions/Answers

What is a native method?  April 16, 2013 at 6:29 PM
Hi, What is a native method? thanks, ... View Questions/Answers

What do you understand by private, protected and public?  April 16, 2013 at 6:10 PM
Hi, What do you understand by private, protected and public? thanks, ... View Questions/Answers

How to change the checkbox value dynamically.  April 16, 2013 at 10:59 AM
Hi, I am using struts 1.2 checkbox tag. Requirement is on page load the value must be "true"(checked). And after loading the page i am uncheking the check box and again loading the page. Then the checkbox is checked instead it have to show unchecked. And even i am unchecked the box it i... View Questions/Answers

Download JDK  April 16, 2013 at 9:51 AM
How to Download the latest Version of JDK? ... View Questions/Answers

to enter into a particular page only if the username,password and listbox value mtches  April 16, 2013 at 3:14 AM
I have created a login page in which a user could enter in to his page only if the username, password and the listbox value(user type) matches using "jsp".where the username,password,user type are stored in a single table in the database. here i have a problem in checking the listbox value with u... View Questions/Answers

Java  April 15, 2013 at 10:55 PM
1.Write a program to get student grade for 3 different subjects, and display the CGPA for them. Write a program to read 8 integer numbers from user, put them into 2 matrix A and B(2 by 2), and multiply the matrix and display the result. ... i need the code for theses progrms pl... View Questions/Answers

Java programme  April 15, 2013 at 7:41 PM
Write a program to get student grade for 3 different subjects, and display the CGPA for them. ... View Questions/Answers

What is casting?  April 15, 2013 at 11:12 AM
Hi, What is casting? thanks, ... View Questions/Answers

What restrictions are placed on method overloading?  April 15, 2013 at 11:12 AM
Hi, What restrictions are placed on method overloading? thanks, ... View Questions/Answers

Which class is extended by all other classes?  April 15, 2013 at 11:10 AM
Hi, Which class is extended by all other classes? thanks, ... View Questions/Answers

What is the % operator?  April 15, 2013 at 11:09 AM
Hi, What is the % operator? thanks, ... View Questions/Answers

What is an object's lock and which object's have locks?  April 15, 2013 at 11:09 AM
Hi, What is an object's lock and which object's have locks? Thanks, ... View Questions/Answers

What is the difference between a static and a non-static inner class?  April 15, 2013 at 11:08 AM
Hi, What is the difference between a static and a non-static inner class? Thanks ... View Questions/Answers

What is an abstract method?  April 15, 2013 at 11:07 AM
Hi, What is an abstract method? thanks ... View Questions/Answers

What is a local, member and a class variable?  April 15, 2013 at 11:06 AM
Hi, What is a local, member and a class variable? thanks, ... View Questions/Answers

What modifiers are allowed for methods in an Interface?  April 15, 2013 at 11:05 AM
Hi, What modifiers are allowed for methods in an Interface? thanks, ... View Questions/Answers

What is Externalizable?  April 15, 2013 at 11:03 AM
Hi, What is Externalizable? Thanks, ... View Questions/Answers

Why does Java not support operator overloading?  April 15, 2013 at 11:03 AM
Hi, Why does Java not support operator overloading? thanks, ... View Questions/Answers

jsp-servelet,error http404  April 15, 2013 at 10:04 AM
I am using mysql commandclient to connect with eclipse using jsp and servelet. I keep getting the error hhtp 404. Register.jsp Name:<input type="text" name="userName"/><... View Questions/Answers

java language  April 14, 2013 at 11:06 AM
Define a class named Doctor whose objects are records for a clinic‚??s doctors. Derive this class from the class Person given in Listing 8.1. A Doctor record has the doctor‚??s name‚??defined in the class Person‚??a specialty as a string (for example Pediatrician, Obstetrician, General Practition... View Questions/Answers

PROBLEM IN FORM VALIDTION  April 14, 2013 at 9:20 AM
i applied validation IN THIS JSP PAGE.if i leave username/password empty,i will be promped to enter those to feilds.but the PROBLEM is that after i press OK on validation prompt,the page goes to 2_control.jsp.I WANT IT TO GO TO NXT PAGE ONLY IF the validation thing is ok,not otherwise.plz hlp.... View Questions/Answers

Default constructor generate two random equations  April 13, 2013 at 7:17 AM
Need to create a default constructor in a programmer defined class that generates a random question, addition or subtraction. And when adding the numbers must be random from 0-12 and when subtracting the first number must be from 6-12, while the second is less than the first numb... View Questions/Answers

poi deals with ole2 iwant to deal with msword 2007  April 12, 2013 at 8:23 PM
import java.io.*; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.usermodel.CharacterRun; import org.apache.poi.hwpf.usermodel.Range; import org.apache.poi.poifs.filesystem.POIFSFileSystem; public class WriteIn... View Questions/Answers

Dont Post Inner Adv and Adult Content Adv .  April 12, 2013 at 7:45 PM
Hi RoseIndia Team. Am Java Developer. Am Refer this site regularly in Home and Office. My Problem is while am referring here some adult content site here . we unable to refer anything in office because of this . our office band your site . this is tutorial forum . If you post like this ... View Questions/Answers

JAVA  April 12, 2013 at 4:52 PM
java programming language software for window 7 64 bit ... View Questions/Answers

JAVA  April 12, 2013 at 4:52 PM
java programming language software for window 7 64 bit ... View Questions/Answers

Java Program  April 12, 2013 at 1:54 PM
Helle can anyone provide me one example for these question? 1 . Write a method that involves the use of command line parameters and class instantiation. Write a method that processes a file based on given criteria which includes string and/or character processing.... View Questions/Answers

Check duplicate values and the count in an arraylist and store it in another list  April 12, 2013 at 8:43 AM
Hi All, I have a list which has four fields: year name, month name, file info and count of search string. I need to count month name and the total of search string in that month and put that values in a new list. Please help to solve this logic. Many Thanks ... View Questions/Answers

hi  April 11, 2013 at 11:39 PM
sql date format is yyyy/mm/dd and user enter dd/mm/yyyy in textfields so when insert textfield value in sqldatabase table so how can convert date format so insert date store in sql table.? ... View Questions/Answers

What is a Marker Interface?  April 11, 2013 at 5:12 PM
Hi, What is a Marker Interface? thanks, ... View Questions/Answers

Can a Class extend more than one Class?  April 11, 2013 at 4:38 PM
Hi, Can a Class extend more than one Class? thanks ... View Questions/Answers

Can an Interface extend another Interface?  April 11, 2013 at 4:37 PM
Hi, Can an Interface extend another Interface? thanks, ... View Questions/Answers

Can an Interface implement another Interface?  April 11, 2013 at 4:35 PM
Hi, Can an Interface implement another Interface? Thanks, ... View Questions/Answers

Can a method inside a Interface be declared as final?  April 11, 2013 at 4:30 PM
Hi, Can a method inside a Interface be declared as final? Thanks, ... View Questions/Answers

Can a method inside a Interface be declared as final?  April 11, 2013 at 4:30 PM
Hi, Can a method inside a Interface be declared as final? Thanks, ... View Questions/Answers

DMCA.com