Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

JComboBox  March 26, 2011 at 10:52 AM
I have jcombobox. In which tha values are loaded from MySql Database. My problem is that i want to load content of the jtable whenever i change the selected item. Please some one help me to do this. Thank you. ... View Questions/Answers

programes on strings  March 26, 2011 at 10:43 AM
a. write a program to copy one array to another array using System.arrayCopy() method. b. write a program to check whether entered string is palindrome or not. ... View Questions/Answers

programes on methods  March 26, 2011 at 10:40 AM
write a program to implement bubble sort write a program to demonstrate call by value and call by reference.(pass objects as parameters) write a program to calculate factorial of a no. using recursive function write a program to concatenate two strings entered by ... View Questions/Answers

Advertisement

write a program to store information of 50 products  March 26, 2011 at 10:34 AM
write a program to store information of 50 products(code, quantity and price). Calculate the total cost (quantity*price) of each product and print the information. ... View Questions/Answers

write a program to calculate volume of a cube  March 26, 2011 at 10:30 AM
write a program to calculate volume of a cube, cylinder, rectangular box using method overloading ... View Questions/Answers

How to Create Quiz Application using iPhone  March 26, 2011 at 10:12 AM
Hi, I am learning iphone application Programming Language. my question is that how to create a quiz application using iPhone. Please provide online reference to study and example. Thanks, ... View Questions/Answers

decimal to hexadecimal  March 26, 2011 at 5:43 AM
using array in java convert decimal to hexadecimal. ... View Questions/Answers

JSP &MYSQL  March 26, 2011 at 12:57 AM
Develop a web page for the telephone directory using jsp and mysql ... View Questions/Answers

struts client side validation  March 25, 2011 at 11:23 PM
how can i code for client side validation? ... View Questions/Answers

JProgressBar  March 25, 2011 at 10:15 PM
Hello sir, I want to use the progress bar in my project. I want the progress bar in such a way that after it finish loading the output should come. i.e i want to download some files using that progress bar.pls help me ......... ... View Questions/Answers

toString  March 25, 2011 at 8:48 PM
how to override toString method to display integer ... View Questions/Answers

abstraction  March 25, 2011 at 8:20 PM
give a simple example program for abstraction ... View Questions/Answers

abstraction  March 25, 2011 at 8:20 PM
give a simple example program for abstraction ... View Questions/Answers

game  March 25, 2011 at 4:52 PM
Hi thank you for answers.I am devoloping a java game caled Duck Hunt Game in netbeans6.7.1 software and I need help in some codes such as moving picture left and right and how ducks flaying and how gun works. All and all,if you have this game's code please post me as soon as possible ... View Questions/Answers

Webservices  March 25, 2011 at 4:45 PM
Hi, this is chinna, i am trying to develop a web service that has to return one table data. i have taken table data in a two dimensional array for soap request i have passed one value to get table data in soap response i am getting in the following format value1 ... View Questions/Answers

disable and enable the submit buttons  March 25, 2011 at 4:34 PM
i have two summit button in my form. one is disabled and other is navigating to the other page. after 3 submissions of the submit button the disabled one must be enabled and the enabled one must be disabled.. pls help me ... View Questions/Answers

java application  March 25, 2011 at 4:31 PM
How can i create an exe file in java application ... View Questions/Answers

Tooltip alignment  March 25, 2011 at 4:18 PM
Dear Sir, I have a code given below,which gived tooltip design.But,in one table i am getting three students' information.On putting the mouse on the roll numbers of the students i can not get the right alignment of that tooltip as desired.The Div is seen in the other position other than n... View Questions/Answers

struts with ajax  March 25, 2011 at 3:01 PM
i have two selectboxex.the first selectbox contains all states.when i select one state then the cities corresponing to that state will appear in another textbox.i want code for this in struts and ajax ... View Questions/Answers

JAVA project  March 25, 2011 at 2:54 PM
How to extract tags and their corresponding properties of a "cascading style sheet" file using JAVA? ... View Questions/Answers

Importing data into sql plus from a text file...  March 25, 2011 at 1:12 PM
How to import a text file into oracle 10g enterprise edition directly to create tables and data? ... View Questions/Answers

Importing data into sql plus from a text file...  March 25, 2011 at 1:12 PM
How to import a text file into oracle 10g enterprise edition directly to create tables and data? ... View Questions/Answers

inheritence in java?  March 25, 2011 at 1:10 PM
what is inheritence and how it work inn java? ... View Questions/Answers

executio of xml file  March 25, 2011 at 12:56 PM
how to execute xml file , on web browser ... View Questions/Answers

Can i insert image into struts text field  March 25, 2011 at 12:33 PM
please tell me can i insert image into text field ... View Questions/Answers

Advanced GUI  March 25, 2011 at 12:08 PM
I want some effects like contraction when i close a frame or expansion when i open a frame.. Can someone help me in this.. Thanks. ... View Questions/Answers

asking for android program  March 25, 2011 at 12:01 PM
can i use this code in android calculator program? ... View Questions/Answers

Exception  March 25, 2011 at 11:26 AM
public class FooException extends Exception { public FooException() { super(); System.out.println("hdihfiuhif"); } public FooException(String message) { super(message); System.out.println("hdihfiuhif"); } public FooException(String... View Questions/Answers

java  March 25, 2011 at 11:20 AM
declare one paragraph as string. every word starting letter is automatically convert to caps in tat paragraph ... View Questions/Answers

java  March 25, 2011 at 11:16 AM
give me program for this output 12345 1234 123 12 1 ... View Questions/Answers

please check my code is wrong or ok.it was not work .this is form validation in javascript using jsf page  March 25, 2011 at 10:46 AM
<p>?xml version='1.0' encoding='UTF-8' ?> <!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" xmlns:h="http://java.sun.com/jsf... View Questions/Answers

Form validation in javascript using jsf page  March 25, 2011 at 10:45 AM
?xml version='1.0' encoding='UTF-8' ?> <!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" xmlns:h="http://java.sun.com/jsf/html" ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:44 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers on JSP page when I click on CreateTask.jsp page.How can ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:42 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers(ie increasin 1 in the previously stored tsk id) on JSP page ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:42 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers(ie increasin 1 in the previously stored tsk id) on JSP page ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:41 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers(ie increasin 1 in the previously stored tsk id) on JSP page ... View Questions/Answers

What is the output if....  March 25, 2011 at 8:51 AM
Here is my code. what is the output if a. the value of lowerLimit is 50? b. if the value of lowerLimit is 150? int lowerLimit; ... try { System.out.println("Entering the try block."); if (lowerLimit < 100) throw new Exception("Lower limit violati... View Questions/Answers

How do I use JGraph to create a MST(minimum spanning tree) using java?  March 25, 2011 at 6:59 AM
How do I use JGraph to create a MST(minimum spanning tree) using java? thanks for the help!!! ^_^ ... View Questions/Answers

currency conversion  March 25, 2011 at 5:58 AM
hi frds.. I wan jsp code to convert currency in different formats??... if u know plz plz plz post it ... View Questions/Answers

write a program in C to print following triangles on the screen  March 25, 2011 at 4:18 AM
write a program in C to print following triangles on the screen ** * *** * * ** ** * * ... View Questions/Answers

looking to have the abilty to send boardcast alerts  March 25, 2011 at 2:38 AM
I'm looking to have the abilty to send boardcast alerts Is there a way to send alert messages to a user or to a group of users in java/websphere Need to know where to start ... View Questions/Answers

CMS project using JSF  March 25, 2011 at 2:03 AM
Can i use jsf for CMS project..? If yes pls give some guidelines to how to start....? ... View Questions/Answers

java  March 24, 2011 at 7:35 PM
How to create progress bar in neatbean software(using java)? Can i have shooting code in neatbean software(using java)? ... View Questions/Answers

doubt on DAO's  March 24, 2011 at 5:57 PM
hai frnds.... can anyoneexplain about how to integrate struts with hibernate,any predifined plugin is available or we need to create our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ?????... View Questions/Answers

doubt on DAO's  March 24, 2011 at 5:57 PM
hai frnds.... can anyoneexplain about how to integrate struts with hibernate,any predifined plugin is available or we need to create our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ?????... View Questions/Answers

multiple select values  March 24, 2011 at 4:46 PM
can you provide an example for multiple select values for html:select tag ... View Questions/Answers

How to add or create instant messaging in website?  March 24, 2011 at 4:44 PM
How to add or create instant messaging in website? ... View Questions/Answers

How to add or create instant messaging in website?  March 24, 2011 at 4:44 PM
How to add or create instant messaging in website? ... View Questions/Answers

HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE?  March 24, 2011 at 4:41 PM
HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE? ... View Questions/Answers

HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE?  March 24, 2011 at 4:41 PM
HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE? ... View Questions/Answers

java  March 24, 2011 at 3:04 PM
code of image movement left and right ... View Questions/Answers

JAVA  March 24, 2011 at 2:37 PM
Hi, here is my code: package project1; public class dddddddddd { public static void main(String[] args) { System.out.println("dddddddddddddddd"); } } but output is as follows: run: java.lang.NoSuchMethodError: main Exception in thread "ma... View Questions/Answers

Replace TEXT  March 24, 2011 at 2:10 PM
I have two text files in two diff locatons.The text file like below using java program 1)a.txt 1 abc bangalore 2 def adfsdf 3 ghij asdfdsad 2)b.txt A B C Now i want output is like below format a.txt A abc bangalore B... View Questions/Answers

Replace  March 24, 2011 at 2:01 PM
Hi, I have two text files in two diff locatons.The text file like below using java program 1)a.txt 1 abc bangalore 2 def adfsdf 3 ghij asdfdsad 2)b.txt A B C Now i want output is like below format a.txt A abc ... View Questions/Answers

j2me  March 24, 2011 at 12:42 PM
i need more points about j2me ... View Questions/Answers

Please explain me the flow of this program..  March 24, 2011 at 12:02 PM
// Substring replacement. class StringReplace { public static void main(String args[]) { String org = "This is a test. This is, too."; String search = "is"; String sub = "was"; String result = ""; int i; do { // replace all matching subs... View Questions/Answers

calculate volume of cube, cylinder and rectangular box using method overloading in java  March 24, 2011 at 11:40 AM
calculate volume of cube, cylinder and rectangular box using method overloading in java ... View Questions/Answers

sturt2-jdbc  March 24, 2011 at 11:35 AM
Hello sir, GoodMorning I want struts2.0 with jdbc of insert ,search, delete, update example. ... View Questions/Answers

demonstrate a) static data members b) static methods  March 24, 2011 at 11:17 AM
demonstrate a) static data members b) static methods ... View Questions/Answers

how to calculate addition of two distances in feets and inches using objects as functions arguments  March 24, 2011 at 11:16 AM
how to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

jsp and bean problem  March 24, 2011 at 11:09 AM
Hi i have the following jsp code... Can you plz help me in separating the code to bean? I'm new to bean and need it for my project...Plz help...Its quite urgent... Regards Priya <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <head&g... View Questions/Answers

List  March 24, 2011 at 10:54 AM
i do have one list object, i want to compare this list from database table and if match found i want to update the list ... View Questions/Answers

servlet  March 24, 2011 at 10:52 AM
is there any way to include pdf's in servlet ... View Questions/Answers

struts  March 24, 2011 at 10:20 AM
I have no.of checkboxes in jsp.those checkboxes values came from the databases.we don't know howmany checkbox values are came from database.dynamically based on the database values checkboxes were created.we create setter and getter methods for those checkboxes in ActionForm.finally we get those ... View Questions/Answers

code related problem  March 24, 2011 at 10:17 AM
this code is compiling but not running please help import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Mybutton11 extends JFrame { JTextField text1 = new JTextField(20); JButton button1; JButton button2 ; JFrame frm; public Mybutton11() { new... View Questions/Answers

form validation  March 24, 2011 at 10:09 AM
how the form validation is done in jsf form using javaScript ... View Questions/Answers

expression language array  March 24, 2011 at 9:42 AM
var test='${abc.myarray}'; //myarray is string array in bean //abc How to get the length of myarray? I tried test.length which does not work. ... View Questions/Answers

HOW TO RUN JDBC PRORAM ON JDK1.5.0  March 24, 2011 at 7:00 AM
import java.sql.*; import java.util.*; class MyDbCode3* { public static void main(String [] args) { try `print("code sample");` { `print("code sample");` Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch(ClassNotFoundException cnf) { System.out.println("Cannot ... View Questions/Answers

Stream Cipher  March 24, 2011 at 6:28 AM
I want to encrypt data use two layer cipher as follow,but it seems not work, why and how, thanks´╝? encrypt part´╝? Cipher cf1 = Cipher.getInstance(ciphAlg1); cf1.init(Cipher.ENCRYPT_MODE, key1, paramSpec); Cipher cf2 = Cipher.getInstance(ciphAlg2); cf2.init(Cipher.ENCRYPT_MODE, key2, par... View Questions/Answers

indexof case insensitive java  March 24, 2011 at 1:13 AM
Hi, I have to use the indexOf function on String class in Java. I am looking for indexof case insensitive java example. Share the code with me. Thanks ... View Questions/Answers

JDBCAppender  March 23, 2011 at 7:46 PM
I have already included (log4j.xml) in my project, in which JDBCAppender is defined but still there is a problem. ... View Questions/Answers

uploading and copying files  March 23, 2011 at 7:28 PM
how can i upload and copy one file based on the given inputs and copy it from one directory to another ... View Questions/Answers

how to convert jsp to exe  March 23, 2011 at 4:41 PM
hello sir, i am doing webapplication. the configuration is windows xp operating system,IE6.0,apache tomcat5.0,j2se5.0 and jsp,servlets i am using.this is doing in localhost only. now i want this application in another system. i donot like to install tomcat and j2se to another system. so... View Questions/Answers

Merge databases in SQL SErver 2005  March 23, 2011 at 4:25 PM
Please help me to merge databases in SQL server 2005. ... View Questions/Answers

java jvm  March 23, 2011 at 4:22 PM
In java in what memory area instance,static and local variables will be stored. ... View Questions/Answers

Hexadecimal numbers multiplication  March 23, 2011 at 4:14 PM
Sir, I have to multiply 128 bit hexadecimal numbers. Do u have any logic for this?? The numbers are like ab7564fa342b5412c34d9e67ab341b58 ... View Questions/Answers

struts2 filters  March 23, 2011 at 3:40 PM
hi i created a filter,if the session is null then it should to go error page that ur not authorized to access, nw my question is how to use means how to call filter to do the task pls help me........... ... View Questions/Answers

how to connect program to database  March 23, 2011 at 3:40 PM
Sir i want ur help in my program. I want to save the data in the database. When i'll click on save button the entered data must be save in the database. I want an action performed method for this. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public ... View Questions/Answers

insert code jsp to access  March 23, 2011 at 3:40 PM
insert code jsp to access ... View Questions/Answers

Why binding attribute is required in jsf frame work  March 23, 2011 at 3:37 PM
Why binding attribute is required in jsf frame work. And what use of binding attribute. ... View Questions/Answers

code for insert the value from jsp to access database  March 23, 2011 at 3:33 PM
code for insert the value from jsp to access database ... View Questions/Answers

how to create web page on jsp?  March 23, 2011 at 3:00 PM
how to create web page on jsp? ... View Questions/Answers

File Transfer  March 23, 2011 at 2:25 PM
How to create a file in server side using java swing? ... View Questions/Answers

how to get the checkbox value in jsp  March 23, 2011 at 1:18 PM
how to get the checkbox value in jsp? ... View Questions/Answers

checkbox value in php  March 23, 2011 at 1:17 PM
In my HTML,PHP form ..we have a check box that is working fine. But anyhow i am not able to get the value of it. Can anyone suggest how to get the value of checkbox in PHP? ... View Questions/Answers

Records are not inserting in to main table while running the mysql stored procedure.  March 23, 2011 at 1:12 PM
Hi, Im migrating procedures from oracle to MySql.In that procedure records are not inserted into main table from temp table.But im getting msg as "inserted successfully".What could be the reason for that.Can you plz help me with this issue. My Code: BEGIN select concat('Inserting in... View Questions/Answers

Daemon thread  March 23, 2011 at 12:48 PM
what is need of daemon thread? ... View Questions/Answers

Daemon thread  March 23, 2011 at 12:48 PM
what is need of daemon thread? ... View Questions/Answers

cpu utilization for every 10 nano sec  March 23, 2011 at 12:47 PM
how do i get cpu utilization for my code for every 10 nano seconds ... View Questions/Answers

Marker Interface  March 23, 2011 at 12:46 PM
What is the need of Marker Interface?When should we use it? ... View Questions/Answers

Why the wait(),notify() should not avaialable in Thread class.  March 23, 2011 at 12:44 PM
wait(),notify(),notifyall() is available in Object class.We are using those method in Threading then why don't they put the 3 methods in thread class. ... View Questions/Answers

NSUserDefaults Example  March 23, 2011 at 12:25 PM
Hi, How to use NSUserDefaults? Can anyone share me the NSUserDefaults example code? Thanks ... View Questions/Answers

uiscrollview background color  March 23, 2011 at 12:21 PM
Is it possible to set the uiscrollview background color in iPhone application? ... View Questions/Answers

what is php used for in web design  March 23, 2011 at 12:18 PM
what is php used for in web design? ... View Questions/Answers

jsp  March 23, 2011 at 11:59 AM
how to pass jsp variable to an html page ... View Questions/Answers

JDBCAppender  March 23, 2011 at 11:03 AM
Dear Friends, I am a newer person on java technology. I define a JDBCAppender in XML file which is not working properly.Anyone can tell me the steps to overcome this problem. THESE ARE THE ERRORS: java.io.FileNotFoundException: E:\Reader\log4j.xml (The system cannot... View Questions/Answers

PHP Prevent blank upload  March 23, 2011 at 10:51 AM
In my small PHP application, i am posting a data to server using POST method in PHP, which is working fine. But the problem is that it also accepts blank data as well as duplicate value. Is there any way to check and prevent it from posting the blank value? Thanks! ... View Questions/Answers

converting field to text sql  March 23, 2011 at 10:43 AM
I wanted to convert the field to TEXT in SQL.. is it possible? ... View Questions/Answers

reading data using struts and jsp java  March 23, 2011 at 10:37 AM
how can i read data entered by user into a textbox (jsp page) into struts action class ex emp id,so that after reading emp_id it can be read into struts action class for retrieving other employee related data? ... View Questions/Answers

value and binding attribute  March 23, 2011 at 10:34 AM
What is the difference between value and binding attribute in jsf. ... View Questions/Answers

DMCA.com