Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

JSP  May 12, 2011 at 12:02 PM
Hello...this is Prashant khandekar..i am very much new to JSP and tomcat. So i just wanted to ask you i m working on very basic project in which there will be 2 text boxes "start" and "end" this text boxes will contain 2 different numbers in which "start will hav 1" and "end will hav 2" and i wan... View Questions/Answers

session invalidate.  May 12, 2011 at 11:50 AM
how to invalidate session? i am calling session.invalidate()but not working. ... View Questions/Answers

struts  May 12, 2011 at 11:36 AM
how to handle exception handling in struts reatime projects? can u plz send me one example how to deal with exception? can u plz send me how to develop our own exception handling? ... View Questions/Answers

Advertisement

learn  May 12, 2011 at 11:07 AM
i need info about where i type the java's applet and awt programs,and how to compile and run them.please give me answer. ... View Questions/Answers

Struts  May 12, 2011 at 7:29 AM
what is SwitchAction in struts ... View Questions/Answers

tTextField  May 12, 2011 at 12:27 AM
How to create "ttextfield" in java? please give a demo code of it. ... View Questions/Answers

tTextField  May 12, 2011 at 12:27 AM
How to create "ttextfield" in java? please give a demo code of it. ... View Questions/Answers

Game  May 11, 2011 at 10:48 PM
how can create simple game in java . thank u so match ,please help !. ... View Questions/Answers

JDBC Oracle program  May 11, 2011 at 10:23 PM
Here is my code: import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection ... View Questions/Answers

java class  May 11, 2011 at 9:42 PM
please send me the answer of the question which i have send according of java class assoon as possible . Write a java program to display a message ‚??Window Closing‚??, when the user attempts to close the window. a. Create a window class. b. Create frame within the window class. c. Extend Wind... View Questions/Answers

databases  May 11, 2011 at 5:19 PM
i want to know the method of the servlet class in which i should write the code for initializing the database connection together with an example of a code for initializing the database connection ... View Questions/Answers

databases  May 11, 2011 at 5:19 PM
i want to know the method of the servlet class in which i should write the code for initializing the database connection together with an example of a code for initializing the database connection ... View Questions/Answers

databases  May 11, 2011 at 5:19 PM
i want to know the method of the servlet class in which i should write the code for initializing the database connection together with an example of a code for initializing the database connection ... View Questions/Answers

databases  May 11, 2011 at 5:19 PM
i want to know the method of the servlet class in which i should write the code for initializing the database connection together with an example of a code for initializing the database connection ... View Questions/Answers

databases  May 11, 2011 at 5:19 PM
i want to know the method of the servlet class in which i should write the code for initializing the database connection together with an example of a code for initializing the database connection ... View Questions/Answers

database  May 11, 2011 at 4:59 PM
the code for initializing the database connection ... View Questions/Answers

servlet  May 11, 2011 at 4:56 PM
example of the code for initializing the database connection ... View Questions/Answers

servlet  May 11, 2011 at 4:56 PM
example of the code for initializing the database connection ... View Questions/Answers

Error during runtime NoClassDefFound in java  May 11, 2011 at 4:15 PM
code: package Jama; import Jama.util.*; import Jama.Matrix; import Jama.EigenvalueDecomposition; /** Eigenvalues and eigenvectors of a real matrix. <P> If A is symmetric, then A = V*D*V' where the eigenvalue matrix D is diagonal and... View Questions/Answers

Error during runtime NoClassDefFound in java  May 11, 2011 at 4:15 PM
code: package Jama; import Jama.util.*; import Jama.Matrix; import Jama.EigenvalueDecomposition; /** Eigenvalues and eigenvectors of a real matrix. <P> If A is symmetric, then A = V*D*V' where the eigenvalue matrix D is diagonal and... View Questions/Answers

how can i add hibernate plugin to eclipse?  May 11, 2011 at 4:08 PM
how can i add hibernate plugin to eclipse? ... View Questions/Answers

Thread  May 11, 2011 at 3:39 PM
what happen when we call the Wait(),Notify() and NotifyAll() methods in the Thread? ... View Questions/Answers

servlet  May 11, 2011 at 3:35 PM
what happen when the application is deploy in the server? and when the classnotfoundException is raised. how to find where the code is wrong in the Project? ... View Questions/Answers

servlet  May 11, 2011 at 3:26 PM
what happen when i call the destroy() in init()method? ... View Questions/Answers

how to use mouse pressed  May 11, 2011 at 2:38 PM
to action mouse clicked ... ... View Questions/Answers

About running the Applet Program  May 11, 2011 at 1:32 PM
Hi I have composed an Applet Program and compiled the program, until that it is fine but how to run the Applet program(compiling i typed as javac AppletDemo.java)? Is compiling the above one is correct or not .Then how to run the applet ? Kindly tell me the solution ... View Questions/Answers

About running the Applet Program  May 11, 2011 at 1:32 PM
Hi I have composed an Applet Program and compiled the program, until that it is fine but how to run the Applet program(compiling i typed as javac AppletDemo.java)? Is compiling the above one is correct or not .Then how to run the applet ? Kindly tell me the solution ... View Questions/Answers

java program code  May 11, 2011 at 12:44 PM
can any one write a program (class) which will have two methods Fibonacci and Factorial, which will be a void and a return respectively. i will be glad if it can have a good display results ... View Questions/Answers

SQL SERVER 2008  May 11, 2011 at 11:42 AM
when i am fill the all fields in the form.but when i am retrive from the database it shows only firstname,age,address.remaining fields was shows as null.and it shows the gender as the on.i can't understand what wiil be happened here.Tell me the solution for this problem as quickly ... View Questions/Answers

Inbuild functions  May 11, 2011 at 9:57 AM
List all the inbuild functions in java? ... View Questions/Answers

java question  May 11, 2011 at 3:51 AM
the purpose of defining multiple constructor in java? ... View Questions/Answers

java  May 10, 2011 at 11:12 PM
write a java program for random permutation function..the algorithm is given below.according to algorithm java program is needed.. A. Key Generation : Perfun : It is a random permutation function {1,2,...P,P+1...2P}? {1,2,...P,P+1...2P} Step 1: Let si is a starting bit of a key. ... View Questions/Answers

java  May 10, 2011 at 11:08 PM
Write a Java program that uses recursive functions (a) To create a binary search tree.(b) To count the number of leaf nodes.(c) To copy the above binary search tree. ... View Questions/Answers

Remove history  May 10, 2011 at 8:28 PM
how to remove history in struts2 after clicking on logout link? ... View Questions/Answers

struts image uploading  May 10, 2011 at 6:57 PM
please let me know how to upload image in database using struts ..i have written form class and 'm hanging out in action class .... form FileUploadForm: package com.action.form; import org.apache.struts.action.ActionForm; import org.apache.... View Questions/Answers

struts image uploading  May 10, 2011 at 6:57 PM
please let me know how to upload image in database using struts ..i have written form class and 'm hanging out in action class .... form FileUploadForm: package com.action.form; import org.apache.struts.action.ActionForm; import org.apache.... View Questions/Answers

struts image uploading  May 10, 2011 at 6:57 PM
please let me know how to upload image in database using struts ..i have written form class and 'm hanging out in action class .... form FileUploadForm: package com.action.form; import org.apache.struts.action.ActionForm; import org.apache.... View Questions/Answers

struts image uploading  May 10, 2011 at 6:57 PM
please let me know how to upload image in database using struts ..i have written form class and 'm hanging out in action class .... form FileUploadForm: package com.action.form; import org.apache.struts.action.ActionForm; import org.apache.... View Questions/Answers

sqlserver2008  May 10, 2011 at 6:19 PM
when i enter the form details only mobile number and telephone was inserted succesfully.when i enter the SELECT * FROM registertable show the all fields all null excepi mobile and telephone tell me the solution for this here is the code abc.java ... View Questions/Answers

java code  May 10, 2011 at 6:09 PM
write a java code for finding a string in partiular position in a delimited text file and replace the word with the values given by user and write the file in new location ... View Questions/Answers

please tell me  May 10, 2011 at 5:57 PM
why we are using http protocol in servlets? ... View Questions/Answers

select query  May 10, 2011 at 5:38 PM
how to retrieve a single image from mysql table using $row[] value? ... View Questions/Answers

struts  May 10, 2011 at 5:36 PM
Hi,... please help me out how to store image in database(mysql) using struts. ... View Questions/Answers

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

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

DMCA.com