Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to store data entered by User in JSP page in XML file  March 7, 2011 at 10:38 AM
How to store data entered by user in JSP page to be saved in XML file.On clicking submit button data entered by a user in a page must be saved in XML file.How to do so? Example: a user will enter empid,emp name ,email id on a particular page.How it will be saved in Emp.xml (I am ... View Questions/Answers

How to capture picture from webcam using java  March 7, 2011 at 10:27 AM
i want catch the image from web-cam using jsp, If anyone knows please answer me ... View Questions/Answers

How to Retrieve Data from the database and write into excel file using Java  March 7, 2011 at 10:16 AM
Hi, I am trying to develop an small application where i trying to retrieve Data from the database and store the details in excel file. Please can somebody suggest me the online example for references. Thanks ... View Questions/Answers

Advertisement

How to use the PHP filetype() Function  March 7, 2011 at 10:09 AM
Hi, What is the use of filetype() Function in php programming. Can anyone give any online example of the PHP filetype() Function. Thanks, ... View Questions/Answers

java IO programing  March 7, 2011 at 10:08 AM
how Java source file is used as input the program will echo lines ... View Questions/Answers

Java  March 7, 2011 at 1:39 AM
how to upload file in jsp? ... View Questions/Answers

receive message from mobile to java program  March 7, 2011 at 1:12 AM
i got a code to receive message....but wen i receive it its showing a string which is not readable... if possible please edit dis code to retreive the origianl string message.... here is the code import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements... View Questions/Answers

java  March 7, 2011 at 1:09 AM
i have connected a mobile to my computer using COM port and i want to get received message to my java application can u please help me? ... View Questions/Answers

router connectivity  March 7, 2011 at 12:01 AM
how can connect 4-5 system in LAN for routing and how to connect two routers to each other show mw code for it ... View Questions/Answers

java  March 6, 2011 at 11:47 PM
hello sir/mam how can store/ maintain/reterive data from client to server side what code will written please help me as soon as posible i need it ... View Questions/Answers

java  March 6, 2011 at 11:47 PM
hello sir/mam how can store/ maintain/reterive data from client to server side what code will written please help me as soon as posible i need it ... View Questions/Answers

Java Query(based on swing concept)  March 6, 2011 at 10:44 PM
I want a particular submit button to get disabled whenever i write some account number starting with 774 and 775 in a text box of that screen. ... View Questions/Answers

C program  March 6, 2011 at 10:03 PM
hi, here is my question: Create a structure to specify data on students given below: Roll number, Name,Department, Course, Year of joining (a)Assume that there are not more than 450 students in the collage. (b)Write a function to print names of all students who joined in ... View Questions/Answers

java  March 6, 2011 at 9:11 PM
please tel me the syntax of system.in ... View Questions/Answers

TIBCO Designer Tutorial - Hello World  March 6, 2011 at 7:26 PM
This TIBCO tutorial teaches you how to create a process definition that writes the words "Hello, World!" into a file using TIBCO Designer. You will really appreciate how easy this is to do with TIBCO. The neat thing about application development with TIBCO Designer is that you do not have to know... View Questions/Answers

java  March 6, 2011 at 7:23 PM
please suggest me the best books for learning efficient java ... View Questions/Answers

java  March 6, 2011 at 7:21 PM
how can i efficiently learn programming? ... View Questions/Answers

String conversion  March 6, 2011 at 7:07 PM
I want to convert a string of mix cases(lower and upper case) to vice versa. ex. HellO should be printed to hELLo. the string comes from user using datainputstream. Also sending individual chars of string to toUpperCase() and toLowerCase() not possible. ... View Questions/Answers

include php in html  March 6, 2011 at 6:55 PM
Actually, i have two different pages for my application.. 1) includes the HTML tags and designing. And second includes the PHP method and functions for field in HTML page. So, Is it possible to include that PHP file into my HTML file? Can anyone share the code for including PHP ... View Questions/Answers

How to include website in google search?  March 6, 2011 at 6:12 PM
Does anyone has idea about how to include a website into Google Search? ... View Questions/Answers

Include CSS in HTML  March 6, 2011 at 6:03 PM
Can any one tell me how to include a CSS file into my HTML page. A code format to include the CSS will work. Thanks in Advance. ... View Questions/Answers

CSS ScrollBar Properties  March 6, 2011 at 5:54 PM
How can i set ScrollBar properties in CSS? I am using HTML, CSS and Div in my code. Thanks!! ... View Questions/Answers

java  March 6, 2011 at 5:09 PM
How to find the sum of individual rows and columns of a matrix in java?? ... View Questions/Answers

java  March 6, 2011 at 5:09 PM
How to find the sum of individual rows and columns of a matrix in java?? ... View Questions/Answers

how i open my web page  March 6, 2011 at 3:53 PM
how i open my web page on different broadband machine if i don't have any domain name... i m using a broadband .........i m tried with this url but i m failed.. url: http:// ip of router/ipof localmachine/localhost:8080/app/app.htm so tell me step how i open my page on different broadband ma... View Questions/Answers

iPhone Radio Button Example  March 6, 2011 at 2:16 PM
Can you please suggest me how to create Radio button in my iPhone application. Actually, in my application i have two images on UIButton 1) selected and 2) unselected ..what i want is, when a user click on that button it get selected and by default it should display unselected. Thanks for... View Questions/Answers

Interceptors  March 6, 2011 at 1:32 PM
what are the interceptors? ... View Questions/Answers

java  March 6, 2011 at 1:28 PM
Write a complete Java program that utilizes the JOptionPane method to get six names from the user and keep these names in an array of two rows and three columns named myNames[][]. Display all these twelve names in its proper order of two rows and three columns. Finally, display the number of time... View Questions/Answers

java  March 6, 2011 at 1:27 PM
Construct a Java program that will read a list of integers from a file named number.txt. The program will sum all the integers and keep the total in another file named total.txt. Assume that each integer in the input file is in individual row. Use classes and methods from the java.io package for ... View Questions/Answers

java  March 6, 2011 at 1:26 PM
Write a Java program that takes in any sentence from the user through a text field and split the sentence into individual words. Next append all the words from the sentence to a text area in reversed order. Finally, display the total number of words that have gone through this process in another ... View Questions/Answers

java  March 6, 2011 at 1:25 PM
Write a complete Java program that prompt the user to enter TEN (10) integers and keep these integers in an array named num[]. Next display in reverse order all the integers that are greater than 15, and calculate and display the total of all integers that are smaller than 15. Use for loops for a... View Questions/Answers

java  March 6, 2011 at 1:24 PM
Write a Java program that prompts the user to enter a name. The program will compare the name with a list of names from a file named Names.txt. The program will then display the total number of names in the file that matches with the name given by the user. Use classes and methods from the java.i... View Questions/Answers

java  March 6, 2011 at 1:23 PM
Write a complete Java program that takes in any sentence from the user through a text field and splits the sentence into individual words. Next, append all the words from the sentence to a text area in reverse order. Finally, display the total number of words that have gone through this process i... View Questions/Answers

java  March 6, 2011 at 1:22 PM
Write a Java program that prompts the user to enter an integer through the command line interface. The program will then compare the given integer with a list of integers from a file named data.txt. The program will keep count of the number of integers in the file that are smaller than, equals to... View Questions/Answers

java  March 6, 2011 at 1:20 PM
Write a Java applet that draws a rectangle or an oval based on the width and height given by the user. Provide two text fields for the user to enter the object width and height. The program will have two buttons labeled ‚??Rectangle‚?? and ‚??Oval‚?? which let the user to click to produce the res... View Questions/Answers

java  March 6, 2011 at 1:18 PM
Write a Java program that prompts the user to enter an integer. The program will then read a list of integers from a file named numbers.txt. Next, it will sum up all the numbers in the file which are larger than the integer value given by the user earlier, and display the sum of all those numbers... View Questions/Answers

servlet sendredirect  March 6, 2011 at 1:13 PM
how to write html file code for this program. ... View Questions/Answers

exam  March 6, 2011 at 1:13 PM
Write a Java applet that that takes in a sentence from the user through a text field and append the sentence to a text area in individual line when the button labeled APPEND is clicked. When the sentence is appended to the text area, the program will also count the number of the word "the" or "Th... View Questions/Answers

java question  March 6, 2011 at 1:07 PM
Create a class called Complex to perform arithmetic operations with complex numbers. 1- Use double variables to represent the fields of the class. 2- Provide a no-argument constructor with default values in case no initializers are provided. 3- Provide a constructor that enables an object of th... View Questions/Answers

problem i coding  March 6, 2011 at 12:42 PM
i have a problem in coding a combobox containing a number of *.java program on click one of them that program should compile and run and display the result in other window ... View Questions/Answers

project  March 6, 2011 at 11:27 AM
does hostel management system project contain any dynamic web pages ... View Questions/Answers

chocolate manufacturing  March 6, 2011 at 11:00 AM
CDA Company is in the business of manufacturing chocolates. The company delivers various chocolate products like- chocolate bars ,chocolate powder ,chocolate gift box and chocolate tins/packets. Their main product is the chocolate bar which comes in various categories which in turn is based on th... View Questions/Answers

html  March 6, 2011 at 10:58 AM
i want a registration page in html with good background ... View Questions/Answers

JVM  March 6, 2011 at 9:53 AM
what is bytecode ? describe the JVM indetail? ... View Questions/Answers

hi  March 6, 2011 at 7:33 AM
we can create animated line graph in javascript ... View Questions/Answers

create and use an array variable in a java program  March 6, 2011 at 7:03 AM
how do i write a program that will prompt the user for a list of 5 prices, once the user has entered all values , your program should compute and display the following: The sum of all the prices, The average of the prices, All prices that higher than the calculated average ... View Questions/Answers

create table in mysql of split file created in java  March 6, 2011 at 6:55 AM
i have created splite file in java. now i want to create table from splited data how to do it? ... View Questions/Answers

array variable in a java program  March 6, 2011 at 6:51 AM
How do i write a program that will prompt the user for a list of 5 prices, that cosist of the sum of all the prices, the average of the prices, and all prices that are higher than the calculated average ... View Questions/Answers

UML case tools  March 6, 2011 at 4:02 AM
Research available UML case tools. Test one of the UML case tools that you researched. Select one of the free tools, or one that is currently used in your workplace. Install the tool and try to input at least one class diagram and one interaction diagram. Describe the ease of use of the tool. ... View Questions/Answers

Html form that auto fills outlook to,subject,body  March 6, 2011 at 3:13 AM
I want to have a webpage that will automatically fill in the users to:email address Subject info and body message. The user will fill out a form on-line when they click send it will open there outlook or groupwise with the info from the for already posted in it. Below is a working example. My pro... View Questions/Answers

Mouse Listener  March 5, 2011 at 11:29 PM
how to move any object with help of mouse but not drag it in an applet?? ... View Questions/Answers

Is catch(){} block synchronized?  March 5, 2011 at 11:25 PM
The code in catch(){} block behaves synchronized. In one block, if I do {write to file1; write to file2}, and in another {write to file2; write to file1}, they deadlock. Is this implicit sync defined in the language spec? ... View Questions/Answers

Java i/o opearations  March 5, 2011 at 9:18 PM
"FOLLOWING IS MY LAST QUESTION ON JAVA I/O OPERATIONS the ANSWER WAS POSTED THANKS FOR POSTING IT WORKS WELL WITH BUFFERED STREAM BUT IT IS NOT WORKING WELL WITH RANDOM ACCESS FILE" i.e.,how to WRITE integer data to the file using random access file. ""how to write integer data to a file ... View Questions/Answers

java  March 5, 2011 at 8:40 PM
what do you mean by static in java? ... View Questions/Answers

How to store data entered in JSP page by a user in XML file & later retrieval of data using id at other page  March 5, 2011 at 8:09 PM
I have made a form in JSP having emp id, projectname and emp name.I want to store data related to employee in xml file.How can i store data entered by user in XML file and later retrieve data in another jsp page using retrieve submit button.Please tell step by st... View Questions/Answers

printing hollow square  March 5, 2011 at 8:04 PM
Write an application (PrintingSquares.java) that prompts the user to enter the size of the side of a square, then displays a hollow square of that size made of asterisks. Your program should work for squares of all side lengths between 1 and 20. For example, if a user enters 5 you should display ... View Questions/Answers

help me..  March 5, 2011 at 7:59 PM
Design and write a class named Person and its two subclasses named Student and Employee. Make Lecturer and Admin subclasses of Employee. A person has a name, address, phone number and email address. A student has a matric number and status (year 1, year 2 or year 3). An employee has a department,... View Questions/Answers

help me..  March 5, 2011 at 7:09 PM
Write a program that inputs four words and them displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are output : man bites mad dog mad man bites dog mad bites man dog etc... ... View Questions/Answers

java/j2ee source code  March 5, 2011 at 7:08 PM
java/j2ee source code for online food purchasing service with my sql database? ... View Questions/Answers

how to display?  March 5, 2011 at 6:18 PM
How to write a select query for displaying data where i have author as multivalued attribute? ... View Questions/Answers

how to display?  March 5, 2011 at 6:18 PM
How to write a select query for displaying data where i have author as multivalued attribute? ... View Questions/Answers

how to display?  March 5, 2011 at 6:18 PM
How to write a select query for displaying data where i have author as multivalued attribute? ... View Questions/Answers

non static variable cannot be referenced from static context  March 5, 2011 at 4:52 PM
public class Add{ int foo=7; int bar=8; public int add(int x,int y){ int z=x+y; System.out.println(z); return z; }//add public static void main(String []s){ Add a1=new Add(); a1.add(7,8); Add a2=new Add(); a2.add(foo,bar)... View Questions/Answers

non static variable cannot be referenced from static context  March 5, 2011 at 4:49 PM
public class Add{ int foo=7; int bar=8; public int add(int x,int y){ int z=x+y; System.out.println(z); return z; }//add public static void main(String []s){ Add a1=new Add(); a1.add(7,8); Add a2=new Add(); a2.add(foo,bar)... View Questions/Answers

Handle Null Pointer Exception while text file upload  March 5, 2011 at 4:00 PM
I want the code for handling null pointer exception in jsp page. That is I need an error page for null pointer exception. The cause for null pointer exception is while uploading text file into database if a different text file is selectedi.e...,my db contents are olnumber,newnumber,startdate,endd... View Questions/Answers

portability vs platform independent  March 5, 2011 at 3:51 PM
sir, pls tell me 1.the differences between platform independent and portability related to java technology 2.how java provides security 3.how can i prove servlet is a single instance multiple thread based serverside technology? ... View Questions/Answers

How to play radio station on iPhone  March 5, 2011 at 3:32 PM
how to play radio station on iphone? ... View Questions/Answers

java  March 5, 2011 at 3:02 PM
If there is Emp name, Emp sal, ..Emp id, In those value How to sort the Emp sal value? what data structure we use? ... View Questions/Answers

java  March 5, 2011 at 2:59 PM
In the Webpage if we click submit Button What happen? Explain Technically? ... View Questions/Answers

sql  March 5, 2011 at 1:23 PM
how to get first row in sql with using where condition in sql? how to get last row in sql with using where condition in sql? ... View Questions/Answers

SQUANDER CRPTOGRAPHY  March 5, 2011 at 1:21 PM
In Dorothy Sayers' novel "Have His Carcass", Lord Peter Wimsey describes a cryptography technique that is simple for encoding and decoding, yet relatively hard to crack. Your job is to implement this technique. Here's how it works, in Sayers' (edited) words: You choose a key-word of six letters o... View Questions/Answers

SQUANDER CRPTOGRAPHY  March 5, 2011 at 1:21 PM
In Dorothy Sayers' novel "Have His Carcass", Lord Peter Wimsey describes a cryptography technique that is simple for encoding and decoding, yet relatively hard to crack. Your job is to implement this technique. Here's how it works, in Sayers' (edited) words: You choose a key-word of six letters o... View Questions/Answers

TDD  March 5, 2011 at 12:57 PM
Q: Use TDD to write the following class, or classes: Single linked circular list. With methods: Insert method will insert a new node following the node passed as a parameter to the method. Delete the node passed as a parameter Get the next node Get the first node. Create an empty list... View Questions/Answers

Attachement in Web Service + EJB 3 + Jboss  March 5, 2011 at 11:47 AM
How to send attachements in Web Service using EJB3 with JBoss Application Server? ... View Questions/Answers

Java basic  March 5, 2011 at 10:53 AM
How can I Use Eclipse to create a project and write a hello world java application ? ... View Questions/Answers

PHP and jQuery Tutorial  March 5, 2011 at 10:46 AM
Hi, I have to develop web application using PHP programming language. In my program I have to add Ajax support with the help of jQuery. Let's know which Ajax framework is very good? Shall I learn and use jQuery for creating my application? Or suggest some else to my client? <... View Questions/Answers

input using scanner and add/sub/mul/div of a matrix  March 5, 2011 at 10:16 AM
hiiii...... performe matrix add/sub/mul/div using scanner. ... View Questions/Answers

job submission in cloud computing using gui representation  March 5, 2011 at 10:10 AM
job submission in grid computing using gui representation ... View Questions/Answers

job submission in cloud computing  March 5, 2011 at 10:10 AM
job submission in grid computing using gui representation ... View Questions/Answers

job submission in cloud computing  March 5, 2011 at 10:09 AM
job submission in grid computing ... View Questions/Answers

job submission in cloud computing  March 5, 2011 at 10:08 AM
job submission in cloud computing ... View Questions/Answers

implementation of two level scheduler in cloud computing environment  March 5, 2011 at 10:05 AM
job submission in cloud computing ... View Questions/Answers

dom to xml string  March 5, 2011 at 9:40 AM
Hi, I am writing a program in java that reads the xml file from a webservice. The Document object is returned in my program. I have save the dom document into xml file. How to convert dom to xml string and then save into a file? Thanks ... View Questions/Answers

PHP and MySQL BETWEEN dates with different years  March 5, 2011 at 9:10 AM
I have a database which holds a bunch of events. Each event has a start date and an end date, so they should only show on the site when the date chosen falls between those dates. I thought it made sense to make use of the SQL BETWEEN statement, but it does not work. When a user ch... View Questions/Answers

Java App - Add, Delete, Reorder elements of the buttons  March 5, 2011 at 8:57 AM
Hello, I'm developing a Java application. I created this interface with MockupScreens. Please look at these pictures. At first time, there's only one element, the user have to enter informations (title and description) then he starts adding elements as he needs. He ... View Questions/Answers

sql  March 5, 2011 at 8:54 AM
returning value from a store procedure in sql with example ... View Questions/Answers

search  March 5, 2011 at 8:53 AM
how to develop search box and how to retrive data from database.. ... View Questions/Answers

Is it modify Object data? Generally Object data can't modify............but in this program it modifies.......... Why?  March 5, 2011 at 1:07 AM
import java.io.*; public class Conversions { public static void main(String args[]) throws Exception { int a,b; DataInputStream dis=new DataInputStream(System.in); //String to Fundamental conversion System.out.print("Enter any ... View Questions/Answers

how to read values from java in xml?  March 4, 2011 at 10:13 PM
how to read values from java in xml? ... View Questions/Answers

expression and flow control  March 4, 2011 at 9:17 PM
write the program calculate and print the bill of communication telephone mobile company the company offer 2 types of services is regular (r) and premium (p) the rates are computed as follow - Regular services $ 10.00 plus first 50 minutes are free .Charges over 50 minutes are $ 0.20 per mi... View Questions/Answers

multivalued attribute?  March 4, 2011 at 8:16 PM
edit.jsp <% String accno=request.getParameter("acc"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=java.sql.DriverManager.getConnection("jdbc:odbc:dms","smartlib","smartlib"); ... View Questions/Answers

multivalued attribute?  March 4, 2011 at 8:16 PM
I have a problem in editing the database through form because of multivalued attribute it is creating the error and also how to write code for displaying the data when there is multivalued attribute? edit.html edit.jsp <% String accno=request.getParameter(&qu... View Questions/Answers

how to display?  March 4, 2011 at 8:10 PM
I have to write a code for searcing books in library and i have written but it is not displaying the result.I don't know where i have gone wrong.Also i want to know if there is any better idea then this and what type of validations i can give.I have written code as shown below. search.... View Questions/Answers

How to put text file numbers to array and check the position of numbers?  March 4, 2011 at 6:08 PM
I have numbers in text file data.txt 12 9 8 3 1 ... View Questions/Answers

sql q's  March 4, 2011 at 5:49 PM
Find out the job that was filled in the first half of 1983 and same job that was filled during the same period on 1984? Display the department where there are no employees? Display those emp who joined the company before 15th of the month? For the above Q's please respond ... View Questions/Answers

Converting XML to string  March 4, 2011 at 5:31 PM
Hi Friends, I had an requirement in which a java program receives an xml messages from external web application such as (jsp, php) and then it converts the received xml message into a string. could some one suggest how can I go about it or could some one provide me with sample cod... View Questions/Answers

how to add panel inside frame?  March 4, 2011 at 4:27 PM
I prepared a Frame with two labels and text fields and one button.when ever user clicks on the button two text fields should be appear(those text fields should be added to the panel) .I want to add panel after those components.but while compilation its showing errors.how to write the logic? ... View Questions/Answers

Jcombo box  March 4, 2011 at 4:27 PM
I want To add ittem in JComboBox which is stored in Mysql Database. Database Column name -Course Items -MBA,MCA,MBA IT,MBA FINANCE I want Load Database records in to my JComboBox. ... View Questions/Answers

hibernate insert image  March 4, 2011 at 4:02 PM
Sir, Today I hadposted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me. Thanks ... View Questions/Answers

insert image using hibernate  March 4, 2011 at 3:59 PM
Sir, Today I hadposted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me. Thanks ... View Questions/Answers

DMCA.com