Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Add values of drop down menu( select option) to mysql table  May 10, 2011 at 5:08 PM
Here is my code <?php echo $row['valveName'].'<td>'.$row['valveId'].'<td>'; echo '<select name="onoff">'; echo '<option value="ON">ON'; echo '</option>'; echo '<option value="OFF">OFF'; ... View Questions/Answers

data grid with edit and delete options at each row.  May 10, 2011 at 4:41 PM
i want to display the table data in the format of data grid with edit and delete options at each row. i need it very urgently. advance thanks . ... View Questions/Answers

Quartz in web-application  May 10, 2011 at 3:18 PM
As I am new to Quartz i don't know how to use it in web-application.I am able to run it in eclipse as a stand alone application i had tried out some example but am not able to succeed any help is appreciated.Thanks in advance ... View Questions/Answers

Advertisement

finding the eigenvalues and eigenvector of n*n matrix in java  May 10, 2011 at 3:04 PM
Here is my code: /** * Jacobi eigenvalue algorithm */ public class Jacobi { public static void main(String[] args) { double[][] A = new double[][] {{4,3,1,2},{1,1,1,1},{1,2,1,1},{1,1,1,1} }; double t, c, s; int p, q, icount, state, size = 4;... View Questions/Answers

Error running webservice  May 10, 2011 at 12:55 PM
Hi, I am getting following error: 05/10 12:45:46 ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defin... View Questions/Answers

BeanExpressionResolver NoClassDefFoundError  May 10, 2011 at 11:41 AM
Hi, How to solve following error: java.lang.NoClassDefFoundError: org/springframework/beans/factory/config/BeanExpressionResolver Thanks ... View Questions/Answers

java.lang.NoClassDefFoundError: org/springframework/context/support/AbstractRefreshableConfigApplicationContext  May 10, 2011 at 11:21 AM
Hi, How to solve java.lang.NoClassDefFoundError: org/springframework/context/support/AbstractRefreshableConfigApplicationContext error. Thanks ... View Questions/Answers

package javax.ws.rs does not exist  May 10, 2011 at 10:42 AM
Hi, Which jar file should I add to remove "package javax.ws.rs does not exist" error? Thanks ... View Questions/Answers

dimond structute by star  May 10, 2011 at 9:45 AM
Enter no.of rows if input is 3 then output like this * * * * * * * * * * * * * * * ... View Questions/Answers

My screen EPAD is broken ...please help  May 9, 2011 at 11:08 PM
iam in iraq and my screen EPAD is broken ,.please help..can tel me a place to join it to solve this problem ?..Sory ... View Questions/Answers

ApplicationDevelopment Using Google Map  May 9, 2011 at 9:37 PM
I want application using google map please guide me how can i develop it.... ... View Questions/Answers

e commerce  May 9, 2011 at 6:54 PM
e-commerce in java explain briefly ... View Questions/Answers

yyyy-mm-dd validation in javascript  May 9, 2011 at 5:16 PM
My form return value like (2011-10-05)yyyy-mm-dd ... my End date greater than my start date.. How to do validation in javascript ? ... View Questions/Answers

should i reboot physical server to change the JDK path in linux server  May 9, 2011 at 4:10 PM
Hi i need to change the JDK path in linux server. I set the JDK path export JAVAHOME=/usr/java/jdk1.5.007/bin/java export PATH=$PATH:/usr/java/jdk1.5.0_07/bin but when i check version using $java -version, it still shows old version. should i reboot physi... View Questions/Answers

how to find the eigenvalue and eigenvector of n*n matrix in java  May 9, 2011 at 3:55 PM
I m the new beginner in java and want to find eigenvalue and eigenvector of n*n matrix.where n is vary from n=4,5,6...... pls help me that would be appreciable ... View Questions/Answers

jsp  May 9, 2011 at 3:23 PM
How can you implement the auto-fill feature for username in the user name text box, so that the user name is auto-populated when the user revisits the website ... View Questions/Answers

browse image  May 9, 2011 at 1:01 PM
how to browse the image in image box by browse button and save image in database by save button by swing ... View Questions/Answers

browse image  May 9, 2011 at 1:01 PM
how to browse the image in image box by browse button and save image in database by save button by swing ... View Questions/Answers

Tomcat  May 9, 2011 at 12:42 PM
When i want to run the servlet program in tomcat i got the following errors type Status report message Servlet InsertServlet is not available description The requested resource (Servlet InsertServlet is not available) is not available. But i configure the all files properl... View Questions/Answers

Exception Handling  May 9, 2011 at 12:16 PM
create an exception class, which thros an exception if operand is non-numeric in claculating modules. ( Use command line arguments) ... View Questions/Answers

Exception Handling  May 9, 2011 at 12:15 PM
wrtie a java program to enable the user to handle any change of divide by zero exception. ... View Questions/Answers

exception Handling  May 9, 2011 at 12:13 PM
write a program in Java to display the names and roll numbrs of students. Initialize respective array variables for 10 students. Handle ArrayIndexOutOfBoundsException, so that any such problem doesn't cause illegal terminations of program. ... View Questions/Answers

java  May 9, 2011 at 12:10 PM
write a java program considering that the trunk calls of a telephone exchange. a trunk call can be ordinary , urgent or lightning. The charges depend on the duration and the type of the call. Wrtie a program using the concept of Polymorphism inJava to calculate teh charges. ... View Questions/Answers

retrieving from oracle database using jsp combo box  May 9, 2011 at 12:08 PM
hi this is my code in this once i select the server type and version of the server the process name of the server has to display in the process name field from the oracle database please help on this i need code using servlets please help me . <html>... View Questions/Answers

java  May 9, 2011 at 12:06 PM
write a java program in to create a class Worker and derive classes DailyWorker and SalariedWorkerstrong text frim it . every worker has a name and a salaryrate. write method Company strong text (int hours) to compute the week pay of e... View Questions/Answers

java  May 9, 2011 at 12:01 PM
wrtie a provram in java to creagte a Player class. inherit the classes CricketPlayer, FootballPlayer and Hockey_Player from Player class. ... View Questions/Answers

java  May 9, 2011 at 12:00 PM
a program in java to show that private mambers of a super class cannot be accessed from derived classes ... View Questions/Answers

java  May 9, 2011 at 11:56 AM
a program in java create a stack classs of vaibale size with push() and pop() methods. create two objects of stack wtih 10 data items in both. compare the top elements of both stack and print the comparison result. ... View Questions/Answers

java question  May 9, 2011 at 11:55 AM
comparator and comparable ... View Questions/Answers

java  May 9, 2011 at 11:54 AM
Write Java programs that use recursive and non-recursive functions to traverse the given binary tree in(a) Preorder(b) Inorder and(c) Postorder. ... View Questions/Answers

Retrieving data from data base using jsp combo box  May 9, 2011 at 11:52 AM
Hi guys please help me , i have on GUI page int that Server type(like apache,jboss,weblogic) one combo box is there and another filed is version of the server(like 1.0,2.0) like different version of the servers once i select the server type and version of the server it has to display the process ... View Questions/Answers

Servlets  May 9, 2011 at 11:02 AM
when i am compiling the following servlet program it compiles the successfully.but when i try to run the program it gives the following error. Exception in thread "main" java.lang.NoSuchMethodError: main Here is the my code: im... View Questions/Answers

java question  May 9, 2011 at 10:50 AM
what r the Comparator vs Comparable ... View Questions/Answers

sql  May 9, 2011 at 9:05 AM
i need a query for selecting values from a table till a certain date...my database has date in the format '01-JAN-01 12.00.00.000000000 AM' ... View Questions/Answers

i need a help in this please  May 9, 2011 at 4:26 AM
The factorial of a nonnegative integer n is written n! (pronounced ‚?? n factorial‚??) and is defined as follows: n!=n . (n-1) . (n-2) . .... . 1 (for values of n greater than or equal to 1) and n!=1 (for n=0) for example, 5!=5.4.3.2.1, which is 120 a) Write an application that reads a nonegative... View Questions/Answers

generate file  May 9, 2011 at 12:40 AM
How to generate file(.doc or .xls or .txt ) with containing data in it.By clicking on a link. ... View Questions/Answers

hi  May 8, 2011 at 11:30 PM
i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n update in db ....so with out using javascript ...only html,java,servle... View Questions/Answers

hi  May 8, 2011 at 11:30 PM
i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n update in db ....so with out using javascript ...only html,java,servle... View Questions/Answers

hi  May 8, 2011 at 11:30 PM
i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n update in db ....so with out using javascript ...only html,java,servle... View Questions/Answers

hi  May 8, 2011 at 11:28 PM
i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n update in db ....so with out using javascript ..... View Questions/Answers

java beginner  May 8, 2011 at 11:09 PM
hai a i'm beginner 2 java... i want to fetch data from database using combo box(drop down list) without using javascript...when i click list(ex:countrys should b selected)selected country should get inserted into db and should show list of countrys from db which i never giv... View Questions/Answers

Implementing voice commands  May 8, 2011 at 11:06 PM
Am trying to write a java program to implement voice commands within a windows platform using preferably java (though any language will do). I would be glad for any tips and procedures that would help me do this. Thank you. ... View Questions/Answers

Bank project  May 8, 2011 at 6:03 PM
Create a class Customer a. Having Instance variables Customer id(int), Customer Name(String), Customer Address(String), Customer Telephone(String) and Customer Email id(String) b. Method which generates Customer Id using a counter (static variable). Customer ID starts from 1000. c. Construc... View Questions/Answers

Swing Program  May 8, 2011 at 5:33 PM
write a java swing program to get username and password. The name contains only characters while password is masked with the characters "*". Apply checks for all validation. ... View Questions/Answers

MPMoviePlayerContentPreloadDidFinishNotification' is deprecated  May 8, 2011 at 2:05 PM
Hi, While compiling compiler is giving following error: warning: 'MPMoviePlayerContentPreloadDidFinishNotification' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/MediaPlayer.framewor... View Questions/Answers

Program to display palindrome numbers between some range  May 8, 2011 at 1:27 PM
Hi!I want a java program to display palindrome numbers between 100 to 1000.can you please explain me the logic with an example ... View Questions/Answers

Framework......  May 8, 2011 at 12:16 PM
What is framework? What is difference between framework and package? ... View Questions/Answers

jsp scriptlet  May 8, 2011 at 10:13 AM
can a method defined in the jsp scriptlet? ... View Questions/Answers

JSP error  May 8, 2011 at 10:11 AM
what is difference between global-exception and error-page in jsp. which condition they are use. ... View Questions/Answers

Java inheritence  May 8, 2011 at 9:57 AM
if there are 20 methods in a class if only 2 methods are used for inheritence is it better idea to use inheritence or use other logic. ... View Questions/Answers

tomcat  May 8, 2011 at 12:39 AM
Is it necessary to restart the server if we change the JDK path in tomcat server? ... View Questions/Answers

read image  May 7, 2011 at 10:14 PM
java code to read an image in the form of an array. ... View Questions/Answers

how to find the roots of polynomial equation of 'n'th degree in java  May 7, 2011 at 5:39 PM
i am new to java field and i wanted to find the roots of nth degree polynomial equation pls help me. thanks. ... View Questions/Answers

Sql Query  May 7, 2011 at 4:30 PM
Hi M Navjeet Ghai I want to know How to Show A name(Like Navjeet Ghai And Manpreet Singh Sodhi) of employees from a employee table as N.Ghai & M.S.Sodhi by using sql query ... View Questions/Answers

Servlets  May 7, 2011 at 1:51 PM
when i deployed the following servlet program in tomcat i get the following errors description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class InsertServlet ... View Questions/Answers

Jsp  May 7, 2011 at 11:38 AM
how can we compile the jsp file in dos command prompt. when i enter the jspc filename.jsp in cmd i got the error like 'jspc' is not recognized as an internal or external command, operable program or batch file. how can we create the batch file and tell me the procedure for to cre... View Questions/Answers

networking  May 7, 2011 at 3:07 AM
how can i configure my xp computer as a ftp server and assign a name to it to access on the name rather than on its ip. just i need steps. AND WHY YOU INCLUDE NETWORKING ON THE ABOVE SELECT CATEGORY ? JUST AS A COMMENT FOR U. 10Q. ... View Questions/Answers

networking  May 7, 2011 at 3:07 AM
how can i configure my xp computer as a ftp server and assign a name to it to access on the name rather than on its ip. just i need steps. AND WHY YOU INCLUDE NETWORKING ON THE ABOVE SELECT CATEGORY ? JUST AS A COMMENT FOR U. 10Q. ... View Questions/Answers

networking  May 7, 2011 at 3:06 AM
how can i configure my xp computer as a ftp server and assign a name to it to access on the name rather than on its ip. just i need steps. AND WHY YOU INCLUDE NETWORKING ON THE ABOVE SELECT CATEGORY ? JUST AS A COMMENT FOR U. 10Q. ... View Questions/Answers

Swing Program  May 7, 2011 at 2:30 AM
Write a java swing program to search the details of the students. Searching is performed on student's first name. The details of all those students having same name as in given in searching criterion will be displayed in a table, and also delete a selected record from a table. Use JDBC. ... View Questions/Answers

Swing Program  May 7, 2011 at 2:24 AM
Write a java swing program that takes name and marks as input with all validation. The name and marks will be displayed in message box when user clicks on a button. ... View Questions/Answers

Swing Program  May 7, 2011 at 2:21 AM
Write a java swing program to calculate the age from given date of birth. ... View Questions/Answers

Swing Program  May 7, 2011 at 2:18 AM
write a java swing program to get user name and password. The name contains only characters while password is masked with the character "*". Apply checks for all validation. ... View Questions/Answers

x-axis and y-axis  May 7, 2011 at 2:07 AM
hi,, i want to to write a program that display a graph of x-axis and y-xais when i entered the parameters of the function. ... View Questions/Answers

Session management  May 6, 2011 at 11:54 PM
How To Maintain Session in jsp for Online exam project? ... View Questions/Answers

populate dropdown box  May 6, 2011 at 9:32 PM
hi, Is there any ways in which i can populate my dropdown menu with values from 1 to n (n = the value stored in database)using java script or jsp, either is fine? Ex: If value corresponding to selected item in dropdown menu is 10 then the second dropdown box should contain values from 1 ... View Questions/Answers

SQL query  May 6, 2011 at 6:15 PM
I need to combine two tables in order to get the values. As an example we have three tables having namely usertable,job table and jobaccess table. In usertable (Userid,Empid,name,Role) details have been stored. In the Job table (Jobid,Jobname,Location) details have ... View Questions/Answers

java program  May 6, 2011 at 5:40 PM
Given a string and a number n, find the n th distinct repeating character. ... View Questions/Answers

program  May 6, 2011 at 5:39 PM
Given a string and a number √Ę‚?¨ň?n√Ę‚?¨‚?Ę, find the √Ę‚?¨ň?n√Ę‚?¨‚?Ęth distinct repeating character ... View Questions/Answers

method returning null on JSP page.Plz HELP!!!  May 6, 2011 at 5:33 PM
public String getServerAddress(String sName,int sPort,String pKey) { String sAddress = null; if(sPort>=0) { sAddress="http"+"://"+sName+":"+sPort+"/browser/"+pKey; } else { ... View Questions/Answers

method returning null on JSP page.Plz HELP!!!  May 6, 2011 at 5:31 PM
public String getServerAddress(String sName,int sPort,String pKey) { String sAddress = null; if(sPort>=0) { sAddress="http"+"://"+sName+":"+sPort+"/browser/"+pKey; } else { sAddress="ht... View Questions/Answers

how to find inverse of n*n 2d array in java  May 6, 2011 at 5:25 PM
I reached upto code of printing the matrix as: Assume that matrix is square matrix where row=column code is: public class ReadContents{ public static void main(String args[]) System.out.println(); System.out.println("The matrix is :"); for( k=0... View Questions/Answers

mail problem  May 6, 2011 at 3:32 PM
Sir, I tried ur send mail example but it giveng follwing error "Could not connect to SMTP host: localhost, port: 25" ,tried sendind from my gmail ac to rediffmail ac mailapi <html> <head> <title>Mail API</title> </he... View Questions/Answers

Web based workflow application example?  May 6, 2011 at 2:59 PM
Hello there, Can anyone please send a sample project which is a web-based java workflow application? If it is built using Spring, Struts or JSF Framework it would be wonderful. If you know any links where I can download from, please share. Thanks in advance!! Thanks! ... View Questions/Answers

joomla  May 6, 2011 at 2:39 PM
how can i develop an web based system using joomla? ... View Questions/Answers

simple query  May 6, 2011 at 1:17 PM
Write a stored procedure to retrieve a column which are less then or equal to that column using if statement ... View Questions/Answers

Friendly URl  May 6, 2011 at 12:53 PM
creating a SEO friendly URL ... View Questions/Answers

Tomcat  May 6, 2011 at 11:33 AM
why we get the error like HTTP Status 500 -.what is the solution for this problem ... View Questions/Answers

how read data from doc file in same formate in jsp  May 6, 2011 at 11:10 AM
how we can read and display data on jsp page, from doc file with the same formatting. ... View Questions/Answers

Exception in jsf application  May 6, 2011 at 10:40 AM
when i am running application i am getting org.apache.commons.logging.LogConfigurationException and HTTP Status 404 -The requested resource () is not available Exception so i want to know reason behind these exception please help me out to solve these Exception ... View Questions/Answers

help in java  May 6, 2011 at 10:38 AM
Create a class named Order that performs order processing of a single item. The class has five instance variables (fields) : customer name, customer number, quantity ordered, unit price, and total price. Define a constructor that accept and initialize all fields except the total price field. Incl... View Questions/Answers

help in java  May 6, 2011 at 10:37 AM
Write an application that prompt the user to enter a number to use as an array size, and then attempt to declare an array using the entered size. Java generates a NegativeArraySizeException if wou attempt to create an array with a negative size, and a NumberFormatException if you atempt to create... View Questions/Answers

help in java  May 6, 2011 at 10:36 AM
Define a class named Money whose objects represent amounts of U.S. money. The class will have two instance variables of type int for the dollars and cents in the amount of money. Include a constructor with two parameters of type int for the dollars and cents, one with one parameter of type int fo... View Questions/Answers

help in java  May 6, 2011 at 10:35 AM
The factorial of a nonnegative integer n is written n! (pronounced √Ę‚?¨Ň? n factorial√Ę‚?¨¬?) and is defined as follows: n!=n . (n-1) . (n-2) . .... . 1 (for values of n greater than or equal to 1) and n!=1 (for n=0) for example, 5!=5.4.3.2.1, which is 120 a) Write an application that reads a no... View Questions/Answers

how to read and write xml files in javascript  May 6, 2011 at 10:06 AM
hi m very new to javascript and xml,, now i want to read and write xml files in javascript,, please give me a sample code to do this ... View Questions/Answers

How to call print dialog box through JMenuItem?  May 6, 2011 at 10:05 AM
What is the way to call the print dialog box through JMenuItem to print the current page like we can do in javascript by calling window.print() function? ... View Questions/Answers

help in java  May 6, 2011 at 9:29 AM
Create 3 shopping carts from a Cart class. Each class should have four items in it, a title, a price for the 4 items and the number of each. Your shopping cart should use private variables, so use getter and setter methods to access the items (variables) in your Cart Object. After you have creat... View Questions/Answers

About Jsp  May 5, 2011 at 11:21 PM
Hello sir, I am developing online Quiz project in jsp using MySql Database. I want to know that How I will show Questions from database One by One on Same page and also want to calculate Result for the User. ... View Questions/Answers

Calculator class  May 5, 2011 at 10:34 PM
I am a beginner in Eclipse. I have to do a program called calculator that adds numbers. This is my code so far: //Margaret //ICS 4U /* * Created on Apr 29, 2011 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates *... View Questions/Answers

j2ee  May 5, 2011 at 10:14 PM
hi i'm beginner 2 j2ee.. my question is... (jdbc connecton): when user enters his fname,lname,address,city from ui(html) it gets inserted into db...my problem is when user submit without entering i,e blank it also get inserted into db even though i have given not null for e... View Questions/Answers

j2ee  May 5, 2011 at 10:08 PM
hi i'm beginner 2 j2ee.. my question is... when user enters his fname,lname,address,city from ui(html) it gets inserted into db...my problem is when user submit without entering i,e blank it also get inserted into db even though i have given not null for each elements in table.... ... View Questions/Answers

j2ee  May 5, 2011 at 10:08 PM
hi i'm beginner 2 j2ee.. my question is... when user enters his fname,lname,address,city from ui(html) it gets inserted into db...my problem is when user submit without entering i,e blank it also get inserted into db even though i have given not null for each elements in table.... ... View Questions/Answers

K-means clustering on WebLog Data, for 2-Dimenshional input  May 5, 2011 at 9:58 PM
The following is a JSP code for K-MEANS CLUSTERING .... My proect , titled "Pattern Analysis of Web Usage for System Improvement", involves the web log info from a database and then considering the attributes IP address and WEBPAGES,IN THE FORM OF NUMBERS(X,Y) for K-MEANS CLUSTERING... the output... View Questions/Answers

FileNotFoundException  May 5, 2011 at 6:32 PM
<%@page import="com.kit.db.*, com.kit.db.kb.*, com.kit.log.*, java.util.*, com.kit.db.mysqldb.*, com.kit.db.util.*, com.kit.db.seats.*, java.sql.*, ... View Questions/Answers

how to focus dojo slider to a particular value and then disabling dojo slider so that value not changes on clicking?  May 5, 2011 at 6:30 PM
How to focus dojo slider to a particular value (say 2.5 )on the slider and then disabling dojo slider so that value not changes on clicking on the dojo slider?ie i want to focus dojo slider to a particular value and then make it disable. <!DOCTYPE HTML PUBLIC "-... View Questions/Answers

TOMCAT  May 5, 2011 at 6:22 PM
why we got the error like HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class InsertServ... View Questions/Answers

JAVA DATABASE CONNECTION WITH JTABLE  May 5, 2011 at 5:33 PM
HOw To Load Database Contents From Access Database to JTable without using Vector. ... View Questions/Answers

javamail  May 5, 2011 at 4:31 PM
i need java mail code,i had use some code,that give me ssl error in java,plz help me,i need urgent basises. ... View Questions/Answers

need to update key , value pair in map from properties file  May 5, 2011 at 4:24 PM
I have a map with key , value pair. with key as integer and value as string datatype. I want the keys and values to be dynamically updated into map. that is i have .properties file where i will update the keys and values whenever needed. i want those values to be updated in map. can anyone ple... View Questions/Answers

url parameters displayed in short sentence  May 5, 2011 at 2:23 PM
In my url parmeter like below http://127.0.0.1:7778/project/preview.jsp.codesvr=127.0.0.1:9997&id="1" It will displayed the value of id=1 ... I want to change this url to bookmarked url like http://127.0.0.1:7778/project/preview/1 .... this url also retrive the value ... View Questions/Answers

DMCA.com