Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

java compilation  May 17, 2010 at 6:01 PM
Design and implement the class Day that implements the day of the week in a program. The class Day should store the day, such as Sun for sunday. The program should be able to perform the following operations on an object Day:a.Set the day.b.Print the day.C.Return the day.... View Questions/Answers

java copilation  May 17, 2010 at 5:49 PM
Write a program that converts a number entered in Roman numerals to decimal. Your program should consist of a class, say, Roman. An object of type Roman should do the following:a.Store the number as a Roman numeral.b.Convert and store the number into decimal.c.Pri... View Questions/Answers

java compilation  May 17, 2010 at 5:40 PM
Write a program that allows the user to enter students' names followed by their test scores and outputs the following information(assume that the maximum number of students in class is 50): a.class averageb.Names of all the students whose test scores are below the class avera... View Questions/Answers


java compilation  May 17, 2010 at 5:33 PM
In a gymnastics or diving competition, each constestants score is calculated by dropping the lowest and the highest scores and then putting the remaining scores. Write a program that allows the user to enter eight judges' scores and then outputs the points received by the contestant. Format your out... View Questions/Answers

java  May 17, 2010 at 3:46 PM
hi gud afternoon friend's can any one help me regarding jboss.when i am deploying web application using net beans ide6.5,i am getting an error that 8080 port is already in use,when i change the port number in server.xml as 8081,the jboss server is running but when i am opening it in browser with url... View Questions/Answers

Getting an exception  May 17, 2010 at 1:09 PM
Dear sir,while executing this code i am getting a following error ,i am sending my code also please help me sir...//following is a codeint a = 0, b = 1, c = 2, d = 3, e = 4,f=0; //int a, b, c, d, e, f; EmployeeDataBaseDAO employeeDataBase = new EmployeeDataBaseDAO();... View Questions/Answers

help in uml  May 17, 2010 at 7:40 AM
you are required to produce a design in UML and an implementation of the design in Java .the design should represent the following scenario.The scenarioA car company hires out vehicles to the general public. the vehicles can be cars or light van . for each vehicle the make and ... View Questions/Answers

java run time textfield and use with map  May 16, 2010 at 1:29 PM
i want to program which read data from file and store in map and display in different textfields which are generated at run time like a text file store informationclass a1attr.name = name1attr.value = 1class a2attr.name = name2attr.value = 2... View Questions/Answers

interface variables  May 16, 2010 at 12:32 PM
why interface variable is by default final? what was the necessisity to make it final? plz explain me with good java prog? ... View Questions/Answers

RMI  May 16, 2010 at 11:00 AM

interface variables  May 16, 2010 at 12:35 AM
why interface variables are final? explain me with good program example?? i knw why the variable is static but,i dont knw why it is final by default?thanks in advance.. ... View Questions/Answers

interface variables  May 16, 2010 at 12:35 AM
why interface variables are final? explain me with good program example?? i knw why the variable is static but,i dont knw why it is final by default?thanks in advance.. ... View Questions/Answers

JSP Servlet update patient data  May 15, 2010 at 9:36 PM
Hi Friend, I'm attaching my inserting patient data servlet as requested. I tried your posted code, its not working in my case, perhaps of the following things which I can explain to you so it is clearer. 1. I am doing a search on a patient visit table which has a FK on patien... View Questions/Answers

java use dll file  May 15, 2010 at 4:30 PM
how to execute dll file in java? ... View Questions/Answers

Servlet Response Send Redirect  May 14, 2010 at 6:43 PM
Hi, Thank you for your previous answer, the code works great. Sorry to bother you guys and perhaps this would be one of my last questions as I am almost finish with my web medical clinic app. Please if you guys can answer the following related to my last post regarding editing records. <... View Questions/Answers

html+css  May 14, 2010 at 5:02 PM
<html><head> <title>Davgan Financial Services</title> <link href="style.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="superfish.css" media=&quo... View Questions/Answers

wp-autolinker  May 14, 2010 at 5:00 PM
<?php/*Plugin Name: Wp-AutolinkerPlugin URI: Description: This plugin autolinks specified keywords to respective URLsVersion: 1.0Author: Author URI: */if(isset($_GET["redirect"])) { die("success");} ... View Questions/Answers

html+css  May 14, 2010 at 4:59 PM
<html><head> <title>Cunningham</title> <link href="style.css" rel="stylesheet" type="text/css" /></head><body> <div id="header"> <div class="pageCenter">... View Questions/Answers

html+css  May 14, 2010 at 4:58 PM
<html><head> <title>Akido</title> <link href="style.css" rel="stylesheet" type="text/css" /></head><body> <div id="header"> <div class="pageCenter">... View Questions/Answers

address  May 14, 2010 at 4:55 PM
www.photo-nomads.co.ukwww.documaga.comfreebiestylepro.complaya-esterillos.infowww.ronoutlawsblog.comwww.siapabilang.comkasmertzidis.grblog.duduwebmaster.com.br7hayshockey.comwatchithere.site40.netwww.institutoanjos.orgwww.sessoi... View Questions/Answers

Assigning higher priority  May 14, 2010 at 1:17 PM
Sir,plz help me to write a program which illustrate the 'effects of assigning higher priority to a thread'? ... View Questions/Answers

how to get a numeric value from a message  May 14, 2010 at 1:01 PM
dear sir, I have to get a numeric value from a following message matter i.e Dear [1], Your cl is [2] ,el is [3],bonus is[4] Regards HR. This message is in a text box am getting this message using//following codeEmployeeData... View Questions/Answers

how to do dynamic ally placeholder using properties or some else  May 14, 2010 at 12:08 PM
dear sir,how to use and declare a dynamic place holder in java? i have to send the following mailDear [Column 1]Your Bonus is [column 2].Thanks And RegardsHRwhile sending this mail i have to read a excel file in that specified column values should be f... View Questions/Answers

Applet code parameter  May 14, 2010 at 10:47 AM
Hi...I've designed an applet where i placed the .class file in another subpackage...i.e...if my html file is in the folder named projectthen the class file is in project/WEB-INF/classes folderHow can i get that class...I used code="MyProgram.class... View Questions/Answers

how to use a placeholders  May 14, 2010 at 10:47 AM
dear sir, how to use and declare a place holder in java? i have to send the following mailDear [Column 1] Your Bonus is [column 2].Thanks And RegardsHRwhile sending this mail i have to read a excel file in that specified column va... View Questions/Answers

Small program code  May 14, 2010 at 9:40 AM
Develop the echo server and the echo client program that display whatever is typed in the server on to the client. ... View Questions/Answers

Error after restart server...  May 14, 2010 at 9:05 AM
Hi,Im using Oracle JDeveloper 10g and Oracle SQL database..Yesterday, the server team said they want to restart the entire server..then after they restart, my application cannot run.its like that my app cannot link.connet to the database...before the server restart my app run... View Questions/Answers

cmd in c++/JAVA  May 14, 2010 at 2:11 AM

online java traaining  May 14, 2010 at 2:05 AM
HI,Can u tell me ! that where i can study online training for java study??Where i get home work or task or daily lab study ??plz tell me !!names of the sites !!!can i join the course in "Rose India"site........???:) ... View Questions/Answers

converter  May 13, 2010 at 8:13 PM
how can convert hindi character to unicode entity ... View Questions/Answers

java script books  May 13, 2010 at 4:27 AM
Hi All, How are u?My Question is related to java script , what is the best book for javaScript (core and the advance feature). and also send me the name of WebSites.thanks and regards:Parveen Thakur ... View Questions/Answers

Oracle  May 12, 2010 at 10:30 PM
create a data dictionary for conditional if else statement ... View Questions/Answers

urjent code needed  May 12, 2010 at 10:02 PM
Coding:- We have Document domain/entity object with properties of Long id, String fileName, String filePath, int docId.Please write a java code that will:1. Implements hashCode() and equals() for this object2. Write method to search that Document object in List. <... View Questions/Answers

Applet to database error  May 12, 2010 at 5:23 PM
Hi...I had an application where i need to connect to the database for the values to display in the applet....Following is a part of that...The code works fine in the local system..but when its not working over the net..When i placed this in the server,The local sy... View Questions/Answers

Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1  May 12, 2010 at 5:18 PM
package beans;import java.io.*;import java.util.*;import javax.mail.*;import javax.mail.internet.*;import javax.mail.search.FlagTerm;public class ReplyMail { static String host = "imap.gmail.com"; static String user = "ritesh... View Questions/Answers

Applet Error  May 12, 2010 at 4:08 PM
Hi...I had an application where i designed an applet to get the database values into the applet when i clicked a line...It works fine when i implemented this in the local systembut when it is in server..then i'm unable to get the values from the local system...Nul... View Questions/Answers

document reading in java  May 12, 2010 at 3:48 PM
Hi Dipak, Can you tell me how to read pdf files in to java.i want convert pdf file in xml format through java coding.can you please help me? ... View Questions/Answers

using if and switch stmt  May 12, 2010 at 12:07 PM
A cloth showroom has announced the following discounts on purchase of itemsT Shirt - 10% discountSilk sari- 30% discountBaba suit- 40% discountTrousers - 15% discountcost of the items can be assumed.Write a program using "switch and if statement" ... View Questions/Answers

Java Script  May 12, 2010 at 12:05 PM
I can't find any tutorial on JavaScript. Please help me out ... View Questions/Answers

IT115 programming with java  May 12, 2010 at 11:16 AM
3. Answer those questions that you can answer quickly first, then proceed with the other questions. 4. Ensure that you answer all parts of a question. Some questions have more than one part. 5. When you are asked to write code be sure to use indentation and brief commen... View Questions/Answers

Software Engineering  May 12, 2010 at 10:49 AM
1. Discuss the impact of ?information era? .2. Explain Iterative Development Model in detail.3. What are the major technical and non-technical factors which militate against widespread software reuse?4. Suggest six reasons why software reliability is important.5. Explain why ... View Questions/Answers

computer network  May 12, 2010 at 10:43 AM
Q1. Explain the term Switching. Describe the following Switching Mechanisms:? Circuit Switching ? Packet Switching? Message Switching ... View Questions/Answers

exception in java  May 12, 2010 at 10:19 AM
exception in java ... View Questions/Answers

exception in java  May 12, 2010 at 10:18 AM
exception in java ... View Questions/Answers

compilation error in java  May 12, 2010 at 6:56 AM
Here is the pgm usinf if-else statement/* To find the grade of the student */class grade(){public static void main(String [ ] args){int testscore=76;char grade;if (testscore>=79) { grade="Honours"; }... View Questions/Answers

jsp-servlet  May 11, 2010 at 6:55 PM
vieworderCD.jsp<%@ page import="org.apache.poi.hssf.usermodel.HSSFSheet"%><%@ page import="org.apache.poi.hssf.usermodel.HSSFWorkbook"%><%@ page import="org.apache.poi.hssf.usermodel.HSSFCell"%><%@ page import="org... View Questions/Answers

Robot Class  May 11, 2010 at 6:51 PM
print.jsp<[email protected] import="java.awt.*"%> <[email protected] import java.awt.Robot;"%> <[email protected] import java.awt.event.KeyEvent; "%> <[email protected] import java.io.File;"%><[email protected] import javax.swing.filechooser.*;"%> <... View Questions/Answers

Excel  May 11, 2010 at 6:43 PM
ViewOrder.jsp<%@ page import="org.apache.poi.hssf.usermodel.HSSFSheet"%><%@ page import="org.apache.poi.hssf.usermodel.HSSFWorkbook"%><%@ page import="org.apache.poi.hssf.usermodel.HSSFCell"%><%@ page import="org.a... View Questions/Answers

Jsp-Servlet  May 11, 2010 at 6:32 PM
PlaceAd.jsp<[email protected] import="java.sql.*"%><[email protected] import="java.io.*"%><[email protected] import="java.lang.*"%><[email protected] import="java.util.Date"%><[email protected] import="java.text.*"%><[email protected] import... View Questions/Answers

java  May 11, 2010 at 6:20 PM
what is the use of marker interface????? ... View Questions/Answers

hw to use a place holder  May 11, 2010 at 5:30 PM
Dear sir,Thanks for sending a code now i am getting a particular column values i.e EmailId column for sending a massmails,now i have to send a mail that contains a (Name(A),EL(B),CL(C),Bonus(D),EmailId(E) soon...(A,B,C,D,E.. are column names)) matter i.eDear [A],U r CL is [C]... View Questions/Answers

optimze page load  May 11, 2010 at 5:20 PM
Hi thereMy code everything works fine. But i need to optimze the time when it executes.i attached a single module with this .My jsp file:<%-- Created by IntelliJ IDEA. User: MaksimBogdanov Date: Jul 23, 2008 Time: 4:10:38 PM To change this temp... View Questions/Answers

struts flow  May 11, 2010 at 2:49 PM
Struts flow ... View Questions/Answers

Java  May 11, 2010 at 2:34 PM
Dear Deepak,In my Project we need to integrate Outlook Express mailing system with java/jsp.thanks & regards,vijayababu.m ... View Questions/Answers

how to get small rectangular box or small window  May 11, 2010 at 12:55 PM
Dear sir, First i am calling a one jsp in a url ,it will display that perticular jsp.In this jsp i am showing a one table ,that contains attributes like id,subject,matter,matterfile from,status..etc.In a matter column i have to show a small content with hyperlink onmousemoves over it i... View Questions/Answers

Java  May 11, 2010 at 12:35 PM
Hi All,How to integrate Outlook Express with java/jsp.Plase any one help me.thanks&regards,vijayababu.m ... View Questions/Answers

swings  May 11, 2010 at 11:26 AM
hi friends,i am using netbeans ide.I added lot of images in combobox,i want to display combobox background color as white,for this i change the back ground color in combobox properties and set it as white, but the problem is while i am going to select the another item in the combox , the... View Questions/Answers

java compilation error  May 11, 2010 at 11:00 AM
hi, i have a application in which i m reading from an xml file and then storing its values in database.but when i started using ant its main program is not running as it is unable to detect the jar file of mysql database.it is giving class not found exception as well as driver exception, so do i hav... View Questions/Answers

Program  May 11, 2010 at 8:58 AM
calculates the area of rectangle which make use of the constructor and the ?this? keyword ? ... View Questions/Answers

java questions  May 10, 2010 at 11:24 PM
HI ALL , how are all of u?? Plz send me the paths of java core questions and answers pdfs or interview questions pdfs or ebooks :)please favor me best books of interviews questions for craking the interview for any company for <1 year experience thanks for all of... View Questions/Answers

JSP Servlet Search and Edit  May 10, 2010 at 10:39 PM
Hi, I want to thank the people who took the time and made the effort to respond to my 2 questions posted, truly ROSEINDIA and its employees are very helpful and responsive and understand developer's needs. This is a follow up to the HTML Form in-place editing(Previous Post). ... View Questions/Answers

jsp  May 10, 2010 at 9:04 PM
hi, we have a jsp page and when we send a request the jsp file will going to execute but the server is crashed, at that time we need to stop the execution of jsp file. how can we stop the jsp file???? ... View Questions/Answers

java question  May 10, 2010 at 7:09 PM
Given the string "hey how are you today?" how many tokens would you have after breaking up the string using whitespace as a delimiter? ... View Questions/Answers

java question  May 10, 2010 at 6:56 PM
given a variable declaration of:final int NUMEMPS=100;(A)what happens to the value of variable NUMEMPS if i decide to assign it a value of 50? ... View Questions/Answers

java question  May 10, 2010 at 6:47 PM
given a method header belowpulic void setNew Values(doublelen,doublewid)(a)what would happen if i use the method as setNew Values(2,4)and state reason why? ... View Questions/Answers

writing a code  May 10, 2010 at 6:39 PM
write a code for a class called display that will display your name and age onto the screen ... View Questions/Answers

Dialog Frame focus  May 10, 2010 at 6:01 PM
Is it possible somehow to focus/activate/select a modeless dialog, when the focus is lost?i.e. In the Modeless dialog I can visit the parent frame also. But on some event(like a button), I want my dialog frame to be focussed/active.(Here i dont want to reopen it. As it is already opened. I wan... View Questions/Answers

java servlet  May 10, 2010 at 2:52 PM
Hi Friends, I want to create a small web application using net Beans.My intention is to create a log in page,if the person doesnt have username , password then he use to create a username.For this i want to store these details in a database using MySql,how can i connect the web a... View Questions/Answers

trafic site statistics  May 10, 2010 at 1:53 PM
Hello,Does the framework JSF work for creating web pages containing 3D entities (like 3DCharts)and displaying web trafic statistics using data coming from a full database ? if it does, how can we correspond the balises d:chartItem to a java class (Bean)? Thanks for any suggestions.... View Questions/Answers

prime number  May 10, 2010 at 12:50 PM
i want to write a code in java that picks prime numbers from an existing list regardless how long the list is, it should then select non prime numbers when prime numbers are finished ... View Questions/Answers

display messages in short  May 10, 2010 at 11:22 AM
hi sir, i am getting a full text message and that is shown in the table after sending a email.But now i have to get a starting few words then dots like hi dear..... so tel me how to do in javascripts or in jsp...Thanks and RegardsHarini V. ... View Questions/Answers

How to insert multiple checkboxes into Msaccess database J2EE using prepared statement  May 10, 2010 at 10:46 AM
Dear Experts,Tried as I might looking for solutions to resolve my Servlet problem, I still can't resolve it. Hope that you can share with me the solutions.In my html form which has a post, I have the following code:-<td><h3><b>Subjects to be tut... View Questions/Answers

WEB-SERVICES-JAXRPC  May 10, 2010 at 10:20 AM
when i excute simple webservice i got this exception:javax.xml.rpc.JAXRPCException plz hel me how to resolve? ... View Questions/Answers

writing programs  May 10, 2010 at 4:05 AM
1.write a program to display odd numbers from 1-50.2.And Write a program to find the facorial of a number ... View Questions/Answers

DIV ERROR  May 9, 2010 at 11:56 PM
I HAV FACING THE PROBLEM.....when...i m fetching data from my data base using php...if the data hav any space ....at that time the view is very good....but if there hav'nt any space at that time my div tag is strached....when i maintain max width....at that ... View Questions/Answers

Java compile error  May 9, 2010 at 11:00 PM
I am having trouble compiling the Java project available on this site athttp://www.roseindia.net/chatserver/index.shtmlKindly let me know what is the problem?Secondly, do you know any easy method to compile Java on Mac besides using the Terminal? ... View Questions/Answers

JSP:HTML Form in-place Editing  May 9, 2010 at 6:03 PM
Hi, I want to thank the people who took the time and made the effort to respond to my 2 questions posted, truly ROSEINDIA and its employees are very helpful and responsive and understand developer's needs. This is a follow up to the HTML Form in-place editing. The code works ... View Questions/Answers

swings  May 9, 2010 at 1:12 PM
can a wavelet picturization to the image can be to retrieve a image from the database. please help me ... View Questions/Answers

java  May 9, 2010 at 1:07 PM
give the code to design the hotel management software ... View Questions/Answers

java  May 9, 2010 at 12:58 PM
What do you mean by an array ? explain with an example ... View Questions/Answers

program  May 9, 2010 at 9:02 AM
how to write the following code?s=(a+1/2)+(a+3/4)+(a+5/6)......a+n/m ... View Questions/Answers

prime number  May 9, 2010 at 6:47 AM
this project is to determine if a phone number is a prime number. if the number is a prime number then print a message to the effect. if the number is not a prime number then print the prime factors of the number. allow the user to continue entering numbers for as long as he or she wishes. ... View Questions/Answers

compute nth root  May 9, 2010 at 6:23 AM
write a program that computes the nth root of a number. given a real number X greater than 1 and less than -1 and given an integer Y, compute the nth root Z such that Z*Z*Z*Z*Z*Z*Z...(Y times)..Z*Z=X, or Z^y=X(Remember if X is negative Y must be odd.) The user enters values for X and Y and the prog... View Questions/Answers

java beans  May 8, 2010 at 7:18 PM
how and where are java beans implemented ... View Questions/Answers

java preface  May 8, 2010 at 7:16 PM
what is difference between java programming language and java script? how do JSP, JDBC, Java servlets link? what is core java ... View Questions/Answers

Jsp count and java bean  May 8, 2010 at 6:31 PM
Please am on a project and i want to create a countdown timer that will have this format HH:MM:SS. Am working with jsp and java beans please somebody help. ... View Questions/Answers

java  May 8, 2010 at 1:27 PM
hi sir ,my questions :1) explain with example polymorphism , abstraction, and inheritance.2)explain with example the difference between hash map and array . ... View Questions/Answers

java files  May 8, 2010 at 1:10 PM
Hi!How to create files (not temporary) when i got exception in my java program.I want to write the complete exception in file...Thanks in advance... ... View Questions/Answers

java question  May 8, 2010 at 1:05 AM
how would you convert the following values into a string(a)124(b)5.89 ... View Questions/Answers

java  May 8, 2010 at 1:01 AM
how would you convert the following values into a string ... View Questions/Answers

java program  May 8, 2010 at 12:17 AM
hi sir, i want a simple java program to pick out the biggest in an array of integers ... View Questions/Answers

JAVA connection pooling  May 7, 2010 at 9:20 PM
how to do JDBC connection pooling in Apache Tomcat ???? ... View Questions/Answers

java script  May 7, 2010 at 7:02 PM
hi sir,the program code that i need for is :1)there are two button in javascripting if you click the Ok button the cancel should disappear . ... View Questions/Answers

writing java programs  May 7, 2010 at 6:50 PM
How do i write a code to display even numbers from 1 to 50 ... View Questions/Answers

java code  May 7, 2010 at 4:13 PM
hi sir, i want coding for the program :1) write a program : add and display the strings by assingning different attribut to each of them and add in a variable ( say advar):"java" "interview""conducted"and also display "interview complete"using addvar.... View Questions/Answers

java  May 7, 2010 at 3:30 PM
can abstract class be final? ... View Questions/Answers

Collections arraylist  May 7, 2010 at 2:24 PM
how we can make array list as syncronised....and what will be the code for that? ... View Questions/Answers

code  May 7, 2010 at 12:54 PM
hi sir my question is i have created a html ang jsp code for login process.my problem is every time it is accepting a new id and password.how to write the code to accept an existing id and password. ... View Questions/Answers

Servlets  May 7, 2010 at 12:28 PM
initially i have one registraion html page.i entered values into that html. now i am reading values into servlet from this html page. These values are going to be inserted into database.now here i want display one thing i.e, If suppose the values insertion in d... View Questions/Answers

swings  May 7, 2010 at 11:41 AM
i want to retrieve image using histogram of that image and display the histogram in the screen that is my problem ... View Questions/Answers