Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

rich text field  April 15, 2008 at 11:04 AM
Hi, this is jawahar. my question i need rich text field in my program . plz send me the code... View Questions/Answers

StringBuffer  April 15, 2008 at 10:49 AM
Hi, Thank you so much for answering my previous question regarding StringBuilder And StringBuffer. But,while using more than one...-threaded applications(i.e. StringBuffer)? Please give example(code) and explain ... View Questions/Answers

Copy files from one folder to another  April 15, 2008 at 10:12 AM
How to copy files from one folder to another based on lastmodified date?... View Questions/Answers


Java error handling  April 14, 2008 at 9:18 PM
How to write a code to handle the errors in Java?... View Questions/Answers

Java robust applications  April 14, 2008 at 6:56 PM
What is the meaning of Java as a robust applications?... View Questions/Answers

How to copy files from one folder to another based on lastmodified date  April 14, 2008 at 6:18 PM
I have to make a simple utility to copy files from a folder to another folder in the same hierarchy, without overwriting the existing.... View Questions/Answers

JSP Scope Objects  April 14, 2008 at 5:55 PM
What is Scope Object in JSP?... View Questions/Answers

errors while run  April 13, 2008 at 9:52 AM
I,ve download the SimpleHelloByEnteringName jsf intoduntion sample project and tried to run this application following the steps narrated in roseindia jsf tutorial. But i found the fillowing error:(My ... View Questions/Answers

file upload and insert name into database  April 13, 2008 at 5:39 AM
Hi, I just joined as a fresher and was given task to upload a file and insert its name into database. The max size of the file can be 1mb. Along with the file name, there are other 2... View Questions/Answers

logout problem  April 13, 2008 at 2:08 AM
hi,guys thanks for the solutions for previous query.Now I am end of my project.I have written my Logout code as I am... Logout You have logout. Please try again Login ... View Questions/Answers

Hello World  April 12, 2008 at 11:35 PM
Java Beginner - 1st day. Looked at the Hello World script and thought I would give it a try....I created the script in Notepad. Saved...){ System.out.println("Hello World!"); } } what am I doing wrong. Am I expecting too ... View Questions/Answers

Struts,JSP  April 12, 2008 at 11:19 PM
I'm facing problem while using logic:iterate to render the data in the jsp from the Array list. javax.servlet.ServletException: Cannot find...("uname",employees); In the jsp... View Questions/Answers

Java servlets sessions session tracking  April 12, 2008 at 12:50 PM
How to track the session in Servlet?... View Questions/Answers

Calling static methods in java  April 12, 2008 at 1:55 AM
I had one last question... Add a static method in the Student class which keeps track of the oldest and youngest student of all the students. Show how the static method can be called independent of an object. Thank you... View Questions/Answers

Java constructor example  April 12, 2008 at 1:52 AM
I'm stuck on one of my assigned questions....Write a Birthday class which has integer year, month and day fields. Include a constructor, an empty constructor, a copy constructor, a copy method, accessor and mutator ... View Questions/Answers

Java prime number program  April 12, 2008 at 1:47 AM
How to show the prime number in Java? Can you please explain it through an example?... View Questions/Answers

Hiberbate Creteria between Example  April 12, 2008 at 12:09 AM
In "criterion: Between" example you have used Expression.between() method but in previous example named... in the table of previous example, you showed that between method belongs ... View Questions/Answers

Java palindrome program code  April 11, 2008 at 5:06 PM
Can anyone Explain me the Java palindrome with the help of an example or program code in Java.Thanks in advance!!... View Questions/Answers

Java factorial program  April 11, 2008 at 5:05 PM
I wanted to know ..how to create a factorial program in Java using recursive method.Thanks in Advance!... View Questions/Answers

Java string array declaration  April 11, 2008 at 5:00 PM
How to declare a string array in Java?... View Questions/Answers

JSP Mysql Insert Example  April 11, 2008 at 4:07 PM
I need a JSP and MYsql code to insert into the database.... View Questions/Answers

Struts select tag  April 11, 2008 at 3:51 PM
Struts select tag example code.... View Questions/Answers

Testcases  April 11, 2008 at 3:44 PM
Hi iam doiing project on online reservation i want to know how to write the testcases for this online reservation..........will u help me ... View Questions/Answers

test case  April 11, 2008 at 2:25 PM
Hi i am doing project on online reservation i want to know how to write the test case template for this online reservation... View Questions/Answers

store Error in a logfile  April 11, 2008 at 12:58 PM
I am using java to get details form more... store in a particular file and error should mail error to particular mail id. I... error in a particular log file using java". please reply soon ... View Questions/Answers

struts ssl login  April 11, 2008 at 12:49 PM
How to create struts ssl login?... View Questions/Answers

StringBuilder v/s StringBuffer  April 11, 2008 at 11:25 AM
Hi All, I want to know the difference between StringBuilder & StringBuffer classes. I know that StringBuffer... to be created, which can be quite inefficient. StringBuilder (or StringBuffer... View Questions/Answers

Java servlet xml request  April 11, 2008 at 10:25 AM
How to create a java servlet xml request?... View Questions/Answers

spring web  April 11, 2008 at 9:19 AM
hi thanku for reply :) Actually i dint get u what is meaning of spring web as i understand i am telling you. I am using eclipse and jar files like spring.jar,tlds of spring. hibernet.jar and also required jars ... View Questions/Answers

embedding class in an applet  April 11, 2008 at 8:19 AM
I have an applet that has a set... java.awt.event.*; public class tesURL extends Applet implements ActionListener... a remote controller). I have the applet code for the remote controller; ... View Questions/Answers

new to EJBs exceptions while excuting Client code  April 11, 2008 at 5:07 AM
Hi i am new... then it is compiling fine can any one help me please.. i am posting the client code and the EXCEPTIONS here... thanks ... View Questions/Answers

session syntax for logout  April 10, 2008 at 8:01 PM
What is the syntax for writing session for logout page in login services ?... View Questions/Answers

Servlet development process  April 10, 2008 at 7:18 PM
Can anyone please explain the Servlet development process?... View Questions/Answers

jvm in eclipse 3.2  April 10, 2008 at 6:49 PM
How can we check JVM version in Eclipse3.2 ... View Questions/Answers

Word replacment  April 10, 2008 at 6:08 PM
Java code for the Word Replacement.Thnaks in Advance!... View Questions/Answers

setting of image resolution on jsp  April 10, 2008 at 5:10 PM
How can i set resolution of images on my jsp page?When i enlarge the image it becomes fade? is there any solution for its setting... View Questions/Answers

filters in java  April 10, 2008 at 4:25 PM
I have implement Gzip filters in my web application, but web.xml is not supporting to filters in struts, i have implement the same code for servlet its working fine on local host but online web.xml is creating ... View Questions/Answers

Programming skills  April 10, 2008 at 4:09 PM
Hi, I visited this site for the first time.It's excellent. I want 2 improve my programming skills.Can u pls help me in making programs using JSP's and servlets.... View Questions/Answers

Form Code in JSP and Servlet  April 10, 2008 at 2:57 PM
Hi, I am looking for a form code in JSP and Servlet.... View Questions/Answers

Modified shap  April 10, 2008 at 2:26 PM
Respected Sir, Now i need of diamond shap with outline of diamond shape.Using single" " and "*" with looping structure.Please help me!... View Questions/Answers

web crawler  April 10, 2008 at 1:44 PM
Sir, i want to develop a web crawler using java & java applet.Can u suggest me any ebook that can help me developing that? Can u provide me with some codes regarding the development of web crawler... View Questions/Answers

struts and hibernate  April 10, 2008 at 11:32 AM
Hi all, I want to develop a login page and direct it to different employee pages with respect to role of the employee,like admin->admin page,finance unit->financepage like that. my project is Invoice ... View Questions/Answers

How to make web appliction using spring and hibernate  April 10, 2008 at 10:26 AM
Hi Actually i want to make an web application using spring as front end and hibernate as back...... View Questions/Answers

Java substring indexof example  April 10, 2008 at 8:52 AM
Java substring index of example... View Questions/Answers

Java lottery program  April 10, 2008 at 5:39 AM
Please send me an example for the Lottery Draw application in Java.Thanks in advance!... View Questions/Answers

java word counting  April 9, 2008 at 10:13 PM
Hi I want a code in java that replaces a word with another when its occurred independently and ignores the case of the text... but this will change all the occurrence even if its part of another word the run ... View Questions/Answers

select One Menu  April 9, 2008 at 7:29 PM
Hi, I wanted to create a menu to select or choose from ..for my home page.Can anyone please help?Thanks in Advance.... View Questions/Answers

how to seach a keyword in a xml file  April 9, 2008 at 6:16 PM
i have a xml file. i wanted to read and store all the tag values. i have a html form in which when i enter some keyword say "a" then it has to display the tag values starting with a letter ... View Questions/Answers

load testing for login using  April 9, 2008 at 5:56 PM
Hi , I am new to Jmeter.How can i test Login funcionality when 10 different users logging with a gap of 10 sec each.Please tell me the process to do it.Thanx, Naryana ... View Questions/Answers

programming for java beginners  April 9, 2008 at 5:56 PM
How to start programming for java beginners?... View Questions/Answers

JMS Example Program  April 9, 2008 at 5:45 PM
Hi, can any one explain the JMS program with the help of an example?... View Questions/Answers

JMS Questions and Answers  April 9, 2008 at 5:44 PM
What type of questions and answers can be asked into JMS interview?... View Questions/Answers

understand the Mysql and Jdbc database connectivity code  April 9, 2008 at 4:34 PM
understand the Mysql and Jdbc database connectivity code through example.... View Questions/Answers

Vector Class in Java  April 9, 2008 at 4:01 PM
What is a Java Vector Class?... View Questions/Answers

Shape  April 9, 2008 at 2:07 PM
Respected Sir, Please send me the code of diamond shape by using loop and with single statement of " " and single statement with "*".  ... for diamond shape. ... View Questions/Answers

no action mapped for action  April 9, 2008 at 12:11 PM
Hi, I am new to struts. I followed...: There is no Action mapped for action name HelloWorld. ... View Questions/Answers

Java calendar example  April 9, 2008 at 11:24 AM
Please explain the Java calendar example... View Questions/Answers

Java decompiler  April 9, 2008 at 9:47 AM
What is the Java decompiler?... View Questions/Answers

Struts Spring Hibernate Integration  April 9, 2008 at 9:40 AM
struts spring hibernate integration tutorial... View Questions/Answers

struts- login problem  April 9, 2008 at 9:38 AM
Hi all, I am a java developer, I am facing problems with the login application. The application's login page contains fields like username, password and a login button. With this functionality only ... View Questions/Answers

Decrypt  April 9, 2008 at 6:52 AM
How can I modify the file such that the user can enter a cipher text(encrypted) message and a key and my program will decrypt the message. import javax.swing.*; public class Cesar { private String plainText... View Questions/Answers

can some help out on wrting this program.  April 9, 2008 at 3:16 AM
Write a Java program... and the price of the order computed to your program. NOTE: The first number on the file ... View Questions/Answers

Computer Scince 1015  April 9, 2008 at 3:04 AM
Write a SavingsAccount class to store the following information related to a bank account: Account number, Password, Branch name, Surnames, First names, Balance The account balance should be able ... View Questions/Answers

show, hide, disable components on a page with struts  April 9, 2008 at 12:58 AM
disabling a textbox in struts.. in HTML its like disable="true/false" how can we do it in struts... View Questions/Answers

Backup MySQL Database  April 8, 2008 at 10:27 PM
Database Sir I have been reading Rose's india tutorial "Using MySQL Database with JSP/Servlet". In the Tutorial you have shown an example of backing up the database. When I tried to backup database in that way, my ... View Questions/Answers

Program Java link list  April 8, 2008 at 7:27 PM
I need program in Java to copy a file to another file... View Questions/Answers

Java compiler and interpreter  April 8, 2008 at 4:59 PM
is there any online Java compiler and interpreter?... View Questions/Answers

datascroller  April 8, 2008 at 4:55 PM
Hai , I put a datascroller in my page.It works correctly but it does not show images.I know images are in the correct lpcation.and i wrote coading correctly but the images could not displayed. wat is the reason ... View Questions/Answers

regarding j2me  April 8, 2008 at 4:00 PM
sir but i have to use the drawString u tell me how can i display two too long strings... View Questions/Answers

struts hibernate integraion tut  April 8, 2008 at 2:42 PM
Hi, I was running struts hibernate integration tutorial. I am facing following error while executing the example. type Exception report message description The server encountered... View Questions/Answers

help in insert code  April 8, 2008 at 2:38 PM
I have some doubt in following code. I want to insert value using prepared statement.we r accessing connection from other package.can u plz help me out.... View Questions/Answers

Java Security  April 8, 2008 at 3:17 AM
Can someone help me, please? I need to do this as soon as possible Create a file viewer, Secure File Viewer, which, in addition to the usual Open and Save menu items, also provides Secure Open and Secure ... View Questions/Answers

TextBox JavaScript Validation  April 7, 2008 at 10:12 PM
Can you please give an example of text box validation in JavaScript?... View Questions/Answers

Struts 2 problem  April 7, 2008 at 7:26 PM
Hello I have a very strange problem. I have an application that we developed in JAVA and the application works ok in Windows... seemed to worked fine, until the user reported to us a problem. After doing ... View Questions/Answers

JSF facelets tags  April 7, 2008 at 7:13 PM
What is facelets tags in JSF?... View Questions/Answers

jsf configration  April 7, 2008 at 2:10 PM
can i use jsf with following configration jdk 1.4 , tomcat 4.1 & also Jboss/was (IBMs ... View Questions/Answers

java program  April 6, 2008 at 11:18 PM
How to write a Java program?... View Questions/Answers

hibernate program shareware  April 6, 2008 at 7:40 PM
hibernate program shareware example... View Questions/Answers

three dimensional array programs  April 6, 2008 at 4:09 PM
Example of three dimensional array program in Java.... View Questions/Answers

double array in java  April 6, 2008 at 4:08 PM
Please give me an example of double array in java.... View Questions/Answers

Java Array Programs  April 6, 2008 at 4:07 PM
How to create an array program in Java?... View Questions/Answers

Java vector program  April 6, 2008 at 4:06 PM
Please give me an example of Java vector program.Thanks!!... View Questions/Answers

Program and Programme Difference  April 6, 2008 at 4:04 PM
What is the difference between program and programmer?... View Questions/Answers

Java program to Divide,Subtract and Multiply  April 6, 2008 at 4:02 PM
Hi, i need an example program of Java to Divide,Subtract and Multiply the X value.... View Questions/Answers

Program Java in Linux  April 6, 2008 at 4:00 PM
How to program Java in Linux system?... View Questions/Answers

Nested class in Java  April 6, 2008 at 3:55 PM
What is a nested class in Java?... View Questions/Answers

Tetris Color  April 6, 2008 at 1:33 PM
I have created Tetris game in Swing but I want to delete row when 6 blocks of same colors so how can i retrieve color from different classes an t how to check condition ... View Questions/Answers

Break out of if statement java  April 6, 2008 at 8:45 AM
Hi, please explain how to break out of if statement in Java?... View Questions/Answers

Connection Database extends HTTP Servlets  April 6, 2008 at 5:30 AM
In my code.. an error occurs while creating Connection Database extends HTTP Servlets... View Questions/Answers

Java IO Streams  April 5, 2008 at 10:03 PM
What is the Java IO Stream?... View Questions/Answers

RunTime Exception in stand alone app with hibernate.  April 5, 2008 at 9:49 PM
I have written small stand alone application using hibernate-3.2. When I run the application, It causes following types of exceptions. log4j:WARN Please initialize ... View Questions/Answers

Login Box  April 5, 2008 at 4:59 PM
Hi, I am new to Java and I am in the process of developing a small application which needs a login page. I am planning to have my database... it with the corresponding password tosee if the login details match.I've tokenised ... View Questions/Answers

Data scroller  April 5, 2008 at 9:53 AM
Hi , thank u for replying me.i dot ur reply.i have one doubt. in ur link , wat is the need of HTML scouce code..? wat is the action to be performed for the datascroller..? plz reply anyone link about the action ... View Questions/Answers

Java for loop Code  April 5, 2008 at 9:21 AM
Hi, please give me a simple for loop example in Java.Thanks in Advance!!... View Questions/Answers

GUI 2  April 5, 2008 at 6:24 AM
How can I modify this code? Please give me a GUI Example.Thanks!!... View Questions/Answers

Source Code  April 5, 2008 at 6:09 AM
What do I have to add to my original code to make it work ?... View Questions/Answers

Java-Connection Pool  April 4, 2008 at 11:50 PM
How can I create a connection pool. My database... is Weblogic 8. Which is the best approach to create a connection pool?... View Questions/Answers

Java-Connection Pool  April 4, 2008 at 11:49 PM
How can I create a connection pool. My database is MS SQL server 2000(username-sa, pwd-admin) and my application server is Weblogic 8. Which is the best approach to create a connection pool? Kindly help ... View Questions/Answers

Java tools for extreme programming  April 4, 2008 at 5:49 PM
What is the professional Java tools for extreme programming?... View Questions/Answers

Datascroller  April 4, 2008 at 4:39 PM
Hi, i want to know how to make action in datascroller.. plz give me a gud example for datascroller. ... View Questions/Answers