Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

show selected date range in calender  November 14, 2011 at 2:53 PM
helo, i'm working in a project in jsp. suppose thier are 2 textbox 1.start date 2. end date whatever date selected in these textbox get highlighted in the calendar, please help. ... View Questions/Answers

Please Provide jquery inline form validation  November 14, 2011 at 2:27 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Lab Account</title> </hea... View Questions/Answers

Please provide jquery inline form validation for the code  November 14, 2011 at 2:24 PM
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Student Form</title> <script type="text/javascript" src="Datetimepicker.js"></script> <body bgcolor="white"> <form... View Questions/Answers

Advertisement

Sort the element find mean  November 14, 2011 at 2:00 PM
Hi Friend, I want to find meaning of some real numbers like, if we have numbers- 52.15, 89.0, 314.48, 845.75, 309.11, 575.36, 398.98, 318.64, 2485.12, 377.44 Then I want to find the mean of 314.48,309.11,398.98,318.64,377.4... View Questions/Answers

convert to GUI  November 14, 2011 at 1:13 PM
import java.util.Scanner; public class Exam { public static void main (String args[]) { int numberStudent, mark, markAplus = 0, markA = 0, markBplus = 0, markB = 0, markBminus = 0, i; int markCplus = 0, markC = 0, markCminus = 0, markDplus = 0, markD = 0, markE = 0; Scann... View Questions/Answers

basic question  November 14, 2011 at 1:05 PM
how we create a new table with the same structure and data of another table ... View Questions/Answers

JavaSwing  November 14, 2011 at 11:30 AM
I create 4 text box and 3 buttons.button1 is using increment option and button2 using decrement option button3 using reset option.when i click the button1 the value will be increase and the result is shown into the textbox same as button2 and button3. ... View Questions/Answers

applet tag requires code attribute.  November 13, 2011 at 10:35 PM
import java.applet.*; import java.awt.*; import java.awt.image.*; /*<applet code=Lavatron.class width=590 height=130> <param name="img" value="swsm.jpg"> <applet/> */ ... View Questions/Answers

Sum of positive and negative numbers  November 13, 2011 at 4:45 PM
Hi if someone could help that would be great Write a program to read in 10 integer values and output the sum of all the positive integers and the sum of all the negative integers. ... View Questions/Answers

without writing web.xml file we can write servlet program  November 13, 2011 at 9:27 AM
Sir Morning... Sir I have one Question "without writing web.xml file we can write servlet program". if yes which way? if no why? but without use Annotation........ Plz gine me the Answer................Sir. ... View Questions/Answers

Help Me in My Java Work  November 12, 2011 at 9:49 PM
Can you help me please... Write a Java application, to be called GpaCalculator, which will return a grade point average (GPA) when given a range of decimal figures representing a selection of exam marks. The GpaCalculator should assign a GPA value to each exam mark, and then calculate the... View Questions/Answers

mail  November 12, 2011 at 9:17 PM
I wrote a program to send mail using smtp. But there is an error message " could not connect to smtp.gmail.com port 465. what is the problem how can i solve it ... ... View Questions/Answers

Tomcat  November 12, 2011 at 7:32 PM
I am using UBUNTU and I want to install tomcat to run servlet programs. ... View Questions/Answers

how to upload file using FTP in java  November 12, 2011 at 11:02 AM
hai, i want to upload file using FTP in java Webservices.. Tel me some Articles Regards Asha ... View Questions/Answers

Average  November 12, 2011 at 8:21 AM
I have created a file that reads in a text file for a combo box which are exams assignments and quizes. I then have a a textfield that places the scores with the selected item in the combo box. I then add the info to a text area. I am trying to extract the grads for each of the items (quizes, ... View Questions/Answers

Programming (general)  November 12, 2011 at 4:55 AM
I haven't yet started college/university but I'm interested in studying programming. I wondering if programming is difficult or confusing with all the codes you have to learn? Also how many languages would you learn? I'm 16 and wanted to start a language or two before I start university. Thanks f... View Questions/Answers

How do I sort by mutiple columns that are in ArrayList using some comparable class  November 12, 2011 at 4:15 AM
Iam reading a csv file with 20 columns (all string types) in ArrayList after splitting them. I need to find how can I sort muti columns (i.e. sort by column 1 than sort by column 2 within that and finally column3 within that) Thanks ... View Questions/Answers

Java Program for Calculating Marks  November 12, 2011 at 3:08 AM
Hi Everyone, I have a assignment that requires me to a write simple java program that will calculate marks for 10 students. I must use an array to ask user to key in the marks for the 10 students. The marks consist of two tests, test 1 and test 2. I also need to calculate and find the bes... View Questions/Answers

Java Program for Calculating Marks  November 12, 2011 at 3:08 AM
Hi Everyone, I have a assignment that requires me to a write simple java program that will calculate marks for 10 students. I must use an array to ask user to key in the marks for the 10 students. The marks consist of two tests, test 1 and test 2. I also need to calculate and find the bes... View Questions/Answers

Java Program for Calculating Marks  November 12, 2011 at 3:08 AM
Hi Everyone, I have a assignment that requires me to a write simple java program that will calculate marks for 10 students. I must use an array to ask user to key in the marks for the 10 students. The marks consist of two tests, test 1 and test 2. I also need to calculate and find the bes... View Questions/Answers

Java Program for Calculating Marks  November 12, 2011 at 3:07 AM
Hi Everyone, I have a assignment that requires me to a write simple java program that will calculate marks for 10 students. I must use an array to ask user to key in the marks for the 10 students. The marks consist of two tests, test 1 and test 2. I also need to calculate and find the bes... View Questions/Answers

design chart takes data from database and through jsp page  November 12, 2011 at 1:30 AM
how can I design chart takes data from database and through in jsp page ... View Questions/Answers

line chart from database in jsp  November 12, 2011 at 1:10 AM
how can i create line chart from database in jsp code ... View Questions/Answers

actullay iam week in programming logic , and than iam not getting how to trace the programming while excuting time ..  November 12, 2011 at 12:35 AM
how to find the auto widening and explicit narrowing? and than what's the difference between auto widening and explicit narrowing? ... View Questions/Answers

actullay iam week in programming logic , and than iam not getting how to trace the programming while excuting time ..  November 12, 2011 at 12:35 AM
how to find the auto widening and explicit narrowing? and than what's the difference between auto widening and explicit narrowing? ... View Questions/Answers

how to develop student details using springs  November 11, 2011 at 9:57 PM
how to develop student details using springs? ... View Questions/Answers

Scanner class  November 11, 2011 at 8:14 PM
import java.util.*; class Dd { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); System.out.println(a+b); } } What's wrong init. my program does not work it sho... View Questions/Answers

Scanner class  November 11, 2011 at 8:11 PM
what have to do when an error occur about Scanner class.i code scanner sc=new Scanner(System.in); but it shows an error regarding this. ... View Questions/Answers

jar file with html  November 11, 2011 at 5:49 PM
I have a jar file. On double click it shows an applet page. Please tell me how to connect that applet into html or jsp page? ... View Questions/Answers

Chatbox creation problem  November 11, 2011 at 4:37 PM
i have one chat box in my web site and i assigned fixed position to that div.that is workin in mozill but it is not working in ie . thank you`print ("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-... View Questions/Answers

how to store image in oracle express edition using servlet  November 11, 2011 at 4:00 PM
strong text how to store image in oracle express edition using servlet? ... View Questions/Answers

how to display webservice response in a text box  November 11, 2011 at 3:34 PM
Hallo, i have created a webservice and when i sended request to my webservice its sending proper response . the point is how to dispaly the response values in a text box usinj ajax.provide some help pls thanks K.K ... View Questions/Answers

java coding  November 11, 2011 at 2:50 PM
sir i need code for how to send meg from one system to another system ... View Questions/Answers

network bassed program  November 11, 2011 at 2:46 PM
sir... i need code for how to sending meg one system to another system using java program plz send coding ... View Questions/Answers

Help me to create a sharing text just like facebook using jsp servlet and oracle  November 11, 2011 at 1:59 PM
I tried to use lot of methods but i couldn't get the proper method to do the share option. While a person is login into the web page he can share some thing into public! so please help me to do this project. And one more thing is that i want to pass a value to servlet without refr... View Questions/Answers

Looking for change password in iphone application sdk using sqlite  November 11, 2011 at 12:58 PM
i am trying to change old password in my iphone application my code is below please help how can i do .... -(IBAction)matchpassword{ //sqlite3_stmt *updateStmt; sqlite3 *database; const char *dbpath = [databasePath UTF8String]; sqlite3_stmt *statement; ... View Questions/Answers

how to display each arraylist value on new page in jsp  November 11, 2011 at 12:57 PM
hi!!!! i want to display each arraylist value on new page in jsp????? and also want to access the arraylist values using next button..... any help would be appreciated!!! Thanks & regards ... View Questions/Answers

java code for accept city name and gives temparature,wind speed,humidity exts along with description  November 11, 2011 at 11:36 AM
java code for accept city name and gives temparature,wind speed,humidity exts along with description ... View Questions/Answers

Drop down combos  November 11, 2011 at 11:30 AM
Hi.. How to write a javascript for linked combo dropdown boxes. ... View Questions/Answers

How to solve this java code by adding the student marks not in the list of the table. For example -10 and 156 in GUI?  November 11, 2011 at 2:37 AM
import java.awt.*; import javax.swing.*; import java.awt.event.*; public class MarkStudent { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; } public double getTotalMarks() { return ... View Questions/Answers

interface  November 11, 2011 at 12:06 AM
what the use of interface? ... View Questions/Answers

Matching Case  November 10, 2011 at 11:58 PM
Hi, i want some code for matching case from an text file. i.e if i give an query called Java from the user,i need to get an output searching the text file all the names in that without case sensitive.. can u help me??? ... View Questions/Answers

how to transliterate the input from english to japanese  November 10, 2011 at 7:14 PM
Hi everyone , I am trying to make an application in java in which i want to get input from user and want to transliterate it in japanese for example : if user types "sa" then it should be automatically has to convert into ??? please let me know how its possible in java :) please help me please :)... View Questions/Answers

Function data from web in MS excel  November 10, 2011 at 6:58 PM
Hello, I would like to import data from one webpage to Excel using function Data - From Web. The problem is that this web page has at the end .jsp . When I open it via Excel, click to data which I want to import and click on Import and select the area than the Excel writes: Getting data... and ... View Questions/Answers

oracle conditions  November 10, 2011 at 6:51 PM
can you briefly explain about the "EXISTS" condition in SQL with examples? ... View Questions/Answers

Creating an exe file  November 10, 2011 at 2:21 PM
Hi All, I have developed java application using swing by Net Beans IDE. Now I need to convert my application into exe file to run a application without intervention of Net Beans IDE. How to convert as an exe file. Please anyone suggest me.Thanks in Advance. Thanks, T.Thanga meena<... View Questions/Answers

HSSFCell to String type conversion  November 10, 2011 at 2:12 PM
Hello, Can anyone help me convert HSSFCell type to string. There is a solution in the following URL, but the method getWorkbook() is not defined for the class HSSFCell. Thanks in advance, Regards, Lakshmi ... View Questions/Answers

how to open a web page using proxy in java and handling button event in that web page..?  November 10, 2011 at 12:47 PM
Sir, what i need is a code which uses proxy address and opens a web page i.e for example and then clicks a "yes" button in that page after which a captcha will be available which will entered manually and then clicking "confirm" button. this process is repeated for 3 to 5 times...can use any pl... View Questions/Answers

How to upload file using JSP?  November 10, 2011 at 11:34 AM
Hi all, I m the beginner in JSP, I want to upload file on server in specific folder. ... View Questions/Answers

serverside lockout  November 10, 2011 at 11:13 AM
hi I want the application like When ever User is trying to Sign-in for configured number of attempts, we are locking out the User at Session Level instead of Database Level. This means when we open new Browser or Delete the cookies and try to Sign in again..it will give the User again th... View Questions/Answers

login data  November 10, 2011 at 10:14 AM
Hiiii Sir I am doing banking project on Asp.net i have created database on sql and also created a connection to gui but m not getting the data after login i want to show particular data for particular user means if i login i wanna see only myn data how shud i do thanxx in advance ... View Questions/Answers

digital diary  November 10, 2011 at 12:57 AM
please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender ... View Questions/Answers

digital diary  November 10, 2011 at 12:57 AM
please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender ... View Questions/Answers

digital diary  November 10, 2011 at 12:57 AM
please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender ... View Questions/Answers

ejb  November 10, 2011 at 12:02 AM
what is ejb ... View Questions/Answers

webservices security  November 9, 2011 at 9:20 PM
am doing project in web services security. can one sugesst me a best application for web service ... View Questions/Answers

how to execute a unix shell script from a java program  November 9, 2011 at 6:03 PM
well , i am facing this problem.. i have tried a few sample codes but there isn't any solution . could anyone please give a sample code as of how to do this... what i am trying is that there we can enter a username,server name and a password alongwith the script name from a java code .on... View Questions/Answers

What it will return ..... ?  November 9, 2011 at 5:32 PM
import java.util.*; public class Name { private final String first, last; public Name(String first, String last) { this.first = first; this.last = last; } public boolean equals(Object o) { if (!(o instanceof Name)) return false; Name n = (Name)o; return n... View Questions/Answers

How to convert this Java code into GUI?  November 9, 2011 at 2:19 PM
import java.util.Scanner; public class StudentMarks { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; } public double getTotalMarks() { return totalMarks; } public... View Questions/Answers

struts flow  November 9, 2011 at 1:43 PM
what is the diff between perform() and execute() in struts? what is the diff between DispatchAction() and LoojupDispatchAction() in struts? ... View Questions/Answers

how to add framework in xcode 4  November 9, 2011 at 12:49 PM
how to add framework in xcode 4 iPhone? ... View Questions/Answers

jfreechart displaying chart from access database  November 9, 2011 at 11:59 AM
I have these 2 codes. array.java----in which i retrieve the values from the database . import java.util.ArrayList; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedState... View Questions/Answers

Push and Pop UINavigationController  November 9, 2011 at 11:18 AM
push and pop UINavigationController example ... View Questions/Answers

PHP code for csv file upload into mysql  November 9, 2011 at 11:14 AM
I want to upload a file from my pc to mysql server using upload option. while i m selecting the csv file it ll be upload the mysql database. can u send me the coding? i have tried the following coding. it is not working properly. pls help me, Regards, Raja V, ISB ... View Questions/Answers

comparing dates objective c  November 9, 2011 at 10:57 AM
Comparing two different dates in Objective C. ... View Questions/Answers

VK  November 9, 2011 at 9:59 AM
which one is most use framework write now ??? STRUTS or SPRING ... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:22 AM
hello.. this is my code.. import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to ... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:22 AM
hello.. this is my code.. import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to ... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:22 AM
hello.. this is my code.. import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to ... View Questions/Answers

look up values help needed  November 9, 2011 at 8:05 AM
Hi, I have a table that returns rows with a total weight (say 212.5 for example). I have another look up table that has range of weights with a corresponding dollar value The look up table looks like this: (example) kg value 0 2.000000000000... View Questions/Answers

graph generation using jfreechart and retrieving values from the database  November 8, 2011 at 7:34 PM
I have made a database containing 4 subject marks and name and roll no. of students.The dsn name is chartdsn. I want to retrieve the data from the access database using prepared statement and then display the bar graph using jfreechart API .This whole retrieval and display of chart is to be done ... View Questions/Answers

JSP Paging issue  November 8, 2011 at 5:18 PM
Hi; what should I have to write insted of "SQLCALCFOUND_ROWS" for MS-SQL database Amrit ... View Questions/Answers

Thread  November 8, 2011 at 3:54 PM
My question is why it is needed to pass this keyword to the thread constructor eventhough we had created only one thread and if you say we have added to point to the current thread then why we have not added this in the following line "s=s1" Pls reply...... class MyThread extends Thread {... View Questions/Answers

Hi i want java code that diaplays server scren at the client side  November 8, 2011 at 2:41 PM
Hi I'm Shivaprasad i want java socket code that shows the server side screen when client gets connected with the server. Please help me ... View Questions/Answers

JSP Paging issue  November 8, 2011 at 2:31 PM
Hi; How to display large number of users- account profile with photo can be placed in continuous pages using JSP code . If any one have solution please help me . Amrit; ... View Questions/Answers

struct dot notation  November 8, 2011 at 1:17 PM
what is a dot notation in struct? ... View Questions/Answers

group by sorting  November 8, 2011 at 1:15 PM
group by sorting of data in SQL. ... View Questions/Answers

jfreechart display from access database data.  November 8, 2011 at 1:00 PM
I have made a database containing 4 subject marks and name and roll no. of students. I want to retrieve the data from the access database using prepared statement and then display the bar graph using jfreechart API .This whole retrieval and display of chart is to be done in a servlet.. No... View Questions/Answers

objective c pass by value  November 8, 2011 at 12:34 PM
How to pass value by reference in objective c? ... View Questions/Answers

dynamically writing text javascript  November 8, 2011 at 12:33 PM
dynamically writing text javascript. Is it possible? ... View Questions/Answers

dynamically writing text javascript  November 8, 2011 at 12:33 PM
dynamically writing text javascript. Is it possible? ... View Questions/Answers

barcode reader using jsp  November 8, 2011 at 12:13 PM
HI ALL, I need jsp code for barcode reader.When we scan the barcode image that barcode value will be stored in one textbox automatically. please helpe me. Regards Bhanu ... View Questions/Answers

Latest version of Java  November 8, 2011 at 11:48 AM
I want to know the latest version of Java? ... View Questions/Answers

null pointer exception in java  November 8, 2011 at 10:42 AM
What is null pointer exception in Java and when it occurs? Show it with an example.Thanks! ... View Questions/Answers

c++ system command  November 8, 2011 at 10:38 AM
c++ system command variables and an example in real time of using the system command. ... View Questions/Answers

to make a google map point to user defined location  November 8, 2011 at 10:30 AM
Hi, i wish to develop an google map,that takes the input from a form(city,area &Country) and points the location in google map.so how do i do it? wen i press the submit button, the form should be submitted and then the google map should display the desired location of the user. ... View Questions/Answers

HTML GRID  November 8, 2011 at 9:11 AM
how to retrieve data from mysql database in grid form using html and servlets? urgent.... ... View Questions/Answers

SERVLET  November 8, 2011 at 8:19 AM
what is the difference between session and cookie ? ... View Questions/Answers

java  November 7, 2011 at 7:22 PM
when compiling a java program,following error messages are shown on command prompt.identify the resons to appear those error. a)DoTest.java:13:','expected } ^ b)DoTest.java:9:cannot find symbol symbol:variable x location:class DoTest System.... View Questions/Answers

Java Game Pontoon  November 7, 2011 at 6:30 PM
Could someone help me create a programme for the game pontoon //play a game of pontoon import java.util.*; public class Pontoon { public static void main (String args[]) { //deal initial hands //deal additional cards to player //deal additional card... View Questions/Answers

Java BMI code  November 7, 2011 at 4:53 PM
could someone help me with this heightInInches( ) takes 2 integer parameters, feet and inches which represents someone?s height and returns that height in inches weightInPounds( ) takes 2 integer parameters, stone and pounds which represents someone?s weight and returns that weigh... View Questions/Answers

Display items in table  November 7, 2011 at 3:11 PM
I have a listbox which has some items in it and a button. I select some items and click the button. They are displayed in a table. I want these items to be displayed in the table to be unique...i.e. if I reselect those same items they should not be displayed in the table and may be give some erro... View Questions/Answers

hotel management programme in c language?  November 7, 2011 at 2:36 PM
hotel management programme in c language? ... View Questions/Answers

DMCA.com