Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Unable to Insert Arabic words in mysql table  September 19, 2013 at 11:31 PM
I have I java program that I want to insert arabic letters in mysql. Do you have any idea about the configuration of mysql that accepts arabic charcters. ... View Questions/Answers

Upload Image and save in database using jsp-servlet mvc  September 19, 2013 at 3:57 PM
Here is my code.. In jsp ... <form name=frm method="post" action="Device"> <table> <tr><TD ><B>Upload Image</B></TD> <td><input type="file" name="Image" size="20" value=""></TD> ... View Questions/Answers

Upload Image and save in database using jsp-servlet mvc  September 19, 2013 at 3:57 PM
Here is my code.. In jsp ... <form name=frm method="post" action="Device"> <table> <tr><TD ><B>Upload Image</B></TD> <td><input type="file" name="Image" size="20" value=""></TD> ... View Questions/Answers

Advertisement

java assignment  September 19, 2013 at 3:18 PM
Write an application that allows the user to choose insurance options in JCheckBoxes. Use a ButtonGroup to allow the user to select only one of two insurance types√Ę‚?¨‚??HMO (health maintenance organization) or PPO (preferred provider organization). Use regular (single) JCheckBoxes for dental in... View Questions/Answers

javascript  September 19, 2013 at 12:25 PM
hi sir, if i want to learn javascript. what concepts i want to know. ... View Questions/Answers

JavaFX deployment in Jboss  September 19, 2013 at 12:24 PM
Hi, How to deploy javafx application into JBoss? ... View Questions/Answers

javascript  September 19, 2013 at 12:18 PM
Hi sir, This is sinduri, i want to learn javascript, so plz can u help me.how to learn. ... View Questions/Answers

java vertual machine launcher error; cannot access jarfiles  September 18, 2013 at 11:41 PM
Hi I am getting a error while running Dos bat file Error showing as error; cannot access jarfiles D\Documents Please help Regards GP ... View Questions/Answers

In JSF2 application, source code written in xhtml file is downloading  September 18, 2013 at 11:40 PM
HI All, We have a jsf2 application deployed on WAS 8.0. When we hit on xhtml pages, source code written on xhtml pages is downloaded. Same application has some jsp pages, and they are working fine. We are using IBM JSF2.0 for the development. (Due to c... View Questions/Answers

C programming  September 18, 2013 at 9:16 PM
i am beginner in C my text book says getchar() and putchar() reads single character at a time and print single character respectively. but when i write following program, more than one characters are read and printed on screen. Why?please help. #include &... View Questions/Answers

Sql to excel  September 18, 2013 at 5:57 PM
How to convert a Sql Data into excel Doc with Using Netbeans ... View Questions/Answers

image processing in java  September 18, 2013 at 11:58 AM
public class testing { static BufferedImage image; public static void main(String[] args) throws IOException { ArrayList<Integer> l1=new ArrayList<Integer>(); ArrayList<Integer> l2=new ArrayList<Integer>(); ArrayList<Integer> l3... View Questions/Answers

Reading multiple xml files  September 17, 2013 at 4:07 PM
How can we read many xml files from a folder? The same procedure as that of "listfiles()" ? ... View Questions/Answers

esign filter for wifi router  September 16, 2013 at 10:53 PM
How can i make a filter for my wifi router to filter packets from specific ip or mac address? ... View Questions/Answers

java  September 16, 2013 at 10:31 PM
Hi, Can you please help me in writing program in jsp and servlet. Want to get values from combo box and on click of submit button, want to retreive values from database and display values in table format in jsp, from the one column value need give input to query and display result in second table... View Questions/Answers

Java Experience (2.4Years)  September 16, 2013 at 2:06 PM
why should we use interface more instead of abstract class and what are the advantages of interfaces over abstrct class? ... View Questions/Answers

how to ignore http 500 error?  September 16, 2013 at 1:37 PM
In XML data parsing while connecting to many server through URL if one does not connect gives the error. Is there any process to ignore that URL connection and get data from other connection which responds. ... View Questions/Answers

loan calculator  September 16, 2013 at 12:10 PM
code of the loan clculator ... View Questions/Answers

amar  September 16, 2013 at 7:46 AM
write a java program to print all words starting with "a" in a given sentence ... View Questions/Answers

HTML WITH AJAX  September 15, 2013 at 9:55 PM
I WANT A SIMPLE HTML AJAX PROGRAM WHICH GETS ANY STRING STRING AS INPUT AND GIVES THE RESULT ... View Questions/Answers

Prompt for a password when deleting a data  September 15, 2013 at 4:34 PM
I am using netbeans and mysql. i have added a username and password. i have a set of data in the database. so when deleting a data it should prompt for the password and if the password is correct then the data should be deleted and if the password is wrong then the data should not be deleted &... View Questions/Answers

How to browse excel file and stored the contents into the database using jsp/servlet?  September 15, 2013 at 3:56 PM
Hi.. I want to browse excel file and stored the file data into the My-sql database using jsp/servlet. ... View Questions/Answers

online shoping portal  September 15, 2013 at 12:04 PM
Hello Sir/Madam , I am working on a project online shopping portal in Java , I want to share my screen with my friend to show my selected things , can you help me out?what should i do? ... View Questions/Answers

This is the employee form to add data to mysql database but I got error of NullPointerException, Is this write code please give me feedback as soon as possible  September 15, 2013 at 1:34 AM
import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; i... View Questions/Answers

Struts  September 13, 2013 at 10:17 AM
how to learn struts ... View Questions/Answers

MultiClient-server tcp-ip with GUI in java  September 12, 2013 at 6:05 PM
i wanna MultiClient-server tcp-ip with GUI in java ... View Questions/Answers

MultiClient-server tcp-ip with GUI in java  September 12, 2013 at 6:05 PM
i wanna MultiClient-server tcp-ip with GUI in java ... View Questions/Answers

struts internationalization for Korean language  September 12, 2013 at 5:09 PM
Hi All, Please suggest me an example where struts is implemented for korean locale using struts internationalization concept. Regards Nagaraju ... View Questions/Answers

Visual Studio Program creating  September 12, 2013 at 3:10 PM
I'am using Visual Studio 2012 rightnow. And I'am trying to write a program. What it can do is input our email username and Password in the provided bar and the select the email website from the combo box (Facebook, Gmail, Hotmail) then click login. It will redict directly to you... View Questions/Answers

Urgent requirement  September 12, 2013 at 11:25 AM
I want to implement Autocompletion code for Jcombobox in swing can you please help me out from this ... View Questions/Answers

Chat in Java wih GUI  September 12, 2013 at 11:24 AM
Welcome all >> << how is everybody >< i wanna Chat program in java server & client thanks ... View Questions/Answers

Patterns  September 12, 2013 at 10:56 AM
print this pattern * * * * ... View Questions/Answers

automata question  September 11, 2013 at 5:16 AM
LPAL(G) = (LPAL(V), LPAL(C), LPAL(P), LPAL(S)) where LPAL(V) = {a, b, c} LPAL(C) = {A} LPAL(P) = {A ::= c, A ::= aAa, A ::= bAb} LPAL(S) = A Write the derivation steps of the following sentences to determine if they are valid in this grammar a) a3 b2 c b2 a3 b) b2 a c a b... View Questions/Answers

display shapes  September 9, 2013 at 11:49 AM
Hi, I would like to see geometric shapes like square, triangle, circle, rectangle as my outputs. Also, those figures shouldn't overlap while they get displayed. Please help me!! ... View Questions/Answers

Spliting Large XML and one by one Moved to Output Folder  September 9, 2013 at 7:56 AM
How to Spliting Large XML and one by one Moved to Output Folder ... View Questions/Answers

pattern  September 8, 2013 at 7:47 PM
A B B C C C D D D D E E E E E ... View Questions/Answers

Why does this code prints fAfA instead of fBfA ?  September 8, 2013 at 7:34 AM
class B { void f(){ System.out.print("fB");} B(){f(); } } public class A extends B{ void f(){ System.out.print("fA");} A(){ f();} public static void main(String[] args) { new A(); }} Why does this code prints fAfA instead of fBfA... View Questions/Answers

XMl and Java web services  September 7, 2013 at 11:50 PM
I want to do a project on java web services and XML. I wanted to ask, how the data entered by user through the HTML file can be converted to an XML file and sent to the server? At the server site, how the data can be retrieved back from that XML file so that using web services and JDBC the respon... View Questions/Answers

about java  September 7, 2013 at 4:39 PM
how to get the value from the user like c, c++ program pls explain with example for me ... View Questions/Answers

how to write a programm in C for included code below  September 6, 2013 at 5:25 PM
Here is my question 'how to write a program in C that runs your sql-xml application session. In the session, you can run SQL queries interactively. The query results are presented in XML. A '.quit' command ends the session. Below is an example session: s... View Questions/Answers

bigdecimal in java query  September 6, 2013 at 8:52 AM
Hello, I want to create a boolean method which compares two objects and returns true if equal. At the same time I want this method to compare the values of variables of the same objects and returns true if equal. so far I have two different values one has 3 decimal and other has a double ... View Questions/Answers

Datepicker not getting called through include function of php  September 5, 2013 at 5:24 PM
my datepicker.php is as below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Typ... View Questions/Answers

how to get a class object in java  September 5, 2013 at 10:21 AM
Can anyone brief me on how to get a class object in java? ... View Questions/Answers

How to automatically change the value of the textbox based on the dropdown list?  September 5, 2013 at 10:11 AM
I want to know how to automatically change the value of price and the quantity text boxes. Here is my code: <%@ page import="java.sql.*" %> <% Class.forName("com.mysql.jdbc.Driver"); String scid=(String)session.getAttribute("scid"); String s_in=... View Questions/Answers

how to run rmi program  September 5, 2013 at 10:00 AM
how to run rmi program ... View Questions/Answers

remopving errors incore java programming  September 4, 2013 at 11:51 PM
sir error in program:-file does not contain class runnable program:- class MyRunnable implements Runnable{ public void run(){ System.out.println("Run"); } public static void main(String[] args){ System.out.println("Main"); MyRunnab... View Questions/Answers

remopving errors incore java programming  September 4, 2013 at 11:51 PM
sir error in program:-file does not contain class runnable program:- class MyRunnable implements Runnable{ public void run(){ System.out.println("Run"); } public static void main(String[] args){ System.out.println("Main"); MyRunnab... View Questions/Answers

remopving errors incore java programming  September 4, 2013 at 11:51 PM
sir error in program:-file does not contain class runnable program:- class MyRunnable implements Runnable{ public void run(){ System.out.println("Run"); } public static void main(String[] args){ System.out.println("Main"); MyRunnab... View Questions/Answers

jsp  September 4, 2013 at 5:37 PM
sir i want to jsp code for online examination like as bank po,,,,,,plz help me sir ... View Questions/Answers

Java Script  September 4, 2013 at 12:41 PM
Hello Sir, Is it possible to select only current date from datetimepicker in struts2 through java script validation. Means when i select today date past and future date should be unselected by user on datetimepicker. Try to send me java script validation code for this purpose that user won't be... View Questions/Answers

inclusive  September 4, 2013 at 9:13 AM
Write a program that asks the user for a starting value and an ending value and then writes all the integers (inclusive) between those two values. Enter Start: 5 Enter End: 9 5 6 7 8 9 ... View Questions/Answers

java code  September 3, 2013 at 12:56 PM
i want HSVcolor descriptor for color image in java coding ... View Questions/Answers

VB 6 Read Web Page Header  September 2, 2013 at 8:06 PM
Hi, It is a doubt in vb6. wbrWebSite.Navigate txtUrl.Text wbrWebSite.Refresh Set doc = wbrWebSite.Document Header = LTrim(RTrim(doc.head.innerText)) I was trying to read the header of a webpage. But when i run it first time it is returning P... View Questions/Answers

servlet  September 2, 2013 at 6:09 PM
how to get registration details in servlets entering two parameters(like name,phone number) with in a single field. ... View Questions/Answers

java  September 2, 2013 at 4:16 PM
how to use j query ... View Questions/Answers

Print Alphabets in Horizontal order with Astricks.  September 2, 2013 at 3:18 PM
How to print "X",¬?"Y","Z" in console as shown below, user can enter any of these letters, or combination of letters, or all the letters as first parameter, second parameter will be a number which should be odd number minimum of 3 and maximum of unlimited, example of second input parameter is... View Questions/Answers

make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false.  September 1, 2013 at 5:53 PM
make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false. ... View Questions/Answers

change url string  August 31, 2013 at 6:28 PM
How can i change the login parameter in url after login.That parameter which i were entered will not be shown on url it will be changed after login.I want this.I know it is possible but tell me the way. ... View Questions/Answers

struts2  August 31, 2013 at 4:53 PM
Sir when i have run my struts 2 web application,every time i get error " request resources is not available",,,what is this,,,plz help me. ... View Questions/Answers

Struts2 and Hibernate Fetch Data Base Value  August 31, 2013 at 1:01 PM
Hello Sir, I am facing the problem while fetching the database value on jsp page while using struts2.0 and hibernate3.0 and MySql try to help me resolve this problem and try to tell me what should i do for fetch the database value and shown on jsp page. ... View Questions/Answers

Struts2 and Hibernate Fetch Data Base Value  August 31, 2013 at 12:57 PM
Hello Sir, I am facing the problem while fetching the database value on jsp page while using struts2.0 and hibernate3.0 and MySql try to help me resolve this problem and try to tell me what should i do for fetch the database value and shown on jsp page. ... View Questions/Answers

Java  August 31, 2013 at 12:31 PM
with out changing the src can i modified the code in dot class file in JAVA is it possible are not .Please send me as early as Possible ... View Questions/Answers

array in exception handling  August 31, 2013 at 10:26 AM
write java program to declare and initialize an array with the number given, 4,6,3,0,5,5,12 then the program will ask user to enter indexs number to display its value .using exception handling , the program will display "Array Index Out Of Bounce"if the user enter invalid indexs. ... View Questions/Answers

File Handling in Java  August 30, 2013 at 9:01 PM
Hi, While opening a file in Java developers are using following type of code: File myFile=new File("myfile.txt"); I was trying to find some tutorials about handling file in Java on net. I have also seen many examples where developers were us... View Questions/Answers

Java File Management Example  August 30, 2013 at 8:27 PM
Hi, Is there any ready made API in Java for creating and updating data into text file? How a programmer can write code for reading the text file? What is best way to read a text file in Java? Is there any very easy code for this purpose? I am working on a project where our... View Questions/Answers

How to convert excel file int xml format in java  August 30, 2013 at 5:49 PM
How to read excel file(xls) which is stored in any directory(D://) and convert it into xml format in java and place in any directory(E://).Can any body provide the code for this. ... View Questions/Answers

prabhakar  August 30, 2013 at 4:57 PM
what is the concept of Resultset in JDBC...?? plz brif me ... View Questions/Answers

Display Java in JSP  August 30, 2013 at 2:24 AM
please i need urgent help. How can i display Java Applet created in netbeans in JSP?. the Application involves MYSQL Database connection. Thanks ... View Questions/Answers

HOW TO DISPLAY 2 SET OF CONTROLS  August 29, 2013 at 5:36 PM
i can be display one row by selecting value from drop down box BUT ALSO i need to display 2 rows by selecting value from drop down box of textbox's and radio button,drop down box using this code <html> <head> <title>Dynamic Form</tit... View Questions/Answers

HOW TO DISPLAY 2 ROWS OF CONTROLS  August 29, 2013 at 5:30 PM
i can be display one row by selecting value from drop down box BUT ALSO i need to display 2 rows by selecting value from drop down box of textbox's and radio button,drop down box using this code <html> <head> <title>Dynamic Form</tit... View Questions/Answers

integrate login in php  August 29, 2013 at 5:21 PM
how to integrate login in PHP? ... View Questions/Answers

hibernate session invalid in jpa  August 29, 2013 at 5:16 PM
hibernate session invalid in jpa ... View Questions/Answers

Hibernate interview Questions  August 29, 2013 at 11:53 AM
Pl share hibernate interview questions.I have found one popular website to learn java J2EE technology, but in that they have currently not updated interview questions. They have explain so many new technology with pictorial example and sample programs but interview question no there.... View Questions/Answers

compile  August 28, 2013 at 5:41 PM
how to compile .class files using eclipse ... View Questions/Answers

compiling  August 28, 2013 at 5:40 PM
how to compile .class files using eclipse ... View Questions/Answers

i am getting an error in adding a menu item to a menu.  August 28, 2013 at 5:01 PM
i am not able to execute the menu program. i am getting an error at menu.add(menuitem); it says add method is undefined for type menu. but as far as i know that is only way to add a menu item to a menu. can anyone help me..!!!! ... View Questions/Answers

online shopping code using jsp  August 28, 2013 at 3:08 PM
plz send me the code of online shopping using jsp or jdbc or servlets plz plz help me ... View Questions/Answers

FTP Java coading  August 28, 2013 at 12:07 PM
I am struggling to solve a FTP issue. FTPFile[] files = FTPClient.listFiles(); this gives me the below error, please anyone can help me to solve this The import org.apache.oro cannot be resolved ... View Questions/Answers

Java programming tutorial for very beginners  August 28, 2013 at 11:56 AM
Hi, After completing my 12th Standard in India I would like to learn Java programming language. Is there any Java programming tutorial for very beginners? Thanks ... View Questions/Answers

compiling .class files  August 28, 2013 at 11:12 AM
how do i compile .class files using eclipse ... View Questions/Answers

Java class file  August 28, 2013 at 10:52 AM
How do i open a java class file using eclipse ... View Questions/Answers

Eclipse  August 28, 2013 at 7:10 AM
how to compile using eclipse ... View Questions/Answers

Installation of wamp server  August 27, 2013 at 11:13 PM
how to install wamp server on window 8? ... View Questions/Answers

delete lines in the file  August 27, 2013 at 7:06 PM
I am using a file as Input in program...The file contains round about 1,00,000 lines .My program after each iteration takes a data from that file at process it. My Question is when a particular data is used once it will not be used any further .In one word i want to skip that data in the subseq... View Questions/Answers

delete lines in the file  August 27, 2013 at 7:06 PM
I am using a file as Input in program...The file contains round about 1,00,000 lines .My program after each iteration takes a data from that file at process it. My Question is when a particular data is used once it will not be used any further .In one word i want to skip that data in the subseq... View Questions/Answers

delete lines in the file  August 27, 2013 at 7:06 PM
I am using a file as Input in program...The file contains round about 1,00,000 lines .My program after each iteration takes a data from that file at process it. My Question is when a particular data is used once it will not be used any further .In one word i want to skip that data in the subseq... View Questions/Answers

JSF Tutorial  August 27, 2013 at 3:48 PM
I am novice to JSF Programming. And want to learn the Java Server Faces (JSF) technology online. So, could you please list down few helpful JSF Tutorials. Also, which is the latest version of Java Server Faces (JSF)? ... View Questions/Answers

creating packages in java  August 26, 2013 at 10:56 PM
Hi everybody, I am Rupesh Narayan, i faces a problem while creating package in core java. I write two programs that are described below:- 1.PackageDemo.java package javaclass; import java.io.*; public class PackageDemo { private int n; public PackageDemo() { n=1; }... View Questions/Answers

java based question  August 26, 2013 at 6:07 PM
if there is a site and after user login on the right top there is a button of logout and i want to display firstname and lastname of the user after login then in what class i have to do changes?? and what changes i have to do?? ... View Questions/Answers

Struts2 and Hibernate  August 26, 2013 at 5:17 PM
Sir/ madam, Can we use iterator tag in struts for fetch the database value and shown on form. if yes then how. ... View Questions/Answers

array of string  August 26, 2013 at 10:25 AM
Waht is the problem in this code? import java.util.Scanner; public class LastCheck { public static void main(String args[]){ int a; Scanner s= new Scanner(System.in); a=s.nextInt(); String ar[]=new String[a]; System.out.println(ar.length); for(in... View Questions/Answers

Scanner  August 26, 2013 at 12:04 AM
Hi, I am facing a problem in the following code as what should be the while condition I should use in order to get the loop keep running until i get the desired double value and come out of the loop once condition is met. System.out.println(" You have sel... View Questions/Answers

project  August 24, 2013 at 11:38 PM
i have to do my final year project project topic:Weekly Automatic College Timetable Generation System BRIEF EXPLANATION ABOUT PROJECT This project takes various inputs from the user such as Teacher List, Course List, Semester List, Room List, Day List and Timeslot as well as vari... View Questions/Answers

Spring framework  August 24, 2013 at 5:11 PM
Explain MVC architecture. i am new to learn spring,mvc. ... View Questions/Answers

Struts2 and Hibernate  August 23, 2013 at 6:34 PM
Hello Sir, I am trying to fetch database value from one page to another page. Means i am submiting the form value in database but i want to display that submit database value in another page while using struts2 and hibernate3.0. I need ur help try to short o... View Questions/Answers

Struts2 and Hibernate  August 23, 2013 at 6:14 PM
how to fetch database value from one page to another page in struts2 and hibernate. ... View Questions/Answers

jsp code  August 23, 2013 at 11:40 AM
i want to jsp code which are working as,i have three drop down menu 1st menu for class second menu for subject and third menu as chapter and next one submit button,,,when i am clik on submit button data is show according to selectde menu,,,,please send me such type code,,,,plz help me ... View Questions/Answers

string palindrom using vbscript?  August 23, 2013 at 10:41 AM
string palindrom using vbscript ... View Questions/Answers

how to move label in jframe in java?  August 23, 2013 at 9:59 AM
please any one can give me code for moving a java label in Jframe????? ... View Questions/Answers

DMCA.com