Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

FTP server  December 12, 2011 at 4:23 PM
How to store a series of files in a ftp server using java? ... View Questions/Answers

rate my app iphone SDK  December 12, 2011 at 3:53 PM
How can i enable "Rate and Review Application" feature of my application on iTune? ... View Questions/Answers

check radio button on retrieving the value from database.  December 12, 2011 at 3:38 PM
HI i am new to jsp.In my applcation i having a problem. I am retrieving user payment from database and according to that i want to check the cash cheque radio button checked.If user has done payment through cash then when i am retrieving user information from database the i want to show cash radi... View Questions/Answers

java job  December 12, 2011 at 2:58 PM
How to get Java Job very easily? ... View Questions/Answers

Validating XML  December 12, 2011 at 2:21 PM
Hi, I have a string containing data in XML format. I have to Validate this xml data. Is there any method in java that allows strings as input to validate xml? ... View Questions/Answers

camera roll iphone not working  December 12, 2011 at 1:24 PM
How to access the camera in my iPhone application. Please explain. ... View Questions/Answers

Read Lines from text file  December 12, 2011 at 12:54 PM
Here's a brief desc of what my Java code does .. I'm using BufferedReader to read lines from a text files and split each line based on a predefined size... Eg : If the 1st line of the text file is as follows ABC12345DEF3 and i need to split it based on a size like 3,5,2,2(which i'm reading from a... View Questions/Answers

Java Buffered Reader  December 12, 2011 at 12:49 PM
Here's a brief desc of what my Java code does .. I'm using BufferedReader to read lines from a text files and split each line based on a predefined size... Eg : If the 1st line of the text file is as follows ABC12345DEF3 and i need to split it based on a size like 3,5,2,2(which i'm reading from... View Questions/Answers

save uiimage to photo library  December 12, 2011 at 12:23 PM
How to saved the clicked picture on camera roll in iPhone. I always want to write the file into photo library. ... View Questions/Answers

Sort last modified file time in java  December 12, 2011 at 12:19 PM
How to sort the last modified file time in java? ... View Questions/Answers

supermarket program  December 12, 2011 at 12:17 PM
i want program in java which is used in supermarkets,medical shops? ... View Questions/Answers

core java  December 12, 2011 at 12:05 PM
In java primitive variables will get its default value automatically after declaration. Then why it is mandatory to initialize a variable before using it. ... View Questions/Answers

Coding errors for printing function, please help  December 12, 2011 at 9:39 AM
Hello, We, my classmates and I, wrote this software but I ran into problems with printing button. Can someone please take a look and help me to fix this. Although it is not actually printing the persons class schedule, we have currently coded the print button for class schedule to bring up the p... View Questions/Answers

Please HELPP  December 12, 2011 at 12:39 AM
The University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module. You are required to write a program in Java that achieves this. The program is in a number of parts. The program should allow the tutor to enter ... View Questions/Answers

Please help with this Q ASAP  December 12, 2011 at 12:36 AM
The University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module. You are required to write a program in Java that achieves this. The program is in a number of parts. The program should allow the tutor to enter ... View Questions/Answers

java program to create xml file with append data in well-formed  December 12, 2011 at 12:26 AM
Sorry sir your given xml append data program is not well-formed. I'll make you more clear what I want. If this is my xml file Tom Cruise 45 Now when I append some data, I should have my previous data in it. Like... View Questions/Answers

Scanning a word in a TEXT document......  December 11, 2011 at 9:57 PM
Hi Genius persons... I'm having many resumes in my FOLDER called HARISH in D:(colon) i want to scan that files(ms.word) and separate them in DATABASE. i want to scan the files by searching the JAVA and .net words present in the files..if JAVA word is present means it has to be separated in separa... View Questions/Answers

Scanning a word in a TEXT document......  December 11, 2011 at 9:57 PM
Hi Genius persons... I'm having many resumes in my FOLDER called HARISH in D:(colon) i want to scan that files(ms.word) and separate them in DATABASE. i want to scan the files by searching the JAVA and .net words present in the files..if JAVA word is present means it has to be separated in separa... View Questions/Answers

java pogram  December 11, 2011 at 5:45 PM
i am requesting to admin please send me the code in which i can check the email address that is it in 4 octit and octit value lie between 0 to 255 my email is ... View Questions/Answers

image steganography  December 11, 2011 at 3:44 PM
Hello.could you please tell me how to start developing code for image steganography?could you provide some key points showimg its implementation? ... View Questions/Answers

get value from multiple textbox in jsp  December 11, 2011 at 12:41 PM
how to get multiple textbox value in another jsp? If i using the following code <%for(int i=0;i<3;i++) {%> <td>name<input type="text" class="name" id="name"></td> <% }%> ... View Questions/Answers

place data in text fields from database using jdbc  December 11, 2011 at 12:30 PM
i want get the data from database and place the records in the respective textfields using jdbc and swing like eno,ename,loc from emp table. ... View Questions/Answers

for loop  December 11, 2011 at 10:28 AM
what is for loop ... View Questions/Answers

Please help with this Q  December 11, 2011 at 8:34 AM
Write a program that should allow a tutor to enter in various marks which students have been awarded, until the tutor enters in a mark exceeding 100. At this point the program should display a histogram. Each star represents a student who achieved a module mark in the range shown. 0-29 ... View Questions/Answers

code  December 11, 2011 at 7:52 AM
*strong textstrong text*hello,i'm having some problems getting the correct code for a program.The output of the program is listed below with the user's input enclosed in curly brackets.Any help would be appreciated,thank you. WHAT DO YOU WANT TO ORDER! NAME:{Harr... View Questions/Answers

DMCA.com