Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

conference call  December 20, 2011 at 11:43 PM
hi am a java beginner I want to develop a simple conference call system over a LAN can u please enlighten me on the basics that I have to do and kno first ... View Questions/Answers

Need Help Like No one Else Please  December 20, 2011 at 11:41 PM
write a program that computes miles per gallon for an automobile. The program should ask for the beginning mileage first. For each fill-up, the program should ask for the mileage and number of gallons of gas. it should display the mileage for that fill-up as well as the cumulative miles per gallo... View Questions/Answers

open source project  December 20, 2011 at 5:55 PM
i am a b.tec 3rd year ,i want to work in some open source java project, please suggest me ... View Questions/Answers

Advertisement

Calling Destructor  December 20, 2011 at 3:30 PM
How can i call destructor in java using System.gc() or manually. Please anyone give me a example program ... View Questions/Answers

linking tree heading in javasript into a Jsp file and then jsp to struts action form  December 20, 2011 at 12:45 PM
i have a tree that consists of 3 options say for example 1) aaa 2) bbb c) ccc when i click either one of them it should go to the corresponding jsp say 1) aaa_jsp.jsp 2) bbb_jsp.jsp 3) ccc_jsp.jsp how can we do this ? ... View Questions/Answers

nullpointerException  December 20, 2011 at 12:09 PM
sir i create the on login module in that mysql generate the nullpointerException? please send login mdule code in jsp and servlet using mvc model? ... View Questions/Answers

MCA Fresher with JAVA,J2EE  December 20, 2011 at 8:57 AM
how to import already developed web application into my eclipse. i mean the workspace are different for the existing project ... View Questions/Answers

Java Print Dialog  December 20, 2011 at 7:56 AM
Using java.awt.print.PrinterJob and javax.print.attribute.PrintRequestAttributeSet. I call .printDialog(ps) and the standard print dialog is displayed with options preset to my chosen attributes. Now I can modify orientation, sides,media size, margins. If I preselect monochrome then I can modify... View Questions/Answers

java codes  December 19, 2011 at 7:48 PM
why is every application allowed to use classes System and String without first importing the item? ... View Questions/Answers

java code  December 19, 2011 at 7:34 PM
int g() { System.out.println("Inside method g"); int h() { System.out.println("Inside method h"); } } Find the error in the following program segment and explain how to correct the error? ... View Questions/Answers

Used Handicap Vans  December 19, 2011 at 6:54 PM
*** Deleted by admin **** Used Handicap Vans Offers adaptive equipment including handicap accessible vans, scooter lifts, swivel car seat, wheelchair carriers and wheelchair vehicles. ... View Questions/Answers

Pool Chlorine  December 19, 2011 at 6:24 PM
*** Deleted by Admin ***** Pool Chlorine Watson's of Cincinnati is a toy store for adults offering above ground pools, pool supplies, Envisions Home Theater electronics, home theater furniture, casual patio furniture, spas & hot tubs etc. ... View Questions/Answers

java coding  December 19, 2011 at 5:34 PM
(person, student,employee, faculty and staff are classes) design a class named person and its two subclasses named student and employee ... View Questions/Answers

java.lang.IllegalArgumentException: node to traverse cannot be null!  December 19, 2011 at 5:31 PM
Hi, I am new to Hibernate. I am facing the problem java.lang.IllegalArgumentException: node to traverse cannot be null! while updating a row. The code is session session = null; Transaction ts = null; try{ query.append("update PasswordDTO set newPassword = :vnewPassword, confirmPas... View Questions/Answers

Badge from html content  December 19, 2011 at 3:43 PM
how to create a badge of html contents or static image which contents the contents like facebook badge ... View Questions/Answers

how many ways to load the class in java  December 19, 2011 at 12:57 PM
i know some ways to load the class. could plz tell the all the ways. ... View Questions/Answers

Please help me understand this query  December 19, 2011 at 12:46 PM
Hi, Could someone please help me understand the following query. Im finding difficulty relating it :-( Pls Help! select * from cbpartner where CBPartner.IsSummary='N' and salesrep_id in (select distinct(aduserid) from aduserroles where aduser... View Questions/Answers

creating a friendly url for web application  December 19, 2011 at 12:34 PM
Hi all, I don't know how to create a friendly url for a web application. Please help me to resolve this problem. Thanks, Suresh. ... View Questions/Answers

database connectivity problem  December 19, 2011 at 12:30 PM
what if client dont have database with them then what is other way to run successfully our programm ... View Questions/Answers

Registration timer expired, but client is still registering!  December 19, 2011 at 12:18 PM
Registration timer expired, but client is still registering! ... View Questions/Answers

Does memory for Class or Object?  December 19, 2011 at 12:11 PM
Does memory for class(methods & instance variables)allocated without it's object creation?If no,then The main() itself has associated with a class for which there is no instance creation,how methods in main()(which intern in some class)are accessible? ... View Questions/Answers

project  December 19, 2011 at 11:58 AM
Sir, I have required coding and design for bank management system in php mysql. I hope u can give me correct information. ... View Questions/Answers

what is viewresolver  December 19, 2011 at 8:47 AM
what is viewresolver? ... View Questions/Answers

Basic CRUD operations  December 19, 2011 at 2:04 AM
LOGIC SERVLET package com.tcs.ilp.h51.servlet; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServ... View Questions/Answers

Basic CRUD operations  December 19, 2011 at 2:04 AM
LOGIC SERVLET package com.tcs.ilp.h51.servlet; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServ... View Questions/Answers

Basic CRUD operations  December 19, 2011 at 2:04 AM
LOGIC SERVLET package com.tcs.ilp.h51.servlet; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServ... View Questions/Answers

ByteCodeVerifier  December 18, 2011 at 7:19 PM
What is ByteCode Verifier in java? Ans: It checks the originality of the java Program/class file 1) It will checks that there is any existance magic number in a java class file or not . If there is any magic number it will goes for execution otherwise reject 2)It chec... View Questions/Answers

what is the working of JVM when An object is created of a class?  December 18, 2011 at 7:05 PM
what is the working of JVM when An object is created of a class? ... View Questions/Answers

Filter Implementation In flexible hierarchy Tree Viewer  December 18, 2011 at 5:05 PM
I am implementing a tree viewer using flexible hierarchy Tree Viewer. I followed the DSF examples and could successfully implement the tree viewer. Now, I want to add filter to this tree viewer. How to implement filter in flexible hierarchy Tree Viewer? ... View Questions/Answers

Filter Implementation In flexible hierarchy Tree Viewer  December 18, 2011 at 5:04 PM
I am implementing a tree viewer using flexible hierarchy Tree Viewer. I followed the DSF examples and could successfully implement the tree viewer. Now, I want to add filter to this tree viewer. How to implement filter in flexible hierarchy Tree Viewer? ... View Questions/Answers

Background color blocks all labels and textfields  December 18, 2011 at 11:12 AM
I added background color but I dont see textfields and labels anymore, please help. What am I missing? (" JFrame f = new JFrame(); SchoolOption f1 = new SchoolOption(); Color c = new Color(128,0,0); Container con = f.getContentPane(); con.setBackground(c); f.setDefaultClos... View Questions/Answers

Add color to background but I can't labels or textfields  December 18, 2011 at 6:20 AM
Please help me to fix this. public static void main(String[] args) { JFrame f = new JFrame(); SchoolOption f1 = new SchoolOption(); Color c = new Color(128,0,0); Container con = f.getContentPane(); con.setBackground(c); f.setDefaultClose... View Questions/Answers

install jdk1.6  December 18, 2011 at 4:10 AM
hello sir pls help me ,i wanna install jdk1.6.0 0n win 7 and i have tried it but i can't do this pls help me...... ... View Questions/Answers

array  December 18, 2011 at 12:22 AM
Consider the following code below. The function printArray accepts a pointer to integer which represents an array of integer.After that this method prints the entire of the array numbers to the monitor. include using std::cout; using std::endl; void printArray(i... View Questions/Answers

hierarchy UML class diag  December 18, 2011 at 12:14 AM
Shape Square Circle Rectangle class Shape { string name; public: Shape(string); virtual void ToString(); virtual void Area()=0; }; class Square : public Shape { double side; public: Square... View Questions/Answers

class definition  December 18, 2011 at 12:08 AM
The class definitions are given as follows: class Address { int hseNo; string street; string town; string state; public: void setAddress(int h, string s, string t, string st); int getHseNo(); string getStreet() string getTown() string... View Questions/Answers

I didn't gat an output for this code, plz send me a correct code  December 17, 2011 at 4:32 PM
Hi, Here is my code: import java.awt.event.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.*; import java.sql.*; public class example2 extends javax.swing.JFrame { public example2() { tmark1=new JTextField(); t... View Questions/Answers

Medicare Part A  December 17, 2011 at 2:30 PM
unbiased solution for comparing and enrolling in Medicare Advantage, Medicare Supplement and Prescription Drug Plans. ... View Questions/Answers

update data to mysql database through JTextField  December 17, 2011 at 11:48 AM
I am getting an error, when i am updating a data to mysql database through JTextField. Send me the code used to solve my error. public void update(){ try{ String update="UPDATE studentrecord set studentname=?,mark1=?,mark2=? where Regno=?"; pr=conn.prep... View Questions/Answers

save data in excel  December 17, 2011 at 11:46 AM
hello sir, i'm new to this field i want to know can i save data in excel by html forms input,means if any one fill up form online then it is save offline in excel how can i do it can you give me solution sir. Thanks and regards Anju Srivastava ... View Questions/Answers

save data in excel  December 17, 2011 at 11:46 AM
hello sir, i'm new to this field i want to know can i save data in excel by html forms input,means if any one fill up form online then it is save offline in excel how can i do it can you give me solution sir. Thanks and regards Anju Srivastava ... View Questions/Answers

c programing  December 17, 2011 at 3:10 AM
Write 2 implementations of C's string copy routine, one with a loop and the other using recursion. What is the security risk with this routine? The function should have the signature: char* strcpy(char* destination, const char* source);* ... View Questions/Answers

c programing  December 17, 2011 at 3:09 AM
Write 2 implementations of C's string copy routine, one with a loop and the other using recursion. What is the security risk with this routine? The function should have the signature: char* strcpy(char* destination, const char* source);* ... View Questions/Answers

Java Function for block inside a block  December 17, 2011 at 3:09 AM
Write a function in Java that attempts to place a set of squares of varying widths into another, larger square. If there is no possible layout, return undefined. Otherwise, return the positions for each input square in the larger box. ... View Questions/Answers

Java Function for block inside a block  December 17, 2011 at 3:08 AM
Write a function in Java that attempts to place a set of squares of varying widths into another, larger square. If there is no possible layout, return undefined. Otherwise, return the positions for each input square in the larger box. ... View Questions/Answers

UML  December 16, 2011 at 9:55 PM
Which is the best Book to learn UML? ... View Questions/Answers

a little pproblem in c++  December 16, 2011 at 9:10 PM
i have one array where are only ,,0'' and ,,10'' like this n=11 <0 0 10 0 0 10 0 0 10 10 10> n=11 <10 0 10 0 0 10 0 0 10 10 10> n=11 <10 10 0 0 0 10 0 0 10 0 0> and a want create other array n=11 <1 1 2 3 3 4 5 5 6 7 8>... View Questions/Answers

interface  December 16, 2011 at 8:20 PM
What is marker interface ?? what is its use in java programming?? is this us in programming ??Explain is implementation with code?? ... View Questions/Answers

JFree chart package error  December 16, 2011 at 6:00 PM
hi, I had asked u abt the jfree chart package and done what u have said. Its working but its giving me error that some of import file is not there. I want to ask that how to add the import files which are not there in the package which is being downloaded? i have download... View Questions/Answers

Web robot to find the best deal  December 16, 2011 at 4:41 PM
Build a Web robot that looks at certain retailers to find the best deal. For example, if you want to buy a textbook then you can give to the robot. The robot would visit the famous online book retiles (e.g. amazon.com and others) to compare prices and find the best deal and make a recommendation... View Questions/Answers

Search engine for email  December 16, 2011 at 4:40 PM
Build a search engine which will look at your email inbox and sort your email into 5 or more bins according to some criteria (e.g. date, email address, text of the email) ... View Questions/Answers

java code to search in your hard disck  December 16, 2011 at 4:40 PM
Build a search engine which would scan your hard disk and build an inverted index for your files. The search engine should cluster your files according to some criteria and make some recommendations (e.g. delete some files if they are too old, etc. ) ... View Questions/Answers

java  December 16, 2011 at 3:54 PM
in this program also i am struggling in executing import java.rmi.*; public interface RemoteInterface extends Remote { public int add(int x,int y)throws Exception; } import java.rmi.*; import java.rmi.server.*; import java.lang.String; interface RemoteInterface... View Questions/Answers

java  December 16, 2011 at 3:51 PM
hello...,i have some problem in executing the program i am successfully compiling but problems in executing import java.rmi.*; public interface AddServerIntf extends Remote { double add(double d1,double d2) throws RemoteException; } import java.rmi.*; import j... View Questions/Answers

how to fetch data fron facebbok using spring batch and hibernate ?  December 16, 2011 at 2:58 PM
how to fetch data from facebbok using spring batch and hibernate ? Means i have to get all details of data from one source like facebook using id ans save all details of data to local database and fetch all details if data. ... View Questions/Answers

Security Fillters  December 16, 2011 at 2:56 PM
error 500:filter[WebFilter] : filter unavailable ... View Questions/Answers

security filter  December 16, 2011 at 2:53 PM
i have included WebFilter.java in my application. i am getting this error . error 500:filter[WebFilter]: filter unavailable. whats the reason for this error? ... View Questions/Answers

Substitute Of goto  December 16, 2011 at 12:35 PM
What is substitute of goto(as it can be used in C++) in java? My Code is: for(int Index = 0 ; Index < 100 ; Index ++) { int value = 1; Start: if(!(DatabaseValue[Index] > 3) || DatabaseValue[Index] !=0) { //Do some code using DatabaseValue } else ... View Questions/Answers

how to enable nszombie in xcode 4  December 16, 2011 at 12:33 PM
how to enable nszombie in xcode 4 ... View Questions/Answers

Image uploading in FTP Server  December 16, 2011 at 11:43 AM
I want to upload images to a ftp server every 1 hour automatically using java..please help ... View Questions/Answers

validate jtextfield in two different class use keylistener  December 16, 2011 at 11:13 AM
validate jtextfield in java swing will use two class, design part in one class and method calling in one class will use Keylisteners or change listeners ... View Questions/Answers

Sample\Practice project on JSP and Web services  December 16, 2011 at 4:11 AM
I wanted to implement\Practice a project using web services. where can I get these details ... View Questions/Answers

regarding interview in java  December 15, 2011 at 9:34 PM
why java doesnot suppor muliple inheritance ... View Questions/Answers

objective c if string equals  December 15, 2011 at 6:00 PM
Checking if a string is equal to ' " ' ... View Questions/Answers

i need to print customer[1] is abcd,cbnb using array  December 15, 2011 at 4:28 PM
print("code sample"); package bankprj3; class Account { private double Balance; public Account(double initBalance){ Balance=initBalance; } public double getBalance(){ return Balance; } public boolean d... View Questions/Answers

i need to print customer[1] is abcd,cbnb using array  December 15, 2011 at 4:28 PM
print("code sample"); package bankprj3; class Account { private double Balance; public Account(double initBalance){ Balance=initBalance; } public double getBalance(){ return Balance; } public boolean d... View Questions/Answers

i need to print customer[1] is abcd,cbnb using array  December 15, 2011 at 4:28 PM
print("code sample"); package bankprj3; class Account { private double Balance; public Account(double initBalance){ Balance=initBalance; } public double getBalance(){ return Balance; } public boolean d... View Questions/Answers

i need to print customer[1] is abcd,cbnb using array  December 15, 2011 at 4:28 PM
print("code sample"); package bankprj3; class Account { private double Balance; public Account(double initBalance){ Balance=initBalance; } public double getBalance(){ return Balance; } public boolean d... View Questions/Answers

array programs  December 15, 2011 at 4:11 PM
write a program in java to input 10 numbers in an array and print out the Armstrong numbers from the set. ... View Questions/Answers

array programs  December 15, 2011 at 4:11 PM
write a program in java to input 10 numbers in an array and print out the Armstrong numbers from the set. ... View Questions/Answers

RPC  December 15, 2011 at 2:39 PM
hello..,please give a simple program on RPC(remote procedure call) for server & client with explainations & output...,its very urgent ... View Questions/Answers

Logging inside HTTP and HTTPS site using J2EE  December 15, 2011 at 11:47 AM
How to login inside a site like gmail or yahoo mail using a servlet(username and password present in the servlet itself) that leads directly into my inbox page? ... View Questions/Answers

Java IF statement problem  December 15, 2011 at 10:39 AM
Dear Sir/Madam i am using the following code. expected to not have any output but it still showing "welcome".. please help me why it showing "welcome". class c1 { int a=5; while(a>1) { a=a+1; if(a<3) { System.out.println("welcome"); ... View Questions/Answers

Array's  December 15, 2011 at 8:37 AM
I have to finish an "order page". that checks 2 dropdown boxes and a set of radio buttons and put the results into a set of textboxes, 1 line at a time, then calculate a total. I know I need to create an array, but I'm having a hard time figuring out the loop. I just need a little help to get sta... View Questions/Answers

Merging of java script with servlet program  December 14, 2011 at 11:52 PM
how can we merge the java script with the any servlet program for making web application intractive.Is there any program you have.\please help me to sove out this problem. ... View Questions/Answers

java mail programs  December 14, 2011 at 11:38 PM
I got some codes from this about sending mail,forwarding mail,multipart mail etc..and I compiled and executed it,but it did not show any output,IDE(netbeans) showed "build successful" and no more output.actually,do I need a mail server to get correct output of these codes?plz help me, I h... View Questions/Answers

How to align controls?  December 14, 2011 at 8:50 PM
How do I set LEFT,TOP,etc type of properties of a control at run time? ... View Questions/Answers

java connectivity  December 14, 2011 at 5:44 PM
hi........ Can u help me to do connectivity between java and weka??????? weka is a data mining tool which allows to do prediction, classification etc.... i want to do connectivity between weka and java can u tel me how can i do..?/ is there i want to set the classp... View Questions/Answers

Configuration issues with tomcat5  December 14, 2011 at 1:19 PM
i have copied a tomcat5 zip file and unzit it in my system C:/ drive....i am folowing every standard and my directory structure is given below:-               Demo(Project Name)                                /WEB-INF   ... View Questions/Answers

Configuration issues with tomcat5  December 14, 2011 at 1:18 PM
i have copied a tomcat5 zip file and unzit it in my system C:/ drive....i am folowing every standard and my directory structure is given below:-               Demo(Project Name)                                /WEB-INF   ... View Questions/Answers

use ajaxtag in Struts1.3  December 14, 2011 at 12:18 PM
How can use ajax tag library in jsp file in struts 1.3 ... View Questions/Answers

Issue in Stateless session bean example  December 14, 2011 at 10:40 AM
Hi Team, I tried your Stateless session bean example in the path http://www.roseindia.net/ejb/examples-of-StatelessBean.shtml. I got the below exception can you plese guide to rectify the issue. $Proxy65 cannot be cast to com.javajazzup.examples.ejb3.stateless.CalculatorRemote1<... View Questions/Answers

Help me please with my final homework  December 14, 2011 at 1:09 AM
Write a Java program of your choice that demonstrates the following concepts: ? Input and Output. ? Selection/Conditional (e.g. if statement). ? Arithmetic. ? Loops. ? Arrays. ? Classes/Objects ... View Questions/Answers

java  December 13, 2011 at 11:47 PM
command line problem ... View Questions/Answers

c++  December 13, 2011 at 10:42 PM
.write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70=A. ... View Questions/Answers

Connection to Database  December 13, 2011 at 10:22 PM
Hello, I have a website with more than 50 pages. Each page is configured to connect to my SQL database to query data. However, most of times my web pages displays the error message" Too many Connection". I know that this is because of too many connections are requested from SQL server at same t... View Questions/Answers

media player  December 13, 2011 at 10:13 PM
sir, i need coding for media player application. That includes audio,video,sound recording and voice recognition. As for my mini-project will u help me?.just give me idea/guide plz. ... View Questions/Answers

media player  December 13, 2011 at 10:13 PM
sir, i need coding for media player application. That includes audio,video,sound recording and voice recognition. As for my mini-project will u help me?.just give me idea/guide plz. ... View Questions/Answers

media player  December 13, 2011 at 10:13 PM
sir, i need coding for media player application. That includes audio,video,sound recording and voice recognition. As for my mini-project will u help me?.just give me idea/guide plz. ... View Questions/Answers

java  December 13, 2011 at 7:58 PM
where it is used ... View Questions/Answers

May I know how to create a web page?  December 13, 2011 at 2:47 PM
can u suggest me how to start? ... View Questions/Answers

Explain about threads:how to start program in threads?  December 13, 2011 at 2:33 PM
import java.util.*; class AlphabetPrint extends Thread { public void print() { for(int i=1;i<=26;i++) { System.out.println((char)i); } } public void run() { print(); } } class ... View Questions/Answers

add same tables in jsp page  December 13, 2011 at 12:42 PM
hi I have a table in my jsp page with data, now I want to add same copy of table without its default value in same page whenever I click add more table, how do I do that. ... View Questions/Answers

getting coords from an image.  December 13, 2011 at 11:52 AM
how to get coordinates dynamically(in run time) from an image?? pls help me.... ... View Questions/Answers

struts and hibernate integration  December 13, 2011 at 11:36 AM
i want entire for this application using struts and hibernate integration here we have to use 4 tables i.e studenttable,coursetable,admin table,student and student_course table at fist student login and select the courses using chekboxes and logout after that admin login and cli... View Questions/Answers

program on helloworld :explain  December 13, 2011 at 10:25 AM
class Hello { public static void main(String[] args) { System.out.println("hi"); } } ... View Questions/Answers

program on helloworld :explain  December 13, 2011 at 10:14 AM
class Hello { public static void main(String[] args) { System.out.println("hi hello hru "); } Blockquote } ... View Questions/Answers

build failure error with maven  December 13, 2011 at 9:57 AM
hi, when i clean install a maven file I am getting the error in command prompt like sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release. There are several instances of using BASE64Encoder in the core which generates a compiler warning. Apache commons-codec... View Questions/Answers

Can not input value into text field which use sx:datetimepicker  December 13, 2011 at 9:41 AM
I am using lib: struts2-dojo-plugin-2.2.3.1.jar. My source is below: print("<sx:datetimepicker name="info.date1" id="date1" displayFormat="yyyyMMdd HHmmss" cssStyle="font-size:13.5px" accesskey="true" />"); I input value from calendar, it runs... View Questions/Answers

Can not input value into text field which use sx:datetimepicker  December 13, 2011 at 9:24 AM
I am using lib: struts2-dojo-plugin-2.2.3.1.jar. My source is below: I input value from calendar, it runs normal. But i input value from keyboard by hands and then i move ... View Questions/Answers

DMCA.com