Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

SEARCH  November 16, 2011 at 8:58 AM
how can we do search in jsp...? option for search criteria like name and DOB... ... View Questions/Answers

SEARCH PAGE  November 16, 2011 at 8:53 AM
search page:option for search criteria like name and DOB will be asked.on entering the detail,data matching search criteria will be displayed..criteria can be both or any one of them.. can you send code for this using jsp...? ... View Questions/Answers

i have one txt field and one button.when i entere any test in testfield then only button should be enabled.  November 15, 2011 at 10:11 PM
i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this thanks in advance ... View Questions/Answers

Advertisement

i have one textfield and one button.when i entered text in textfield then only button should be in enabled status or else in disable status. i need code for this.  November 15, 2011 at 6:24 PM
i have one textfield and one button.when i entered text in textfield then only button should be in enabled status or else in disable status. i need code for this. thankas in advance ... View Questions/Answers

JSP2  November 15, 2011 at 5:22 PM
when jspDestroy() method is executed while conecting jsp to database...? ... View Questions/Answers

JSP1  November 15, 2011 at 5:19 PM
Explain the design flow of jsp when we used with database to retrive the data...? ... View Questions/Answers

JSP  November 15, 2011 at 5:16 PM
why we use preparedstatement while saving data from jsp to data base table.. ... View Questions/Answers

How can store image in server folder when deployed with a .war file?  November 15, 2011 at 3:52 PM
Hi all; When I am using application.getRealPath() , it return null when deployed with a .war file and when I use hard code it shows syntax error or path is invalid . But both these command working fine in localhost . So; please hel... View Questions/Answers

report problem  November 15, 2011 at 3:51 PM
I have made a project that displays charts using jfreechart library from the student marks stored in a database. what all can i write in its report.Please if you can provide me hint or some link regarding such project report,then do soon,..Its urgent. ... View Questions/Answers

DAO,DTO,VO Design patterns  November 15, 2011 at 12:19 PM
explain dao,dto,vo design patterns in strut 1.3? ... View Questions/Answers

error in servlet  November 15, 2011 at 11:57 AM
while excuting the servlet program, it produce the error as "HTTP 404 not found". i couldnt rectify that error. can you help me to do so? Serv1.java import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Serv1 extends Htt... View Questions/Answers

Remove duplicate values  November 15, 2011 at 11:53 AM
i am trying to insert values into database from excel spreadsheet .am doing it using JDBC.connected both excel and sql database. i have these columns dc:Title,dc:dcid,dc:subject,dc:description,dc:publisher,dc:language in SQL database. in which dc:title will not allow null and dc:dcid is primary ... View Questions/Answers

write a javascript progam to implement functions in html  November 15, 2011 at 7:57 AM
write a javascript progam to implement functions in html... View Questions/Answers

creating windo chat  November 15, 2011 at 1:56 AM
hi ... please could you help me in creating chat aprograme in java ???? with comments beside codes please.. ... View Questions/Answers

ORDAudio object in servlet  November 15, 2011 at 1:36 AM
Hi, I want to know how to retrieve the ORDAudio object in my servlet and play it in browser when Play button is clicked. I am able to store audio object in to database thru my servlet...but my code written to retrive the same record and to play it, is not working. Here is my code:... View Questions/Answers

HTML audio tag  November 15, 2011 at 1:32 AM
Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it work... View Questions/Answers

How to Split a large XML file using java?  November 15, 2011 at 12:31 AM
How can we split a 500MB Xml file?I know how to split xml file after reading the entire document in a file.Here we cannot load the entire file as it is a large file. ... View Questions/Answers

create a jsp program  November 14, 2011 at 9:34 PM
please help , create web Application using jsp and jdbc which tacking your name,id and DOB .On clicking to submit Button it stores the information into the database and Displays alll the records in the same page without refreshing.. ... View Questions/Answers

how to scrape the data from one website another website using html dom parsing in php  November 14, 2011 at 9:10 PM
" how to scrape the data from one website another website using html dom parsing in php" i'm trying this one .please provide code for me .not for any illegal activity. it is asked in interview he gave time 2 days . please provide code. ... View Questions/Answers

when i hit enter it represent action like click a button  November 14, 2011 at 5:26 PM
Hi, Plz provide a program in html like I want 2 submit buttons,when i hit the enter button it will represent the action like click the 1st submit button.plzzzzzzzzzzzzzzzzz ... View Questions/Answers

Why request.getParameter(  November 14, 2011 at 5:02 PM
Hi all, I want to to do upload file in my folder and that time i want to store date in my MySQL Database. Here uploading file is working but data not store in database because my form field value gives null value. Actually problem is i assign form field parameter value to... View Questions/Answers

private and protected  November 14, 2011 at 3:55 PM
what is diffrence between private and protected ? ... View Questions/Answers

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

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

DMCA.com