Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

WRITE A PROGRAM IN JAVA  April 1, 2011 at 8:49 PM
How do I write a program in Java, have the program display a message with your name in it and a number (Hello john Smith!1) The number must increment from zero to nine, or decrement fron nine to zero. You must use a "while" loop or a "for Loop". In other words you cannot simply type ten contiguou... View Questions/Answers

Jsp problem  April 1, 2011 at 8:19 PM
Hello friends.I want to share my jsp problem.I want to show all of my database(mysql) tables except two(user,manufacturer) in a jsp page.plssss help me?? ... View Questions/Answers

java question  April 1, 2011 at 7:45 PM
How to find the longest and shortest line from the file in case of java and java program should read the filename from the keyboard? ... View Questions/Answers

Advertisement

how to count no.of sheets in excel through POI jar as well as through Java?  April 1, 2011 at 7:39 PM
I have an excel file, it contains 'n' no.of sheets(the no.of sheets will be dynamic ) .I want to read all sheets one by one in java by using POI jar. I am able to read one sheet at a time by using POI jar(workbook.getSheetAt(0)). But I am not able to read multiple sheets one by one. Could you pl... View Questions/Answers

how to execuite java programs???  April 1, 2011 at 5:42 PM
I have jdk 1.6 installed in my pc.i want to execuite java programs in ms-dos for applet and without using applet.please tell me. ... View Questions/Answers

how to execuite java programs???  April 1, 2011 at 5:42 PM
I have jdk 1.6 installed in my pc.i want to execuite java programs in ms-dos for applet and without using applet.please tell me. ... View Questions/Answers

Many To Many annotation in ejb  April 1, 2011 at 5:32 PM
how to define primary key in the third & resulting table obtained from ManyToMany mapping.I tried the mapping but the resulting table is showing only foreign key with the two fields which are the primary keys of the participating table.plz help ... View Questions/Answers

display results on same jsp page  April 1, 2011 at 5:10 PM
is there any method to display search results from database on the same jsp page where i give the inputs using struts 1.2? ... View Questions/Answers

display results on same jsp page  April 1, 2011 at 5:10 PM
is there any method to display search results from database on the same jsp page where i give the inputs using struts 1.2? ... View Questions/Answers

display results on same jsp page  April 1, 2011 at 5:10 PM
is there any method to display search results from database on the same jsp page where i give the inputs using struts 1.2? ... View Questions/Answers

how to create menubar and the below background color/image in java swing  April 1, 2011 at 4:13 PM
how to create menubar and the below background color/image in java swing ... View Questions/Answers

program  April 1, 2011 at 3:10 PM
no i want a program that shows how merge sort algorithm works in graphical representations like numbers are taken in circles and computation should also be shown and finally sorted output values should be printed in rectangles or circles wat ever it may be. the theme of program is to show algorit... View Questions/Answers

Railway reservation  April 1, 2011 at 3:02 PM
Railway Department wants to automate the ticket reservation process. Customer should be able to check the availability of a train by giving the source and destination. Assume that there is no booking of ticket to intermediate stations. Customer should also be able to check the seat availability i... View Questions/Answers

like query and then update or replace  April 1, 2011 at 3:02 PM
In postgres i use like query to find the a specific word in a column for example in a column i have text "Small state in wmost Brazil bordered by sw Amazonas, Peru, and Bolivia." with like query i can find text that contains text "wmost" after finding that i want to replace or update "wmo... View Questions/Answers

edit data  April 1, 2011 at 3:01 PM
sir i want to do edit a particular customers information after he logs in, i am also using sessions. thank you ... View Questions/Answers

online book store by using MVC architecture  April 1, 2011 at 2:54 PM
Tarzan book store decided to go online to increase itsā?? revenues and provide itsā?? customers a way to buy books through internet. Tarzan maintains the list of books along with quantity. Administrator should be able to add books to the inventory. Administrator will add books with book n... View Questions/Answers

Encountering error when connecting MSSQL Server 2005 using Hibernate 3.0  April 1, 2011 at 2:17 PM
Hi, Im a beginner to the hibernate framework.Im encountering the following error when connecting to the MSSQLServer 2005 using hibernate 3.0 My hibernate.cfg.xml is as under ... View Questions/Answers

j2se  April 1, 2011 at 2:15 PM
program to sort the employees 4 emp salarys... ... View Questions/Answers

j2se  April 1, 2011 at 2:15 PM
program to sort the employees 4 emp salarys... ... View Questions/Answers

j2se  April 1, 2011 at 2:15 PM
program to sort the employees 4 emp salarys... ... View Questions/Answers

j2se  April 1, 2011 at 2:15 PM
program to sort the employees 4 emp salarys... ... View Questions/Answers

Eclipse erroe  April 1, 2011 at 1:41 PM
Dear Sir, I am facing a problem while check out a project from the repository error is org.tigris.subversion.javahl.clientException: RA layer request failed ... View Questions/Answers

problem scrolling jtable  April 1, 2011 at 1:27 PM
hi, i've to query the table thousand of times...m table display is not getting stable/proper,especially after getting the empty table... for removing the table i'm doing this:: numrows = tableModel.getRowCount(); if(numrows>0) { ... View Questions/Answers

java exception handle  April 1, 2011 at 12:03 PM
How error can be handled in the exception class?? can we handle fatal error in java?? ... View Questions/Answers

JSP - Login  April 1, 2011 at 11:34 AM
how to disabled back button of the browser when user successfully logged in????? ... View Questions/Answers

minor project in core java  April 1, 2011 at 11:01 AM
I am a student of BE IT branch 6sem ,i have to prepare a minor project in core java please sujest some topics other then management topics. ... View Questions/Answers

java project  April 1, 2011 at 10:42 AM
Connecting to MySQL database and retrieving and displaying data in JSP page by using netbeans ... View Questions/Answers

date convertion  April 1, 2011 at 9:59 AM
How to convert the string date format 23/11/2009 to original date format in asp.net ... View Questions/Answers

Photo upload, Download  April 1, 2011 at 9:37 AM
Hi I am using NetBeans IDE for developing application for java(Swings). And i am using MySQL as backend database. My Problem is I have created JFrame form in NetBeans and i have inculded label in which i am loading photo. BufferedImage image=null; ... View Questions/Answers

importing client side web history  April 1, 2011 at 8:20 AM
Hello, i am just trying to import the web history of client in lan through java.... can u plz help me..... ... View Questions/Answers

How to validate a form in action class and forward errors to the jsp in struts?  April 1, 2011 at 7:32 AM
How to validate a form in action class and forward errors to the jsp in struts? ... View Questions/Answers

graphics program  March 31, 2011 at 11:20 PM
i want a program that implements merge sort algorithm in graphics ... View Questions/Answers

PDE(plugins development environment)  March 31, 2011 at 11:11 PM
I am working on java plugins. adding to context menu. when i run my plugins from run as it shows the label on the popup window but when i click on my label it shows this error. ""the chosen operation is currently not available."" please help if any body knows about it. i am using window v... View Questions/Answers

PDE(plugins development environment)  March 31, 2011 at 11:10 PM
I am working on java plugins. adding to context menu. when i run my plugins from run as it shows the label on the popup window but when i click on my label it shows this error. ""the chosen operation is currently not available."" please help if any body knows about it. i am using window v... View Questions/Answers

java  March 31, 2011 at 10:04 PM
There are lots of applications and websites that won't work unless you have Java installed why is it what the reason behind it...? ... View Questions/Answers

init method of ActionServlet and RequestProcessor  March 31, 2011 at 9:21 PM
hi every when the ActionServlet init() method is executed? please give answer for the above query........ ... View Questions/Answers

java  March 31, 2011 at 9:14 PM
why scriplet? ... View Questions/Answers

tag library descriptor  March 31, 2011 at 8:21 PM
i need types of tld ,uses of tld and example program for tag library descriptor ... View Questions/Answers

JAVA S/W download  March 31, 2011 at 8:04 PM
Hi I'm new to JAVA, I want to download JAVA S/W from where I need to download. Please help me with the link. Thank you, ... View Questions/Answers

java  March 31, 2011 at 7:01 PM
There are lots of applications and websites that won't work unless you have Java installed why is it so what the reason behind it..?..... ... View Questions/Answers

navigation system in j2me  March 31, 2011 at 6:58 PM
how to load map image for offline navigation system?plz send the source code in j2me ... View Questions/Answers

Java dom from string  March 31, 2011 at 5:34 PM
Hi, How to create dom tree from string data? I am trying to search the example for java dom from string. Thanks ... View Questions/Answers

problems in parsing the xml with the special characters  March 31, 2011 at 5:30 PM
Hi, I have a problem, in while parsing the xml with special characters apstrophe('). I am getting the exception Caused by: javax.xml.transform.TransformerException: misquoted literal... expected single quote! I am passing the String adam's. when i parse this string in xml path. i am not ... View Questions/Answers

html5 through escenic cms  March 31, 2011 at 4:59 PM
whether we can use html5 in escenic cms?? and how to implement?? ... View Questions/Answers

Displaying image using jsp and spring.  March 31, 2011 at 4:13 PM
how to display an image stored in WEB-INF/images folder on the browser using jsp and spring? ... View Questions/Answers

IDE options  March 31, 2011 at 4:04 PM
which IDE for coding java should i use besides NetbeansIDE ... View Questions/Answers

login/logout operation  March 31, 2011 at 3:22 PM
how to do log in/out operations in jsp plz kindly send the steps leing behind this operation ... View Questions/Answers

login/logout operation  March 31, 2011 at 3:22 PM
how to do log in/out operations in jsp plz kindly send the steps leing behind this operation ... View Questions/Answers

JSP  March 31, 2011 at 1:46 PM
relevant difference between servlet and jsp in 1 line ... View Questions/Answers

What is programming logic ?  March 31, 2011 at 1:23 PM
What is programming logic ? ... View Questions/Answers

problem on jsp, inserting data into table(mysql).  March 31, 2011 at 12:47 PM
hello friends, I have a problem in jsp.I want to insert data, which is given by user through a html page into a table.And the table name also is given by the user.My database is in mysql.I want to use placeholder("?") to insert data into table.Plsssss help me... Thanks in advance. ... View Questions/Answers

DAO in Struts  March 31, 2011 at 12:06 PM
Can Roseindia provide a simple tutorial for implementation of DAO with struts 1.2? I a link already exits plz do tell me. Thank you ... View Questions/Answers

Problem in jsp.  March 31, 2011 at 11:27 AM
hello friends, I have a problem in jsp.I want to insert data, which is given by user through a html page into a table.And the table name also is given by the user.My database is in mysql.Plsssss help me... Thanks in advance. ... View Questions/Answers

Problem in jsp.  March 31, 2011 at 11:27 AM
hello friends, I have a problem in jsp.I want to insert data, which is given by user through a html page into a table.And the table name also is given by the user.My database is in mysql.Plsssss help me... Thanks in advance. ... View Questions/Answers

Problem in jsp.  March 31, 2011 at 11:27 AM
hello friends, I have a problem in jsp.I want to insert data, which is given by user through a html page into a table.And the table name also is given by the user.My database is in mysql.Plsssss help me... Thanks in advance. ... View Questions/Answers

Tree Structure Catalogue Menu Display  March 31, 2011 at 10:54 AM
How best can I display a tree structure for a catalogue menu ? One option is to use an applet, but theres a 30000 node limit to the one im using. Is there any way other than an applet with equally good performance if not more, say with javascript etc ? ... View Questions/Answers

error cannot access class com.opensymphony.xwork2.ActionContext, wrong version  March 31, 2011 at 10:05 AM
Error(1,32): cannot access class com.opensymphony.xwork2.ActionContext; class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 ... View Questions/Answers

struts multibox  March 31, 2011 at 10:04 AM
give an example of html:multibox which takes contents from an arraylist having getter and setter methods in form class. the select values should be be stored in another arraylist or string array and should be displayed on next jsp page on submit. plz. reply quickly. ... View Questions/Answers

how can I great two user and password in C++?  March 31, 2011 at 9:20 AM
how can I great two user and password in C++? ... View Questions/Answers

how can I great two user and password in C++?  March 31, 2011 at 9:19 AM
how can I great two user and password in c++? ... View Questions/Answers

program in c  March 31, 2011 at 6:22 AM
Write a program that inputs five different integers from the keyboard, then print the sum, the product, the smallest and the largest of these numbers. Use only single selection form of if statement. For example: 1 3 2 7 4 6 Sum is: 23 Average is: 4.5 Smallest: 1 Largest 7 ... View Questions/Answers

about a program in c language  March 31, 2011 at 6:10 AM
Write a program that inputs five different integers from the keyboard, then print the sum, the product, the smallest and the largest of these numbers. Use only single selection form of if statement. For example: 1 3 2 7 4 6 Sum is: 23 Average is: 4.5 Smallest: 1 Largest 7 ... View Questions/Answers

BufferedReader  March 31, 2011 at 12:09 AM
What is BufferedReader used for? ... View Questions/Answers

loop, control statements  March 30, 2011 at 11:41 PM
a java program to print * * * * * * * * * * * * * * * * * * * * * ... View Questions/Answers

loop, control structures  March 30, 2011 at 11:39 PM
a java program to print * * * * * * * * * * * * * * * * ... View Questions/Answers

loops , control structures  March 30, 2011 at 11:36 PM
a simple java program to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 ... View Questions/Answers

pgm  March 30, 2011 at 11:33 PM
ANAGRAM program: eg: "parliment"-"partial men" "software"-"swear oft" write a java program that figures out whether one string in an anagram of another string. Program should ignore whitespace and punctuation. ... View Questions/Answers

string  March 30, 2011 at 11:30 PM
a java program using string function and access modifiers to automate the insurance company which will have to manage the information about policy holders Data Members: 1)Policy No 2)Name of policy holder 3)Address 4)Details of policy 5)Bonus amount Methods: 1)setthePolicyNo 2)GetthePolic... View Questions/Answers

string  March 30, 2011 at 11:24 PM
a java program to input a string and display the string with the first character of every word in capital ... View Questions/Answers

string  March 30, 2011 at 11:23 PM
a java program using string function to input any string and print the same in alphabetical order ... View Questions/Answers

string  March 30, 2011 at 11:21 PM
a java program to replace all matching substrings ... View Questions/Answers

string  March 30, 2011 at 11:18 PM
a java program using string function that computes your initials from your full name and display them ... View Questions/Answers

Java Programming Implement a virtual print queue  March 30, 2011 at 10:21 PM
Implement a virtual print queue. A single print queue is servicing a single printer. Print requests appear periodically and print jobs can take more than one cycle on the printer to complete printing. Attached is a file which has four types of input records: q,3,10 is a q type record wh... View Questions/Answers

without ;  March 30, 2011 at 8:59 PM
can u give me an example of a program without ;?? ... View Questions/Answers

without ;  March 30, 2011 at 8:59 PM
can u give me an example of a program without ;?? ... View Questions/Answers

what is wrong in this program  March 30, 2011 at 7:06 PM
import java.io.*; class Distance { int feet; int inch; void read(int feet, int inch) { System.out.println("Enter distance in feet and inches "); feet=Integer.parseInt(ob.readLine()); inch=Integer.parseInt(ob.readLine()); } void distanceDisplay() { System.out.println(... View Questions/Answers

Java table & list  March 30, 2011 at 6:47 PM
I am taking string elements from user in list, And I want those list elements to be added to table row one by one, The jTable & list are at different classes but under same package. How to do so? Please Help me.. ... View Questions/Answers

how to fetch values from .properties to a html file  March 30, 2011 at 5:23 PM
I have a .properties file with some key value pairs in it. I need to fetch the values from this .properties file into a html file.Please let me know how to do it. ... View Questions/Answers

what is wrong with this program  March 30, 2011 at 3:55 PM
import java.io.*; class Distance { int feet,inch; void read() { System.out.println("Enter distance in feet and inches "); feet=Integer.parseInt(ob.readLine()); inch=Integer.parseInt(ob.readLine()); } void add(int d1,int d2) { int f,i; feet=d1+d2; inch=d1+d2; ... View Questions/Answers

WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java  March 30, 2011 at 3:53 PM
WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java  March 30, 2011 at 3:53 PM
WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java  March 30, 2011 at 3:52 PM
WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

Struts 2  March 30, 2011 at 3:14 PM
we can extend DispatchAction class to implement a common session validation in struts 1.x. how to do the same in the struts2...? ... View Questions/Answers

Spcl programs  March 30, 2011 at 2:36 PM
how to create a good alphabet virus program in Bluej environment???????? ... View Questions/Answers

hi  March 30, 2011 at 2:03 PM
I have connected mysql with jsp in linux and i have used JDBC connectivity but when i run the program, its not working the program is displaying . ... View Questions/Answers

getting the emplo  March 30, 2011 at 1:57 PM
I have one table "EMPLOYEEMASTER" contains 'emp id', 'employee name' for eg: emp id employee name ---- ------- 1 anil 2 kumar i want the sql statement for getting like <... View Questions/Answers

JFrame  March 30, 2011 at 1:47 PM
Hi, I have JFrames in my application and i'm developing application using NetBeans IDE 6.5. I have many jframes. Whenver i click a menu in main JFrames many windows gets open. But i want all JFrames to open within Main Jframe. How can i do it. Please help me to do it. Or what els... View Questions/Answers

user in mysql  March 30, 2011 at 1:34 PM
how to create user in mysql? ... View Questions/Answers

Horizontal scroll bar?  March 30, 2011 at 1:13 PM
Hi all, I have a HTTP Servlet and in the doGet() function I need to output a lot of data to the HTML page adressed by the HttpServletResponse object. At this moment I am using a PrintWriter to achieve this. While the browser window automatically creates a vertical scroll bar, it d... View Questions/Answers

Spring mvc  March 30, 2011 at 12:12 PM
what is spring mvc ... View Questions/Answers

update database  March 30, 2011 at 11:47 AM
hi.. i want to know how the valuesof database can be updated in the jsf-jpa framework when the drop down button is clicked the data will be displayed in the data table and if some changes has to be made that can be done there then by pressing the update buutton the value can be updated t... View Questions/Answers

BackGroundImage  March 30, 2011 at 11:09 AM
Hi I am using NetBeans IDE for developing java application and using MySQL as backend. My problem is I have JFrame in NetBeansIDE in which i want to set BackGround Image to it. I tried to put it with label. But it doesn't stretch when i watch in PC with different sized monitor.... View Questions/Answers

how to retrieve the id value itself from the access database to drop down listbox in jsp  March 30, 2011 at 11:05 AM
how to retrieves the id which is an int datatype, from access database to drop down list box in jsp...plz send the code for that.....plz ... View Questions/Answers

JComboBox  March 30, 2011 at 10:12 AM
I am using NetBeans IDE for developing application. I have jcombobox on Jframe form of IDE. In which the values are to be loaded from MySql Database. My problem is that i want to load content of the jtable whenever i change the selected item in JComboBox. Thank you. ... View Questions/Answers

Ask java count  March 30, 2011 at 8:31 AM
Good morning, I have a case where there are tables sumborrowbook fieldnya: codebook, bookname, and sumborrowbook . I want to make the results: for example: | code book | name of book | sum | | b001 | Java 1 | 10 | ... View Questions/Answers

java tools  March 30, 2011 at 2:10 AM
what is the function of job tool and javadsc tool in java ... View Questions/Answers

Package in Applet  March 30, 2011 at 12:52 AM
How do I use this technique for applets? ... View Questions/Answers

simple pgm  March 29, 2011 at 10:10 PM
a java program which uses super class ... View Questions/Answers

Use varibles from another class  March 29, 2011 at 9:43 PM
**I have two classes. class 1:** public class askfigures extends JFrame { method from class1: public void button4ActionPerformed(ActionEvent e) {String n1 = textField1.getText(); int number = Integer.parseInt(n1); System.out.println("dsf") this.dispose(); Askvalues values... View Questions/Answers

How do you add a numerical value to a regex  March 29, 2011 at 8:37 PM
how do you add a numerical value in a regex. I want to replace my pics ex: bob.jpg susan.jpg mike.jpg with 1.jpg 2.jpg 3.jpg etc. Thanks ... View Questions/Answers

DMCA.com