Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

programming err  January 28, 2010 at 12:01 AM
<%@page import="java.lang.*" %><%! int i; %><form><input type=text name="t" ><%{String s=request.getParameter(t);String[] sa=s.split(" ");for (i=0;i<sa.length;i++){out.println(sa[i... View Questions/Answers

Programming Error  January 27, 2010 at 9:49 PM
Hello Sir, how to convert a txt written in textarea of html must get converted to integers and should get displayed in words in count text box of htmt .And shoukd displayed in wordsEg: if "Hello hi" is written then in count box it must displayed 2 words then h... View Questions/Answers

Programming error  January 27, 2010 at 8:29 PM
Actually there is an error in placeorder.jsp file where there are 5 fields OrderNo ,Name , Address, Email, PhoneNowhere if I delete an order of client based on orderno then suppose in database if there are 5 orders then if i delete an order no 3then the next order no i.e is 4 should not ... View Questions/Answers

Advertisement

JSP Doubt  January 27, 2010 at 8:11 PM
Hello Sir, Sir Actually I have created my DraftAd in Html and I want that any thing i type in draft ad should be converted into digits i.e integers and should get displayed in another text box ie count text box which is created in html.And in count text box it should not sho... View Questions/Answers

generate graf report..  January 27, 2010 at 7:27 PM
How to generate report(graf) using jsp code?? ... View Questions/Answers

flash diamond  January 27, 2010 at 6:39 PM
* ******** * *** *** * ***** * *** *** * ***** *** * ... View Questions/Answers

C#  January 27, 2010 at 2:32 PM
program to print the following: 1 1 1 1 2 2 1 2 3 3 3 2 3 4 4 4 4 34 5 5 5 5 5 4 ... View Questions/Answers

java  January 27, 2010 at 12:58 PM
Write a menu driven program to find the volume of a cuboids, sphere and a cylinder by using overloading method. Formulas are as mentioned below :Volume of cuboids = height * width * depthVolume of sphere = 4/3 * Pi * r3Volume of cylinder = Pi * r3 * h ... View Questions/Answers

java begginers  January 27, 2010 at 12:57 PM
Display the following pattern: * * * * * * * * * * * * * * * * ... View Questions/Answers

UML  January 27, 2010 at 11:39 AM
How to Draw UML DIAGRAM? ... View Questions/Answers

javascript  January 27, 2010 at 11:16 AM
i want to go to the next page when i will click on the particular image in slide show. so can you help me how to go to next page when click on particular image of slide show in javascript. i used href tag but it does not work so i m posting my javascript code here below.note: in the head secti... View Questions/Answers

java  January 27, 2010 at 9:30 AM
Write a program to encode a message. The idea is to shift each letter of a alphabet (a to z) or numeric digit (0-9) by previous two places. For example :C to A, M to K ?. A to Y. Similarly 3 to 1, 7 to 5 ?. 1 to 8 regards ... View Questions/Answers

java  January 27, 2010 at 9:30 AM
Write a program to encode a message. The idea is to shift each letter of a alphabet (a to z) or numeric digit (0-9) by previous two places. For example :C to A, M to K ?. A to Y. Similarly 3 to 1, 7 to 5 ?. 1 to 8 regards ... View Questions/Answers

java  January 27, 2010 at 9:29 AM
Write a complete java program with the following members of its class:Members Members Name Description private data Ac_num Stores account number Ac_name Stores account holders name Bal Stores balance am... View Questions/Answers

code in java  January 26, 2010 at 5:19 PM
program for a two user chess game(Users must be on different systems) please send me this source code to my mail id with step by step explanation. ... View Questions/Answers

core java  January 26, 2010 at 3:27 PM
what are the type of scope variables and use? ... View Questions/Answers

core java  January 26, 2010 at 3:26 PM
how many keywords are in java? give with category? ... View Questions/Answers

OOP with Java  January 26, 2010 at 12:20 PM
I had a look at the solution for the answers, in the website already, but my lecturer wants us to do it in another method. Here goes the question.Write a program to assign passengers seats in an airplane. Assume a small airplane with seat numberings as follows: 1 A B C D 2 A ... View Questions/Answers

continue of doubts in place ad  January 26, 2010 at 12:11 AM
and when user clicks on confirm check box then only save or submit button should get displayed and when clicked on save everyting selected on place ad page should get saved in database .and when clicked on submit everything should get displayed on next page.and i want that when user clic... View Questions/Answers

Doubts in PlaceAd.jsp  January 26, 2010 at 12:03 AM
In DraftAd when user types in the textarea then it should get converted into digits and should get displayed in count box. in words that is how many words user have typed and there should be limit upto only 500 characters.And this should get displayed in next page when clicked on submit and it... View Questions/Answers

Prog Error  January 25, 2010 at 11:53 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><% Connection con=null; //ResultSet state=null; Statement stmt=null; String st;try{Class.forName("sun.jdbc.odb... View Questions/Answers

Programming error  January 25, 2010 at 11:46 PM
<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; int No=0; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.ge... View Questions/Answers

star rating code in jsp  January 25, 2010 at 7:36 PM
how to write star rating system using jsp?? ... View Questions/Answers

jsp retrive image  January 25, 2010 at 7:33 PM
How to Display Images in JSP retrieved from MYSQL database?plz help me.. ... View Questions/Answers

java program  January 25, 2010 at 6:58 PM
write a program that asks the user for a starting value and an ending value and then writes all the integers (inclusive) between those two value. ... View Questions/Answers

UML Diagram  January 25, 2010 at 6:26 PM
How I Can Draw my UML Diagram,my Project subject is Graphical Representation of Array Sorting(Bubble Sorting,Selection Sort,Merge Sort,Insertion Sort,Quick Sort) ,How I Can Draw UML diagram for this project.plz Help Me. ... View Questions/Answers

Struts validation not work properly  January 25, 2010 at 3:10 PM
hi...i have a problem with my struts validation framework.i using struts 1.0...i have 2 page which is:1)index.jsp===================================<%@ page language="java"%><%@ taglib uri="http://jakarta.apach... View Questions/Answers

Spring examples  January 25, 2010 at 2:40 PM
Hi,I need the sample example for how to retrieve the values from jdbc using spring.Please send the sample example immediately.Its very urgent.Thanks,Valarmathi P ... View Questions/Answers

java swings  January 25, 2010 at 2:25 PM
When we click on the button , than open a frame, How to create a link on button to frame , example : Suppose I Have to create a login page and on login page there are three button like login, reset, and register. If user is new than click on the register button , w... View Questions/Answers

interview question  January 25, 2010 at 2:14 PM
hello i want technical interview question in current year ... View Questions/Answers

read text file and store the data in mysql  January 25, 2010 at 2:00 PM
when we store the data in mysql table from text file its store the data from new line to new column. how to store the data in different column from a single line of text file. ... View Questions/Answers

Clarify my doubt  January 25, 2010 at 1:17 PM
Hi All,Although i know the concept of Servlet & JSP, but I have never got a chance to work in EJB . So could u please tell me how to create web Project in netbeans and deploy it in tomcat AND/OR creating a web project in netbeans adding jsp/servlet in this web project and deploying in tomc... View Questions/Answers

Javascript validation  January 25, 2010 at 10:44 AM
Hi, this is ragav and my doubt is: I am having a input type="file" text box in which the user can browse the required file.. If that file is a gif file, I have to allow user for further procession else not.. How to check whether that file name selected by the user is a g... View Questions/Answers

identification quiz  January 25, 2010 at 8:17 AM
what is the html java code for a identification quiz?plz help me.. ... View Questions/Answers

java applet problem  January 25, 2010 at 3:44 AM
i was doing a program using java applet. I want to make a simple calculator. So i added four labels,textboxes. And 6 buttons for add,multiply,divide,minus and a clear and exit button to clear the textboxes and to exit from the applet respectively.Now i want to display a message when the user click... View Questions/Answers

Programming Error  January 24, 2010 at 4:25 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><% Connection con=null; //ResultSet state=null; Statement stmt=null; String st;try{Class.forName("sun.jdbc.odb... View Questions/Answers

Java Compilation error and how to continue from this  January 24, 2010 at 3:52 PM
Camford Cars Rental Pte Ltd requires a software system to manage its daily operations like renting and returning of vehicles,booking and cancelling bookings,checking the availability of its vehicle,etc.For this project i am required to write the application only for renting its vehicles.... View Questions/Answers

Mastering Struts  January 24, 2010 at 12:46 PM
Sir, how can i master over struts. The theoritical part is very clear but the implementation part troubles me. What should I do? Until and unless i am guided over some struts Project i dnt think...its possible. Right? ... View Questions/Answers

Programming Error  January 23, 2010 at 10:59 PM
<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; int No=0; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.ge... View Questions/Answers

Programming error  January 23, 2010 at 9:19 PM
<HTML><HEAD><TITLE> Payment </TITLE></HEAD><BODY BGCOLOR="lightblue"><marquee behavior="alternate" scrollamount=5 scrolldelay=10><h1><font size=4 face="Stroustroup" color="#993355"... View Questions/Answers

Programming Error  January 23, 2010 at 9:09 PM
Ya States and cities and maincategory and subcategory are combobox and maincategory contains suppose matrimonial then sub category will contain groom and bride,if main category contains vehicals then sub category contains cars and their model and different companies of that car etc.and d... View Questions/Answers

java  January 23, 2010 at 7:12 PM
hi can u say how to create a database for images in oracle and store and retrive images using histogram of that image plz help me its too urgent ... View Questions/Answers

differences  January 23, 2010 at 6:25 PM
What are the differences between structured programming and object oriented programming? ... View Questions/Answers

stop an infinite for loop  January 23, 2010 at 5:22 PM
class InfiniteForLoop{ public static void main(String[] args) { for(;;){ } } }i want this infinite for loop program to be stopped by another program named kill. when i run that another program kill the execution of infinit... View Questions/Answers

servlets output to jsp  January 23, 2010 at 4:42 PM
hey i have writing a code lately and wanted to print the output to the jsp page from the servlet.the servlet would read the command prompt n thn return the output as string to the jsp pagehere is the code.i am unable to get a string rather it is returning an objecttry ... View Questions/Answers

bacterial Evolution algorithms  January 23, 2010 at 9:31 AM
Can I have a code for Bacterial evolutionary lgorithm ... View Questions/Answers

Programming Error  January 23, 2010 at 12:03 AM
<%@ import="java.sql.*"%><%!DBConnect d=new DBConnect();%><HTML><HEAD><TITLE> Place Ad </TITLE></HEAD><BODY BGCOLOR="lightblue"><marquee behavior="alter... View Questions/Answers

Programming error  January 22, 2010 at 11:21 PM
<%--<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection(&q... View Questions/Answers

java  January 22, 2010 at 9:56 PM
what is the use of java.utl ... View Questions/Answers

c++  January 22, 2010 at 9:54 PM
WHAT IS the use of#include<<conio.h in c++ ... View Questions/Answers

programming error  January 22, 2010 at 7:04 PM
<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdb... View Questions/Answers

j2me code  January 22, 2010 at 5:28 PM
hi, im new to j2me programming.i want to store a video into buffer in j2me. can anybody please give me a sample program. thank u in advance.regards,sakthi ... View Questions/Answers

Link List proble,  January 22, 2010 at 12:41 PM
i have a problem about programming...this is the problem..-create an application using Linked List this application can add Nodeto your list and Delete to your list......my brain is bleeding can you help me guyz ... View Questions/Answers

applet  January 22, 2010 at 11:47 AM
how to draw textboxes using applets ... View Questions/Answers

basic java  January 21, 2010 at 11:46 PM
oops concept in java ? ... View Questions/Answers

Project  January 21, 2010 at 11:45 PM
Can you send me the whole project on jsp or servlet so that i can refer it to create my own :the topic is Advertisement Management SystemAtleast tell me how many modules does it include. ... View Questions/Answers

Programming Error  January 21, 2010 at 11:42 PM
How to validate login page using jsp where it checks for username whether it is empty or not or is it including number or not if it is the paste alert message. ... View Questions/Answers

NoClassDefFoundException  January 21, 2010 at 8:50 PM
following code has compiled sucessfully but at run time it givs error "NoClassDefFoundException". no other erorr import java.awt.*;import java. awt.event.*;public class marks extends Frame implements ActionListener{Label l= new Label("en... View Questions/Answers

Spring examples  January 21, 2010 at 4:54 PM
Hi,I need sample program using Spring.Full floww o f the code using tiles ,controller,view,model...Please send the sample code for the above one.Please send immediately.Thanks,Valarmathi ... View Questions/Answers

java  January 21, 2010 at 4:46 PM
Hi roseindia, Recently i got one problem..i want convert string to datetime .Now in my project i need this one ...plz favour meThanqs Advance ... View Questions/Answers

ow to create EJB in eclipse and deploy in tomcat EJB ?  January 21, 2010 at 3:24 PM
Hi All, Although i know the concept of EJB , but I have never got a chance to work in EJB . So could u please tell me how to create EJB Project in eclipse and deploy it in tomcat AND/OR creating a web project in eclipse adding EJB in this web project ant deploying in tomcat.... View Questions/Answers

Point Style code.  January 21, 2010 at 2:53 PM
hi , I am Nagarjuna ,this is my first qestion in this forum, pls to this question through the mail.my E- mail id:bodduna.nagarjuna@gmail.com Q: I am working on GIS project.I want to read the symbols from Map font file and add these symbols to combo box in netb... View Questions/Answers

how to create this diamond structure with java.  January 21, 2010 at 9:24 AM
* ******** * *** *** * ***** * *** *** * ***** * *** *** * ***** *** * ... View Questions/Answers

Servlet and Access  January 20, 2010 at 8:41 PM
How to use RequestDispatcher in servlet to call html os javascript file to validate a login page please reply i am so confused.And how to save image in access database cause i am using Microsoft access 2003 so how to save the image file in access Database.please do reply.... View Questions/Answers

programming error  January 20, 2010 at 8:32 PM
import java.io.*;import javax.servlet.*;import javax.servlet.http.*;import java.sql.*;public class Place_Ad extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException, IOException{res.setCon... View Questions/Answers

java  January 20, 2010 at 7:49 PM
how to create a database for java with images in ms access(2007) version. ... View Questions/Answers

bean  January 20, 2010 at 7:34 PM
what is use bean in jsp? ... View Questions/Answers

JSP  January 20, 2010 at 5:11 PM
Hi!this is my html page which generates data dynamically in div content....I want to store the content of div content in databasePlease help me.....Thanks in advance...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ... View Questions/Answers

java multithread  January 20, 2010 at 12:18 PM
Hi,Thanks for your multithreading java code. It helped me a lot. But i have one issue. My code is look like this.public class classname extends Thread { public classname() { super(); /**Here creating objects for other classes and calli... View Questions/Answers

C Program Question  January 20, 2010 at 12:10 PM
How i can calulate sum of First digit and last digit of Five Numbers.e.g 12345 i want to calculate 1+5=6how i can calculate in C Program? ... View Questions/Answers

Sudoku program  January 20, 2010 at 7:22 AM
I would like to get the program for 9X9 Sudoku game in JAVA. ... View Questions/Answers

Digital watch using threads  January 20, 2010 at 6:59 AM
import java.lang.Thread;import java.lang.*;import java.awt.*;class Time implements Runnable{ int i,j,k,m; Frame f; Panel p; Label l,l1,l2; TextField tf1,tf2,tf3,tf4; Thread t1; Time() { f=new Frame(); p=new Panel()... View Questions/Answers

Java Mail  January 19, 2010 at 11:24 PM
how to email using Java mail or automatic generated mail??? ... View Questions/Answers

Programming error  January 19, 2010 at 11:23 PM
import javax.servlet.RequestDispatcher;import javax.servlet.*;import javax.servlet.http.*;import java.io.*;public class ModuleServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws Servlet... View Questions/Answers

programming error  January 19, 2010 at 11:19 PM
What is error in this page and how to use RequestDispatcher in servlet to validate it please do reply??import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;import java.util.*;public class LogRequest extends HttpServlet ... View Questions/Answers

servlet  January 19, 2010 at 11:16 PM
import javax.servlet.*;import java.io.*;import java.util.*;import javax.servlet.http.*;public class LogAd extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{res.set... View Questions/Answers

Struts  January 19, 2010 at 10:14 PM
how to handle errors in struts? ... View Questions/Answers

action Servlet  January 19, 2010 at 10:10 PM
What is the difference between ActionServlet ans normal servlet?And why actionServlet is required? ... View Questions/Answers

Example caching  January 19, 2010 at 9:20 PM
Hi everyone!!I am a student in Viet Nam, I am coding a project J2ME. Before, I had some question in RoseIndia and received your userfull anwsers. Now, I code to caching in j2me, I would like to save results of last query into cache and the new query will find into cache before send request to ... View Questions/Answers

java how to open CD drive through code  January 19, 2010 at 8:03 PM
hi every one i wanted to write a code for my application using that functionality i want to be able to open the cd drive ...I know there is com.ms.win32 but i havent found that package in java...can anybody tell me how to use that package in java.... ... View Questions/Answers

java beans code in jsp  January 19, 2010 at 3:28 PM
can you tell me how to use java beans in jsp in step wise.iam doing online banking project. i need java beans code connecting jsp page to mysql database. please send me the code for login page, myaccount summary page and funds transfer page using java beans. ... View Questions/Answers

Programming error  January 18, 2010 at 11:02 PM
import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;public class UpdOrders extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{res.setContentTy... View Questions/Answers

Javamail  January 18, 2010 at 10:57 PM
i want an explanation and code of Automated generated mail. ... View Questions/Answers

Servlet  January 18, 2010 at 10:49 PM
how to validate a servlet program using Javascript OrHow to validate html using JavascriptorCan i link a jsp file that is validated by using javascript to a servlet ... View Questions/Answers

JSP  January 18, 2010 at 6:32 PM
Hi!I have a content which was generated dynamically in <div> tag.....I would like to access the data of div tag and store it in a variable... in JSP....for example<div id="sample">goodmorning</div>I would like to store this 'goodmorning' in a... View Questions/Answers

Need source code  January 18, 2010 at 6:01 PM
Hai friends, How can I, view all the datas from the mysql database table in the jframe........ ... View Questions/Answers

Need source code  January 18, 2010 at 5:05 PM
Hai, I need a source code for developing the project, title is "Face Recognition" and the backend as My-sql.... Thanks & Regards, Terrance. J ... View Questions/Answers

Need source code  January 18, 2010 at 4:24 PM
Hai, I need a idea and code for developing the project "Face Recognition" with the backend as My-sql.... Thanks & Regards, Terrance. J ... View Questions/Answers

Need source code  January 18, 2010 at 3:05 PM
Hai, In java swing, How can upload and retrieve the images from the mysql database? ... View Questions/Answers

java beginners  January 18, 2010 at 2:18 PM
to Write a program to convert entered number into words.Output : You have entered number = 356 The number in words is = three five six.thanks ... View Questions/Answers

java  January 18, 2010 at 2:17 PM
to Write a program to input a string and two words and replace first word with second word as in example given below :Input : Hot plate with hot eggWord1 : hotWord2 : coldOutput : cold plate with cold egg. thanks ... View Questions/Answers

java beginners  January 18, 2010 at 2:16 PM
pl. let me know the program for the following question.A Cyber Café charges for the usage of computer according to the following Slab System.For the first 60 minutes - Rs. 20/=For the next 30 minutes - Rs. 12/=For the next 15 minutes - Rs. 8/=For the res... View Questions/Answers

Asp.net  January 18, 2010 at 1:28 PM
in my webform gender(m/f) radio buttons are there when i click a radiobutton that gender is inserted into the database.what is the sql query of radiobutton please give a code of sql query and asp.net(vb) ... View Questions/Answers

java multithread  January 18, 2010 at 9:33 AM
Hi,I have developed one java application.It should be running continuously. Using multithreads how to make the application to run continuously.Could you please help me.Thank you, ... View Questions/Answers

Human face using applet programming  January 18, 2010 at 7:15 AM
import java.awt.*;import java.applet.*;public class HumanFace extends Applet{private int mouseX, mouseY;private boolean mouseclicked = false;public void init(){}public void paint(Graphics g){g.drawOval(40,40,120,150);g.drawOval(57,75,30,30)... View Questions/Answers

Radius Program  January 17, 2010 at 12:42 AM
I need to write, compile, and execute a Java application program that calculates and outputs the circumference of a circle. Any ideas? thanks!! ... View Questions/Answers

java programming  January 16, 2010 at 10:20 PM
please i want your help and solution also in this example:using JCreatorPro program Write a Java program that does the following: // TODO, Ask the user for his name // TODO, ask the user for his score in the first exam // TODO, ask ... View Questions/Answers

java programming please  January 16, 2010 at 10:17 PM
please i want your help :-( using JCreator program Your local bank has contracted you to design a Java application that will process saving account data for a given customer in a given year. Assume that the saving account accurse interest at a rate of 12 percent p... View Questions/Answers

Socket connection  January 16, 2010 at 3:20 PM
Hi everyone!!I am a student in Viet Nam and codding project about J2me, using Netbean 6.8 simulator mobile cilent. I have file.xml in server (PC), I want to send to client by socket conection, everyone please help me!!If not use socket, can I use other conection?? ... View Questions/Answers

Java  January 16, 2010 at 3:04 PM
I want to run a program of video control. But I got a lot of errors because javax.microedition does not exist. What I have to do to run the program? ... View Questions/Answers

DMCA.com