Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Need to develop Java Program  August 3, 2010 at 10:41 PM
Develop multi-threaded echo server and a corresponding GUI client in Java ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:40 PM
Develop a simple OPAC system for library using even-driven and concurrent programming paradigms of Java. Use JDBC to connect to a back-end database. ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:39 PM
Write a multi-threaded Java program to print all numbers below 100,000 that are both prime and fibonacci number (some examples are 2, 3, 5, 13, etc.). Design a thread that generates prime numbers below 100,000 and writes them into a pipe. Design another thread that generates fibonacci numbers and ... View Questions/Answers

Advertisement

Need to develop Java Program  August 3, 2010 at 10:38 PM
Develop Date class in Java similar to the one available in java.util package. Use JavaDoc comments. ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:37 PM
Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rupee.... View Questions/Answers

java  August 3, 2010 at 8:33 PM
hi sir, create 3 html files named a.html,b.html and c.html that calls a single servlet.this servlet can also be called directly.count the hits on this servlet using the 3 html files and also the count of this servlet accessed directly. ... View Questions/Answers

java  August 3, 2010 at 8:21 PM
Create a menu with 4 option history,profile,projects and contact. if user click on any of the page ,the page should be displayed and a corresponding cookies should be saved on his machine .next times he open a menu,he should be redirectsd to the page for which the cookie is stored ... View Questions/Answers

request header and response  August 3, 2010 at 6:56 PM
hi sir, i have facing some problem in this qustion:- Create a servlet that accept a name and a phone number and contain 4 buttons add,update,delete and view .On clicking on the any of the button ,the corresponding operation should be performed . the daa should be maintained in session using... View Questions/Answers

Corejava  August 3, 2010 at 5:39 PM
1. Convert input date format from (dd/mm/yyyy) to (yyyymmdd)2. Remove a character at a specified position using substring method3. Tokenize an input string by using both split & StrinTokenizer and store it in an ArrayList or Vector and display them in a console.4. Divide one Bi... View Questions/Answers

urgent  August 3, 2010 at 4:54 PM
list the various encoding formats supported by client browser. ... View Questions/Answers

urgent  August 3, 2010 at 4:54 PM
list the various encoding formats supported by client browser. ... View Questions/Answers

urgent  August 3, 2010 at 4:54 PM
list the various encoding formats supported by client browser. ... View Questions/Answers

array in java  August 3, 2010 at 4:54 PM
array is a object in java. is it true, if true then what is its class name?or-array object is of which class? ... View Questions/Answers

java doubt  August 3, 2010 at 4:52 PM
hi sir , this is sairam am intersted on programs.so i choose the java .i want to become a good programmer .in java there are so many catagerious , on that which one is use full to me for improving me as a good programmer..........which course is... View Questions/Answers

request header and response  August 3, 2010 at 4:48 PM
Create a html form that accept user name and password ,if the user name and password is admin it redirects it to adminhome.html,if the user name and password is guest and guest it redirects it to guesthome.html and if these value are not found .it redirects the control to error.html. ... View Questions/Answers

request header and response  August 3, 2010 at 4:27 PM
Create aservlet that redirects a client to a.html if its morning ,to b.html if its a afternoon else to c.html. ... View Questions/Answers

java  August 3, 2010 at 4:17 PM
Count a menu with 4 page option History ,profile,project and contact.if user click on any of the page ,the page should be displayed and a corresponding cookies should be saaved on his machine .next times he open a menu ,he should be redirected to the page for which the cookies is stored. ... View Questions/Answers

request header and response  August 3, 2010 at 4:06 PM
count the hits of a user on a site. ... View Questions/Answers

runnable  August 3, 2010 at 12:50 PM
is java.lang.Runnable is marker interface? ... View Questions/Answers

marker interface  August 3, 2010 at 12:46 PM
how to create our owen marker interface ? can u give me one example ... View Questions/Answers

jdbc  August 3, 2010 at 12:24 PM
I've got a MS Access database with a 1:1 relationship between 2 of thetables, and I'm trying to append data to both tables.Both tables have the same Primary Key, which is generated as an Auto-Number in Access. If I delete the relationship in Access, then I canappend dat... View Questions/Answers

Tree View with database  August 3, 2010 at 11:23 AM
Hi,I'm working with Swing.I have to construct a SplitPane with JTree on the leftside and its details which is stored in the database on the right side of the pane.For ex:Network | |Node1 | | | |Slot1 | | | |Line1... View Questions/Answers

java  August 3, 2010 at 10:52 AM
create a form that accepts a user name and password and store it session. if the user name and password is admin/admin display a menu with 4 options hisory,profile,projects and contact.if user clicks on any of the page,the page should be displayed on each page ,fetching it from Session. ... View Questions/Answers

jsp  August 3, 2010 at 10:25 AM
i want to make gridview in jsp.... without using jsf.... ... View Questions/Answers

Stack Implementation java code  August 2, 2010 at 9:05 PM
Hello roseindia and java experts can u help me.can you give me a code for this sir/maam.thank you so much.STACK IMPLEMENTATION-expression evaluator*GIVEN a String of expression, create a method that will determine it as VALID or INVALID.EXAMPLES:... View Questions/Answers

Struts  August 2, 2010 at 8:38 PM
Is Action class is thread safe in struts? if yes, how it is thread safe? if no, how to make it thread safe? Please give me with good explaination and example? thanks in advance. ... View Questions/Answers

java code  August 2, 2010 at 7:54 PM
hi sir.. write a code in java for the password generator. when we run the code it should ask from user as follows ..input string : datatype of password :length of password :Enter password : OK ... View Questions/Answers

j2me  August 2, 2010 at 5:27 PM
Hi, I want to save list in record store.How can i do this. ... View Questions/Answers

Use of wrapper objects  August 2, 2010 at 5:13 PM
What is the role & use of Java wrapper objects? ... View Questions/Answers

jsp  August 2, 2010 at 5:10 PM
there are two button 1 is edit n 2 is delete... i want to manage both update n delete query in same page..... that means onclick on edit button it fire update query and onclick delete botton delete query fire .... i want both query at same page... ... View Questions/Answers

Java  August 2, 2010 at 12:11 PM
1. What are access specifiers and access modifiers?2. Difference between access specifiers and access modifiers? ... View Questions/Answers

LINUX SHELL SCRIPT  August 2, 2010 at 9:38 AM
I wish to create a bash shell script that meets the requirements below. ?Write a bash shell script called how_many_to_go that calculates and prints the number of days, hours, minutes and/or seconds until the end of the current month (based on the output of the date command).o Do n... View Questions/Answers

Java  August 2, 2010 at 12:56 AM
i want to develope an applictaion using java language in whichwhen i double click on some file the computer will autometically shutdown.. not using shortcut key but using java code pls help me to develope this code...and thanks advance...regards ... View Questions/Answers

Java code  August 1, 2010 at 7:49 PM
Develop date class in Java similar to the one available in java.util package. Use JavaDoc comments. ... View Questions/Answers

JAVA  August 1, 2010 at 6:21 AM
I WANT TO LEARN JAVA PERECTLY.WHAT ARE MAIN TOPICS IN JAVA WHICH ARE MORE USEFUL. ... View Questions/Answers

Java Compilation  July 31, 2010 at 9:02 PM
Dear Sir,Could you please send me the program code for the following java program?Q:Create a classname Math with its required variables and use add(),sub(),multiply(),divide(),modulo() methods?Thank You ... View Questions/Answers

java  July 31, 2010 at 7:44 PM
hi sir create a servlet that changes its background color after every 10 seconds ... View Questions/Answers

on clas  July 31, 2010 at 5:22 PM
A class can act as sub class? ... View Questions/Answers

jsp  July 31, 2010 at 2:16 PM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... for that i have below code but when i will add new row than it is not working properly.. it is not ... View Questions/Answers

java Date  July 31, 2010 at 12:01 PM
Dear sir I have an assignment, It is .."Develop Date class in java similar to the one available in java.util package.Use JavaDoc comments "Please help me to do the assignment, and tell me the steps and the necessary coding. <... View Questions/Answers

jsp  July 31, 2010 at 10:56 AM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... ... View Questions/Answers

Java Project  July 31, 2010 at 12:49 AM
Hey, thanks for everything your doing to make us better. Am trying to work on a project in java am in my first year doing software Engineering and the project is m end of year project. Am really believing for the best project ever. And i mind i was thinking of a Soccer Tournament like World Cup as m... View Questions/Answers

Java Code  July 30, 2010 at 10:42 PM
Write a program in Java (with a graphical user interface) that will allow the user to order a Pizza. For the pizza, it could be selected with a desired size, and toppings. The user should be able to pay the total cost of the ordered pizza, with 7.75% tax added, and receive the change back.... View Questions/Answers

java  July 30, 2010 at 7:21 PM
Design a Vehicle class hierarchy in Java. Write a test program to demonstrate polymorphism.and output.please reply must sir. ... View Questions/Answers

how to create executable  July 30, 2010 at 6:05 PM
How do i create a executable file from a java filethnks in adv...! ... View Questions/Answers

jsp code  July 30, 2010 at 4:08 PM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... and also want sum of all third colum. ... View Questions/Answers

jsp help  July 30, 2010 at 2:36 PM
i got below code for dynamically add n delete row... but in my table there are 17 colum in 1 row..i want to add whole row with 17 cloum.. so which changes are required???1)table.jsp:<HTML><HEAD><TITLE> Add/Remove dynamic rows in HTML table ... View Questions/Answers

javascript,jsp  July 30, 2010 at 1:00 PM
Dear Sir, I have a code which is not working properly.It is as follows.function calcMinValue(){ var Val="",minValue=9999; Val=document.pagename.txtbox1Id.value; if(Val!= ""){ if(Val<minValue){ document.pagename.txtbox4Id.v... View Questions/Answers

urgentt  July 30, 2010 at 11:53 AM
Dear Sir,I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them a... View Questions/Answers

c program  July 30, 2010 at 11:14 AM
Write a program to encrypt a string and decrypt? ... View Questions/Answers

jsp help  July 30, 2010 at 10:10 AM
i want to add n remove rows dynamically and also want to add data in database in jsp .... ... View Questions/Answers

java  July 29, 2010 at 6:08 PM
i want to add a colum in a csv file, how to add it.? ... View Questions/Answers

Java Collections  July 29, 2010 at 5:57 PM
I am designing an application where the program is meant to read from 2 different text files (eg FileA and FileB) containing so many Long numbers (e.g 4 million numbers in each file). The application is meant to sieve out the numbers in FileB which are present in FileA and output the remaining numbe... View Questions/Answers

urgentt  July 29, 2010 at 5:48 PM
Dear Sir,I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them a... View Questions/Answers

Java Type Casting  July 29, 2010 at 5:43 PM
what is object type casting? give some example with related? ... View Questions/Answers

Java Abstraction  July 29, 2010 at 5:18 PM
suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that meth... View Questions/Answers

Java Method Overloading  July 29, 2010 at 5:13 PM
can method be overloaded in subclass or not? ... View Questions/Answers

Java Abstraction  July 29, 2010 at 5:11 PM
If we declare a class as abstract then it contains may or may not be abstract mathod? why? In abstract class if we declare a variable then what is the access modifiers that variable should be? ... View Questions/Answers

Java Exception  July 29, 2010 at 5:07 PM
Why we are using throws in the java program even if we have try...catch block? If throws will throw the exception then who will catch it? what is the difference between the throw & throws? ... View Questions/Answers

java type casting problem  July 29, 2010 at 4:27 PM
what is type casting? what is the type of type casting? explain with example? ... View Questions/Answers

Inserting Data into mysql  July 29, 2010 at 1:50 PM
My sincere apologize for this post. I noticed there is no category for php. However am hoping my question will fit into the SQL category though under php. I need help with reading from a csv file (using php)and inserting the details in a mysql database. Lets take for instance, a csv file... View Questions/Answers

java compilation error  July 29, 2010 at 12:51 PM
1)java code:import java.awt.*;import javax.swing.*;public class ButtonsPanelApplet extends JApplet{public void init() {Container content_pane = getContentPane();ActionButtonsPanel buttonsPanel=new ActionButtonsPanel ();content_pane.add(butt... View Questions/Answers

javascript,jsp  July 29, 2010 at 12:19 PM
Dear Sir, I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group th... View Questions/Answers

javascript for prompt  July 29, 2010 at 12:07 PM
Dear sir, I am using prompt()for taking a reason from vendor .var reason=prompt('Reason for deleting:','');Then i am checking a that reason cannt exceed 256 length,if it exceed i have to give an alert message.I done the followingif(reason.length>256){alert... View Questions/Answers

java  July 29, 2010 at 11:15 AM
Is jvm plan form independent? ... View Questions/Answers

storing data in xml  July 29, 2010 at 8:51 AM
Can u plz help me how to store data in xml using java ... View Questions/Answers

java compilation  July 29, 2010 at 2:04 AM
import java.awt.*;import javax.swing.*;public class ButtonsPanelApplet extends JApplet{public void init() {Container content_pane = getContentPane();ActionButtonsPanel buttonsPanel=new ActionButtonsPanel ();content_pane.add(buttonsPanel);}... View Questions/Answers

updating a table in a database  July 29, 2010 at 12:59 AM
give me complete source code in java to execute the sqlquery such that(update table_name set phone no=? where cous_id=?). or in simple way give me source code to update my table in MsAccess with new values. ... View Questions/Answers

j2me  July 28, 2010 at 5:49 PM
can we append a list to a form in j2me. ... View Questions/Answers

jsp  July 28, 2010 at 5:12 PM
how to assign IP address to war file to run at server... i want steps to run war file at server... ... View Questions/Answers

jsp  July 28, 2010 at 5:06 PM
i want to add dynamic rows at button click... and also want to add data of that rows in database... ... View Questions/Answers

J2me logi page  July 28, 2010 at 4:05 PM
Iam learning j2me.Iam doing loginpage in j2me which contain username and password.Now i want to get a logo to my page from the internet by giving url. Here when i start the execution of a program then immediately the logo has to display...plz help how can i get this. ... View Questions/Answers

java setup  July 28, 2010 at 3:15 PM
Hi,Iam created a desktoplogin application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLa... View Questions/Answers

java setup  July 28, 2010 at 1:54 PM
Hi,Iam created a desktoplogin application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLa... View Questions/Answers

xml and xsd  July 28, 2010 at 12:55 PM
<or:AddMACRequestxmlns="urn:uk.org.telcob2b/tML/BT-Order-v15-0" xmlns:or="urn:com.openreach.Fulfilment2-v15-0" xmlns:utcc="urn:uk.org.telcob2b/tML/ukt-CommonComponents-v15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc... View Questions/Answers

doc to pdf convertion  July 28, 2010 at 12:46 PM
hi ,I need to convert a .doc file that contains tables,pictures and text to pdf using Itext. I tried but it convert only texts.code i tried is package de.vogella.pdf.write;import java.io.*;import java.awt.*;import com.lowagie.text.*;import com.lowagie.... View Questions/Answers

Java Collections  July 28, 2010 at 12:13 PM
I am designing an application where the program is meant to read from 2 different text files (eg FileA and FileB) containing so many Long numbers (e.g 4 million numbers in each file). The application is meant to sieve out the numbers in FileB which are present in FileA and output the remaining numb... View Questions/Answers

dropdown  July 28, 2010 at 12:09 PM
i want to use dropdown select value in query-string in same page.. Using selected 'name' want to fetch details of that person from database.. without using Ajax... ... View Questions/Answers

object creation  July 28, 2010 at 11:51 AM
I need object creation in depth(with stack,pc registers).Any one can provide me if possible with video/audio.? ... View Questions/Answers

JSP Code  July 28, 2010 at 11:47 AM
Dear frnds,I have a problem where i need to display the record based on the drop down selection. It as follows:1. One drop down where i am dynamically binding data in dropdown list.2. Based on the selected item, another query has to be executed. something like:... View Questions/Answers

dwr with struts2  July 28, 2010 at 11:20 AM
CAn u help me how to use dwr with struts2 ... View Questions/Answers

java time  July 28, 2010 at 9:01 AM
Hi,Iam created a desktop login application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel l... View Questions/Answers

Dynamic polymorphism  July 27, 2010 at 9:43 PM
Develop with suitable hierarchy, classes for point, shape, rectangele, square, circle,ellipse, triangle, polygon, etc. Design a simple test application to demonstrate dynamic polymorphism..Thanks in ADVANCE ... View Questions/Answers

Java problem  July 27, 2010 at 8:49 PM
what are threads in java. what are there usage. a simple thread program in java ... View Questions/Answers

Java Program  July 27, 2010 at 8:47 PM
A java program that display calendar. ... View Questions/Answers

Java Program  July 27, 2010 at 8:45 PM
A java program to move a text in applet from right to left. ... View Questions/Answers

java code digital clock  July 27, 2010 at 5:58 PM
hello can you share or give me a code that will display digital time.hh:mm:ssit shows the seconds is running.thats allthank u ... View Questions/Answers

c program  July 27, 2010 at 3:30 PM
given the string "wordprocessing",write a program to read the string from the terminal and display the same in the following formats:a) word processingb) word processing c) w.p. ... View Questions/Answers

tree view  July 27, 2010 at 3:24 PM
I m using swing for the treeview in my application and also the database(Hsqldb). I want to connect the tree view with the database fields. If u want more clarification ,let me know. Thanks ... View Questions/Answers

dropdown  July 27, 2010 at 2:41 PM
i want to use dropdown select value in query-string in same page.. Using selected 'name' want to fetch details of that person from database.. ... View Questions/Answers

Frame refresh problem  July 27, 2010 at 2:06 PM
Whenever I close a child frame and reload it using the button on parent frame controls on the child frame load twice at different positions...i've used validate() bt it dosen't work!Please suggest how to correct this problem....its urgent!!thnks in adv.. ... View Questions/Answers

java Program  July 27, 2010 at 12:19 PM
1. Write a java program to accept 10 numbers in an array and compute the sum of the square of these number. 2. Wrtie a java program that reads in three strings from the command line arguement and arrange them according to the length of a string. ... View Questions/Answers

DWR eclipse Plugin  July 27, 2010 at 12:05 PM
Hi,I am new to DWR, can u please guide me how to use DWR with eclipse3.1 ... View Questions/Answers

tree view  July 27, 2010 at 11:42 AM
Hello Deepak, Thanks for your help last time regarding java. I have another problem, Actually I want a tree view in my application which will display the files and folder as they are in database. so is there any such... View Questions/Answers

J2me image display  July 27, 2010 at 6:47 AM
How can i display a jpeg image in j2me ... View Questions/Answers

Date format  July 27, 2010 at 12:44 AM
Hi All,I am getting a date from database as a format 2010-15-07.I need to change it to 07/15/2010 and display it on my date field.Every time i need to check the format of the date field and make sure the correct format and then display it.How can i format it using java and al... View Questions/Answers

java and xml  July 26, 2010 at 9:09 PM
<?xml version="1.0" encoding="UTF-8"?><or:AddOrder xmlns="urn:uk.org.telcob2b/tML/BT-Order-v11-0"><Order><BuyersID>test_final_1</BuyersID><utcc:IssueDateTime>2009-025T13:23:45</utcc:IssueDateTime>&l... View Questions/Answers

J2ME project  July 26, 2010 at 9:01 PM
The GPRS based solution will display the latest rates of the products to the sales persons.the latest rates of the products will be shown to the sales personnel as a moving ticker on the screen of the mobile divice. ... View Questions/Answers

j2me project  July 26, 2010 at 8:57 PM
HOW TO CREATE MIDLET WHICH IS A GPRS BASED SOLUTION AND WILL PROVIDE THE SALES PERSONNEL WITH A LIST OF MENU ITEMS. TH SALES PERSONNEL CAN SELECT ITEMS IN THE MENU TO PERFORM VARIOUS FUNCTIONS SUCH AS RETRIEVING SALES DATA FROM THE SERVER.THIS MIDLET IS FOR THE PROJECT MEDICAL CENTRAL S... View Questions/Answers

J2ME project  July 26, 2010 at 8:51 PM
Dear, I have been assigned with a J2ME project on MEDICAL CENTRAL SUPPLIES. Well i have a little bit knowledge about J2ME but i have to present this project with 5 to 7 DIFFERENT MIDLETS . If u have a demo project on MEDICAL CENTRAL SUPPLIES please give... View Questions/Answers

DMCA.com