Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

HTML  May 17, 2011 at 4:04 PM
Following is the my coding.but when i click on submit it can not take the form action **Here is my code** <html> <head> <body><form method="post" action="http://localhost:8080/sss/post"></form></body> <center> <ta... View Questions/Answers

HTML  May 17, 2011 at 4:04 PM
Following is the my coding.but when i click on submit it can not take the form action **Here is my code** <html> <head> <body><form method="post" action="http://localhost:8080/sss/post"></form></body> <center> <ta... View Questions/Answers

Clipped Sine Wave  May 17, 2011 at 3:30 PM
Can you provide the code for clipped sine wave?? ... View Questions/Answers

Advertisement

Blob update in hibernate  May 17, 2011 at 12:07 PM
Hi , I wanted to upload a blob into mysql database using hibernate. Could you please help me . Thanks in advance, Satchidanand Mohanty ... View Questions/Answers

Applets  May 17, 2011 at 10:16 AM
how can we execute remote applet? ... View Questions/Answers

reain values  May 17, 2011 at 9:31 AM
Sir I have Jsp page for regisering customers,when i submit form it goes to servlet in servelets it checks for the username if it already exits i m using reuest.sendredirect to same jsp but all textbox values are cleard, i want to retain all values in textboxs after request.sendredirect .Please Hl... View Questions/Answers

Matrix Class  May 17, 2011 at 8:37 AM
A class to manage matrices and add them. Create in the driver class two objects of it and use the add method ... View Questions/Answers

Matrix Class  May 17, 2011 at 8:37 AM
A class to manage matrices and add them. Create in the driver class two objects of it and use the add method ... View Questions/Answers

Flower Shop Ordering To Go  May 17, 2011 at 8:36 AM
Create a flower shop application which deals in flower objects and use those flower objects in a bouquet which can then be sold. The flower object has a flower name, color, quantity. Adding a particular flower to a bouquet depends on the user choice. HINT: you should keep track of the number of o... View Questions/Answers

Count Vowels  May 17, 2011 at 8:35 AM
Read a string from the user, your program counts the number of vowels in the text and have it report a sum of each vowel found as well as the number of spaces. Make it in two classes ... View Questions/Answers

sql  May 17, 2011 at 4:36 AM
how to display the values in the same order as i entered from a certain table... ... View Questions/Answers

image displaying from database with some other information  May 17, 2011 at 2:17 AM
hi, in the following section of code when i am not displaying the image it is working properly but when i tried to display the image nothing is displayed on browser only a cross mark is shows. same code runs if i am not retriveing any data from admin table my image table has two entries img bl... View Questions/Answers

JavaScript  May 16, 2011 at 9:52 PM
how to get full path of a file type in javascript? ... View Questions/Answers

pop up  May 16, 2011 at 1:33 PM
how to create pop up in html? ... View Questions/Answers

database problem  May 16, 2011 at 1:20 PM
I did connect my jsp page to database and it showed the result on another jsp page but i want to show the data of that field on which i click to mouse from the jsp page where all the data field has been showed. Please suggest me what will the code of it. ... View Questions/Answers

database problem  May 16, 2011 at 1:20 PM
I did connect my jsp page to database and it showed the result on another jsp page but i want to show the data of that field on which i click to mouse from the jsp page where all the data field has been showed. Please suggest me what will the code of it. ... View Questions/Answers

creating pop up menu  May 16, 2011 at 12:22 PM
how to create a pop up menu when a link in html page is clicked using jquery? and the link should be a text file ... View Questions/Answers

Java  May 16, 2011 at 12:11 PM
i want coding for the calender. In my form i have start date and end date for this i want to display a calender image beside the text field of start date and end date.i want to select the date from the calender image ... View Questions/Answers

Object Output Stream  May 16, 2011 at 10:37 AM
Can anyone decode the data from a file which is written by ObjectOutputStream?? I want to know if this is a secure way to write protected data without encryption ... View Questions/Answers

help in java please  May 16, 2011 at 1:37 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... View Questions/Answers

Count number of occurences and print names alphabetically in Java  May 15, 2011 at 9:33 PM
I have this code: public class Names { public static void main(String[] args) { String[] s = {"bob", "tom", "jim", "tom", "tom", "tim"}; printCount(s); } public static void printCount(String[] sa) { //code } } Need to write the code for the printCount() method for the code... View Questions/Answers

Java is an opensource program or not? why???  May 15, 2011 at 7:40 PM
Java is an open source program or not.. why??? ... View Questions/Answers

jsp  May 15, 2011 at 3:15 PM
Hi,please send me login page code using jsp ... View Questions/Answers

Insert or retrieve image into oracle 10g by using java  May 14, 2011 at 8:38 PM
How can i insert or retrieve image into oracle10g using java plz i need it urgently,need guidance to do this plz...... ... View Questions/Answers

Write a program in java...  May 14, 2011 at 6:42 PM
Hi, friends Please, can you help me? Q1: Write a program in java to simulate a calculator. Your program should take two numbers and an operator(+,-,*,or/), from the user in the following format: number1 operator number2 (For example 2 + 4) and print the result.Take all variables u... View Questions/Answers

Array in Java  May 14, 2011 at 12:59 PM
public class tn { public class State{ String s_name; int p1; int p2; } public void f(){ State[] s = new State[10]; int [] i = new int[10]; i[0] = 1; //right s[0].p1 = 1; //error N... View Questions/Answers

no dues clearance module  May 14, 2011 at 11:36 AM
I need to build a no dues clearance module.an employee id is entered in an html page and checked whether its a valid id or not.if the employee id is valid then the employee will give the reason for leaving which will be a checklist.then on the click of submit button 3 emails must be sent to 3 adm... View Questions/Answers

why above code returning the value of squares is 82... even after returning an increnented value of squares... please help me...  May 14, 2011 at 10:59 AM
public class d55 { int squares = 81; public static void main(String[] args) { new d55().go(); } void go() { incr(++squares); System.out.println(squares); } int incr(int... View Questions/Answers

nested loops  May 14, 2011 at 10:52 AM
please tell input to get the output: 12345 23456 34567 45678 ... View Questions/Answers

project  May 14, 2011 at 12:36 AM
sir i want to a project on railway reservation,sir plz give me the source code ... View Questions/Answers

Oracle Database connectivity probem  May 13, 2011 at 9:56 PM
hi Below is the code of oracle database connectivity, when i compile it, it will show the error: oracle.jdbc.driver.OracleDriver I am using netbeans 6.5 and tomcat 6.0 and jdk 1.6 i have also set the environment variable like that .;E:\oracle\ora81\jdbc\lib\classes12.zip;E:\oracle\ora81\jdbc\li... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:12 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>>Administrative T... View Questions/Answers

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

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

DMCA.com