Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Link List proble,  January 22, 2010 at 12:41 PM
i have a problem about programming...this is the problem..-create an application using Linked List this application can add Nodeto your list and Delete to your list......my brain is bleeding can you help me guyz ... View Questions/Answers

applet  January 22, 2010 at 11:47 AM
how to draw textboxes using applets ... View Questions/Answers

basic java  January 21, 2010 at 11:46 PM
oops concept in java ? ... View Questions/Answers


Project  January 21, 2010 at 11:45 PM
Can you send me the whole project on jsp or servlet so that i can refer it to create my own :the topic is Advertisement Management SystemAtleast tell me how many modules does it include. ... View Questions/Answers

Programming Error  January 21, 2010 at 11:42 PM
How to validate login page using jsp where it checks for username whether it is empty or not or is it including number or not if it is the paste alert message. ... View Questions/Answers

NoClassDefFoundException  January 21, 2010 at 8:50 PM
following code has compiled sucessfully but at run time it givs error "NoClassDefFoundException". no other erorr import java.awt.*;import java. awt.event.*;public class marks extends Frame implements ActionListener{Label l= new Label("en... View Questions/Answers

Spring examples  January 21, 2010 at 4:54 PM
Hi,I need sample program using Spring.Full floww o f the code using tiles ,controller,view,model...Please send the sample code for the above one.Please send immediately.Thanks,Valarmathi ... View Questions/Answers

java  January 21, 2010 at 4:46 PM
Hi roseindia, Recently i got one problem..i want convert string to datetime .Now in my project i need this one ...plz favour meThanqs Advance ... View Questions/Answers

ow to create EJB in eclipse and deploy in tomcat EJB ?  January 21, 2010 at 3:24 PM
Hi All, Although i know the concept of EJB , but I have never got a chance to work in EJB . So could u please tell me how to create EJB Project in eclipse and deploy it in tomcat AND/OR creating a web project in eclipse adding EJB in this web project ant deploying in tomcat.... View Questions/Answers

Point Style code.  January 21, 2010 at 2:53 PM
hi , I am Nagarjuna ,this is my first qestion in this forum, pls to this question through the mail.my E- mail id:[email protected] Q: I am working on GIS project.I want to read the symbols from Map font file and add these symbols to combo box in netb... View Questions/Answers

how to create this diamond structure with java.  January 21, 2010 at 9:24 AM
* ******** * *** *** * ***** * *** *** * ***** * *** *** * ***** *** * ... View Questions/Answers

Servlet and Access  January 20, 2010 at 8:41 PM
How to use RequestDispatcher in servlet to call html os javascript file to validate a login page please reply i am so confused.And how to save image in access database cause i am using Microsoft access 2003 so how to save the image file in access Database.please do reply.... View Questions/Answers

programming error  January 20, 2010 at 8:32 PM
import java.io.*;import javax.servlet.*;import javax.servlet.http.*;import java.sql.*;public class Place_Ad extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException, IOException{res.setCon... View Questions/Answers

java  January 20, 2010 at 7:49 PM
how to create a database for java with images in ms access(2007) version. ... View Questions/Answers

bean  January 20, 2010 at 7:34 PM
what is use bean in jsp? ... View Questions/Answers

JSP  January 20, 2010 at 5:11 PM
Hi!this is my html page which generates data dynamically in div content....I want to store the content of div content in databasePlease help me.....Thanks in advance...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ... View Questions/Answers

java multithread  January 20, 2010 at 12:18 PM
Hi,Thanks for your multithreading java code. It helped me a lot. But i have one issue. My code is look like this.public class classname extends Thread { public classname() { super(); /**Here creating objects for other classes and calli... View Questions/Answers

C Program Question  January 20, 2010 at 12:10 PM
How i can calulate sum of First digit and last digit of Five Numbers.e.g 12345 i want to calculate 1+5=6how i can calculate in C Program? ... View Questions/Answers

Sudoku program  January 20, 2010 at 7:22 AM
I would like to get the program for 9X9 Sudoku game in JAVA. ... View Questions/Answers

Digital watch using threads  January 20, 2010 at 6:59 AM
import java.lang.Thread;import java.lang.*;import java.awt.*;class Time implements Runnable{ int i,j,k,m; Frame f; Panel p; Label l,l1,l2; TextField tf1,tf2,tf3,tf4; Thread t1; Time() { f=new Frame(); p=new Panel()... View Questions/Answers

Java Mail  January 19, 2010 at 11:24 PM
how to email using Java mail or automatic generated mail??? ... View Questions/Answers

Programming error  January 19, 2010 at 11:23 PM
import javax.servlet.RequestDispatcher;import javax.servlet.*;import javax.servlet.http.*;import java.io.*;public class ModuleServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws Servlet... View Questions/Answers

programming error  January 19, 2010 at 11:19 PM
What is error in this page and how to use RequestDispatcher in servlet to validate it please do reply??import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;import java.util.*;public class LogRequest extends HttpServlet ... View Questions/Answers

servlet  January 19, 2010 at 11:16 PM
import javax.servlet.*;import java.io.*;import java.util.*;import javax.servlet.http.*;public class LogAd extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{res.set... View Questions/Answers

Struts  January 19, 2010 at 10:14 PM
how to handle errors in struts? ... View Questions/Answers

action Servlet  January 19, 2010 at 10:10 PM
What is the difference between ActionServlet ans normal servlet?And why actionServlet is required? ... View Questions/Answers

Example caching  January 19, 2010 at 9:20 PM
Hi everyone!!I am a student in Viet Nam, I am coding a project J2ME. Before, I had some question in RoseIndia and received your userfull anwsers. Now, I code to caching in j2me, I would like to save results of last query into cache and the new query will find into cache before send request to ... View Questions/Answers

java how to open CD drive through code  January 19, 2010 at 8:03 PM
hi every one i wanted to write a code for my application using that functionality i want to be able to open the cd drive ...I know there is com.ms.win32 but i havent found that package in java...can anybody tell me how to use that package in java.... ... View Questions/Answers

java beans code in jsp  January 19, 2010 at 3:28 PM
can you tell me how to use java beans in jsp in step wise.iam doing online banking project. i need java beans code connecting jsp page to mysql database. please send me the code for login page, myaccount summary page and funds transfer page using java beans. ... View Questions/Answers

Programming error  January 18, 2010 at 11:02 PM
import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;public class UpdOrders extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{res.setContentTy... View Questions/Answers

Javamail  January 18, 2010 at 10:57 PM
i want an explanation and code of Automated generated mail. ... View Questions/Answers

Servlet  January 18, 2010 at 10:49 PM
how to validate a servlet program using Javascript OrHow to validate html using JavascriptorCan i link a jsp file that is validated by using javascript to a servlet ... View Questions/Answers

JSP  January 18, 2010 at 6:32 PM
Hi!I have a content which was generated dynamically in <div> tag.....I would like to access the data of div tag and store it in a variable... in JSP....for example<div id="sample">goodmorning</div>I would like to store this 'goodmorning' in a... View Questions/Answers

Need source code  January 18, 2010 at 6:01 PM
Hai friends, How can I, view all the datas from the mysql database table in the jframe........ ... View Questions/Answers

Need source code  January 18, 2010 at 5:05 PM
Hai, I need a source code for developing the project, title is "Face Recognition" and the backend as My-sql.... Thanks & Regards, Terrance. J ... View Questions/Answers

Need source code  January 18, 2010 at 4:24 PM
Hai, I need a idea and code for developing the project "Face Recognition" with the backend as My-sql.... Thanks & Regards, Terrance. J ... View Questions/Answers

Need source code  January 18, 2010 at 3:05 PM
Hai, In java swing, How can upload and retrieve the images from the mysql database? ... View Questions/Answers

java beginners  January 18, 2010 at 2:18 PM
to Write a program to convert entered number into words.Output : You have entered number = 356 The number in words is = three five six.thanks ... View Questions/Answers

java  January 18, 2010 at 2:17 PM
to Write a program to input a string and two words and replace first word with second word as in example given below :Input : Hot plate with hot eggWord1 : hotWord2 : coldOutput : cold plate with cold egg. thanks ... View Questions/Answers

java beginners  January 18, 2010 at 2:16 PM
pl. let me know the program for the following question.A Cyber Café charges for the usage of computer according to the following Slab System.For the first 60 minutes - Rs. 20/=For the next 30 minutes - Rs. 12/=For the next 15 minutes - Rs. 8/=For the res... View Questions/Answers

Asp.net  January 18, 2010 at 1:28 PM
in my webform gender(m/f) radio buttons are there when i click a radiobutton that gender is inserted into the database.what is the sql query of radiobutton please give a code of sql query and asp.net(vb) ... View Questions/Answers

java multithread  January 18, 2010 at 9:33 AM
Hi,I have developed one java application.It should be running continuously. Using multithreads how to make the application to run continuously.Could you please help me.Thank you, ... View Questions/Answers

Human face using applet programming  January 18, 2010 at 7:15 AM
import java.awt.*;import java.applet.*;public class HumanFace extends Applet{private int mouseX, mouseY;private boolean mouseclicked = false;public void init(){}public void paint(Graphics g){g.drawOval(40,40,120,150);g.drawOval(57,75,30,30)... View Questions/Answers

Radius Program  January 17, 2010 at 12:42 AM
I need to write, compile, and execute a Java application program that calculates and outputs the circumference of a circle. Any ideas? thanks!! ... View Questions/Answers

java programming  January 16, 2010 at 10:20 PM
please i want your help and solution also in this example:using JCreatorPro program Write a Java program that does the following: // TODO, Ask the user for his name // TODO, ask the user for his score in the first exam // TODO, ask ... View Questions/Answers

java programming please  January 16, 2010 at 10:17 PM
please i want your help :-( using JCreator program Your local bank has contracted you to design a Java application that will process saving account data for a given customer in a given year. Assume that the saving account accurse interest at a rate of 12 percent p... View Questions/Answers

Socket connection  January 16, 2010 at 3:20 PM
Hi everyone!!I am a student in Viet Nam and codding project about J2me, using Netbean 6.8 simulator mobile cilent. I have file.xml in server (PC), I want to send to client by socket conection, everyone please help me!!If not use socket, can I use other conection?? ... View Questions/Answers

Java  January 16, 2010 at 3:04 PM
I want to run a program of video control. But I got a lot of errors because javax.microedition does not exist. What I have to do to run the program? ... View Questions/Answers

Human face using applet programming  January 16, 2010 at 7:37 AM
import java.applet.*;import java.awt.*;public class Chatterjee extends Applet{ public void init() { } public void paint(Graphics g) { g.drawOval(40,40,120,150); g.drawOval(57,75,30,30); g.drawOval(110,75,30,30);... View Questions/Answers

java  January 15, 2010 at 8:18 PM
your website is best look i am intension of this java because a project has given for me by my instructorthe project is write a full code which consists 1 inheritance 2 polymorphism ... View Questions/Answers

junit  January 15, 2010 at 4:28 PM
can u give me a sample application of using junit? ... View Questions/Answers

java struts servlets writing  January 15, 2010 at 12:43 PM
sir..i am using eclipse here for software development.and i just want to know what all are the neccessary steps to write servlets pragrams for stuts applicatuin.here am developing a small application (which wil display input value gvn by a user,)as a trial..please help mejaya ... View Questions/Answers

jav beginners  January 15, 2010 at 8:54 AM
pl. let me know the logic and the program to print the prime and twin prim numbersthanks ... View Questions/Answers

javascript  January 15, 2010 at 8:53 AM
<%@ Language="VBScript" %><% Option Explicit %> <html><body> <% Dim product_id,pro_desc,stocks,counter Dim connstring, connection, SQL product_id= request.form("product_id"... View Questions/Answers

how to create and use cache in j2me?  January 14, 2010 at 2:36 PM
Hi everyone, I am a student in Viet Nam!I am coding project j2me using caching but what by I do not begin, please hepl me! ... View Questions/Answers

How to create function download in web services with java?  January 14, 2010 at 2:29 PM
I am a student in Viet Nam, I am coding a project j2me access web services to download a file.xml, anybody please help me how to creates function download in web services?? ... View Questions/Answers

java program  January 14, 2010 at 2:09 PM
write a program in java to print the following pattern?12 3 43 4 5 4 34 5 6 7 6 5 45 6 7 8 6 5 4 3 ... View Questions/Answers

Excel / Doc to PDF conversion using Acrobat9  January 14, 2010 at 1:09 PM
Hi,I need to convert .xls / .doc files to .pdf files using Acrobat9. Please suggest the possible ways.Thanks in advance. ... View Questions/Answers

Java Calculator program  January 14, 2010 at 7:25 AM
import java.awt.*;import javax.swing.*;import java.awt.event.*;class Calculator implements ActionListener{ int c,n; String s1,s2,s3,s4,s5; Frame f; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16; Panel p; TextField tf1;... View Questions/Answers

java  January 13, 2010 at 7:26 PM
Q: In a certain diving even a score is awarded by each of the 10 judges.the highest and the lowest score are neglected and the average of the restis found to get the final score. Design a flochart to input the 10 score.There is only one highest acore and the lowest score. ... View Questions/Answers

java  January 13, 2010 at 7:15 PM
Q: write a program in java which input a positive natural N and output all combination of consecutive natural which add up to give N . Example : N=15 then the output should be 1 2 3 4 5 4 5 6 7 8 ... View Questions/Answers

java  January 13, 2010 at 7:09 PM
Write a Java program to read a positive integer from console and find out whether it is automorphic or not.(Automorphic number are those which are found on the extream right side of the square). Eg. 2 5 = 25_ 2 6 = 36_ ... View Questions/Answers

java  January 13, 2010 at 7:00 PM
A one dimensional array contains 100 element. Each element is an integer.write a program to read the array and find the mean element of the arrayFind the position of the element which has the maximum deviation from the mean ... View Questions/Answers

java  January 13, 2010 at 6:54 PM
write a program in java to print the following pattern?123434543456765456786543 ... View Questions/Answers

java  January 13, 2010 at 6:51 PM
In sinking a well the rate of driling is 20 metres per hour. For each subsequent hour the depth suck is 8 percent less then the previous hour.write a program in java to calculate and print the depth reaches after 10 hours.? ... View Questions/Answers

FTP file copy problem?  January 13, 2010 at 6:16 PM
Hi, Can any one tell me how to set file lastModifiedTime after copying files through FTP. I am using commons-net-1.4.1.jar to copy files from local system to server.Eg: local file name ?test.doc? (Today, December 29, 2009, 5:09:33 PM) when I moving this file to server, the files ar... View Questions/Answers

How to enable commenting into pdf files using java?  January 13, 2010 at 6:06 PM
I need to enable commenting feature in a pdf through Java program. Normally when we open a pdf in acrobat, user can put comments in the pdf because acrobat has in build commenting feature (this feature is only for licensed version). At the same time, when the pdf is opened in adobe reader, user can ... View Questions/Answers

cannot find symbol  January 13, 2010 at 5:51 PM
public class Areatest{ public static void main(String[]args) { Figure[]figures={new Triangle(2.0,3.0,3.0),new Rectangle(4.0,6.0),new Square(5.0)}; for(int i=0;i<figures.length;i++) { System.out.println("Area of "+figures[i]+" is "+figures[i].ge... View Questions/Answers

How to create database in mysql using ANT build  January 13, 2010 at 5:15 PM
Hello , can anybody tell me how to create a database in mysql using ant build.Please tell me detail with build.xml ... View Questions/Answers

JSP Hindi Page  January 13, 2010 at 3:00 PM
I need to provide users with option to print a Certificate in English or Hindi. This is an html page generated by JSP Code. Depending upon the button clicked english or hindi version of the Certificate should be shown. Dynamic data will be obtained from data based and will be in english. So only the... View Questions/Answers

jsp  January 13, 2010 at 2:54 PM
wat are the functions to get parameters from jsp..? and storing them in database.. the database server used is ibm db2 software.. the functions hav to match the server selected..the problem is that the commands are not executed properly.. errors are popped up ... View Questions/Answers

javascipt  January 13, 2010 at 2:30 PM
anoter.asp<html> <head> <script langauge='javascript' type='text/javascript'> function addNew() { var mainContainer = document.getElementById('mainContainer'); var n... View Questions/Answers

javascript  January 13, 2010 at 1:08 PM
first.asp<html><head><script langauge='javascript' type='text/javascript'> function validate(form) { // alert(document.getElementById('textbox').value); var error=""; if(form.... View Questions/Answers

How to use Token Interceptor  January 13, 2010 at 9:30 AM
Hi,Iam a beginner in struts.I tried to implement Token Interceptor to prevent double submission,I search internet but didnt find examples to do that in Struts2I tried below code <interceptor-ref name="token"/> ... View Questions/Answers

jsp  January 13, 2010 at 7:26 AM
Hi this is chethan here...i have the problem in adding the form data(i.e., user details like username,password) to ibm db2 database and then retrieving data from database to display it on browser or a html page..its urgent .. pls reply as soon as possible .. ... View Questions/Answers

Flash based Chat System  January 12, 2010 at 1:46 PM
Hi I would like to ask is it advisable putting the chat inside the Flash (integrated with the video), or putting it outside the the Flash using XMPP embedding in a website.What issues / pros and cons of the two approaches.What are the existing relevant solutions t... View Questions/Answers

Java Memory of Apache Tomcat  January 12, 2010 at 12:36 PM
Dear All, Please help me to fetch the Java memory occupied by Apache tomcat server using Java Codes. I have three applications installed on Application server, if i start using all the three applications, the java memomry occupied will be more and it goes down at t... View Questions/Answers

java  January 12, 2010 at 12:22 PM
how to insert and delete a number in between an array ... View Questions/Answers

spring with hibernate  January 12, 2010 at 11:19 AM
Hi,I need the sample code for user registration using spring , hibernate with my sql.Please send the code as soon as possible.I need Spring with Hibernate code not struts.Thanks,Valarmathi ... View Questions/Answers

C Program to Print Pascal Triangle  January 12, 2010 at 10:49 AM
I want C Program to Print Pascal Triangle. ... View Questions/Answers

jsp program  January 11, 2010 at 8:36 PM
1.write a servlet program that finds out the given number is armstrong or not which has been submitted through a form?2.create an application in jsp to redirect the request to any other page. ... View Questions/Answers

spring with hibernate  January 11, 2010 at 7:01 PM
Hi, I need the sample code for user registration using spring , hibernate with my sql.Please send the code as soon as possible.Thanks,Valarmathi ... View Questions/Answers

java program for Denial of Service (DoS) attacks detection  January 11, 2010 at 5:07 PM
i want a simple program to generate and detect a Denial of Service (DoS) attacks. using java program ... View Questions/Answers

javascript  January 11, 2010 at 3:02 PM
What is the logic To find the list of arguments starts with Alphabits in database by using javascript?Ex: A B C D E .........Z 0-9If we will click (A) it Should show the listargs starts With AIf we will click (B) it Should show the listargs starts With B......up to Z an... View Questions/Answers

regarding bill generation  January 11, 2010 at 1:54 PM
in this program it is connected with database in mysql.when a customer or user enters he can able to see his payable amount as well as what he paid before as bill. ... View Questions/Answers

javascript  January 11, 2010 at 11:43 AM
thanks ..but i hav writen code in diferent way can u mak changes in tis codehere only 1 row is getting inserted into database but i want all the rows to get inserted into databaseanoter.asp<html> <head> <script langauge='javascr... View Questions/Answers

java  January 11, 2010 at 9:36 AM
hi iam doing project n jsp.i want to select the database server.all database servers are selected dynamically.if we selected the mysql display alldatabase and tables.else we can select the oracle display all oracle databases.please clarify this one.... View Questions/Answers

Servlets  January 10, 2010 at 6:55 PM
How to execute the servlet proramsuch that i should get the o/p in the Excel sheet..... nad wat r the changes that i need to do in the program....plz suggest me suitable solution.....I am trying from past 2-3 days.....Thanks,Gowrishankar ... View Questions/Answers

java  January 10, 2010 at 6:30 PM
please do explain me about exceptions in java with good illustrations ... View Questions/Answers

java  January 10, 2010 at 6:27 PM
what is a framework? ... View Questions/Answers

J2ME  January 10, 2010 at 2:21 PM
Hi I want to know how I can downlload J2ME programming and if ypu have any idea about it please help me. Thank ... View Questions/Answers

JBoss - error during deploy  January 9, 2010 at 8:29 PM
Hello!I've followed your fantastic tutorial about JBoss but I got stucked in exercise 2. I use JBoss AS 5 (don't really know what AS means but I hope I downloaded the right thing). I try to deploy the .ear file and it gives errors, both in manual (pasting the file into the deploy folder)... View Questions/Answers

java related  January 9, 2010 at 2:09 PM
is it possible for a biggener to learn a computer language like java to learn it online ??actually i m a computer science student(fresher) and even in 12th class i have not taken c++ and no knowledge of it ....now i wanna learn it.please tell can roseindia help me.......in it ???????....and in... View Questions/Answers

java  January 9, 2010 at 12:36 PM
hi we can select any database server dynamically.for suppose we can select sql server that can display details and select mysql display alldatabases.please clarifythanks ... View Questions/Answers

jsp program for bill generation  January 8, 2010 at 3:36 PM
hi, i just want to know how i write the jsp program for generation of bill for a gas connectivity systm ... View Questions/Answers

javascript  January 8, 2010 at 2:19 PM
hiim beginner,i have created form using javascript and html functionality is with every click of add button textbox shud get created,n with everyclick of delete buton the row shud get deleted tis is working fine,but i need to move the wole table from form to database with single click of sub... View Questions/Answers

Usage of Hash Code  January 8, 2010 at 1:14 PM
Dear sir, What is Hashcode in Java and What is its usage?Thanks and RegardsM.KehtraBalan ... View Questions/Answers

how to convert jsp page to class file  January 8, 2010 at 10:28 AM
hai. iam doing online banking project by using jsp.i completed all the jsp pages.next can you tell me how to convert these jsp pages to class files with example and where to copy these class files.please tell me further, what are the things to be done for the project. ... View Questions/Answers

How to get data from Excel sheet  January 8, 2010 at 10:07 AM
Hi, I have an excel sheet with some data(including characters and numbers). Now i want read the data from excel sheet and display in console first then later insert this data into database.i am using java, jsp, struts also but not using struts html tags just using simple htm... View Questions/Answers

problem at the time of execution  January 8, 2010 at 9:58 AM
when i was running web applications the exception i.e 404 resource is not available what it means and where it occures what is the solution ... View Questions/Answers