Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

output  February 6, 2012 at 1:52 AM
Sir,I am experiencing some problems with the output of this program.I got some useful help this website,but the output of the program isn't producing what it should.let me explain the output below is what happen when the program is run. Hardware Items Code Description Unit ... View Questions/Answers

schedule zip  February 5, 2012 at 11:30 PM
Java Code to automatically get and zip only .txt files from folders for every 5 days and also to send the zip files to database tables ? ... View Questions/Answers

which path we have to give in order to upload a file from any where in the system  February 5, 2012 at 8:32 PM
When i am uploading an image to MySQL database in this i am to specifying a path in the code from that path only it is taking image . what i have to do in order to upload a image from any where from the system Please tell me quickly i need it ... View Questions/Answers

Advertisement

java compiler  February 5, 2012 at 5:07 PM
how we can convert .java file to a .class file without using javac???? ... View Questions/Answers

Asp.net Question  February 5, 2012 at 3:05 PM
i want to insert date of birth of user by using separate drop down list box for year,month and day into dateofbirth column in MS Access Please help me ... View Questions/Answers

insert date of birth of user by using separate drop down list box for year,month and day into dateofbirth column in MS Access  February 5, 2012 at 3:05 PM
i want to insert date of birth of user by using separate drop down list box for year,month and day into dateofbirth column in MS Access Please help me ... View Questions/Answers

arraylist problems?  February 5, 2012 at 9:50 AM
myprogram needs to ask the user for a file name. The file will contain a name on each line. Put each of the names into an ArrayList. After you have put all of the names into the ArrayList search through the list and print out the following information; Pri... View Questions/Answers

Retrieve data from database in swing application  February 5, 2012 at 8:31 AM
I want to retrive data(doctor name,specilization,date) from my sql database. ............................................................................ doctors name(JLabel1) jtextfield1 specialization(JLabel2) jtextfield2 date(Jlabel3) ... View Questions/Answers

JAVA leftshift operator add 1 instead of 0  February 5, 2012 at 5:19 AM
Hi Guys, I have a task to do. If I have some some int variable and If I apply left shift operator on that, it adds "0" on left side of value. For example, view plaincopy to clipboardprint? byte a = 5, b; int i; i = a << 2; So, it will work like th... View Questions/Answers

a competitive study on cryptography techniques over block cipher  February 4, 2012 at 10:30 PM
i need "a competitive study on cryptography techniques over block cipher" project source code... plz reply to my post... for more information about this project you can see this link http://jpinfotech.blogspot.in/p/competitive-study-of-cryptography.html Thanks in advance... View Questions/Answers

what is the size of array in java ?  February 4, 2012 at 8:24 PM
what is the size of array in java ? what is the mean of finalize in java? ... View Questions/Answers

Object slicing  February 4, 2012 at 8:15 PM
I have a program as bellow: #include<iostream.h> #include<conio.h> class A { public: int x; A() { x=10; } }; class B:public A { protected: int y; public: B() { y=3... View Questions/Answers

Counting specific word occurences in a file  February 4, 2012 at 5:51 PM
Hello I have a log file from the proxy which consists all the browsing history with date,time,url,ip address etc as fields.Now i need to take only main part of the url like the domain name and need to count how many times those sites(url's) are being visited... ... View Questions/Answers

Count repetitions of every word from an input file  February 4, 2012 at 5:40 PM
Hello..i got to know how can i count the repetitions of every word present in a specific input file?For suppose if i have a url log file which have time,url's,ip address etc recorded i need to count only the url patterns like google,yahoo etc, plz help me ... View Questions/Answers

How to get the dates in a current week?  February 4, 2012 at 2:41 PM
How to get the dates in a current week? ... View Questions/Answers

your app crashed in ipad 2 running iOS 5.0.1  February 4, 2012 at 1:36 PM
I submit my universal application on Apple Store but it rejected the application with the given message... "We found your app crashed in ipad 2 running iOS 5.0.1, witch is not in compliance with the App Store Review Guidelines." Can anyone please tell me how to figure out and over... View Questions/Answers

servlets why do we need web-inf directory in web application  February 4, 2012 at 1:36 PM
why do we need web-inf directory in web application? means what's the benefits of doing so? ... View Questions/Answers

while executing a java program  February 4, 2012 at 11:55 AM
while iam executing a simple java program after i type "java simple.java" there was a an error occuring.the error is "exception in thread "main" java.lang.noclassdeffounderror:simple" what thus it mean and how to recover from that ... View Questions/Answers

java what is the use of transient,native and volatile access modifier  February 4, 2012 at 11:49 AM
1.what is the use of transient,native and volatile (access modifier)? 2.why are we using MVC modle in our java project? ... View Questions/Answers

java transient,native and volatile access modifier  February 4, 2012 at 11:49 AM
1.what is the use of transient,native and volatile (access modifier)...? 2.why are we using MVC modle in our java project...........? ... View Questions/Answers

why are we using MVC modle in our java project..  February 4, 2012 at 11:49 AM
1.what is the use of transient,native and volatile (access modifier)...? 2.why are we using MVC modle in our java project...........? ... View Questions/Answers

what is the draw back of collection  February 4, 2012 at 11:47 AM
1.what is the draw back of collection? 2.Actualy sir I m developing one shopping moll project.In that project i want to sell my product through my site online.In that project i want get pament in my account through A.T.M. tranjections or swapping machin.could u give this coding.Mean how will se... View Questions/Answers

program code  February 4, 2012 at 11:37 AM
login and registration form for shopping cart using struts-hibernate with oracle database connection ... View Questions/Answers

mysql table extract  February 4, 2012 at 10:12 AM
Hello friends!! I am a trainee. I am learning connectivity of java with MYSQL. I want to extract table from mysql so that I can access it on another computer. I want to attach mysql table to my java NETBEANS application. So suggest me a simple way, to do that!! ... View Questions/Answers

Java Email  February 4, 2012 at 3:56 AM
i am writting a program to send emails using gmail smtp server. I had the following error: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/mail/MessagingException at java.lang.ClassLoader.defineClass1(Native Method) at java.la... View Questions/Answers

student details  February 3, 2012 at 11:05 PM
hi sir/madam i have a doubt in PHP how to insert student details using mysql with php.. ... View Questions/Answers

fresher java programmer  February 3, 2012 at 9:20 PM
hello, sir, its like a quiz application sir i have 30 check boxes with 6 options each n every question have 2 to 3 answers i have dynamically retrieve the questions and options now sir how to insert the the selected check box values into database in a single column like first answer in first cell... View Questions/Answers

java array add value  February 3, 2012 at 5:43 PM
hi, i have a input as the string as 1,2,3 now i need to get it into an array i.e arr[0]=1,arr[1]=2,arr[2]=3 now in if condition if(arr[0]==1) { //then new value should be appended as like helloand ,(comma) }else { //nothing } now the output should get as hello,hai... View Questions/Answers

How to convert multiple files in java to .zip format  February 3, 2012 at 4:50 PM
i receive multiple files from a remote URL as for (String reportid : reportList) { inputStream = AWSFileUtil.getInputStream( AWSConnectionUtil.getS3Object(null), "cdn.generalsentiment.com", filePath); } ... View Questions/Answers

radio button  February 3, 2012 at 3:53 PM
On selecting a radio button, it should open a aspx page? ... View Questions/Answers

unique manufacturing id of a usb flash drive.  February 3, 2012 at 3:50 PM
I need code for java application to read the unique manufacturing id of a usb flash drive. Please help me ? thanking you. ... View Questions/Answers

i need project for shopping cart in struts 1 with the oracle database and give clear explanation for how to execute it in my eclipse  February 3, 2012 at 2:27 PM
i need a project for shopping cart in struts1 with the oracle database and give clear explanation for how to execute it in my eclipse and where to copy the files as i am very new to this ... View Questions/Answers

STRUTS 2 Could not find action or result  February 3, 2012 at 12:31 PM
hiii..i am new to struts 2 framework...i developed my jsp code into sturs frame work...but its showing some warning and the "menujsp.jsp" page is not opening...its showing the following on my log: WARNING: Could not find action or result There is no Act... View Questions/Answers

JSP entered name and password is valid  February 3, 2012 at 12:13 PM
HII Im developing a login page using jsp and eclipse,there are two fields username and password,I want to know that how can i check that thw entered name and password is valid,how can i check that from database,plz help me..... Plz send me the codes. Im new in this field.......... ... View Questions/Answers

struts shopping cart project in struts with oracle database connection  February 3, 2012 at 10:47 AM
shopping cart project in struts with oracle database connection ... View Questions/Answers

what is Class.forName in JDBC program?please explore it?  February 3, 2012 at 9:50 AM
what is Class.forName in JDBC program?please explore it? ... View Questions/Answers

How To Display both image and data into Swing JTable which is retrieved from ms access database  February 3, 2012 at 9:44 AM
So far this is my code how can i display both image and data from database.. while (rs.next()) { Vector row = new Vector(columns); row.addElement(rs.getObject("ID")); row.addElement(rs.getObject("CandidateName")); row.addElement(new ImageIcon(rs.getBytes("Symbol"))); row.addElement(rs.get... View Questions/Answers

user defined unchecked exception  February 3, 2012 at 8:37 AM
can we create user defined unchecked exceptions? if so what is the exact use of it in real time? ... View Questions/Answers

I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how can I do it  February 3, 2012 at 4:13 AM
I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how can I do it . Can some one please let me know . Thanks ... View Questions/Answers

problem in sending data from one ip to another ip in JAVA  February 2, 2012 at 11:04 PM
Hi guys . this is naveen kumar...i need a help. i want to connect one ip to another ip (like ping),after that i want send the data with my system(Ip) to another ip device in JAVA. i know how to ping but don't how to send the msg's to another IP device... if it is possible ... View Questions/Answers

Second tab should only show selected products from first tab  February 2, 2012 at 10:04 PM
In the javascript, From the comment √Ę‚?¨¬? // live update of how many circles√Ę‚?¨¬? on. The first tab√Ę‚?¨‚?Ęs form has been built manually. It is in the √Ę‚?¨Ň?formsOffered√Ę‚?¨¬? variable on Pageflex. A user will select the products they want to feature, and it will change the templat... View Questions/Answers

Flex Updates  February 2, 2012 at 6:45 PM
Sir, first Thanks For Good Resource for Every One! i am New to Flex... but,in Current Updates Tell Us Flex Becomes To down!(Sorry To say).. May I know Future groom & Advantage of Flex Over Other Web Technologies!!! Thanks... ... View Questions/Answers

hash value  February 2, 2012 at 6:17 PM
what is the meaning of this line private int hashValue = 0; ... View Questions/Answers

online C compiler  February 2, 2012 at 4:47 PM
I am working on my final year engineering project in which I am making an online C compiler√Ę‚?¨¬¶I am working in windows√Ę‚?¨¬¶eclipse is the IDE, mysql is the database and tomcat apache is the server used√Ę‚?¨¬¶.i need to integrate the C compiler with the server√Ę‚?¨¬¶can anyone explain how to... View Questions/Answers

How to declare a Combobox without using a string in its declaration?  February 2, 2012 at 4:09 PM
What i mean to ask is how can i declare a combobox first and initialise the values later? For example JComboBox x= new JComboBox(); ... String s={"Alpha","Beta","Gamma"}; ... setSomething.JComboBox(s); Is it even possible? From all the examples and tutorials so far i have... View Questions/Answers

exception  February 2, 2012 at 4:04 PM
chek in and check out exception in java ... View Questions/Answers

Java  February 2, 2012 at 3:09 PM
1) WAP in java to accept the full name of a person and output must be only initials followed by the surname ant the short form. ... View Questions/Answers

java  February 2, 2012 at 11:53 AM
how to write the coding for to extract data from html tags like(h3,p) and then extracted data should be stored in data base? can anybody tell me how to write the coding? ... View Questions/Answers

java  February 2, 2012 at 11:53 AM
how to write the coding for to extract data from html tags like(h3,p) and then extracted data should be stored in data base? can anybody tell me how to write the coding? ... View Questions/Answers

extract data from HTML  February 2, 2012 at 11:52 AM
how to write the coding for to extract data from html tags like(h3,p) and then extracted data should be stored in data base? can anybody tell me how to write the coding? ... View Questions/Answers

maximum size of arraylist - java  February 2, 2012 at 9:20 AM
1.what is the maximum size of arraylist? 2.what is the drawback of arralist? 2.what is the drawback of JDBC? 4.how many access specifier and how many access modifier in java? 5.what is difference b/w abstract class and interface? 6.which is best b/w abstract class and interface? ... View Questions/Answers

drawback of arralist - java  February 2, 2012 at 9:20 AM
1.what is the maximum size of arraylist? 2.what is the drawback of arralist? 2.what is the drawback of JDBC? 4.how many access specifier and how many access modifier in java? 5.what is difference b/w abstract class and interface? 6.which is best b/w abstract class and interface? ... View Questions/Answers

abstract method  February 2, 2012 at 12:59 AM
Can a concrete class have an abstract method ? ... View Questions/Answers

How can i extract email ids from xls/xlsx file in java?  February 1, 2012 at 11:44 PM
that's the code..... i tried to extract email id;s from xls file........... but it doesn;t gives the proper output? table is like this: bhavik bhavikchauhan23@yahoo.com magan chagan@gmail.com Output::: bhavikbhavikchauhan23@yahoo.commaganc hagan@gmail.com ... View Questions/Answers

SQL Query  February 1, 2012 at 9:53 PM
Selecting the third highest salary of Employee without using any subquery? ... View Questions/Answers

java .sql  February 1, 2012 at 7:32 PM
where are the interfaces of java.sql like STATEMENT,CONNECTION are defined?? ... View Questions/Answers

How to read the contents in a file which is of input type file  February 1, 2012 at 7:06 PM
I have a jsp page wherein i have to passs the file as input and read the contentsn of a file in servlet. upload.jsp <FORM METHOD=POST ENCTYPE="multipart/form-data" ACTION="upload"> File to upload: <INPUT TYPE=FILE NAME="upfile"><BR> <INPUT TYPE=SUBMIT VALUE="Submit"> <... View Questions/Answers

Attaching circles  February 1, 2012 at 6:48 PM
How to attach circles with a distance joints? ... View Questions/Answers

How to manage cookie in between two JSP Pages  February 1, 2012 at 6:46 PM
How to manage cookie in between two JSP Pages ... View Questions/Answers

PHP search data with different format  February 1, 2012 at 6:46 PM
How to search data with different format in PHP? ... View Questions/Answers

SQLite Table  February 1, 2012 at 6:45 PM
how to create a table in sqlite xcode with a fix number of items? ... View Questions/Answers

Storing array in php  February 1, 2012 at 6:43 PM
How to store an array in PHP? ... View Questions/Answers

Plz send me answer quckly  February 1, 2012 at 6:41 PM
Respected Sir, myself is pavan shrivastava.i want ask a question that is ( we can't create object of interface then how would possible to create object of ServletRequest req) Exa Connection con,Resultset res ... View Questions/Answers

jsp servlet  February 1, 2012 at 6:24 PM
i dont know how to write a code to Create a JSP with one text field to enter the URL and a submit button.On clicking the submit button, send the request to a servlet .Once the servlet receives the request, it need to create a thread. so please help me in writing this code ... View Questions/Answers

jsp servlet  February 1, 2012 at 6:24 PM
i dont know how to write a code to Create a JSP with one text field to enter the URL and a submit button.On clicking the submit button, send the request to a servlet .Once the servlet receives the request, it need to create a thread. so please help me in writing this code ... View Questions/Answers

how to write a code to Create a JSP with one text field to enter the URL  February 1, 2012 at 6:24 PM
i dont know how to write a code to Create a JSP with one text field to enter the URL and a submit button.On clicking the submit button, send the request to a servlet .Once the servlet receives the request, it need to create a thread. so please help me in writing this code ... View Questions/Answers

code to Create a JSP with one text field to enter the URL and a submit button  February 1, 2012 at 6:24 PM
i dont know how to write a code to Create a JSP with one text field to enter the URL and a submit button.On clicking the submit button, send the request to a servlet .Once the servlet receives the request, it need to create a thread. so please help me in writing this code ... View Questions/Answers

Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )  February 1, 2012 at 4:32 PM
Hi, We are running our flex application in jboss clustering environment with the help of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We are using the SecureAMFChannel as we deploy the application in SSL. We use the RemoteObject for communicat... View Questions/Answers

how to connect JSP page to database - JDBC  February 1, 2012 at 4:24 PM
how to connect JSP page to database ?give program ... View Questions/Answers

java regular expression  February 1, 2012 at 4:20 PM
hi i need java expression which allows all characters with minimum 2 characters and maximum 20 characters in answers field after selecting security questions ... View Questions/Answers

shopping cart  February 1, 2012 at 3:50 PM
hi i want the sample project for shopping cart in struts with mysql ,if any one knows means please help me ... View Questions/Answers

combo box connection  February 1, 2012 at 2:38 PM
how to provide connection between three combo boxes,if my 1st combo box is course and 2nd combo box is semester and 3rd combo box is my subjects.what's the coding to provide the connection between this three combo boxes. ... View Questions/Answers

I tried to create a dropdown list using struts2.it is not working.can you find the errors in this code?  February 1, 2012 at 2:15 PM
/jsp code for creating dropdownlist using struts2/ <html> <body> <p:form action="addemp" method="post">/*form created*/ <p:select name="designation" label="Enter Designation " list="design" /> /*dropdown list included*/ <p:submit ... View Questions/Answers

what is meant by rowset and process row set  February 1, 2012 at 1:38 PM
Hi To all, I am woking on social networking site by using php and mysql.And i am beginner to php When i go through some doc through net i have observed rowset and processrowset in php code but i am not understanding what is it means and where we have to use this. ... View Questions/Answers

automatic discovery personal name aliases fromthe web  February 1, 2012 at 12:21 PM
i need a sourse code in module form in pattern extraction &Candidate Aliases Extraction. &Ranking of Candidates. ... View Questions/Answers

Hi.. how to write more than one sheets in a excel file... pls anybody help me....  February 1, 2012 at 11:53 AM
i can write only one sheet in a excel file.. but i want to write more than one sheets.. For example: first sheet have complete mean automatically go to second sheet... pls help me.. here my code.. import java.awt.BorderLayout; public class ExcelInterf... View Questions/Answers

invisible watermarking  February 1, 2012 at 11:21 AM
can anyone help with code for invisible watermarking in java? ... View Questions/Answers

hello Deepak -how to highlight the area in image  February 1, 2012 at 11:07 AM
how to highlight the specific area in image,when the cursor is at corresponding field's textbox. Here webpage consist of a jpeg image on the top and below that manual fields(text boxes) exists. Note:This is used to compare the scan copy image fields with html textboxes(below image) ... View Questions/Answers

xml indexing  February 1, 2012 at 9:56 AM
i need code to give index values to the XML node.The value should be preceded by the parents index value,that is if the parent's index value is 1 then the first child should have value 1.1 and second child should have 1.2 and so on. ... View Questions/Answers

java question  February 1, 2012 at 8:11 AM
Please, give me sample program for insert Audio(sound) on Frame in swing in java ... View Questions/Answers

java  February 1, 2012 at 7:41 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@page import="java.util.ArrayList"%> <%@ page import="com.nsep.beans.AccountDetails" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra... View Questions/Answers

adding a dialogue  February 1, 2012 at 1:53 AM
Blockquote Hi can you help with the program below,the program is a loop that prints out a code and a quantity when prompt for the user input.what I need is to modify the code to incorporate a dialogue asking whether another customer order is going to be placed so that it can processed a... View Questions/Answers

plsql developer  January 31, 2012 at 11:43 PM
how did plsql developer provided the information to the frent end people when ever they contact plsql developer and how plsql developer tck the data from the database ... View Questions/Answers

Local Language  January 31, 2012 at 11:27 PM
Anybody help me..... how to implement local language in my project? ... View Questions/Answers

User Registration Form Using JSP(JspBeans) after that how i can insert in database  January 31, 2012 at 10:32 PM
User Registration Form Using JSP(JspBeans) after that how i can insert in database ... View Questions/Answers

java  January 31, 2012 at 9:16 PM
package dbconnection; import java.sql.*; public class DbConnection { Connection con ; public Connection getCon() { return con; } String url = "jdbc:oracle:thin:@172.24.137.30:1521:ORA10G"; String username = "e542435"; String password =... View Questions/Answers

php  January 31, 2012 at 8:55 PM
how to write a program in php to create pdf file? ... View Questions/Answers

Java Programing  January 31, 2012 at 8:22 PM
I)WAP to print following series: 1) 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 2) (5!/x)+(10!/xx)+(15!/xx*x)+.....n terms. II)Write a menudriven program to perform the following as long as user wants: a) Convert decimal number to binary number. b) Convert binary ... View Questions/Answers

java  January 31, 2012 at 7:54 PM
in java does not pointers concept but what is nullpointers in java? ... View Questions/Answers

online examination  January 31, 2012 at 7:20 PM
coding for multiple choice question in jsp ... View Questions/Answers

How to use session in struts 1.3  January 31, 2012 at 6:28 PM
i want to know how to use session in Struts specially in logIn authentication.... ... View Questions/Answers

java & c  January 31, 2012 at 4:31 PM
why c language is called top down approach? why java is called bottom to top approach? ... View Questions/Answers

php java  January 31, 2012 at 3:22 PM
why PHP is becoming more popular than java ... View Questions/Answers

personal name aliases  January 31, 2012 at 1:34 PM
enter the name search result in internet connection using java code ... View Questions/Answers

personal name aliases  January 31, 2012 at 1:31 PM
name to enter.but search in internet connection ... View Questions/Answers

database Query  January 31, 2012 at 1:12 PM
i have to find common columns from two tables from 2 different schemas what query to use? i used intersect but i am not getting how it is comparing two tables from different schema because in query we have not specified any schema. ... View Questions/Answers

database Query  January 31, 2012 at 1:11 PM
i have to find common columns from two tables fron 2 differnt schemas what query to use? i used intersect but i am not getting how it is comapring two tables from different schema because in query we have not specified any schema. ... View Questions/Answers

BCA Faculty  January 31, 2012 at 12:57 PM
what is mean by primary key? please give me a detailed explanation with example... ... View Questions/Answers

BCA Faculty  January 31, 2012 at 12:54 PM
How can I write connection string in jdbc programs ,if i created database in ms access? ... View Questions/Answers

to write a program to display the employee details..  January 31, 2012 at 12:10 PM
To dipslay the employee details like empid,empname,salary,wonno bye using java swings.by running this program the new window has to be opened asking us to enter all the employee details.please send me the code .it's urgent.send me as soon as possible. thank you in advance, madhuri ... View Questions/Answers

DMCA.com