Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to select Data Between Two dates in Java, MySQL  February 6, 2013 at 6:40 PM
How to select Data Between Two dates in Java, MySQL? Thanks in advance. ... View Questions/Answers

CVS  February 6, 2013 at 5:00 PM
Which CVS are you used? What are the steps are you going to follow to deploy a code in server? ... View Questions/Answers

HIBERNATE  February 6, 2013 at 4:59 PM
What is difference between Jdbc and Hibernate? ... View Questions/Answers

Advertisement

SQL  February 6, 2013 at 4:58 PM
What is Join & Subqueries.As performance basis which is preferable. ... View Questions/Answers

JDBC  February 6, 2013 at 4:56 PM
Difference between statement, preparedstatement and callablestatement? ... View Questions/Answers

SQL  February 6, 2013 at 4:54 PM
How u did one to many & many to many mapping in oracle. ... View Questions/Answers

CORE JAVA  February 6, 2013 at 4:53 PM
What is Garbage collection in java? What is the role of a developer for garbage collection? ... View Questions/Answers

JDBC  February 6, 2013 at 4:53 PM
How you fetch the data between 4 tables using join? Which type of join you have using here? ... View Questions/Answers

CORE JAVA  February 6, 2013 at 4:52 PM
What is called Aggregation and Composition? ... View Questions/Answers

STRUTS  February 6, 2013 at 4:50 PM
Request context in struts? SendRedirect () and forward how to configure in struts-config.xml? ... View Questions/Answers

CORE JAVA  February 6, 2013 at 4:49 PM
Static methods can be participated in inheritance? What is static keyword? What is static keyword? How to write code for static factory method? What is mutable and immutable? ... View Questions/Answers

JDBC  February 6, 2013 at 4:46 PM
How to add set of queries in a single query in JDBC? ... View Questions/Answers

CORE JAVA  February 6, 2013 at 4:45 PM
Q)How to sort a Hash Table, if you pass an Employee Class Object in that First Name, Last Name, Middle Name based on last name how you sorting the Employee Class? Q)How to display the list variables in reverse direction, on what basis list follows the reverse direction? ... View Questions/Answers

JDBC  February 6, 2013 at 4:43 PM
Q)How you define out param in Stored Procedure and what is the data type defined for OUT Param in Stored Procedure? Q)You have one Stored Procedure. In that Procedure When you run the Procedure you got one exception. You don't know the exact coding line where was the exception got? In thi... View Questions/Answers

JAVA  February 6, 2013 at 4:41 PM
Q)Tell me some Java Exception types that you got so far and explain the Scenarios? Q)Suppose if you type wrong tag syntax in your JSP. When you run the JSP what exception will throw? Q)Suppose in your java coding part you did not handle the exceptions clearly. Now you got exceptio... View Questions/Answers

JAVA  February 6, 2013 at 4:41 PM
Q)Tell me some Java Exception types that you got so far and explain the Scenarios? Q)Suppose if you type wrong tag syntax in your JSP. When you run the JSP what exception will throw? Q)Suppose in your java coding part you did not handle the exceptions clearly. Now you got exceptio... View Questions/Answers

JAVA  February 6, 2013 at 4:41 PM
Q)Tell me some Java Exception types that you got so far and explain the Scenarios? Q)Suppose if you type wrong tag syntax in your JSP. When you run the JSP what exception will throw? Q)Suppose in your java coding part you did not handle the exceptions clearly. Now you got exceptio... View Questions/Answers

JAVA  February 6, 2013 at 4:39 PM
What are the data types that allow in the Interface? ... View Questions/Answers

STRUTS  February 6, 2013 at 4:38 PM
Suppose if you write label message with in your JSP page. But that "add.title" key name was not added in ApplicationResources.properties file? What happens when you run that JSP? What error shows? If it is run is it display the fields design in that page (or) not? ... View Questions/Answers

CORE JAVA  February 6, 2013 at 4:37 PM
Tell me some Scenarios why you go for Abstract Class and Interface? ... View Questions/Answers

CORE JAVA  February 6, 2013 at 4:36 PM
Iā??ve a string like below String xyz =ā??nullā??; I want to compare xyz with space which is in other String ABC. What will be the output? ... View Questions/Answers

STRUTS  February 6, 2013 at 4:35 PM
Validation: user entered as 123.34567 I want the value as 123.34 once the user submits. How you will validate it? ... View Questions/Answers

SERVLETS  February 6, 2013 at 4:33 PM
I have two Servlet Containers, I want to send a request from one Servlet from one container to one Servlet in the other container, How can I do? ... View Questions/Answers

SQL  February 6, 2013 at 4:32 PM
Query to list out the duplicate rows in a table? ... View Questions/Answers

JDBC  February 6, 2013 at 4:31 PM
We are using the same piece of code (irrespective of type of driver we are using) for getting the connection. On what basis you decide which type of driver you are using? ... View Questions/Answers

SQL  February 6, 2013 at 4:28 PM
1)What is ref cursor? Where u can use this ref cursor? 2)What is difference between procedure and function? 3)What is trigger? How many types of triggers are there? 4)What is cursor? Explain different types of Cursors with example? ... View Questions/Answers

Struts  February 6, 2013 at 4:27 PM
1)in struts server side validations u are using programmatically validations and declarative validations? tell me which one is better ? 2) How to enable the validator plug-in file? ... View Questions/Answers

Struts  February 6, 2013 at 4:26 PM
in struts I want two struts.xml files. Where u can specify that xml files location and which tag u specified there? ... View Questions/Answers

Struts  February 6, 2013 at 4:24 PM
How will you retrieve a collection of records from business logic to presentation logic in framework ... View Questions/Answers

Design Patterns  February 6, 2013 at 4:22 PM
Explain the Factory Pattern, VO Pattern, DAO Pattern, and Singleton Pattern. ... View Questions/Answers

Struts  February 6, 2013 at 4:20 PM
What is called properties file in struts? How you call the properties message to the View (Front End) JSP Pages? ... View Questions/Answers

STRUTS  February 6, 2013 at 4:04 PM
1) Difference between Action form and DynaActionForm? 2) How the Client request was mapped to the Action file? Write the code and explain it? ... View Questions/Answers

HIBERNATE  February 6, 2013 at 4:03 PM
How u connects database using hibernate 3.0? Where you have written the database configuration details? ... View Questions/Answers

JDBC  February 6, 2013 at 4:02 PM
What is difference of statement and prepared statement? ... View Questions/Answers

SQL  February 6, 2013 at 4:00 PM
How do you increase performance of a query? Using batch, pagination, increasing JVM memory size ... View Questions/Answers

struts  February 6, 2013 at 3:58 PM
Why we need LookupDispatchAction, though we have already DispatchAction? ... View Questions/Answers

solve my question shortly  February 6, 2013 at 3:21 PM
<html> <head> <script> function checkphoneNumber(number){ if(/[^\d ]/.test(number)){ alert('It should contain numbers [0-9] only!'); document.getElementById("st").value=""; return false; } if(number.sub... View Questions/Answers

JSP  February 6, 2013 at 3:03 PM
What will happened when we are using sendRedirect (). ... View Questions/Answers

JSP  February 6, 2013 at 3:02 PM
1)Suppose we edited something in JSP page, do we need to refresh the page? 2)What is pagination? And do we achieve it give me logic? 3)Suppose we have a Servlet in that service () method is there. what will be , if request is come 4)How many time i... View Questions/Answers

CORE JAVA  February 6, 2013 at 3:00 PM
1)How to resolve Memory out of bound? 2)Do we define null as key/value pair for HashMap? 3)Array List and Vector which one is good and why? ... View Questions/Answers

MySQL server has gone away  February 6, 2013 at 2:47 PM
Hi, What is the reason of error "MySQL server has gone away"? Some time in my application this error is coming. Thanks ... View Questions/Answers

Create a Web Service in Java using Apache Axis2 and Eclipse with Oracle database driven  February 6, 2013 at 2:46 PM
Hi All, With respect to subject mentioned, i have a requirement of connecting an external system using web service developed which uses eclipse ID and Apache axis 2 services. The web service should be based on bottom-up approach and should comply the following requirement. -If a c... View Questions/Answers

why my downloaded file is alwayes damaged or corrupted?  February 6, 2013 at 12:09 PM
This is my code <html> <form action='../biopydb/new.php' method='post'> <?php $Pathway_Name = $_COOKIE['pathwayname']; $dir1 ="../biopydb/Pathway_Images/"."$Pathway_Name/"; $dirPath = dir($dir1); $imgArray = array(); while (($file = $di... View Questions/Answers

how to get data from database into dropdownlist in jsp  February 6, 2013 at 1:46 AM
Can anybody tell me what is the problem in this code as i am not able to fetch the data from the database and set it into dropdown list in jsp please help <br/>Customer Name:<select name="name"> <% try{ Class.forName("com.mysql.jdbc.... View Questions/Answers

how to get data from database into dropdownlist in jsp  February 6, 2013 at 1:43 AM
//Customer Name: <select name="name"> <% try{ Class.forName("com.mysql.jdbc.Driver"); Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/scs","root","root"); Statement st=con.createStatement(); String sql="select * from staff"; ResultSet rs=... View Questions/Answers

how to get data from database into dropdownlist in jsp  February 6, 2013 at 1:39 AM
Customer Name:<select name="name"> <% try{ Class.forName("com.mysql.jdbc.Driver"); Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/scs","root","root"); Statement st=con.createStatement(); ... View Questions/Answers

select result from three tables using sql.  February 5, 2013 at 9:29 PM
I want to get a result from three tables. i dont how to write the sql query. Please help me. "I want to display Name,Username and Product_Name where Id=007" table "register" Name Username Id Arj arjun 007 xyz abcd 008 abcd asdf 007 table "products" P... View Questions/Answers

Retrieve data from databse using where in JSP  February 5, 2013 at 8:28 PM
Hi, can somebody help me? I have a jsp page. in that i want to get data from the database where username is matched. i tried it. but can't get the output. here is the code. please help me. ALL DATABASE CONNECTIONS ARE OK. THE ERROR IS SHOWN IN "WHERE". IT SAYS INCORRECT SQL SYNTAX ... View Questions/Answers

Throw,Throws, n try and Catch  February 5, 2013 at 8:17 PM
what is the difference between Throw,Throws and Try&Catch? ... View Questions/Answers

Throw,Throws, n try and Catch  February 5, 2013 at 8:16 PM
What is the difference between Throw and Throws? ... View Questions/Answers

Image on frame  February 5, 2013 at 6:14 PM
Hi, This is my code. In this I am unable to load the image.I want to know the problem with this code. import java.awt.*; import java.awt.event.*; public class AwtImg extends Frame { Image img; public static void main(String args[]) { AwtIm... View Questions/Answers

jsp  February 5, 2013 at 3:24 PM
Suppose we want to pass data to one page to another page with same request on the session how do we do? ... View Questions/Answers

core java  February 5, 2013 at 3:23 PM
1)How to short this {5, 4, 7, 8, 2, 0, 9} give me logic for that? 2)What is connection pool and how do you define? 3)Suppose we define max connection pool is 10 and all 10 connection object are being used, if same time a request is come that want connection object what will happen... View Questions/Answers

servlets  February 5, 2013 at 3:22 PM
How do u display the list of employee object in JSP page? ... View Questions/Answers

servlets  February 5, 2013 at 3:20 PM
q)What will happen if you donā??t write the implementation in service () of our Servlet? Which method () it will call? q2)How many times init() execute and what happen if browser is close and server shutdown ? JSP life cycle? ... View Questions/Answers

Core Java  February 5, 2013 at 2:29 PM
Hi, Can any one please expain me why derived data types are required in java as we have primitive data types with us. ... View Questions/Answers

Core Java  February 5, 2013 at 2:29 PM
Hi, Can any one please expain me why derived data types are required in java as we have primitive data types with us. ... View Questions/Answers

files that are present in any folder , how to make it clickable downloadble file in php  February 5, 2013 at 2:20 PM
files that are present in any folder , how to make it clickable downloadble file in php ... View Questions/Answers

how to make drop down list in JSF & fetch data Item from database  February 5, 2013 at 1:14 PM
how to make drop down list in JSF & fetch data Item from database??? ... View Questions/Answers

error rectify  February 5, 2013 at 10:54 AM
public class HelloWorld{ public static void main(String []args)throws IOException { try { for(int i=0;i<24;i++) { for(int j=0;j<60;j++) { for(int k=0;k<60;k... View Questions/Answers

jsp  February 5, 2013 at 10:17 AM
how to delete data from database using jsp? ... View Questions/Answers

update  February 5, 2013 at 9:36 AM
how can i update multiple records in database using jsp ,servlet and jdbc based on selection of checkbox in jsp ... View Questions/Answers

Error n Exception  February 5, 2013 at 12:18 AM
Difference between errors and exceptions? ... View Questions/Answers

String  February 4, 2013 at 11:17 PM
write down the code of remove any character from a given string without using any string function ... View Questions/Answers

hi  February 4, 2013 at 10:41 PM
what are access modifiers available in java? ... View Questions/Answers

Hi..  February 4, 2013 at 10:40 PM
what are access specifier available in java? ... View Questions/Answers

Core Java  February 4, 2013 at 8:16 PM
Hi, can any one please expain me below topics: 1.How to handle memory leakage from your developed code. 2.How to handle stack overflow error from your developed code. Thnaks ... View Questions/Answers

Excel Password Cracker Software  February 4, 2013 at 6:18 PM
Hello I just want to know what is Excel Password Recovery software? I want need to recover a worksheet since I forgotten the ... ... View Questions/Answers

Hi..  February 4, 2013 at 3:17 PM
null is a keyword.True/False? ... View Questions/Answers

hi  February 4, 2013 at 3:16 PM
Class is a blueprint of similiar objects(True/False)? ... View Questions/Answers

Hi..  February 4, 2013 at 3:16 PM
what are the keywords available in simple HelloWorld program? ... View Questions/Answers

bus travel booking  February 4, 2013 at 11:01 AM
sir, I have made the coding for design, here after I have to generate the coding for connectivity I have no idea about it will u plz send me the connectivity coding based on the design coding which i have given below <html> <head> <title... View Questions/Answers

Hi..  February 4, 2013 at 2:07 AM
what are the steps mandatory to develop a simple java program? ... View Questions/Answers

Java interview question  February 4, 2013 at 1:47 AM
Hello i had an online test in some company and i didn't succeed in doing it(they gave me a timeline) this was the test: Problem: 1) You have a bunch of log files in: C:\CloudShareCodeChallenge\Challenge Sample data with expected results (below) in... View Questions/Answers

Floyd triangle  February 3, 2013 at 5:56 PM
1 01 101 0101 10101 plz give me code for this ... View Questions/Answers

database  February 3, 2013 at 4:46 PM
how we ca upload the data in the database file(ms access) ... View Questions/Answers

database  February 3, 2013 at 4:40 PM
sir.. how we can uplaod the database in the data file(ms access)please send me a solution ... View Questions/Answers

print rectangle pattern in java  February 3, 2013 at 4:35 PM
* * * * * * * how to generate this pattern in java?? ... View Questions/Answers

Question about parsing XML document with DOM in JAVA.  February 2, 2013 at 11:08 PM
Hi, I need to parse a XML file witch has info about classes. So i have for each class to have its methods and for each method to get its parameters. I'm trying to do it with multiple for loops, one iside the other but it doesnt work. My XML is this below! <SystemD... View Questions/Answers

print reverse string without api  February 2, 2013 at 7:26 PM
accept a string and print reverse without using api ... View Questions/Answers

hi  February 2, 2013 at 6:11 PM
what are the steps mandatory to develop a simple java program? what is default value for int type of local variable? what are the keywords available in simple HelloWorld program? Class is a blueprint of similiar objects(True/False)? null is a keyword.True/False? ... View Questions/Answers

local host sharing on same network compute  February 2, 2013 at 5:43 PM
i have an desktop bill application on wamp and i want to use it on other computer on same network . computer connected with hub or switch. ... View Questions/Answers

Begineer Help Help Please Thanks A million ) I am using Jcreator  February 2, 2013 at 2:59 PM
System.out.println(" Income Statement"); System.out.print("Year: "); Arrays.sort(Year); System.out.print(Arrays.toString(Year)); ... View Questions/Answers

program  February 2, 2013 at 2:07 PM
write a program different between to dates in terms of days in java ... View Questions/Answers

combobox cannot be resolved in JavaFX  February 2, 2013 at 1:35 PM
I want to design one application with a combobox containing items. and while selecting i want to give user autocomplete suggestion. but while doing this combobox is not getting resolved. i have attached the files. Ademo.fxml View Questions/Answers

Works when run from desktop but....  February 2, 2013 at 4:57 AM
I used the code provided here for a pie chart using swing in Java, and when I saved it to my desktop, it ran fine, and worked as explained, but then I tried to add the same code to NetBeans 7.2.1, and got errors saying that the lines, g2d.setColor(colors.get(i)); Double val = valu... View Questions/Answers

Hi..  February 1, 2013 at 9:33 PM
diff between syntax and signature? ... View Questions/Answers

Please write code for this program in java and Explain it ? pl'sssssssss  February 1, 2013 at 9:17 PM
Question: We are given an array of 2n integers wherein each pair in this array of integers represents the year of birth and the year of death of a dinosaurs respectively. The range of valid years we want to consider is [-100000 to 2005]. For example, if the input was: -80000 -79950 20 70 ... View Questions/Answers

What is the responsibility of project manager in software company  February 1, 2013 at 2:03 PM
What is the responsibility of project manager in software company? ... View Questions/Answers

how to update combobx's selected value to database with respect toselected multiple checkboxes  February 1, 2013 at 10:40 AM
suppose this if form1.jsp in which i am going to display records from database out.println("<tr><td>"+"<input type='checkbox' id='r1' value="+r+" name='test' >"+"</td><td>"+r+"</td><td>"+pname+"</td><td>"+add1+"... View Questions/Answers

Hibernate Basic Example not working  January 31, 2013 at 7:37 PM
I have implemented basic hibernate example from your site . In console i got output but database is not affected. hbm.xml ... View Questions/Answers

on line exam  January 31, 2013 at 7:07 PM
how we can upload the data on the server from any site ... View Questions/Answers

online exam  January 31, 2013 at 6:29 PM
how we can upload the data on the server using any site ... View Questions/Answers

online exam  January 31, 2013 at 6:29 PM
how we can upload the data on the server using any site ... View Questions/Answers

Threads(suspend(),resume()) run time abnormal behaviour  January 31, 2013 at 4:37 PM
class A implements Runnable { Thread t; A() { t=new Thread(this); t.start(); } public void run() { int i=0; while(true) { //try //{ ... View Questions/Answers

from textfile to textfield  January 31, 2013 at 4:14 PM
Hi! Please help. I'm beginning to understand a bit about java thanks to this website but could you help me with this problem? Say I create a text file "Info.txt" and I saved in it the name and address of a person. I would like to retrieve each of the data in the text file and place it in ... View Questions/Answers

How Can I get ArrayList of Data from jsp with ajax request  January 31, 2013 at 4:07 PM
Hi, I retereved 5 Employee Record of Data from Struts Action class to jsp with ajax response. But I don't how how can reterve this dynamic 5 employee records to struts action class. Plese tell me how to send this 5 employee record table into struts action. ... View Questions/Answers

Store image from html img tag into mysql db using java  January 31, 2013 at 2:19 PM
Hi. How to get the image displayed in the < img > tag of HTML and store it in the mysql database using java? Thanks in advance. ... View Questions/Answers

Hibernate  January 31, 2013 at 1:15 PM
Please tell me the difference between hibernate and jdbc. ... View Questions/Answers

sql query search function  January 31, 2013 at 12:36 PM
i have a textbox on a form , i like a search a data in the form, when i give whatever name and id or etc..its will search and show the same form , so help me using jsp ... View Questions/Answers

DMCA.com