Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

servlet1  April 26, 2013 at 12:39 PM
what is return type of getQueryString() method? ... View Questions/Answers

servlet1  April 26, 2013 at 12:39 PM
what is return type of getQueryString() method? ... View Questions/Answers

Struts application two submit button  April 26, 2013 at 11:10 AM
Hai, i'm new in struts application development , My code is <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org... View Questions/Answers

Advertisement

java/jsp code to download a video  April 26, 2013 at 11:04 AM
how can i download a video using jsp/servlet?? ... View Questions/Answers

Populate listbox according to selection value from another selectbox  April 26, 2013 at 8:49 AM
hi... I am developing my webproject in which i have 3 campus and each campus has different different courses. In registration form i want two select boxes one for campus and another for course. When i select campus i want to populate appropriate courses from database without page refresh.... View Questions/Answers

login  April 25, 2013 at 2:07 PM
how to login admin and user with the same fields(name & password) in single login page while the table for admin and user is seprate in database(mysql) please provide me solution as soon as possible thanks ... View Questions/Answers

autoincerament  April 25, 2013 at 1:24 PM
Hi, i have one textfield in html form and i want to set it as auto increment on submit using php query. ... View Questions/Answers

Hi how to transfer table data from html page to excel sheet by using javascript .  April 24, 2013 at 8:05 PM
html page to excel sheet by using javascript and i dont want to transfer all rows in table, i want to hide some rows in excel sheet. Please send code.It's urgent ... View Questions/Answers

applet printing  April 24, 2013 at 5:55 PM
i am making a frame in which i am calling three applets gridwise and in each applet i am drawing some graph so while printing whole frame i am able to print all 3 applets together on one page but in each applet i am drawing some string for y axis description of graph through affine transform but ... View Questions/Answers

Date auto format  April 24, 2013 at 4:19 PM
Hi, I have jsp page and Date field with input type. Requirement is, if we enter date as MMDDYY or MMDDYYYY and clicking the tab the date(MMDDYY or MMDDYYYY) have to auto format to MM/DD/YYYY. could you please suggest me the best function to do this. Thanks in advance!!!! ... View Questions/Answers

write a java program to print marklist of "n " students. input Register number, name and marks of three subjects.  April 24, 2013 at 3:24 PM
write a java program to print marklist of "n " students. input Register number, name and marks of three subjects.... View Questions/Answers

Session Mamangemnt  April 24, 2013 at 3:17 PM
Hi all.. I want invalidate the the session for an element in an array .. for EX: a[0] has to invalidate rest a[1],a[2]... has to be in session .. please help me out urgent..! ... View Questions/Answers

Session Mamangemnt  April 24, 2013 at 3:17 PM
Hi all.. I want invalidate the the session for an element in an array .. for EX: a[0] has to invalidate rest a[1],a[2]... has to be in session .. please help me out urgent..! ... View Questions/Answers

for loop  April 24, 2013 at 3:07 PM
how to performs the for loop when 2 inputs given like displays the triangle shape and how to take initial values or declaration values plz explain in detailed ex. 1 12 123 1234 ... View Questions/Answers

how to insert data into database using jsp & retrive  April 24, 2013 at 2:12 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

Could not parse configuration: hibernate.cfg.xml  April 24, 2013 at 1:04 PM
Hi, I am getting the error- log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" org.hibernate.HibernateException: Could not parse configuration: h... View Questions/Answers

logic-iterate  April 24, 2013 at 11:30 AM
in my code i am using for-each loop for displaying data i want use tag to display data how to use plase help me <%@ page import="java.sql.*" %> <%String[] id = (String[])session.getAttribute("ids"); %> <%try{ %> <% ... View Questions/Answers

tax calculation  April 23, 2013 at 9:39 PM
I want you to write a program while take some amount and do the tax calculation Sr.No. Particulars Present Rate Amount in INR 1 Service Fee - 100 2 Service tax Tax 12.00% 12 Education cess 0.20% 0.2 Secondary and Higher Education Cess 0.10% 0.1 3 Ent... View Questions/Answers

Regarding one business scenario  April 23, 2013 at 9:38 PM
Ya actually i have a requirement which is I have four questions 1.DOB? 2.DOJ? 3.mothers name? 4.Grand fat... View Questions/Answers

why jre in jdk  April 23, 2013 at 12:42 PM
why jre in jdk?. ... View Questions/Answers

Call an array from multiple functions  April 23, 2013 at 11:37 AM
I am having two methods in this method i am getting array values from another class. i create same array name for accessing the method values(array) but it will access only one method values(array) that is the function i called second one is access and also it will not replce.please anyone can he... View Questions/Answers

Jsp program  April 23, 2013 at 10:18 AM
A sample program of jsp using dml quaries...? ... View Questions/Answers

Access denied for user 'abc'@'xxxx' (using password: YES)  April 22, 2013 at 8:22 PM
I have tested my code on local machine DB, its working correctly.. But when i shifted it to server DB using URL, Username and password.. i got this error .. How can i achieve this one.. ? Can i give any permission to connect with internet like in Android-internet connection permission like that ... View Questions/Answers

HI Jsp check box..!  April 22, 2013 at 6:51 PM
Hi all.. I want to update the multiple values of database table using checkbox..after clicking submit the edited field has to update and rest has to enable to update...please help me..its urgent..! ... View Questions/Answers

Updating multiple value depending on checkboxes  April 22, 2013 at 6:31 PM
Hi .. I want to Update the multiple values of database using checkboxes and want to set the session for selected checkboxes..? please answer if any one knows as soon as possible..? ... View Questions/Answers

Help needed in JSP  April 22, 2013 at 6:30 PM
Hi .. I want to Update the multiple values of database using checkboxes and want to set the session for selected checkboxes..? please answer if any one knows as soon as possible..? ... View Questions/Answers

I want to update the multiple values of database depending on checkbox..? Please help me out..  April 22, 2013 at 6:12 PM
Hi .. I want to Update the multiple values of database using checkboxes and want to set the session for selected checkboxes..? please answer if any one knows as soon as possible..? Thanks in Advance, ... View Questions/Answers

Text Files  April 22, 2013 at 2:17 PM
how to write a text file in the following code: import javax.swing.*; import java.awt.*; /* <applet code = "regdealer.class" height = 400 width =500> </applet> */ public class regdealer extends JApplet { /*Declaring the variables. */ J... View Questions/Answers

Drop Down  April 21, 2013 at 4:00 PM
How to insert date into database using dropdown like facebook ? ... View Questions/Answers

how to make multiple rectangles  April 21, 2013 at 1:15 PM
I,m a beginner , m sorry if the question is really simple i have an array list.I want to print the contents of the array list in rectangles. as in each element should be in different rectangles. please help my code as of now:(but this doesn't work) import ... View Questions/Answers

Hash-function: "weakly collision-free" and "strongly collision-free"  April 21, 2013 at 11:22 AM
I had read definition of hash function on site .But I was confused that why it had two defines of H. It was "weakly collision-free" and "strongly collision-free". I think two defines have the same meaning. Explain: A hash function H is said to be one-way if it is hard to invert, where ... View Questions/Answers

How are joins handled using Hinernate?  April 20, 2013 at 5:17 PM
Hi, How are joins handled using Hinernate? Thanks, ... View Questions/Answers

What are the different types of property and class mappings?  April 20, 2013 at 5:15 PM
Hi, What are the different types of property and class mappings? thanks, ... View Questions/Answers

What are different environments to configure hibernate?  April 20, 2013 at 5:13 PM
Hi, What are different environments to configure hibernate? Thanks, ... View Questions/Answers

What are the benefits of ORM and Hibernate?  April 20, 2013 at 5:11 PM
Hi, What are the benefits of ORM and Hibernate? Thanks, ... View Questions/Answers

What are the benefits of detached objects?  April 20, 2013 at 5:03 PM
Hi, What are the benefits of detached objects? Thanks, ... View Questions/Answers

How will you configure Hibernate?  April 20, 2013 at 5:01 PM
Hi, How will you configure Hibernate? Thanks, ... View Questions/Answers

What is Light Object Mapping?  April 20, 2013 at 5:00 PM
Hi, What is Light Object Mapping? Thanks, ... View Questions/Answers

Does hibernate support polymorphism?  April 20, 2013 at 4:38 PM
Hi, Does hibernate support polymorphism? thanks, ... View Questions/Answers

What is attribute oriented programming?  April 20, 2013 at 4:38 PM
Hi, What is attribute oriented programming? Thanks, ... View Questions/Answers

What are derived properties in hibernate?  April 20, 2013 at 4:34 PM
Hi, What are derived properties in hibernate? Thanks, ... View Questions/Answers

What is the default cache service of hibernate?  April 20, 2013 at 4:31 PM
Hi, What is the default cache service of hibernate? Thanks, ... View Questions/Answers

What the four ORM levels are in hibernate?  April 20, 2013 at 4:29 PM
Hi, What the four ORM levels are in hibernate? Thanks, ... View Questions/Answers

What is lazy fetching in hibernate  April 20, 2013 at 4:03 PM
Hi, What is lazy fetching in hibernate Thanks, ... View Questions/Answers

What is the difference between hibernate and spring  April 20, 2013 at 4:02 PM
Hi, What is the difference between hibernate and spring. 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 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

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

DMCA.com