Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Creating Multiple ArrayList  May 27, 2011 at 7:26 PM
I want to create multiple ArrayList . import java.util.*; class ArrayListNames{ public static void main(String args[]){ //here i want to create 10 arraylists of type string. for(int i=0;i<10;i++){ List<String> ("L"+i)=new ArrayList<String>(... View Questions/Answers

program to display all words in the file in the sorted order without duplicates  May 27, 2011 at 3:46 PM
I want a java program which accepts a file from user and displays all words in the file in the sorted order without duplicates ... View Questions/Answers

intersection of two files  May 27, 2011 at 3:37 PM
hi!could you please provide me with the java program for displaying intersection of two files? ... View Questions/Answers

Advertisement

how to update image in php  May 27, 2011 at 3:32 PM
how to update image in php ... View Questions/Answers

variables are **called instance variables because they are created** whenever an object of the class is instantiated.  May 27, 2011 at 1:13 PM
i am new to java and also to the programming world at large. Data is encapsulated in a class by placing data fields inside the body of the class definition. These variables are called instance variables because they are created whenever an object of the class is instantiated. This... View Questions/Answers

J2ee-Servlet  May 27, 2011 at 12:34 PM
What is servlet wrapper class? Can u explain it. also send any link of Sun, so i can see the details. ... View Questions/Answers

java code for threading example for connecting data base  May 27, 2011 at 11:56 AM
Write a program that has two threads First thread queries the database and fetches all the employee records from the emp table. Stores the employee objects in a collection. then, it serializes each employee object and stores to a local file. Upon serializing all the employee objects, it p... View Questions/Answers

JAVA: Recusrion, Binary Search  May 27, 2011 at 8:27 AM
I want to learn about Binary Search and Recursion but I'm confused on how to do it. I know that I also need arrays, Inheritance, Interface, etc for this program. I also know that this needs to be implemented into a lot of classes. So if you could figure out this program for me that would be great... View Questions/Answers

How save,get picture from database in my jsp page?  May 26, 2011 at 8:28 PM
How i save picture in db after browsing it,and also how i get it on my other jsp page????????? ... View Questions/Answers

storing records which of a file into a table of mssql database  May 26, 2011 at 7:00 PM
I have a requirement like this, A file contains some records with headers same as column names of a table. I have to store those records into a table as records using hibernate and jdbc ... View Questions/Answers

java with brava server integaration  May 26, 2011 at 6:14 PM
how to integrate java with brava java client? ... View Questions/Answers

java with brava server integaration  May 26, 2011 at 6:14 PM
how to integrate java with brava java client? ... View Questions/Answers

IJVM  May 26, 2011 at 5:41 PM
User should be prompted to enter two non-negative numbers (say, a and b where a >0 and b > 0) line by line and then press the enter key. Your program should calculate and display the following for these numbers (see sample output below):  Sum (a + b)  Difference (a - b or b - a, whichever gives... View Questions/Answers

jsp  May 26, 2011 at 5:30 PM
Thank u sir for quick response. my compilation path is http://localhost:8080/calendar1/jsp/insertdate.jsp i got the following error ype Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. ... View Questions/Answers

jsp  May 26, 2011 at 5:20 PM
when i compile the dateOfBirth.html i got the following errors in tomcat type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to com... View Questions/Answers

hasim  May 26, 2011 at 5:00 PM
if u can possible create the constructor in abstract class? ... View Questions/Answers

database  May 26, 2011 at 4:17 PM
dateofbirth is not save into the database while i am enter from html browser.it shows as null.whats the reason for this ... View Questions/Answers

pls help me it urgent  May 26, 2011 at 2:07 PM
hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

pls help me it urgent  May 26, 2011 at 2:07 PM
hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

pls help me it urgent  May 26, 2011 at 2:07 PM
hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

advantages of get method?  May 26, 2011 at 11:53 AM
php in what is advatages of get methods and how you can use get methods. ... View Questions/Answers

java  May 26, 2011 at 11:50 AM
Applet program using JComboBox and JCheckBox. Explain in Detil about JRdio button and give exaple. how do you add a number to a GUI using swing? Briefly describe about JTable with exaple program. what do you mean by pluggable look and feel appearance?... View Questions/Answers

get method  May 26, 2011 at 11:39 AM
how to use get method: secure method is post method and most of use post method why use a get method. ... View Questions/Answers

jsp servlet  May 26, 2011 at 10:37 AM
dispay hindi in jsp ... View Questions/Answers

jsp  May 26, 2011 at 10:34 AM
how to write hindi in jsp and store in database as unicode ... View Questions/Answers

Struts  May 26, 2011 at 8:52 AM
Why struts rather than other frame works? ... View Questions/Answers

Struts  May 26, 2011 at 8:50 AM
why in Struts ActionServlet made as a singleton what is the specific reason how it useful in the webapplication development? ... View Questions/Answers

servlet question  May 26, 2011 at 12:55 AM
which method is used by destory() in servlet to release the resources and destroy the instances. ... View Questions/Answers

a trigger to call .bat file oracle  May 25, 2011 at 7:57 PM
hey,pls help mei want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

how to configure the hibernate in netbean  May 25, 2011 at 5:57 PM
how to configure the hibernate in netbean 6.5 ... View Questions/Answers

Spring alternative to Form Based Login  May 25, 2011 at 5:46 PM
print("code sample");how can we make a server to listen to login event i.e. Authenticate a user not using jsp. Using a login form we can use the jspringsecurity_check. How can we do it by sending a web service call and not using any form based authentication? ... View Questions/Answers

XML remove tags  May 25, 2011 at 5:33 PM
how i update a tag from xml file? ... View Questions/Answers

XML  May 25, 2011 at 3:01 PM
How i remove a tag from xml and update it in my xml? ... View Questions/Answers

Different JRE  May 25, 2011 at 2:31 PM
Java is platform independent. The why different JRE's there for differen operating systems. ... View Questions/Answers

Jsp doubt  May 25, 2011 at 2:30 PM
In Employee.jsp form, When i click employee id value in combo box , how i get the related employee name will be displayed in text field? i already stored combo box values from database. ... View Questions/Answers

Arrays  May 25, 2011 at 2:18 PM
Create a program to mark and grade a set of multiple choice test results.This is a console programm that uses JOptionPane dialog boxes as well. Read a set of 10 correct answers,using a JOptionPane dialog box and store the entire answer as one string in one variable.There are no spaces bet... View Questions/Answers

java serialization  May 25, 2011 at 2:14 PM
when we serialize the object while this object having the another object reference but we dont want to serialize that object inside the serializable object? if we do this it throw the null pointer exception after deserialize? how we do that so that it does not throw that exception ? ... View Questions/Answers

update image  May 25, 2011 at 1:35 PM
sir, I want to do update image into database ... View Questions/Answers

Postive Clipped Sine Wave  May 25, 2011 at 12:11 PM
Please Could You send the code of a clipped sine wave... Thanks ... View Questions/Answers

supplying values to in parameters of stored procedure in ms sql and displaying out parameters  May 25, 2011 at 11:56 AM
I have to execute following procedure ALTER PROCEDURE [dbo].[get_date] @codeId int, @vardate as datetime OUTPUT AS SELECT Date FROM Tbl_CustData WHERE codeId = @codeId ... View Questions/Answers

MySQL concating string  May 25, 2011 at 11:43 AM
Hi, How to concatenate the two fields data in MySQL? Thanks ... View Questions/Answers

J2ME  May 25, 2011 at 11:28 AM
how to create table using four field in RMS? ... View Questions/Answers

error  May 25, 2011 at 11:24 AM
java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2592) at com... View Questions/Answers

creating and executing stored procedure using hibernate  May 25, 2011 at 10:21 AM
I have to execute following query using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION VARCHAR(200) SET @i_STARTDATETIME = '2011-05-21 00:00:00' SET @i_ENDDATETIME = '... View Questions/Answers

could someone help in this ........  May 25, 2011 at 6:49 AM
dear Sir/Mrs I'll be thankful for helping me on this ....... write a program that reads 10 numbers. find the largest number and count the occurrence of the largest number from a declared array. assume the assigned 4.6.3.2.5.6.6.1 and 6. the program will display the largest number os 6 and... View Questions/Answers

java  May 25, 2011 at 6:45 AM
write a program that reads 10 numbers,Display the number in ascending order and also display the number in descending order? ... View Questions/Answers

java  May 25, 2011 at 6:20 AM
write a program that reads 10 numbers,find the largest number and the occurrence of the largest number from declare array. ... View Questions/Answers

jsp using netbeans  May 25, 2011 at 2:59 AM
Code to access and manage multiple e-mail accounts on the same page.. user should be able to edit mail accounts' link as required ... View Questions/Answers

Text to voice  May 24, 2011 at 10:52 PM
sample code for text to voice in objective c..... ... View Questions/Answers

How to Display Data in a tree structure on the GUI  May 24, 2011 at 8:40 PM
how to display data in a tree structure on the GUI? I need this sort of UI to display data showing a set of rules showing various conditions and the actions related to the conditions ... View Questions/Answers

Tamcat apache server error  May 24, 2011 at 6:24 PM
four days before it was working. now its not working HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5.31 how to rectify the above error ... View Questions/Answers

executing mysql plsql block using hibernate  May 24, 2011 at 5:58 PM
I got one requirement like this, I have to execute following query by using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION VARCHAR(200) ... View Questions/Answers

spring mvc configuration with mysql using jdbc  May 24, 2011 at 5:13 PM
hai I want to configure web mvc with mysql using jdbc template. when I submit values using registration form it will reflect on database which i was created earlier. send me code for this ... View Questions/Answers

HTTP Status 404 -  May 24, 2011 at 3:40 PM
HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5.31 how to rectify the above error ... View Questions/Answers

Mouse Motion  May 24, 2011 at 3:28 PM
Could you please send me the code of finding the (x,y) co-ordinates in a JFrame Compoenent..?? I need it urgently for my project. ... View Questions/Answers

JAVA to SQL  May 24, 2011 at 3:03 PM
package abhijeet; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.L... View Questions/Answers

sql quries  May 24, 2011 at 2:37 PM
i want basic sql quries please provide that ... View Questions/Answers

Program to draw rectangle on each mouse click and erase priviouse rectangles  May 24, 2011 at 2:32 PM
Program to draw rectangle on each mouse click and erase previous rectangle on next mouse click ... View Questions/Answers

Java  May 24, 2011 at 1:32 PM
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective? ... View Questions/Answers

Using Jasper Report files in java projects using Eclipse IDE  May 24, 2011 at 1:00 PM
Hello all, I am using iReports for generating reports from Database. I am able to get the .jasper with .jrxml files. I am developing a web portal in Eclipse which requires report generation. I wanted to know the procedure to use these .jasper file in ECLIPSE. If anyone give me the code along with... View Questions/Answers

string  May 24, 2011 at 12:57 PM
"3"+4+5 and 3+6+"4" what is the out put please tell me the output ... View Questions/Answers

hasmap  May 24, 2011 at 12:50 PM
how to convert set to map ... View Questions/Answers

Retrieve data by clicking a link  May 24, 2011 at 11:31 AM
In a page there are 5 links.Every link has a hidden value. According to that hidden value data should be retrieved from the database and data should be displayed in a new page.How to do it?Please help. ... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Database  May 24, 2011 at 10:58 AM
Can i get a code for database connectivity Myeclipse 3.3 to MySql manager 2005 ... View Questions/Answers

Java  May 24, 2011 at 10:54 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:54 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:54 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml... View Questions/Answers

I need to output number diamond using nested for loops.  May 24, 2011 at 10:31 AM
How to i output this using nested for loops 1 131 13531 1357531 135797531 1357531 13531 131 1 ... View Questions/Answers

java  May 24, 2011 at 10:03 AM
diff bt core java and java? ... View Questions/Answers

upload image to database  May 24, 2011 at 12:26 AM
i am try to upload image to MySql database using netbeans. when jsp execute it return no error. but also data does inserted in database. i am using blob datatype and preopared statement. ... View Questions/Answers

display error message for dupliacate record in properties file  May 23, 2011 at 6:44 PM
This is my code. Here if the properties file contain duplicate records(i.e.)more than one entry e.x.001,002,003,001 i want to display the error message "Duplicate Record found" while compile the java file.Please give the correct solution soon. import java.io.*; import java.util.*; public ... View Questions/Answers

Datatype convertion  May 23, 2011 at 6:12 PM
it possible to convert long datatype into string in java if possible means how ... View Questions/Answers

how read excel data into database using struts2 with hibernate  May 23, 2011 at 6:01 PM
hi friends, i am venkat i am started learning struts 2, please help me how to read excel data into database using struts2 with hibernate, please show me just sample application and some references and websites.. Thanks for Advance...... ... View Questions/Answers

session management  May 23, 2011 at 4:10 PM
i have a problem in sessions.when i login into my project,successfully i got admin page.but when i click on back button of browser it goes to login page.and with out need of login ,admin page was opened. iam new to java. i dont have an idea on session and c... View Questions/Answers

Html  May 23, 2011 at 4:01 PM
i am select the dateofbirth through the html browser.but it can not save into the sql server 2008 database.any special code required to store the date in database by using java servlets ... View Questions/Answers

Undo/Redo functionality in UITexView  May 23, 2011 at 3:40 PM
Hi all, I m facing a big problem from some days, actually i want to integrate the Undo/redo functionality in iphone app, where m using a textview. Please tell me the proper sample that where each method to be write or call.. Thanks, HpSingh ... View Questions/Answers

Java eft transaction  May 23, 2011 at 2:58 PM
4.3 Problem Constraints The following statements apply to the problem domain: ? A unique card is identified by its card number (Primary Account Number or PAN) and expiry date. ? A customer may have multiple cards, however a card is only linked to a single customer. ? A card is not linked to... View Questions/Answers

calendar  May 23, 2011 at 2:38 PM
I got one requirement like this i have to display a calendar with only current month and whenever user selects the date, that date needs to be display in a text field. ... View Questions/Answers

getChars method  May 23, 2011 at 1:31 PM
class VijayKrishna { public static void main(String args[]) { String palindrome = "Dot saw I was Tod"; int len = palindrome.length(); char tempCharArray[] = new char[len]; char charArray[] = new char[len]; palindrome.getChars(**0, le... View Questions/Answers

Search index  May 23, 2011 at 1:20 PM
how to write code for advanced search button ... View Questions/Answers

JSF+Filter  May 23, 2011 at 1:09 PM
What is the meaning of the tags: avoid-urls for filter configurations in web.xml...? ... View Questions/Answers

Help me  May 23, 2011 at 1:03 PM
hello!!!!. i have a Excel file which includes 4 columns and somewhat 8500 rows.these rows i have printed in SQL thru Excel file and i have 1 MYSql database which includes all those 4 fields i have defined in excel file and i want dat 4 fields to b filled wid dat Excle file fields which wi... View Questions/Answers

string related  May 23, 2011 at 12:31 PM
As with any other object, you can create String objects by using the new keyword and a constructor. The String class has thirteen constructors that allow you to provide the initial value of the string using different sources, such as an array of characters: char[] helloArray = { 'h', 'e'... View Questions/Answers

string  May 23, 2011 at 12:00 PM
String helloString = new String(helloArray); System.out.println(helloString); i am unable to understand this. could u plz explain this? ... View Questions/Answers

Hello world program  May 23, 2011 at 10:28 AM
hello world program ... View Questions/Answers

How to export web page to excel using java or jsp or servlets  May 23, 2011 at 7:12 AM
Hi I am trying to export web page(jsp page ) to excel using jsp or servlets. I am retrieving records from database and displaying in the jsp page, In this page I have a save as excel button, when I click this button I need these displayed records to excel file. I tried with vbscript and ... View Questions/Answers

How a split a file into many based on size?  May 23, 2011 at 6:49 AM
Consider a text file which has a size of 400 bytes, i need to split up the contents in that 400 bytes file into 100 bytes of separate files.So there should be totally 4 files should be created. Kindly help on this... ... View Questions/Answers

DMCA.com