Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

exception handling  December 22, 2011 at 1:12 PM
can you explain how to handle the exception in java with picture representation? ... View Questions/Answers

Copy .mdb file for backup.  December 22, 2011 at 12:52 PM
hi.. i am new to java... in my application , at one place for taking back up i have to copy .mdb file from one place to another ... please can anyone help me, how can i do that ....and also if possible tell me for multiple files of multiple type...how we can copy.. thank you ... View Questions/Answers

Code not working  December 22, 2011 at 12:44 PM
i want to write my first applet. I wrote the java program and html code for that. while im running in appletviewer it is asking for security permissions. so, i created a policy file and linked it with html file. since im using mac os,i ran it in terminal. it is running in fine in appletviewer. bu... View Questions/Answers

Advertisement

Log4j  December 22, 2011 at 12:08 PM
what is the use of log4j in realtime? ... View Questions/Answers

Doubt regarding charts and jsp  December 22, 2011 at 11:57 AM
Hi, I successfully executed the bar chart in normal java application. But I want the Bar Chart to be executed in web application(jsp). So,please help me out in how to connect the normal java application output to an jsp page? thanks in advance ... View Questions/Answers

Doubt  December 22, 2011 at 9:42 AM
Hi, Can any one help me out in step wise, how to get are charts using java in eclipse ide? thanks in advance ... View Questions/Answers

xl read  December 22, 2011 at 9:31 AM
hi, i have read excel sheet data using poi api and printed on console, now i have to store the same data which is printed on the console into the database... please help me ... View Questions/Answers

xlread  December 22, 2011 at 9:28 AM
hi, i have read excel sheet data using poi api and printed on console, now i have to store the same data which is printed on the console into the database... please help me ... View Questions/Answers

Project in jsp  December 22, 2011 at 7:48 AM
Hi, I'm doing MCA n have to do a project 'Attendance Consolidation' in JSP.I know basic java, but new to jsp. Is there any JSP source code available for reference...? pls help me.. ... View Questions/Answers

interface  December 22, 2011 at 1:13 AM
use of interfaces,besides adding methods out of hirearchy? ... View Questions/Answers

Struts 2 Validation  December 22, 2011 at 12:50 AM
Hello,I have been learning struts. I have a problem in the validator tag. I have tried tutorials and got those. I have to add the Users to the database. So, have implemented the code. See attachement in URL. I am unable to get the validator tags working for the newuser regi... View Questions/Answers

video playing  December 21, 2011 at 11:41 PM
please give me a sample code to play uploaded videos i have alredy uploaded videos but when i try to play it using html5 nothing happens i need youtube like video playing . please somebody help me ... View Questions/Answers

help me  December 21, 2011 at 11:33 PM
Create a GUI application that allows a user to select a text file (using the JFileChooser). The program will then allow the user to do the following operations (selection of these operations must be made by clicking appropriate buttons or selecting from menu): 1) display the contents of t... View Questions/Answers

Oracle BLOB  December 21, 2011 at 9:58 PM
Can anyone send me the code for inserting an image or audio into the oracle database using BLOB datatype. Plz...it's useful for my project ... View Questions/Answers

Doubt Regarding Charts  December 21, 2011 at 4:21 PM
Hi, Can you please help me out by answering "hoe to include charts in core java code and struts code" thanks in advance, Swaroop Eswara ... View Questions/Answers

read restricted pdf file  December 21, 2011 at 3:49 PM
i have restricted file. package Encryption; import java.io.*; import java.util.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class EncryptionWithCertificate { public static void main(String[] args) throws IOException { ... View Questions/Answers

read restricted pdf file  December 21, 2011 at 3:49 PM
i have restricted file. package Encryption; import java.io.*; import java.util.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class EncryptionWithCertificate { public static void main(String[] args) throws IOException { try { ... View Questions/Answers

Java SMS Progam  December 21, 2011 at 3:11 PM
Hai to all, I have to send SMS alerts in my applicaton in java technology with out using any gateways and GSM Modems. Thanks ... View Questions/Answers

Sms Progam  December 21, 2011 at 3:05 PM
i have to send SMS from pc to mobile in my java program ... View Questions/Answers

sending email using smtp in java  December 21, 2011 at 2:26 PM
Hi all, I am trying to send and email to through my company mail server. Following is my code package com.tbss; import javax.mail.*; import javax.mail.internet.*; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util... View Questions/Answers

Addition of JComboBoxItem  December 21, 2011 at 1:55 PM
how to add JComboBoxItem cb1=1,cb2=1/9 into a JTextField. thanks ... View Questions/Answers

how to pass the parameter in callable statement  December 21, 2011 at 1:33 PM
calstat=conn.prepareCall("{call studentrc(?,?,?,?,?)}"); // it show error parameter value is null calstat.setString(1,tname.getText()); calstat.setString(2, tmark1.getText()); calstat.setString(3, tmark2.getText()); calstat.setString... View Questions/Answers

programme  December 21, 2011 at 1:27 PM
Using an ATM, customer can access their bank accounts in order to credit/debit cash and check their account balances.You have to write c programme to implement a simple ATM for 15 customers. Initially you have to store the account number(int),password(6-digit) and balance(float) for each customer... View Questions/Answers

How to create a Student data base using Linked List in java  December 21, 2011 at 12:22 PM
I want a program by using linked list in java. The data stored must be as Records name age dob Record1 bindu 20 20feb Record2 kavya 21 4mar Record2 sandhya 22 5apr ... View Questions/Answers

update date from stored procedure  December 21, 2011 at 12:21 PM
how to works on insert,update data from stored procedure. ... View Questions/Answers

pdf restriction  December 21, 2011 at 10:24 AM
i have certain pdf files that have restrictions on it as copy ,read,extract text etc.. i want to remove restriction by java code. so is there any way to do this? plz help thanks in advance rohit ... View Questions/Answers

Uniform Apparel  December 21, 2011 at 10:20 AM
Prudential Overall Supply offers a variety of uniform services and is a supplier of uniforms and industrial products. ... View Questions/Answers

conference call  December 20, 2011 at 11:44 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

conference call  December 20, 2011 at 11:44 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

conference call  December 20, 2011 at 11:44 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

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

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

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

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

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

DMCA.com