Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

J2ME project  July 26, 2010 at 8:49 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

java  July 26, 2010 at 6:26 PM
can anyone give me project for sending mail through lan without intenet .it views like gmail having addressbook for sending multiple mails. ... View Questions/Answers

Java Code  July 26, 2010 at 6:26 PM
I need to modify the following code/GUI so that not only does it calculate the volume of a swimming pool, but it tells how much water is needed and how much is costs to fill up the pool if water is .77 cents per cubic foot with a one time cost of $100.00. I just cant figure out how to make the progr... View Questions/Answers

java String array  July 26, 2010 at 5:59 PM
I want to print values stored in array of string ("1","2","3","4","5" ...) in the form 1 2 3 4 5 6 7 8 9 10 11 12 how can it be done ??Thanks ... View Questions/Answers

multi threading code  July 26, 2010 at 5:48 PM
Hi this is Anji.My question is how to share the variable between two threads?.Can any one post the answer please? ... View Questions/Answers

java desktop  July 26, 2010 at 4:42 PM
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

java Program  July 26, 2010 at 3:19 PM
1. write a program which accept a string from a keyboard and counts number of characters in it.2 display the following pattern11 21 2 31 2 3 1 2 3 4pls send answ as soon as possible ... View Questions/Answers

servlets  July 26, 2010 at 3:01 PM
Hi I have written a servlet by extending GenericServlet. In that I have overriden init() and service()methods. when I execute the servlet only service() is getting executed bu not init(). can any one tell me the reason? ... View Questions/Answers

jsp code  July 26, 2010 at 11:25 AM
i want to add below code data in mysql database using jsp... using below code we got data in text box i want to add multiple data in database... <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language=&quo... View Questions/Answers

java source code  July 26, 2010 at 9:56 AM
hello Sir, Im a beginner in java.im greatly confused, so plz send me the source code for the following concept:Telephone directory management system:Accept the ID, name, residential address and phone number for N subscribers and perform the following operations : ... View Questions/Answers

java coding  July 25, 2010 at 8:20 PM
how to send mail in LAN without internet using java progamme ... View Questions/Answers

java  July 25, 2010 at 7:58 PM
Can you please provide me the steps for running the Java Doc Comments with a simple program please ... View Questions/Answers

servlets mails  July 25, 2010 at 4:54 PM
Hi,My problem is " i want to send a one mail to many persons(i.e.,same mail to many persons) using servlets".Pls help me. ... View Questions/Answers

servlets bulk  July 25, 2010 at 4:54 PM
Hi,My problem is " i want to send a one mail to many persons(i.e.,same mail to many persons) using servlets".Pls help me. ... View Questions/Answers

datamining  July 25, 2010 at 4:12 PM
what is the use of data mining? how to do that in java? what is the features of data mining in real time? can you tel me the real time example for this data mining? ... View Questions/Answers

socket  July 25, 2010 at 4:08 PM
in a chat application i have used two sockets s1 and s2, in that s1 is used for sign in a user and s2 is sign out of that user in multiple client program. i have created only one server socket for all the sockets.. is there any exception will occur if i use only one socket for both sign out and sign... View Questions/Answers

image  July 25, 2010 at 3:48 PM
how to identify the watermarked image? or how to convert the watermarked image into original image? can you send that corresponding java code? ... View Questions/Answers

java date  July 25, 2010 at 10:24 AM
Hi,Please observe the below code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel label1,label2;final JTextField text1;... View Questions/Answers

java desktop  July 25, 2010 at 10:12 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

Manifest.mf  July 24, 2010 at 11:55 PM
How to add a ralative path in Manifest.mf??please help,Thanks in adv. ... View Questions/Answers

Creating Java Object in Vbscript  July 24, 2010 at 6:33 PM
How to create a java object in Vbscript. Please give the detailed steps to create a java Object in Vbscript. ... View Questions/Answers

File location in FileOutputStream  July 24, 2010 at 5:11 PM
Hai,For uploading a file i used the FileOutputStream() method. And uploading works perfectly. This method allows parameter as file name or the full path(that is from the drive letter. For example-->"C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mca2006sfssjc.co.i... View Questions/Answers

fetch data from ms acces  July 24, 2010 at 1:56 PM
How do i fetch back AUTO generated key from MS ACCESS table after inserting data through the java panel....Please HelpThanks in adv. ... View Questions/Answers

Swings  July 24, 2010 at 11:23 AM
Sir,I have developed an application in swings i want to call that class in applet. is it possible. or otherwise is there any way to deploy java class in browser. Give an example...Thanks in advance... ... View Questions/Answers

java  July 23, 2010 at 9:19 PM
Thank you sir.i need another program 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... View Questions/Answers

java a  July 23, 2010 at 5:43 PM
i will askiam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the image is ... View Questions/Answers

data retrival and presentation  July 23, 2010 at 5:27 PM
I want to present the data which is retrieved from xml file.Which contains 1000 records.so i want to present them in order i.e page-wise how can i do this ... View Questions/Answers

again java  July 23, 2010 at 4:55 PM
i will askiam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the image is ... View Questions/Answers

seo  July 23, 2010 at 4:52 PM
<a href="http://www.spicelandtours.com">spiceland</a> ... View Questions/Answers

seo  July 23, 2010 at 4:50 PM
http://www.spicelandtours.com ... View Questions/Answers

java programming  July 23, 2010 at 3:24 PM
Implement Lisp-like list in Java. Write basic operations such as 'car', 'cdr', and 'cons'. If L is a list [3, 0, 2, 5], L.car() returns 3, while L.cdr() returns [0,2,5].and tell me the output sir. ... View Questions/Answers

again java  July 23, 2010 at 2:59 PM
Hi,i will ask iam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the... View Questions/Answers

Changing loacation for file object  July 23, 2010 at 12:39 PM
Hai, For uploading a file i used the FileOutputStream() method. And uploading works perfectly. This method allows parameter as file name or the full path(that is from the drive letter. For example-->"C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mca2006sf... View Questions/Answers

servlet backgorund color change  July 23, 2010 at 11:14 AM
code for servlet that changes background color in every 10 seconds. ... View Questions/Answers

Java Increment Date.  July 23, 2010 at 10:51 AM
Create a program called Date.java to perform error-checking on the initial values for instance: fields month, day and year. Also, provide a method nextDay() to increment the day by one. The Date object should always remain in a consistent state. Write a program that tests the nextDay method in a loo... View Questions/Answers

javab  July 23, 2010 at 10:28 AM
Hipls observe the following coed:import mysql.DataAcc;// import package class for getting database connectionimport java.sql.*;import java.awt.*;import javax.swing.*;import java.awt.event.*;class D1 extends JFrame implements Act... View Questions/Answers

java Big  July 23, 2010 at 9:51 AM
Hipls observe the following coed:import mysql.DataAcc;// import package class for getting database connectionimport java.sql.*;import java.awt.*;import javax.swing.*;import java.awt.event.*;class D1 extends JFrame implements Ac... View Questions/Answers

creating a jar file  July 22, 2010 at 10:55 PM
Can you give me detail answer 1. i am having a servlet.class file in classes folder2. web.xml filemy questions are1. where to place the html or jsp files2. how to create a jar file and how can i create it for a single servlet.class file how can ... View Questions/Answers

java to MS Access conectivity  July 22, 2010 at 10:20 PM
give me source code to stored the value entered by user in a text field(such as name, age, sex, add. of the user etc.) that are on the jpanel to the database created in MSACCESS 2007. actually i am making project on bank and i want to stored the information of customer to my database on the ACCESS. ... View Questions/Answers

railway reservation system  July 22, 2010 at 5:49 PM
help me develop a code on a railway reservation system which maintains records of passengers traveling in the different trains on different dates reaching different destinations in the system, the reservation of the passengers is made by supplying the train number or the the name of a train on the c... View Questions/Answers

JSF error  July 22, 2010 at 5:36 PM
When i am trying to run my jsf application using tomcat6.0 in eclipse europa ide i am getting the error like "java.lang.NoClassDefFoundError: javax/faces/event/SystemEventListener"Iam using jsf-api & jsf-impl.jar filesCan u plz resolve the issue asap.... View Questions/Answers

XSD Creation.  July 22, 2010 at 5:35 PM
When I try to generate xsd from java object. It is generating XSD filefinely. But the problem is it isgenerating XSD file elements inalphabetical order.can u please sujest me how can we do that one. I tried with annotationin java object but I am not getting the desired output... View Questions/Answers

reservation system  July 22, 2010 at 4:52 PM
hi help me write a program on a railway reservation system that records the destination of the passengers.It should be decided by the date on which they are to arrive on their destinations and also the number of the train.Thank you in advance ... View Questions/Answers

java programming  July 22, 2010 at 4:50 PM
Design a class for Complex numbers in Java. In addition to methods for basic operationson complex numbers, provide a method to return the number of active objects created. ... View Questions/Answers

Location finding error  July 22, 2010 at 3:55 PM
Location needs from drive name: My file uploading program has an error. It requires the location should be given from the directory name. Instead of this if only parent directory is given it shows the error as file not found. Below is the coding.The problem line is marked ^ character.... View Questions/Answers

java programming  July 22, 2010 at 3:51 PM
Develop a simple paint like program that can draw basic graphical primitives in different dimensions and colors. use appropriate menus and buttons. ... View Questions/Answers

java script,java  July 22, 2010 at 2:32 PM
hi deepak i have one image is there.beside the image ihave 11 digital numbers is there.that digital numbers we can drag and drop the image when we drop the digitan we can one display box will displayed with x,y coordinations.please it's very urgent please tell me ... View Questions/Answers

Regular Expressions  July 22, 2010 at 1:18 PM
hi tried writing this program and got stuck give some help pleaseWrite a java program to accept name, phone number , address,email and validate them.Name should Start with upper case and the lower cases, phone number Should start with +256-041-369024.Thanx ... View Questions/Answers

Iframe conetent  July 22, 2010 at 12:33 PM
Hi!i am loading web page in iframe in jsp page. when i am clicking on the link of iframe links it is loading in parent window that means in same window. i want to open the iframe content in new page. Is it possible? if possible let me know...Thanks in advance..., ... View Questions/Answers

java  July 22, 2010 at 12:07 PM
Hi,Please observe the below code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel label1,label2;final JTextField text1;... View Questions/Answers

java  July 22, 2010 at 7:19 AM
sir, i need Implement Lisp-like list in Java. Write basic operations such as 'car', 'cdr', and 'cons'. If L is a list [3, 0, 2, 5], L.car() returns 3, while L.cdr() returns [0,2,5].please reply must. ... View Questions/Answers

java  July 22, 2010 at 2:46 AM
hi sir. I want to know how we do JDBC connectivity in java with practical approach and explanation. And pls mention all the methods of connectivity also ... View Questions/Answers

images  July 21, 2010 at 8:53 PM
how to do image watermarking in java? or how to identify watermarked images.. tell something related to the watermarking concept implementation in java? ... View Questions/Answers

matching database again  July 21, 2010 at 7:34 PM
Dear experts,So happy I get through this ask a question page again. Thank God.I want to say "A BIG THANK YOU" for helping me about the matching codes.It is working now after fine tuning the SQL query :-) but I can't do it without you showing me the steps... View Questions/Answers

XML in database  July 21, 2010 at 5:59 PM
Hi Deepak, i m again facing problem with single element multiple tag in xml.i m trying to read the tag values into my database but it gives nullpointerexception. pls guide me appropriatly.MyXML Structure is ,Test1.xml<test1> <Firsttab>... View Questions/Answers

java  July 21, 2010 at 5:05 PM
HiPlease observe the following code:import mysql.DataAcc;// import package class for getting database connectionimport java.sql.*;import java.awt.*;import javax.swing.*;import java.awt.event.*;class D1 extends JFrame implements... View Questions/Answers

javascript for prompt  July 21, 2010 at 4:39 PM
Dear Sir, I am using a prompt() for taking a reason for delete.I used your code,its working fine .but i am validating a prompt contains any special character or what.If contains a alert message has to come toremove a special character.I done but when an alert message come press ok then that ... View Questions/Answers

java  July 21, 2010 at 4:26 PM
Hiiam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the image is stored in... View Questions/Answers

tree view  July 21, 2010 at 4:04 PM
I want to use tree view in my example code to display data in hierarchical form. how ??Thanks ... View Questions/Answers

java  July 21, 2010 at 3:26 PM
Hiiam created a new registration form as a desktop application using swings.and this is the code: pls have a lookimport mysql.DataAcc;// import package class for getting database connectionimport java.sql.*;import java.awt.*;im... View Questions/Answers

Java with Grid  July 21, 2010 at 12:18 PM
please check this URLhttp://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspxgrid on above link is made in dotnet. i want to make [b]same UI[/b] as in Java.which technologies should be used that can be easy to use with java.... View Questions/Answers

What's wrong with my form?  July 21, 2010 at 11:55 AM
Dear expert,I'm having trouble with my enquiry form.Hope you can tell me where my mistake lies.Thanks.Here's my jsp code:<title>Enquiries</title><link rel="stylesheet" type="text/css" href="styl... View Questions/Answers

java  July 21, 2010 at 11:27 AM
how to grab pixel from an image ... View Questions/Answers

loading image  July 21, 2010 at 11:14 AM
give me a source code to add any wallpaer of my PC as a background image to jpanel on a jframe . ... View Questions/Answers

java to excel connectivity  July 21, 2010 at 11:11 AM
give me source code to stored the value entered by user in a text field(such as name, age, sex, add. of the user etc.) that are on the jpanel to the database created in MSEXCEL 2007. actually i am making project on bank and i want to stored the information of customer to my database on the excel. ... View Questions/Answers

Read XML in java  July 21, 2010 at 10:19 AM
Hi Deepak, I want to read a xml file which have only one element with multiple attributes with same tag name.here is my file<employee> <firstname>Tom</firstname> <lastname>Cruise</lastname> <firstname>joil</firstname> ... View Questions/Answers

java  July 21, 2010 at 9:43 AM
hiiam created a desktop login form using swings , and it works properly and my doubt iswhen valid user is login , the user name ,server date and server time is automatically stored in database and how it is and how to check valid user or not.pls tell me ... View Questions/Answers

Java Problem  July 20, 2010 at 9:47 PM
How to create a jar file of a program ... View Questions/Answers

Java Program  July 20, 2010 at 9:42 PM
A program to create a simple game using swings. ... View Questions/Answers

java  July 20, 2010 at 7:57 PM
Can you provide me the concepts of class hierarchy with a suitable diagram and concepts of polymorphism with dynamic binding with a programming example for each please... ... View Questions/Answers

Java Networking  July 20, 2010 at 2:58 PM
I want to get all systems' (computer,printer,laptop) IP address on LAN using java code. I tried a lot but find only my system's IP. I want java code for dat. ... View Questions/Answers

dropdown  July 20, 2010 at 1:01 PM
i have below code for dropdown . now i want to user that textbox value in query at same page... how to get it in a new variable???<html><script>function getValue(){var combo = document.getElementById("sel");var val = combo.options[combo.selec... View Questions/Answers

validation message  July 20, 2010 at 12:41 PM
sir, i took help of that example but in that we change only color of the message i want to shift the place of the error message.means all messages are put together at top of the form. ... View Questions/Answers

struts validation problem  July 20, 2010 at 11:40 AM
i used client side validation in struts 2 .but message will display only on the top of the component.i want to display it on the top of the page ya right side of the component.Que: how to configure parameter for the message tag or any other alternative solution? ... View Questions/Answers

servlets  July 20, 2010 at 10:57 AM
Q: i write program to upload image into perticular folder.but i want to store that path into database but not image and display that image in page from the db.pls any one send me code for that in servlets asap.pls vary urgent.i will be thankful to youpls send me ... View Questions/Answers

drodown  July 20, 2010 at 10:49 AM
how to display selected dropdown value in textbox without using form. also want to use that value in query... ... View Questions/Answers

jsp solution  July 20, 2010 at 10:43 AM
how to display javascript value in current jsp page without refreshing page.. dont want alert... got value in 1 variable in javascript and want to print in current jsp page ... View Questions/Answers

core java  July 20, 2010 at 9:28 AM
what is the difference b/w #include and import?? ... View Questions/Answers

Cybercafe  July 19, 2010 at 11:19 PM
Hi, i'm a java beginner, i'm in project to create a cyber cafe manager, my machines are running linux (ubunutu). I am looking for a code to freeze the screen until a user name and a password is given. Thanks for helping me ... View Questions/Answers

javascript for prompt  July 19, 2010 at 6:07 PM
Dear sir, I have used prompt() for taking a reason while deleting using java script its working fine but prompt was coming at the top left so i want that prompt should come at middle so how to do this ,please help me.Thanks.... ... View Questions/Answers

java  July 19, 2010 at 5:05 PM
Q What is the real use for log4J? ... View Questions/Answers

Servlet  July 19, 2010 at 5:02 PM
Q why javasoft has declared HttpServlet Class as an Abstract Class althoug there is no abstract method availiable in HttpServlet Class? ... View Questions/Answers

java  July 19, 2010 at 4:58 PM
Q What is the disadvantage of Singleton design pattern? ... View Questions/Answers

grid view in java  July 19, 2010 at 4:47 PM
Is it possible to create dynamic grid view to display data from database. if yes. how ?? ... View Questions/Answers

Java  July 19, 2010 at 12:27 PM
I have write a program to capture images from camera and scanners,I got image in panel but how should i save this image through save dialogbox at any location ...plz help ... View Questions/Answers

DMCA.com