Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

convert this html form to jsp  November 2, 2011 at 12:36 PM
<html> <head> <script language="javascript" src="images/validationm.js"></script> <script language="javascript" src="images/validation.js"></script> <title>Village Details</title> </head> <body bot... View Questions/Answers

Website deployment  November 2, 2011 at 11:23 AM
Hi, I have created a website using servlet and jsp. I'm through with it now i want to deploy my website locally such that if anyone types the url of the project it can be viewed without installing netbeans, till now i was viewing the website by pressing f6 it is working fine. I also have a dat... View Questions/Answers

Website deployment  November 2, 2011 at 11:23 AM
Hi, I have created a website using servlet and jsp. I'm through with it now i want to deploy my website locally such that if anyone types the url of the project it can be viewed without installing netbeans, till now i was viewing the website by pressing f6 it is working fine. I also have a dat... View Questions/Answers

Advertisement

vowel  November 2, 2011 at 9:06 AM
display all the vowel from word/string ... View Questions/Answers

buble sort  November 2, 2011 at 9:01 AM
ascending order by using Bubble sort programm ... View Questions/Answers

Stringop  November 2, 2011 at 8:54 AM
class name : stringop Dat members :String str member function : Stringop(): to initialize str with NULL void encode(): to replace and print each character of the string with second next character in ACII table. Example : A with C,B with D and so on..... void print(): to print each word of the Str... View Questions/Answers

converter  November 2, 2011 at 8:00 AM
I want to convert my c source code to java. Please tell me any software. How I convert c code to java code?? ... View Questions/Answers

Hi  November 2, 2011 at 12:19 AM
I have got this code but am not totally understanding what the errors. Could someone Please help. Thanks in advance! import java.util.Random; import java.util.Scanner; private static int nextInt() { public class MatchingPair{ private static class input { ... View Questions/Answers

Save the content in my wysiwyg editor into specified location of user when clicked on save button in my web page  November 1, 2011 at 10:32 PM
I am using wysiwyg editor to display some static content.My requirement is that This static content can be edited by the user and also can be saved to his location in word document format. Can someone help how to code to save this wysiwyg content into word document?? ... View Questions/Answers

java  November 1, 2011 at 10:22 PM
using Buble sort algorithmm arrange EvenArray and PrimeArray in descending order. ... View Questions/Answers

java  November 1, 2011 at 10:16 PM
providing suitable example describe the Scalar,Linear and Non Linear data structures. prepare a table for advantages and disadvantages of each type of the above. ... View Questions/Answers

write a progam for bubble sort using file read nd write?  November 1, 2011 at 6:17 PM
hi, please give the code ... View Questions/Answers

populating a screen on the same page  November 1, 2011 at 6:00 PM
i'm making a time table in jsp. i have put button on each slot.if a person click on that slot it'll redirect to a new page which will help them to choose the subject and faculty through drop down. But now i want that onclicking slot(button) a small selection screen like we get generaly while ente... View Questions/Answers

linked list  November 1, 2011 at 5:57 PM
hi i have basal problem what is the linked list? ... View Questions/Answers

linked list  November 1, 2011 at 5:36 PM
Hi i have a problem with linked list ! how and where i can use linked list? please give me some example. ... View Questions/Answers

Could someone Possibly help me with this  November 1, 2011 at 3:25 PM
think of a number and allow the user to guess it import java.util.*; public class ThinkNumber { public static void main (String args[]) { //generate number in range 1 - 100 //prompt user to enter guess //loop until correct number is guessed ... View Questions/Answers

question about database  November 1, 2011 at 1:14 PM
sir i have made a drop down button using html..now i want to retrieve values from database so that they my appear in my drop down button..how can i do this....i have taken many fields such as type,ward id etc and a drop down menuwith each of them and now i want to retrieve their values from datab... View Questions/Answers

Upload image to the server in J2ME?  November 1, 2011 at 1:01 PM
HI Team, I am new to the j2me and now I am working on the program that, upload captured image to the server by using j2me. I did this by using simulator but when I made hit from the mobile device it is showing an exception like "org.apache.commons.fileupload.FileUploadBase$UnknownSizeExce... View Questions/Answers

ajax+dropdown+table format  November 1, 2011 at 12:43 PM
HI, i am looking for an ajax application which must contain two dropdown list.In first dropdown if i select a manager name from the first dropdown all the reporties under the selected manager should come and then if i select the one reportee,upon click on a search button it should dispaly me emp... View Questions/Answers

java  November 1, 2011 at 12:41 PM
Hell Team, I am totally new to java, from net am setup in my machine netbeans, mysql and tomcat server. I am working in a small enterprise where 50-60 desktops are there, I want to create a web application where I can put all asset inventory as well as user can log a call from the page with aut... View Questions/Answers

jsp  November 1, 2011 at 12:33 PM
i have a form containing 3 drop down list and radio button and a checkbox(holiday). i want that if i select the checkbox i.e holiday all dropdown radio button should be disabled. please help ... View Questions/Answers

how to compare 2 arrays using java?  November 1, 2011 at 12:32 PM
hi can anyone give me the information regarding comparision of arrays. ... View Questions/Answers

Java swing  November 1, 2011 at 11:27 AM
I create one table. That table contains task ID and Task Name. When I click the task ID one more table will be open and that table contains Task Description,plan time and actual time. I edit the details and add to the database using java swing. ... View Questions/Answers

JSP-Servlet  November 1, 2011 at 11:18 AM
Hi have created a JSP page and I need to print it when the user clicks on the print button. I have put a print button on the JSP page. Can somebody plz help me out with the Servlet page coding. ... View Questions/Answers

How to update record to database? I have trouble with the following code  November 1, 2011 at 11:17 AM
I have written the update statement but it still not work to update the record,what is the missing of the following code ?I need help,thankyou selectdb($database_con, $connection); $emailAddress=$_POST['emailAddr... View Questions/Answers

getting and storing dropdown list in database in jsp  November 1, 2011 at 10:38 AM
i have a drop down list to select book from database. i'm able to retrieve dropdown list from database. but unable to store the selected value in database table. please help ASAP else my boss will kill me :P :D ... View Questions/Answers

Hiya!  November 1, 2011 at 12:24 AM
I dont suppose anybody could help me write a Java program for 'Guess A number' //think of a number and allow the user to guess it import java.util.*; public class ThinkNumber { public static void main (String args[]) { //generate number in range 1 - 100 ... View Questions/Answers

Servlets mysql connectivity  November 1, 2011 at 12:17 AM
please tell me the steps to connect mysql with java servlets using connector j ... View Questions/Answers

netbeans  October 31, 2011 at 6:43 PM
In netbeans, there are choices of books with their price. you check the book you wanted then click the purchase.the output should be the book with the price then you will get the total price of the book you purchase.how to perform the operation? ... View Questions/Answers

online database connectivity issue from JSP page .  October 31, 2011 at 6:12 PM
Hi; Everything working fine in localhost , but facing a simple problem in connectivity with database from my web site. In my local host-- when I am typing following code Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn ... View Questions/Answers

exception error inservlet  October 31, 2011 at 3:55 PM
Hi,i got the error as..below..wat could be the possible mistake ?THANK YOU!!! type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: JDB... View Questions/Answers

ejb  October 31, 2011 at 3:54 PM
Match the following. ejbFind() ejbStore() ejbPostCreate() ejbLoad a. reset transaction related parameters. b. not required for CMPs. c. update the database. d. utilities required to work with the data are performed. ... View Questions/Answers

methods can be invoked by the container on a stateless session bean  October 31, 2011 at 2:07 PM
Which of the following methods can be invoked by the container on a stateless session bean? ... View Questions/Answers

session  October 31, 2011 at 2:06 PM
Which methods can be invoked by the container on a stateless session bean? ... View Questions/Answers

XML validation against a dtd -refering  October 31, 2011 at 1:32 PM
hi i have an issue in validating an xml against dtd .As the currently used schema is http://www.w3.org/2001/xmlschema and my dtd is refering to the "http://www.w3.org/1999/xmlschema" old version is there any solution to validate my xml against the dtd i have , which is refering the 19... View Questions/Answers

filling pdf by itext  October 31, 2011 at 10:51 AM
I read the pdf that contain of text field and I want to fill this field in the same pdf file that it oppened? what the sutible procedure? I have the folloing statment but I do not want this can you correct my code depond on my request??? I want read the PDFform.pdf and I want fill the ... View Questions/Answers

Java swing  October 31, 2011 at 10:25 AM
when i enter the time into the textbox and activities into the textarea the datas saved into the database.the java swing code for the above item ... View Questions/Answers

execution of java program  October 31, 2011 at 12:19 AM
wat are the steps for the execution of the servlet-jdbc program on tomcat 5.5 server.. PlS provide..the execution steps in detail..including the setting of classpath in DOS for mysql-connector-java. i have put the classpath as: set path=%path%;C:\Program Files\Java\jdk1.6.0_01\bin... View Questions/Answers

How I can filling pdf file that crated by livecycle using itext  October 30, 2011 at 11:40 PM
I have pdf file that already done by livecycle.. I read it then I used the pdfstamber class to manipolute and filling file.... the result it will be a new pdf file else than origional pdf file . My request ... I want to use pdfreader to read an existing pdf file then I want fill the same ... View Questions/Answers

java  October 30, 2011 at 11:00 PM
Problem analysis and algorithm design (i.e.: flowchart, algorithm)and explanation for a Java program that prompt user to input a number of students in a class. Then, prompt user to input the student√Ę‚?¨‚?Ęs programming mark. Determine how many student get A+ and A for their grade and how many st... View Questions/Answers

solution of k map in c  October 30, 2011 at 10:21 PM
write a program in c to solve k-map with digital circuit ... View Questions/Answers

insertin form data into databse and blank all form field when click on submit button  October 30, 2011 at 12:25 PM
sir, i useing the jsp. i want insert form data into Ms-Access database when click on submit button and blank all form field after inserting data into databse. pls help ... View Questions/Answers

online database connectivity issue from JSP page .  October 30, 2011 at 10:50 AM
Hi; Everything working fine in localhost , but facing a simple problem in connectivity with database from my web site. In my local host-- when I am typing following code Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn ... View Questions/Answers

Web personalization  October 30, 2011 at 7:09 AM
I need to know how to create concept based user profiles for search engine personalization..pls help me ... View Questions/Answers

flow chart  October 30, 2011 at 3:58 AM
can you provide the flowchart of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks; } public double getTotalMarks(){ return to... View Questions/Answers

flow chart  October 30, 2011 at 3:58 AM
can you provide the flowchart of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks; } public double getTotalMarks(){ return to... View Questions/Answers

Reading a file from Jar JAVA  October 29, 2011 at 11:38 PM
I have added one excel sheet into a jar file. can anybody tell me how i can read that file. actually when i am running code from eclipse i able to read it but when i am adding that jar file in to project i am unable to read it(code not throwing any Exception). is there any... View Questions/Answers

Reading a file from Jar JAVA  October 29, 2011 at 11:35 PM
I have added one excel sheet into a jar file. can anybody tell me how i can read that file. actually when i am running code from eclipse i able to read it but when i am adding that jar file in to project i am unable to read it(code not throwing any Exception). is there any... View Questions/Answers

java  October 29, 2011 at 9:26 PM
what is marker interface? ... View Questions/Answers

Fetch the data from mysql and display it on php form  October 29, 2011 at 9:16 PM
when i press on login button, after succesful login the related data of that person should be display in other textbox... ... View Questions/Answers

online database connectivity issue from JSP page .  October 29, 2011 at 7:37 PM
Hi; Everything working fine in localhost , but facing a simple problem in connectivity with database from my web site. In my local host-- when I am typing following code Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn = DriverManager.getConnect... View Questions/Answers

what is json in iphone sdk  October 29, 2011 at 4:24 PM
What is json in iphone sdk? Is this a library and when i need to include JSon in my iPhone SDK App?? ... View Questions/Answers

jan  October 29, 2011 at 4:13 PM
write code to input a word and printf the next consecutive letter of each alphabet input :EARTH output :FBSUI ... View Questions/Answers

MAking combinitions  October 29, 2011 at 3:49 PM
Dear All, Please help me.... I have some 60-70 lineswhich contains \new\code\R2.0.1\option.c \new\code\R2.0.3\option.c \new\code\R2.0.1\Test.c \new\code\R2.0.2\Test.c \new\code\R2.0.3\Test.c \new\code\R2.0.3\core.c \new\code\R2.0.2\cores.c \new\code\R2.0.1\debug.c \new\co... View Questions/Answers

java servlets  October 29, 2011 at 3:29 PM
please help... how to connect java servlets with mysql i am using apache tomcat 5.5 ... View Questions/Answers

JAVA  October 29, 2011 at 2:42 PM
I M building a media player using jframes using libraries of jmf and done with all things but left with some problems.. 1) not able show the timing of song.. 2) not able to volume functionality ... View Questions/Answers

coding for project  October 29, 2011 at 2:26 PM
hai how to write jsp coding for project smart accessories ...... that s to navigate to another page when you click on a tag ... View Questions/Answers

insert values from excel file into database  October 29, 2011 at 2:19 PM
hi i want to insert values from Excel file into database.Whatever field and contents are there in excel file that should go to database which exists. am using SQL Server management studio express 2005. how can i do with java code??? ... View Questions/Answers

get values from Excel to database  October 29, 2011 at 2:18 PM
hi i want to insert values from Excel file into database.Whatever field and contents are there in excel file that should go to database which exists. am using SQL Server management studio express 2005. how can i do with java code??? ... View Questions/Answers

Please Help Now  October 29, 2011 at 11:55 AM
i want to put this map in ajax oriented codeigniter website thanks in advance plz help me now plz very urgent ... View Questions/Answers

Why we are writting public static void main(String args[])?  October 29, 2011 at 2:03 AM
Why we are writting public static void main(String args[])? please elaborate it... and also explain the statement System.out.println("abc"); ... View Questions/Answers

to write an SQL query using insert statement  October 28, 2011 at 11:12 PM
I need to write an sql query for the below using InSERT command.pls help. Insert 5-star ratings by James Cameron for all movies in the database. Leave the review date as NULL. The table details are as follows: Movie ( mID, title, year, director ) English: There is a movie ... View Questions/Answers

sum  October 28, 2011 at 6:50 PM
s=1x2x3x4+2x3x4x5+3x4x5x6+4x5x6x7+5x6x7x8 ... View Questions/Answers

sum  October 28, 2011 at 6:49 PM
3,8,15,24,............n terms ... View Questions/Answers

sum  October 28, 2011 at 6:48 PM
s=135.............17 (mul of 1 to 17 odd numbers) ... View Questions/Answers

sum  October 28, 2011 at 6:46 PM
s=1/(1+2)+1/(1+2+3)+1/(1+2+3+4)+.....+1/(1+2+3+....n terms) ... View Questions/Answers

sum  October 28, 2011 at 6:46 PM
s=1/(1+2)+1/(1+2+3)+1/(1+2+3+4)+.....+1/(1+2+3+....n terms) ... View Questions/Answers

sum  October 28, 2011 at 6:44 PM
s=(1+2)/(1x2)+(1+2+3)/(1x2x3+)+.......+(1+2+3+......n terms)/(1x2x3x..........n terms) ... View Questions/Answers

sum  October 28, 2011 at 6:41 PM
s=1x2x3x4+2x3x4x5+3x4x5x6+4x5x6x7+5x6x7x8 ... View Questions/Answers

sum  October 28, 2011 at 2:02 PM
s=1+12+123+1234+............+123....n terms ... View Questions/Answers

Acrobat Javascript  October 28, 2011 at 12:46 PM
i want to know about complete tutorial of Acrobat javascript in brief. ... View Questions/Answers

Complaint Management System  October 28, 2011 at 12:34 PM
Hi......i have to create a complaint management system where the user calls a toll free number and a computerized voice guides the user to register complaint and then a message is sent to the user with the complaint number. I have no idea as to how I should go about this system. Please tell me if... View Questions/Answers

jUSB api  October 28, 2011 at 12:13 PM
How can i access the USB using jUSB api and also hw to add this api to the netbeans? ... View Questions/Answers

how to print the following pattern  October 28, 2011 at 6:56 AM
Hello hEllo heLlo helLo hellO pls reply soon its an emergency ... View Questions/Answers

junit  October 27, 2011 at 9:41 PM
Explain about junit? ... View Questions/Answers

CVS  October 27, 2011 at 9:39 PM
Explain about control version system? ... View Questions/Answers

log4j  October 27, 2011 at 9:38 PM
explain about log4j with example ? ... View Questions/Answers

method  October 27, 2011 at 9:30 PM
can you tell me how to write an abstract method called ucapan() for B2 class class A2{ void hello(){ system.out.println("hello from A2"); }} class B2 extends A2{ void hello(){ system.out.println("hello from B2"); }} ... View Questions/Answers

full coding  October 27, 2011 at 5:50 PM
class IdentifyMyParts { public static int x=7; public int y=3;} IdentifyMyParts a = new IdentifyMyParts(); IdentifyMyParts b = new IdentifyMyParts(); a.y = 5; b.y = 6; a.x = 1; b.x = 2; System.out.println("a.y = " +a.y); System.out.println("b.y = " +b.y); System.out.println("IdentifyMyParts.x = "... View Questions/Answers

flowchart and algorithm  October 27, 2011 at 4:28 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 void setGrade(String g... View Questions/Answers

barcode reader using java script  October 27, 2011 at 3:36 PM
Hai all, I need code for one application in java and java script my requirement is, Scanning data directly into a field is the easiest of all implementations. The cursor is placed in the appropriate field that is to receive the data from the scan and the trigger is pressed on the ... View Questions/Answers

Java swing  October 27, 2011 at 1:09 PM
If i am login to open my account the textfield,textarea and button are displayed. if i am entering the time of the textfield and the activities of the textarea then click the button the time and activities are displayed in the table..I need the source code in java swing.. ... View Questions/Answers

SERIES PROGRAMMING  October 27, 2011 at 11:48 AM
WAP to print the followin series till n terms: S = 1-4+9-16+25.............n ... View Questions/Answers

explaination  October 26, 2011 at 10:54 PM
can you give me the explaination of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks; } public double getTotalMarks(){ return totalMarks; } public v... View Questions/Answers

java  October 26, 2011 at 6:25 PM
Why we didnot write constructors in interfaces ... View Questions/Answers

Display Information  October 26, 2011 at 3:06 PM
I have a listbox having many names and I have a button "display". I select some names and when I click the button , the names along with the address(they are in database) should be displayed. I am using php for doing this process. Plz help me out. ... View Questions/Answers

Class and Instance  October 26, 2011 at 2:30 PM
class IdentifyMyParts { public static int x=7; public int y=3;} What are the class variable? What are the instance variables? What is the output from the following code: IdentifyMyParts a = new IdentifyMyParts(); IdentifyMyParts b = new IdentifyMyParts(); a.y = 5; b.y ... View Questions/Answers

verfication of user login and then redirecting it to user defined page  October 26, 2011 at 2:19 PM
hi, i have a login page that..calls the servlet..and i have used redirect() to redirect to a user defined page..but..wen i press the submit button,the html page calls teh servlet..but..the servlet.is not redirecting to a user defined page.. after i press the submit button..in the logi... View Questions/Answers

html and servlet file  October 26, 2011 at 2:05 PM
where to place the html and the servlet class files..in tomcat.. I have placed the html file under root and the class files in class folder..n WEB-INF. but..i want to access the servlet file through ..the html file.. its showing 404 error.help me pls ;THANK YOU!! ... View Questions/Answers

student  October 26, 2011 at 1:09 PM
There is only 1 player. Use JAVA Random toolkit to generate random number between 1 to 10. Once user has entered in a number, checked whether the number match with the generated number. There should be a telling the user how many times has the user guessed a number. The program should display use... View Questions/Answers

Trouble with array manipulation  October 26, 2011 at 11:57 AM
For this project I have to print 10 random numbers from (0-99), print the max value, the average of the ten numbers, print the first index at which the maximum of the array occurs, and create an array b which has the same values as a only in reverse order, and print out the first 10 values of b. ... View Questions/Answers

execution of a jdbc program  October 26, 2011 at 9:40 AM
how to execute a servlet program that..uses a jdbc driver (i.e. using mysql-connector -java )to connect to mysql in windows *PLS provid the execution steps in detail THANK YOU!! ... View Questions/Answers

how can you say java is secure  October 26, 2011 at 8:04 AM
we are using notepad editor for Java programming which is an Microsoft product, then how can you say Java is secure when you are using Microsoft product as an editor? ... View Questions/Answers

Very new to Java  October 25, 2011 at 8:55 PM
hi I am pretty new to java and am wanting to create a programe for the rhyme 10 green bottles. 10 green bottles standing on the wall 10 green bottles standing on the wall and if 1 green bottle should accidently fall there'd be.. all the way to 1 green bottle. If anyon... View Questions/Answers

Toedter JDateChooser JSpinner change day value by default in java  October 25, 2011 at 6:14 PM
i have a question, by default the JSpinner when you press up or down buttons it changes the month value. There is a way to change the day value, instead of the month value by default? ... View Questions/Answers

Android  October 25, 2011 at 5:29 PM
How to create Android sample program? ... View Questions/Answers

how I do select from select in hql  October 25, 2011 at 5:28 PM
select RN from ( select rownum RN, dbid from ( select * from profile p where type = 1912 and name like 'a%' order by globalid ) ) where db_id = 259; this is the sql The below hql doesn't work select RN from ( select rownum RN, DBId from (... View Questions/Answers

jsp- database dependent dropdown list  October 25, 2011 at 4:36 PM
i want 2 dropdown list 1- CLASS 2-SECTION both are should come from database. and if i select a class suppose class a the corresponding section dropdown list should retrieve the section respective to that class from database. please help by providing the code in jsp as soon as possible.its urge... View Questions/Answers

how to calculate the price on the option box  October 25, 2011 at 3:01 PM
How i calculate the value when i using a option box with 2 option..first option i used for product name and for the second i used for the quantity..which function should i used to calculate this value??... ... View Questions/Answers

Hiya!  October 25, 2011 at 2:57 PM
Write a program to input an integer and output whether or not it is a valid percentage if anyone could help that would be great Thanks in advance! ... View Questions/Answers

DMCA.com