Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

About connection database oracle to java  May 13, 2011 at 7:11 PM
I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Administrative Tool... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:09 PM
I culdn't connect oracle datebase to java.when i compile the program it is ok. but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Administrative Too... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:05 PM
Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Admini... View Questions/Answers

Advertisement

About connection database oracle to java  May 13, 2011 at 7:04 PM
Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Admini... View Questions/Answers

how to set the values in jsp  May 13, 2011 at 7:03 PM
how to set the values text boxs in jsp frm dbase via servlet ... View Questions/Answers

How to find unweighted Path with Less weighted path in java?  May 13, 2011 at 5:44 PM
I have methods to find weighted and unweighted(Djistra) so I to output unweighted path that has less weighted cost...e.g if I have A->B->C and A->F->C the unweighted is 2 for both so I want to output the one with less cost(weighted) Please help ... View Questions/Answers

paypal integration  May 13, 2011 at 4:00 PM
Could pls anyone help in selecting the correct product in PayPal. In my website, i have a form in which customer will select whether he is a foreigner or singaporean. If foreigner he has to pay some 1000$....on submiting the form it should redirect to paypal and customer pays the amount and shoul... View Questions/Answers

upload pdf  May 13, 2011 at 3:53 PM
i want to dispal content of pdf fil and stored into database in human readable form using php . how can i do this? ... View Questions/Answers

how do i provide down a pdf document fecility on my web page using jsp and servlets?  May 13, 2011 at 12:48 PM
Hai, I need a program to provide download option for pdf file on my web page,the pdf file contains retrieved data from mysql table. I need this program by using jsp-servlets. any one can help me please?? Thanks&Regards Divya ... View Questions/Answers

Data base Connectivity  May 13, 2011 at 11:56 AM
How to configure JDBC connection for Oracle data base.In configuring it is asking select Data server name and TNS.I typed Oracle for Data Server Name and IN TNS what to type? I pulled the list for TNS ,but there is only one type EXPORCONCUR etc.NOW the problem is that iam not... View Questions/Answers

c question  May 13, 2011 at 11:26 AM
How to convert decimal numbers into binary digits without using pow function in c language? ... View Questions/Answers

html  May 13, 2011 at 10:50 AM
Already i am using this code but its not working ur coding: <tr><td valign="top"><strong>Address: </strong></td><td><textarea name="Address" rows="8" cols="30"> </td></tr> my coding: <tr> ... View Questions/Answers

how can i display a editable result of form?  May 13, 2011 at 8:02 AM
how can i display a editable result of form? i know how to display form result but the result is display on text. i cant modify them. i have a form with hundreds of checkbox. i want to display form result in same page i have alredy created a hidden div which show the result but i can not modify... View Questions/Answers

Struts 2 imagae set to frame.  May 12, 2011 at 11:39 PM
I could not set image to frame in stuts 2. Here is the code : 1)index.jsp <%@ taglib uri="/struts-tags" prefix="s" %> <%@taglib uri="/struts-images" prefix="img"%> <img:image src="%{src}" width="150" height="200"/> ... View Questions/Answers

swing  May 12, 2011 at 11:33 PM
Write a java swing program to delete a selected record from a table. ... View Questions/Answers

Swing  May 12, 2011 at 11:32 PM
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. Use JDBC. ... View Questions/Answers

Swing  May 12, 2011 at 11:32 PM
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. Use JDBC. ... View Questions/Answers

expand and collapse data in jsp  May 12, 2011 at 11:01 PM
function fun1(h) { var tbl = document.getElementById('div1'); tbl.style.display = h;} function fun2(h) { var tbl = document.getElementById('div2'); tbl.style.display = h;} function fun3(h) { var tbl = document.getElementById('div3'); tbl.style.display = h;} fu... View Questions/Answers

<img src=""> using retrieve image from database using jsp  May 12, 2011 at 8:47 PM
how to <img src="" > tag using retrieve image from database and display in jsp........ View Questions/Answers

retrive image from database using jsp without stream  May 12, 2011 at 8:45 PM
How to retrive image from database using jsp without stream like (inputStream) ... ... View Questions/Answers

J2ME password keeper  May 12, 2011 at 8:22 PM
Hi, how can i create a password keeper app in J2ME ? i want it to save the password of an email for an example then the user can delete it. i did the saving part but i dont know how to make him able to delete it. please help? ... View Questions/Answers

Html  May 12, 2011 at 6:31 PM
in html form for the address by using input as textarea i am writing the code as <tr> <td valign="top"><strong>Address: </strong></td> <td><textarea name="Address" rows="8" cols="30"> ... View Questions/Answers

Two Pagination in one page  May 12, 2011 at 5:46 PM
hai friends any one help me. how do u make two pagination script in same page i'm used some ajax coding one pagination script is working but another pagination is not working please help me urgent ... View Questions/Answers

insert checkbox in cell using POI api in java  May 12, 2011 at 3:40 PM
I need to insert checkbox in excel cell using POI and java. Any one help me on this. Ashok S ... View Questions/Answers

Google Map get Current Location on iphone and Android phones  May 12, 2011 at 2:45 PM
Hi, I am writing a simple javascript to get longitude and latitude for current location by using google API , but it works in my desktop browser but it doesn't in Iphone and androids, Can any one help me in this Please.or any one tell why it is not working Thanks in advance ... View Questions/Answers

List interface  May 12, 2011 at 12:55 PM
Give me some of the real time examples that can be developed based on List and its implemented classes.? ... View Questions/Answers

HTML  May 12, 2011 at 12:36 PM
tell me the coding for Dateofbirth in html.when we fill this field in form the data will be store into database.my database is the sql server 2008.i am giving the datatype as date. and also i am try put the datatype as datetime,datetimeoffset but its not working. when i am select the dateofbirth... View Questions/Answers

vaidate a date from datepicker in javasript  May 12, 2011 at 12:06 PM
validation should be the user should be alerted wen a future date is selected..validation can be done in javascript or jsp itself ... View Questions/Answers

Tomcat  May 12, 2011 at 12:05 PM
i have a problem in starting tomcat server.. May 12, 2011 12:03:38 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:8080 at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi... View Questions/Answers

Validation of datepicker  May 12, 2011 at 12:02 PM
I have a datepicker in my JSp...the seleted dates are put in a text box. I want the alert the user from selecting future dates in the startDate and enddate textbox.So that the user will be alerted wen a future date is entered..How to do this validation in javascript or jsp ... View Questions/Answers

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

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

DMCA.com