Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

how to solve this..  April 25, 2011 at 10:37 AM
Given a list of students and their marks Name | Science | Math | English | Computer Ahmad | 28 | 100 | 66 | 34 Samad | 56 | 89 | 55 | 55 Johan | 78 | 77 | 34 | 100<... View Questions/Answers

problem of confirmation  April 25, 2011 at 10:01 AM
sir, I tried ur code but when i click on cancel it still submits I dont need to pass id as record is already diaplayed using ajax and i used it in delete button like this <form method="post" id="myform" name="myform" action="delete_sup"> ... View Questions/Answers

Need an Example of calendar event in java  April 25, 2011 at 10:00 AM
can somebody give me an example of calendar event of java? ... View Questions/Answers

Advertisement

Accessing MS ACCESS databse using a HTML webpage [created using Javascript]  April 24, 2011 at 11:38 PM
HI team, This is Srinivas, and I have a query and i explained here... I have to save some datas in an MS ACCESS database file [*.mdb], after pressing the button - 'Submit'. the webpage includes fields like Name, Age, Sex, Country etc. And the datas in each fileld should be sav... View Questions/Answers

html  April 24, 2011 at 10:46 PM
diffrence between html and xml ... View Questions/Answers

error log and send Database  April 24, 2011 at 12:31 PM
hi my requirement is validate xml and xsd in java.If there is an errors then i will log error and store into error table. so plz if any one knows send code urgent. error table details-------------- Table Name: error_process columns... View Questions/Answers

error log  April 24, 2011 at 12:30 PM
hi my requirement is validate xml and xsd in java.If there is an errors then i will log error and store into error table. so plz if any one knows send code urgent. error table details-------------- Table Name: error_process... View Questions/Answers

Servlet  April 24, 2011 at 12:29 PM
Why init() is required to perform initialization activities instead of constructor? ... View Questions/Answers

function  April 24, 2011 at 10:06 AM
difference between function overloading and operator overloading ... View Questions/Answers

need someone to do/help with code  April 23, 2011 at 7:39 PM
i need someone to do a code for me. It is a restaurant menu that displays a list of 10 food items. A customer inputs what they want to eat and they receive back a total price for the order. Also, I want a second class that is able to tell the owner how much he made that day, along with the number... View Questions/Answers

read a positive real numbers from highest to lowest  April 23, 2011 at 6:46 PM
write a java program that will read a sequence of 10 positive real nos. entered by the user and will print the same numbers in sorted order from lowest to highest using arrays . PLEASE NEED HELP ,STUCK WITH THIS :( ... View Questions/Answers

help in java  April 23, 2011 at 5:23 PM
Shopping cart 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 ... View Questions/Answers

java help  April 23, 2011 at 5:22 PM
Design and implement a class called DateWriter that has three instance variables: a string for month, an integer for day, and an integer for year. The class should has a constructor to accept and initialize the values of the instance variables, and a getter and a setter method for each instance v... View Questions/Answers

java program  April 23, 2011 at 5:22 PM
accept two numbers and print their hcf ... View Questions/Answers

help in java  April 23, 2011 at 5:14 PM
Temperature Write a Temperature class that has two instance variables: a temperature value (a floating-point number) and a character for the scale, either C for Celsius or F for Fahrenheit. The class should have a number of constructor methods: one with two parameters for the two instance variabl... View Questions/Answers

java help  April 23, 2011 at 5:13 PM
Rational numbers are numbers that can be represented as a fraction p / q where p is an integer number and q is a positive integer (q != 0). Design and implement a Java class RationalNumber for representing such numbers. Implement methods to add and mutliply rational numbers. Implement a method fo... View Questions/Answers

help in java  April 23, 2011 at 5:11 PM
Gross And Dozens Design and implement a class called GrossAndDozens to convert a given number of eggs into the number of gross, the number of dozens, and to the number of left over eggs. If you have N eggs, then you have N/12 dozen eggs, with N%12 eggs left. Write a program that asks the user how... View Questions/Answers

Web Service  April 23, 2011 at 4:25 PM
Dear Sir, My code is :- For webService:- import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; @WebService public class PaymentInfo { @WebMethod public String updatePaymentDetails(@WebParam String[] parms) { ... View Questions/Answers

Web Service  April 23, 2011 at 4:25 PM
Dear Sir, My code is :- For webService:- import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; @WebService public class PaymentInfo { @WebMethod public String updatePaymentDetails(@WebParam String[] parms) { ... View Questions/Answers

jsp  April 23, 2011 at 1:13 PM
code for jsp automatic genration using html ... View Questions/Answers

HTML  April 23, 2011 at 12:57 PM
I want the following fields as in the form of grid view Fields are Name of the candidate,title of the work,description of the work,video of the work,image of the work,points from the judges and above of this grid form i want category and age as the drop down buttons.when i am select the c... View Questions/Answers

pagination  April 23, 2011 at 11:33 AM
please let me know how to fetch records from database and display them using paging in jsp and struts ... View Questions/Answers

Array Name  April 23, 2011 at 9:51 AM
How To Set Value in Two-Dimension ArrayList ??? ... View Questions/Answers

interfaces  April 23, 2011 at 3:44 AM
how we can define relationship between simple classes & interfaces. ... View Questions/Answers

java  April 23, 2011 at 12:57 AM
DocumentBuilderFactory say briefly about this ........with usage and package include details also... ... View Questions/Answers

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0  April 22, 2011 at 11:24 PM
Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp-servlet please gives me complete guidance steps ,code for SSL Implementation / enable In Apache Tomcat 6.0 ... View Questions/Answers

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0  April 22, 2011 at 11:24 PM
Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp-servlet please gives me complete guidance steps ,code for SSL Implementation / enable In Apache Tomcat 6.0 ... View Questions/Answers

Drop Down Box  April 22, 2011 at 10:47 PM
In a Drop Down box I want to show the user All the Country In the World. And when he type A-z,then each of the type Show those country which start with those word. Like I For-India. ... View Questions/Answers

16 Digit  April 22, 2011 at 10:41 PM
In a text box I can Only type A-Z & 1-10 upto 16 Digit. ... View Questions/Answers

Phone no  April 22, 2011 at 10:36 PM
I have box where i can only put the number except + . Like +91 ... View Questions/Answers

Two - dimension arraylist  April 22, 2011 at 7:19 PM
how to create two - dimension arraylist in jsp-servlet??? ... View Questions/Answers

HTML  April 22, 2011 at 5:23 PM
how can we give the unlimited size in the html ... View Questions/Answers

Html  April 22, 2011 at 4:45 PM
in the web page if judge select the age and category then automatically under that conditions the details will be display in the form of grid give me that code in html and java ... View Questions/Answers

Text box Checking  April 22, 2011 at 2:45 PM
I want to Write only the word A-Z in a text box What is the code? ... View Questions/Answers

HTML  April 22, 2011 at 12:25 PM
in html how can we can upload the file <tr> <td><strong>Video of the work:</strong> <td><b> <input type="text" name="Video of the work:" size="30"> </b> </td> </tr> ... View Questions/Answers

how to modify QuestionServlet.java page?  April 22, 2011 at 12:12 PM
Dear frnds, how to modify existing QuestionServlet. java file. ... View Questions/Answers

help in java  April 22, 2011 at 7:57 AM
Rational Numbers Rational numbers are numbers that can be represented as a fraction p / q where p is an integer number and q is a positive integer (q != 0). Design and implement a Java class RationalNumber for representing such numbers. Implement methods to add and mutliply rational numbers... View Questions/Answers

help in java  April 22, 2011 at 7:56 AM
Write a program that will evaluate simple expressions such as 17 + 3 and 3.14159 * 4.7. The expressions are to be typed in by the user. The input always consist of a number, followed by an operator, followed by another number. The operators that are allowed are +, -, *, and /. Your program should... View Questions/Answers

help in java  April 22, 2011 at 7:55 AM
Team Roster Create a program called TeamRoster that uses a class called Roster. Roster should contain a team name and the names of all the players on the team written into one string. Use a method called addTeamMember() to append a new member to your roster string. After creating two roster... View Questions/Answers

help in java  April 22, 2011 at 7:54 AM
Write a Temperature class that has two instance variables: a temperature value (a floating-point number) and a character for the scale, either C for Celsius or F for Fahrenheit. The class should have a number of constructor methods: one with two parameters for the two instance variables, and a no... View Questions/Answers

help in java  April 22, 2011 at 7:51 AM
3.Flights Design and implement a class called Flight that represents an airline flight. It should contain instance data that represents the airline name, flight number, and the flight's origin and destination cities. Define the Flight constructor to accept and initialize all instance data. Includ... View Questions/Answers

help in java  April 22, 2011 at 7:39 AM
Design and implement a class called Sphere that contains instance data that represents the sphere's diameter. Define the Sphere constructor to accept and initialize the diameter, and include getter and setter methods for the diameter. Include methods that calculate and return the volume and surfa... View Questions/Answers

Multi-Date Handling Problem  April 22, 2011 at 3:34 AM
In our project we are using Oracle 10g as our data base, the problem is that we are picking In-date & Out-date from a calendar and on the basis of that date we are checking that on that date some features are available or not, if available then we are storing that data to our Database, but we... View Questions/Answers

updating an access database with visual basic 2010  April 21, 2011 at 11:59 PM
I am building a program in visual basic 2010 that connects to an access database. I was wondering if you could help me figure out the code for the save button. When the information is entered I need it to update the information in access. This information needs to be updated on at least two of... View Questions/Answers

Related to Project  April 21, 2011 at 9:38 PM
how speech to text project can be make in java? Please tell me the coding part therapeutically i know i have to use java speech api which offer two technology 1. speech recognization 2. speech syenthesis but i have no coding idea? please help me......... ... View Questions/Answers

Javascript DOM  April 21, 2011 at 9:24 PM
I'm getting into client-side scripting using javascript. I am attempting to build a football team fixture application. The user would able to enter the number and name of the teams and then applicaion would generate a fixture list. I was knocking about using DOM ... View Questions/Answers

Sql Query  April 21, 2011 at 9:09 PM
Is this query work in Db2 or not ? Select * from FORUM LIMIT 2; ... View Questions/Answers

Sql Query  April 21, 2011 at 9:09 PM
Is this query work in Db2 or not ? Select * from FORUM LIMIT 2; ... View Questions/Answers

java prog  April 21, 2011 at 7:45 PM
write a java program to accept a file name as command line argument.Append the string "file modified by program" to the end of the same file and print the contents of the modified file. ... View Questions/Answers

Why disable.this works in fireFox but n ot IE  April 21, 2011 at 7:20 PM
When I put this line of code in my program, it works beautifully in firefox, but does not submit when using IE <input type="submit" id="9" value="Generate Report" onclick="this.disabled=true; value='Please wait while report generates';"> Any ideas? I a... View Questions/Answers

pagination.jsp  April 21, 2011 at 7:15 PM
<p>&lt;%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> &lt;% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %></p&g... View Questions/Answers

pagination.jsp  April 21, 2011 at 7:15 PM
<p>&lt;%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> &lt;% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %></p&g... View Questions/Answers

Downloader  April 21, 2011 at 5:50 PM
How to make a downloader with help of JSP? ... View Questions/Answers

Redirect Entire Frame  April 21, 2011 at 4:06 PM
Hello All:) I ve 2 frames in a html file. Say Header and Trailer. I ve a link to logout. When i click on logout, it will redirect in the trailer part. Before redirecting the page i had redirected to some other JSP file say process_logout.jsp. The header part will remain constant.<... View Questions/Answers

inheritqnce and polymorphyism  April 21, 2011 at 4:02 PM
what is inheritance and polymorphysm? ... View Questions/Answers

Connected Mode and Dissconnect mode coding concept.  April 21, 2011 at 2:18 PM
Tell Me about Connected Mode and Dissconnect mode coding concept. also give me some syantax. ... View Questions/Answers

Tomcat  April 21, 2011 at 12:46 PM
to run one application in tomcat server which files we need.i think jsp,xml,html is sufficient ... View Questions/Answers

html  April 21, 2011 at 11:37 AM
how we can give the form actions in html after register button in the login page ... View Questions/Answers

hibernate  April 21, 2011 at 11:14 AM
hi what are the necessary jar files that we need to set in the classpath to execute a hibernate application ... View Questions/Answers

linked list  April 21, 2011 at 11:04 AM
program for single linked list? ... View Questions/Answers

fibanocii  April 21, 2011 at 11:03 AM
program for fibanocii series? ... View Questions/Answers

Palindrome  April 21, 2011 at 11:00 AM
program to verify palindrome? ... View Questions/Answers

security  April 21, 2011 at 10:19 AM
how we provide security to on line project. using security algorithum. ... View Questions/Answers

reconfirm problem  April 21, 2011 at 9:15 AM
sir, I tried ur following code <script language="javascript"> function deleteRecord(){ var doIt=confirm('Do you want to delete the record?'); if(doIt){ var f=document.form; f.method="post"; f.action='../delete_sup?'; f.submit(); ... View Questions/Answers

Please provide coding for following problem  April 21, 2011 at 7:14 AM
Please provide the coding for the following problem: You will write a java program that will read data from a file. The data in the file will be: John Doe 75 Joe Blow 65 Mary Smith 80 John Green 82 Jill White 97 The program will rad the data into three separate arrays: Firstname a... View Questions/Answers

Can ArrayList accept an ImageIcon >>????  April 21, 2011 at 5:02 AM
haw can create ArrayList witch can accept Image ..mean when i use add() method, instead item let me add image to the ArrayList in run time .{should be the program using GUI}.. please help me please ... View Questions/Answers

CSS Apply  April 20, 2011 at 11:24 PM
How can I apply different CSS to my application for background by taking CSS list in Select tag i.e. Combo box. for e.g As in Orkut we select theme & by clicking to apply it changes background theme & color but data is same plz give me solution and respective code for that ... View Questions/Answers

foreign key error in sql  April 20, 2011 at 10:23 PM
create table matchdetails(mid varchar2(10),mdate date,team1 varchar2(10),team2 varchar2(10), stadium varchar2(10),city varchar2(10),mom varchar2(10),primary key(mid,mdate); ->the match tablle is created create table batsman(mid varchar2(10),pid varchar... View Questions/Answers

java program  April 20, 2011 at 10:20 PM
write a program that accepts only 3 integer values as command line arguments.print the values enter by the user. handle ArrayIndexOutofbounds exception and number format exception by providing appropriate message. ... View Questions/Answers

enable text box  April 20, 2011 at 7:48 PM
Dear all I would like to enable a textbox by clicking on a button. pleas ehelp me out how can i do this regards JV ... View Questions/Answers

pagination.jsp  April 20, 2011 at 7:35 PM
org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/pagination.jsp at line 54 51: } 52: String query1="SELECT SQLCALCFOUND_ROWS * FROM db2admin.reglimit "+iPageNo+","+showRows+""; 53: ps1=conn.prepareStatement(query1); 54: rs1=ps1.executeQuery(); 55... View Questions/Answers

public String getResult  April 20, 2011 at 6:31 PM
String temp=""; for (int i=0,j=1; i<j; i++,j++){ if ((x[i].indexOf((d))!=-1){ temp+=x[i]; temp+=":"; } { return temp; } what is the output when d= "life" and x={"life is full"."great life"."despair life"."lif"."beauty life"."kill"."... View Questions/Answers

create folders and sub folders based on excel data  April 20, 2011 at 4:32 PM
Hi, i have a requirement that , read the data from excel sheet and based on that data i need to create folders and subfolders. here the excel sheet looks like this: **Parent_folder Sub_Folder1 Sub_Folder2** Bank Department Banking ... View Questions/Answers

Saving image and text in mysql db using spring?  April 20, 2011 at 3:13 PM
Hii, My requirement is to save the employee details(including image) into mysql db.i want to save the image location in db .And actual image(binary formate) should save into server? Iam using spring.Iam not getting how to do this.Plz help me... ... View Questions/Answers

JAVA  April 20, 2011 at 3:06 PM
send me one example program by combining the Servlets, JavaScript,html,Jdbc in this take the fields as name,email,password.apply some conditions to email and password.then we are retrieve this from our database ... View Questions/Answers

sql,java  April 20, 2011 at 3:02 PM
i am writing some code in java.that values are stored in database.plz send me one example for this for example taking the fields as s.no,category,name of the candidate,age,title of the project,video uploading,photo uploading like that..... ... View Questions/Answers

reading dropdown values from properties file in jsp  April 20, 2011 at 12:08 PM
reading dropdown values from properties file in jsp ... View Questions/Answers

Confirm problem  April 20, 2011 at 12:05 PM
Sir i have used following code in button delete onclick="if (confirm('sure?')) submit();" and if i choose cancel it still submits the form however if choose cancel i want to remain on same jsp page please help ... View Questions/Answers

Javascript & jsp  April 20, 2011 at 11:56 AM
Dear Sir, Thanks a ton for all your answers throughout.I asked this question long ago.This time i nedd it very urgent.I think it might be a short solution.How can i get the navigation link whilr traversing through the pages. e.g.-On the top of the page if i navigate to the page pa... View Questions/Answers

JSP Email  April 20, 2011 at 11:21 AM
Hi, How to send email using JSP? Thanks ... View Questions/Answers

collections  April 20, 2011 at 11:00 AM
please explain me d flow import java.util.*; public class Array{ public static void main(String[] args){ int arr[]={10,45,25,6,78,12,21}; int arr1[]={10,45,25,6,78,12,21}; int arr2[]={10,45,85,45,12,78,296}; ... View Questions/Answers

code for multiplication of matrix in java using methods  April 20, 2011 at 10:23 AM
code for multiplication of matrix in java using methods ... View Questions/Answers

confirm delete  April 20, 2011 at 9:40 AM
Sir, I want to ask confirmation before deletion, i m using submit button then the form is passed to servlet for deletion,Please help Thanks in advance ... View Questions/Answers

java  April 20, 2011 at 8:31 AM
how to delete all record from table in netbeans. ... View Questions/Answers

Cramers rule for solving equations using java  April 20, 2011 at 1:50 AM
My code: import java.util.Scanner.*; import java.util.*; public class cramersrule { double A[][]; double m[][]; int N; double B[]; public void input() { Scanner s=new Scanner(System.in); System.out.println("enter no of equations of ma... View Questions/Answers

gauss elimination of system of linear equations using java code  April 20, 2011 at 1:46 AM
Here is my code: import java.util.Scanner; import java.util.*; public class gausselimination { private static final double EPSILON = 1e-10; int n;int N; double A[][]; double B[]; public double[] lsolve(dou... View Questions/Answers

determinant of n*n matrix using java code  April 20, 2011 at 1:43 AM
Here is my code: import java.util.Scanner.*; import java.util.*; public class determinantcode { double A[][]; double m[][]; int N; public input() { Scanner s=new Scanner(System.in); System.out.println("enter dimension of matrix"); N... View Questions/Answers

pattern  April 19, 2011 at 9:05 PM
write a java program that can create four different patterns of different sizes. The size of each pattern is determined by the number of columns or rows. For example, a pattern of size 5 has 5 columns and 5 rows. Each pattern is made of character $ and a digit, which shows the size. The size must... View Questions/Answers

Read the value from XML in java  April 19, 2011 at 6:24 PM
Hi, i have an XML with the following code. ... View Questions/Answers

Export data to Excel Sheet in STRUTS 1.3  April 19, 2011 at 6:15 PM
hi. how can i export content present on the jsp to excel sheet on button click..... and challenging part is i have to merge few rows and columns for a particular field(Value)...... Can any one please provide me with an example...... i have gone through POI API but... View Questions/Answers

Create a web application using any technology to display 10 most relevant tweets from Twitter in real-time for the keyword  April 19, 2011 at 5:18 PM
Create a web application using any technology to display 10 most relevant tweets from Twitter in real-time for the keyword "@cldmgc". ... View Questions/Answers

java Thread  April 19, 2011 at 5:17 PM
what is purpose of Thread..? ... View Questions/Answers

data insertion from xml file to database table  April 19, 2011 at 5:16 PM
Hi all, I have data in the XML file. I need to insert it into table in the database using servlet. so please reply me . ThankYou ... View Questions/Answers

Issue in Converting .zip file to .jar file?  April 19, 2011 at 3:53 PM
I have a folder called "printpdf.jar". I have changed the .jar to .zip and did some customizations. After which i had "zipped" it again and made as ".jar". Now the final file is displayed in executable icon rather then text editor icon. How do i make it display in text editor icon. ... View Questions/Answers

pagination.jsp:  April 19, 2011 at 3:36 PM
After runing this jsp it again gives exception . pls can u tell what is reason behind this ?? An Exception is that:- org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/pagination.jsp at line 49 46: } 47: String query1="SELECT SQLCALCFOUND... View Questions/Answers

answer  April 19, 2011 at 1:02 PM
true statements with relation to "sed" command: ... View Questions/Answers

collections  April 19, 2011 at 12:34 PM
please explain me the flow of this prog import java.util.*; public class listinterface { /** * @param args */ public static void main(String as[]) { ArrayList al= new ArrayList(); al.add(new Integer(99)); al.add("sri"); al.add... View Questions/Answers

collections  April 19, 2011 at 12:33 PM
please explain me d flow of this prog in detail import java.util.*; public class HashTreeLinkedhashset { public static void main(String args[]) { HashSet hs=new HashSet(); hs.add(new Integer(99)); System.out.println("sri"); hs.a... View Questions/Answers

Table Creation  April 19, 2011 at 12:31 PM
create the table for the following fields.its very urgent for me.plz help me S.No,Category( From the home page),Name of the Candidate( After registering and after selecting the category),Age,Title of the project,Description,Photo of the project,Video of the project,File of the project,Judges poi... View Questions/Answers

Multi window  April 19, 2011 at 12:30 PM
I am making a bank app using struts 1.2. using only the struts tags and nno jsp tags and scriplets. db connected thru dao. 1st page contains all the details. when i submit this page, a new window opens and asks to enter password. if password entered is correct, the flow goes to previous w... View Questions/Answers

DMCA.com