Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  April 5, 2012 at 2:34 AM
when i create parametrized constructor in main() class and i create new class with parametrized constructor than compile the program and .class is created. my question is that when i want the profile of a class which contain parametrized constructor what should he show? it not show default constr... View Questions/Answers

struts---problem with DispatchAction  April 5, 2012 at 2:03 AM
hi this is Mahesh...i'm working with struts 1.3.10....I have created an application which uses DispatchAction..I hav configured struts-extras 1.3.10 jar but still i'm getting the following error: exception javax.servlet.ServletException: Servlet execution threw an exception ... View Questions/Answers

how can i draw line between two panel contaning circle and line between their center?  April 5, 2012 at 12:03 AM
how can i draw line between two panel contaning circle and line between their center? ... View Questions/Answers

Advertisement

Convert Euro to dollar, need to be able to enter decimal!  April 4, 2012 at 10:45 PM
Hi, this is what my program is supposed to do: Write a program that repeatedly performs currency conversion from euros to dollars: it prompts the user for the conversion factor (i.e. the number that you use to multiply the number of euros to get the number of dollars). The program then repeatedly... View Questions/Answers

Convert Euro to dollar, need to be able to enter decimal!  April 4, 2012 at 10:45 PM
Hi, this is what my program is supposed to do: Write a program that repeatedly performs currency conversion from euros to dollars: it prompts the user for the conversion factor (i.e. the number that you use to multiply the number of euros to get the number of dollars). The program then repeatedly... View Questions/Answers

java  April 4, 2012 at 9:41 PM
how to create login form using java swimming User Name TESTADMIN Password testuser ... View Questions/Answers

C++  April 4, 2012 at 9:22 PM
dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser ... View Questions/Answers

jsp/servlet login program  April 4, 2012 at 8:33 PM
<%@ page language="Java" import="java.sql.*" %> <HTML> <HEAD><TITLE>DataBase Search</TITLE></HEAD> <BODY> <jsp:useBean id="db" scope="request" class="logbean.LoginBean" > <jsp:setProperty name="db" property="userName"... View Questions/Answers

Swap images oon mouse over and mouse out  April 4, 2012 at 5:06 PM
I have multiple images...i want to swap each image on mouse out and mouse over.. ... View Questions/Answers

Action in JSP  April 4, 2012 at 4:11 PM
more than one actions done in a jsp in struts2 and controll go in different java class ... View Questions/Answers

about developing a website  April 4, 2012 at 4:09 PM
hi i want to create a website of on online shopping in java with database connectivity in oracle .so what are the necessary steps with explanation in eclipse? ... View Questions/Answers

how to forget password in spring framework  April 4, 2012 at 3:43 PM
how to forget password in spring framework with hibernate give me code ... View Questions/Answers

validation Spring Framework  April 4, 2012 at 3:39 PM
please give me example of validation in spring framework ... View Questions/Answers

What is difference among Project explorer, Package explorer and Navigator in Eclipse?  April 4, 2012 at 3:14 PM
The three in eclipse are looking like for same purpose. Could you kindly explain what is the difference between them? ... View Questions/Answers

javascript where to declare variables  April 4, 2012 at 3:03 PM
javascript where to declare variables ... View Questions/Answers

how to load pdf on html  April 4, 2012 at 2:39 PM
how to load pdf on html ... View Questions/Answers

Servers and Operating Systems  April 4, 2012 at 1:56 PM
Could we run java based web servers/application servers in windows xp operating system in production mode for small scale web applications. ... View Questions/Answers

i want to show timeline chart for three year in chart..  April 4, 2012 at 1:44 PM
I am using Jfree chart library to display chart in web pages. i want to show three year data in chart in 3 lines for three year in same chart. i am able to show it in the three part but i want to show it in single part but X axis timeline constructed from particular year. but it should be overrid... View Questions/Answers

jsp login code ... when username , drop down box and password is correct  April 4, 2012 at 1:40 PM
i need a jsp code for login.... when username password and dropdown box value is correct.... the drop down box values should be retrieved from database..... please provede me codes for that..... thnk u ... View Questions/Answers

jsp code for a drop down box to retrive value from database  April 4, 2012 at 1:38 PM
my project needs to get the value from database in to the drop down box..... pls give me code for that ..... tan q ... View Questions/Answers

jsp programe for displaying data from database  April 4, 2012 at 1:00 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week.. ... View Questions/Answers

jsp programe for displaying data from database  April 4, 2012 at 1:00 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week.. ... View Questions/Answers

jsp programe for displaying data from database  April 4, 2012 at 1:00 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week.. ... View Questions/Answers

Why this is not working...?  April 4, 2012 at 12:36 PM
import java.util.*; public class Family { int size_of_family=0; public Person[] members=new Person[size_of_family]; Person d = new Person(); public Family (int size_of_family){ members = new Person[size_of_family]; for ( int i = 0; i < size_of_family... View Questions/Answers

how to get the value of a label field of option tag in javascript?  April 4, 2012 at 11:44 AM
example <select> <option label="2" value="A">A</option> <option label="5" value="B">B</option> </select> <select> <option label="6" value="C">C</option> ... View Questions/Answers

Direct Access of PDF  April 4, 2012 at 11:26 AM
Hi During the security audit of my project ,i got an case in report dat is no one can access the pdf file without login.I have no's of pdf in a folder,but problem is this any1 can open the pdf by knowing name of pdf.My application is made in classic asp.Plz help ... View Questions/Answers

bean object  April 4, 2012 at 10:49 AM
i have to retrieve data from the database and want to store in a variable using rs.getString and that variable i have to use in dropdown in jsp page. ... View Questions/Answers

addition of two combobox values using jsp and javascript  April 4, 2012 at 10:42 AM
How to make addition of two combobox values using jsp and javascript?... View Questions/Answers

how to print headings horizontally in jsp  April 4, 2012 at 10:11 AM
In one of my jsp i have used for loop. in every iteration it will fetch value from db and print it on heading section, it prints vertically but my requirement is to print it horizontally, can anyone suggest any idea. please see the code which i have used below : ... View Questions/Answers

JTable  April 4, 2012 at 1:51 AM
below describes a program of research that results in a table, my problem is that this same table to see it only accepts a single line even if I have more than one view as he only accepts a single line ... I am asking you to rewrite my program so you can scroll and data exists in more than one li... View Questions/Answers

project on php  April 4, 2012 at 12:50 AM
suppose i have five tabels and i must form them html then link them database and php then i want to make query between them these five tabels and data in each one pleaze help me Table of suppliers Source no resource name Address mobile Tel e-mail Customers table Customer no Customer name... View Questions/Answers

database and php  April 4, 2012 at 12:48 AM
suppose i have five tabels and i must form them html then link them database and php then i want to make query between them these five tabels and data in each one pleaze help me Table of suppliers Source no resource name Address mobile Tel e-mail Customers table Custome... View Questions/Answers

Problem in executing query....  April 3, 2012 at 10:27 PM
Suppose there is a textbox or a text area and the user is supposed to enter any text.Suppose the user enters his text and his text contains a '(inverted comma) somewhere in his text.I fetch this data with request.getParameter() but when I execute the query to store in oracle it is showing error b... View Questions/Answers

file upload using JSP  April 3, 2012 at 6:51 PM
I have created a form to upload a file in a html page, now i want to get the path of the file in a jsp page so what code should I write? thanks and regards... ... View Questions/Answers

Conflation Algorithm  April 3, 2012 at 6:14 PM
implementation of conflation algorithm is possible using java?? conflation requires file handling a text contains stop words(is,or,and,.,)remove this words remove suffix(ing,ed..) remove equal words count the number of occurrences of words... help me to implement this.. ... View Questions/Answers

how to ruv servlet program in myeclipse blue edition?  April 3, 2012 at 5:11 PM
how to ruv servlet program in myeclipse blue edition?... View Questions/Answers

how to use confirmation alert box before delete in jsp?  April 3, 2012 at 3:18 PM
I use submit button.I want alert box before deleting data. ... View Questions/Answers

date format to be updated with current date time  April 3, 2012 at 1:51 PM
package LvFrm; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.*; import javax.swing.border.Border; ... View Questions/Answers

date format updated  April 3, 2012 at 1:51 PM
package LvFrm; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.*; import javax.swing.border.Border; ... View Questions/Answers

updated with current date n time  April 3, 2012 at 1:51 PM
package LvFrm; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.*; import javax.swing.border.Border; ... View Questions/Answers

online quiz program coding using jsp, jdbc odbc connection with ms. access.. Thank you.  April 3, 2012 at 1:28 PM
please provide online quiz program coding using jsp, jdbc odbc connection with ms. access.. Thank you. ... View Questions/Answers

springs  April 3, 2012 at 1:06 PM
i am beginer of spring framework any bestbooks for this framework...how i design web projects using springs and hibernate...if any sample code means ple send the link ple it s very useful for me ... View Questions/Answers

Problem in card demo example.  April 3, 2012 at 12:40 PM
Hi, I have successfully shows of bunch of all 52 cards in applet, and its showing one by one, now i want to drag one card of bunch, then its shows back of its above card, hence the top most card is the one card that shows full when drag and move around the screen. please help me, I am using Ec... View Questions/Answers

Get values in drop down list  April 3, 2012 at 12:27 PM
Pls provide me jsp code to get values in drop down list from another table's field. my project has customer registration and company registration pages..... when i insert data in company registration .. it ll have company id and company name fields .... these both fields should be automatically ... View Questions/Answers

jsp login code when username , password and dropdown box value is correct...  April 3, 2012 at 12:26 PM
my project has login in which i should select the company name in dropdown box.... so when i login i all the three username,password and dropdown box value(i.e)company name should match.... pls provide code.... thanx ... View Questions/Answers

java thread program  April 3, 2012 at 11:38 AM
write a java program to find out all the current running thread in a java program ... View Questions/Answers

java thread program  April 3, 2012 at 11:37 AM
write a java program to find out the current running thread in a java program ... View Questions/Answers

SERVLET  April 3, 2012 at 11:35 AM
package employmaster; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.RequestDispatcher; import javax.servlet.Servl... View Questions/Answers

SERVLET  April 3, 2012 at 11:35 AM
package employmaster; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.RequestDispatcher; import javax.servlet.Servl... View Questions/Answers

select one item name throug combo box than other combobox show item price  April 3, 2012 at 11:14 AM
i have one table in database item master..if i select one item name through combo box than other combobox show item price only select item name... how i can implement through jsp in a single jsp page. ... View Questions/Answers

How to use between in mysql.  April 3, 2012 at 11:07 AM
I want to display records inbetween two dates and also want to use where condition( like and deptname='Pediatry Department'). ... View Questions/Answers

SERVLET AND JSP  April 3, 2012 at 10:14 AM
If i want tio create a login form using SUBMIT,ADD,DELETE,and MoDIFY button,when I click on the ADD button then on the next page Employee Id which is primary key will generate automatically from the oracle database,and also on the same page there is drop down list of department,when i select the ... View Questions/Answers

SERVLET AND JSP  April 3, 2012 at 10:14 AM
If i want tio create a login form using SUBMIT,ADD,DELETE,and MoDIFY button,when I click on the ADD button then on the next page Employee Id which is primary key will generate automatically from the oracle database,and also on the same page there is drop down list of department,when i select the ... View Questions/Answers

DropDown Menu  April 3, 2012 at 8:56 AM
Hello, i have a program that can view,add,delete and update/edit. and its working properly. but i want to make in more easier.. let me draw to your my mind my program.. in my homepage which i have a dropdown menu that has the list of Page 1- Page 5. if i select page 1 it w... View Questions/Answers

project on php and query  April 3, 2012 at 12:56 AM
,,,write code thats i have five tabels and i must make them as forms html then link between them database and php them make query betwen them this five tabels Table of suppliers Source no resource name Address mobile Tel e-mail Customers table Customer no Customer name A... View Questions/Answers

project on php and database  April 3, 2012 at 12:39 AM
write code i have five tables and i want to build them as form html then link between them as database and php and make query between them those five tables Table of suppliers Source no resource name Address mobile Tel e-mail Customers table Customer no Customer ... View Questions/Answers

Input type select  April 2, 2012 at 10:53 PM
This block of code shows 4 countries even when the size of the SELECT element specified is 2. Why is it so? Select a Country: <select name="country" size="2"> <option name="Australia" value="Australia" selected="selected">Australia... View Questions/Answers

car rent system project  April 2, 2012 at 8:41 PM
pl, may I get a source code in java with user inter face about car rent system. if it is possible pl help me. ... View Questions/Answers

problem on php  April 2, 2012 at 7:55 PM
l have five tables and build them as forms and link between them php and database and i want to build query between them plz help me soon ... View Questions/Answers

naveen  April 2, 2012 at 7:12 PM
Sir i 3 jsp pages...first one home.jsp form name="form" class="sf-menu ul" method="post" action="check.jsp"> <table border="10"> <tr><td background="orange">Username:</td><td><input type="text" name="username"></... View Questions/Answers

Java  April 2, 2012 at 7:07 PM
Please any one help me... I need to display both image and data from database to JTable I don't know how to display... Please tell me how To Display both image and data into Swing JTable which is retrieved from MySQL database? Thanks. ... View Questions/Answers

combox  April 2, 2012 at 6:50 PM
i have one table in database item master..if i select one item throug combo box than other combobox show item price only select item name... how i can implement through jsp in a single jsp page. ... View Questions/Answers

jsp login code when username , password and dropdown box value is correct...  April 2, 2012 at 6:50 PM
my project has login in whic i should select the company name in dropdown box.... so when i login i all the three username,password and dropdown box value(i.e)company name should match.... pls provide code.... thanx ... View Questions/Answers

Pls provide me jsp code to get values in drop down list from another table's field....  April 2, 2012 at 6:45 PM
my project has customer registration and company registration pages..... when i insert data in company registration .. it ll have company id and company name fields .... these both fields should be automatically inserted in customer registration page and should be shown in drop down box in front ... View Questions/Answers

program to display the first ten terms of the series  April 2, 2012 at 6:08 PM
Write a program to display the first ten terms of the following series : 1) 1,-3,5,-7,9..... 2) 3,6,12,24..... 3) 2,5,10,17....... 4) 0,1,2,3,6............ 5) 0,3,8,15.......... ... View Questions/Answers

pause play NSTimer  April 2, 2012 at 5:08 PM
How to pause or play NSTimer? ... View Questions/Answers

Joining Multiple table in Hibernate  April 2, 2012 at 4:50 PM
Hi everyone, I'm new to Hibernate (even in JAVA), and I'm having some doubt's about one thing. I created 2 tables in PostgreSQL with 1 to many relationship, and now i'm trying to test some queries to them. Tables names are TbPessoa (one) and TbTelefone(many). ... View Questions/Answers

highlight uitableviewcell on selection  April 2, 2012 at 4:30 PM
I am unable to highlight the UITableViewCell on selection in my application. ... View Questions/Answers

J2ME count character into string  April 2, 2012 at 12:27 PM
i am new in J2ME, my problem is how to count character into number, i had been research google for almost 2 days and got nothing...some one plz give me a punch :) as an example, 1. i got a text form which allow user to input character user input helloworld then press Next c... View Questions/Answers

Delete Account  April 2, 2012 at 9:01 AM
How to delete account? ... View Questions/Answers

reduce complexity  April 2, 2012 at 8:15 AM
I want to make the logic simple.all suggestions welcomed servlet //Update3 int testid = Integer.parseInt(request.getParameter("testid")); int question1 = Integer.parseInt(request .getParameter("questionid1")); ... View Questions/Answers

chn.ilp.test  April 2, 2012 at 8:04 AM
public class Constants { public static String DRIVERNAME = "oracle.jdbc.driver.OracleDriver"; public static String SERVERNAME = "172.24.137.30"; public static String PORTNUMBER = "1521"; public static String SID = "ora10G"; public static Str... View Questions/Answers

(help me) use wait() and notify() method in Thread.  April 2, 2012 at 6:10 AM
we have to create 3 classes..1 is the main class, 1 is Thread UUM class, and another one is Thread Sintok class...we have to use wait(); and notify(); to comes out with this output:- (the output must be begin with UUM and end with SINTOK) UUM SINTOK UUM SINTOK UUM SINTOK UUM SINTOK UUM SI... View Questions/Answers

search filter and JTable  April 2, 2012 at 5:40 AM
I first im not speak englis very well, so my question is: how can i make search data in JTable of java? i wan to search records in table or textfield but the data display in JTable. Note: i dont have a table. PLEASE HELP.... THANKS ... View Questions/Answers

using the built-in Queue class  April 2, 2012 at 12:50 AM
Queues are after used to stimulate the flow of people , cars , airplanes , transactions , and so on . write a program that models checkout lines at a supermarket, using the built-in Queue class.Several lines of customer should be displayed. you can add a new customer by pressing a key. ... View Questions/Answers

Please help me to modify my java code from php code  April 2, 2012 at 12:49 AM
i want to covert this php code int java/JSP . if (isset($_POST['orders'])) { $orders = explode('&', $_POST['orders']); $array = array(); foreach($orders as $item) { $item = explode('=', $item); $item = explode('_', $item[1]); $array... View Questions/Answers

Modify Java code from PHP Code  April 2, 2012 at 12:49 AM
i want to covert this php code int java/JSP. if (isset($_POST['orders'])) { $orders = explode('&', $_POST['orders']); $array = array(); foreach($orders as $item) { $item = explode('=', $item); $item = explode('_', $item[1]); $array[... View Questions/Answers

jdbc  April 1, 2012 at 7:56 PM
is it possible to use doget & dopost method with jdbc to call in a servlet programe? ... View Questions/Answers

Servlets Programming  April 1, 2012 at 7:03 PM
Hi this is tanu, This is a code for knowing how many times a servlet has been accessed. but after executing this i am getting only 1 as output for many times of execution. I want to store the counter value once and then want to know how many times it(servlet) has been called. How to store that... View Questions/Answers

Java 2 micro editionJ  April 1, 2012 at 6:41 PM
Hello, i am using JCreator, for writing my J2ME program, after building the program, it keeps on given me the following errors: package javax.microedition.midlet does not exist package javax.microedition.lcdui does not exist package javax.microedition.i... View Questions/Answers

Full path of image to save it in a folder  April 1, 2012 at 5:48 PM
Sir ,I am trying to upload a file but only sends file name as parameter. I want a code that would help me to find that image path &upload it as well. I am just a beginner in jsp &trying to create a project. ... View Questions/Answers

Need to decide technologies to create new social site web application in java  April 1, 2012 at 5:15 PM
Hi, I want to create a social site in java, j2ee which should support thousands of user. I want to keep it very simple and light. So few of my questions are : What parameters should I consider in Initial phase of deciding the technologies? Should I choose hibernate ... View Questions/Answers

remove element from stack  April 1, 2012 at 2:01 PM
Hi there I'm looking around on the internet how to remove names from stack by asking user how many names they want to remove and if the number they enter is bigger than the stack number then show error message and if not then remove the names from stack until the stack is empty the exit... View Questions/Answers

discussion forum  April 1, 2012 at 12:16 PM
how to create discussion forum in jsp? ... View Questions/Answers

MS-Access  April 1, 2012 at 1:35 AM
I am trying to upload a image to ms-acess using jsp,and my problem is that it shows some error int the browser that "java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect ".I think i set wrong datatype for table column in which my image going to be... View Questions/Answers

java vs vb  March 31, 2012 at 9:55 PM
history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon... ... View Questions/Answers

history of java  March 31, 2012 at 9:55 PM
history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon... ... View Questions/Answers

Selection With Ajax and JSP  March 31, 2012 at 9:26 PM
I am working at a jsp page using ajax for country , state, city selection. so if he select country it will populate the state and city selection (both). After selecting country if he select city it will populate the state selection and if he select the state it will populate the... View Questions/Answers

P2P file sharing application  March 31, 2012 at 9:07 PM
Hi, I have developed a simple file sharing application in java using TCP socket. Now, the question is how do i make this application P2P? Can Distributed Hash Table (DHT) do that or there are other options that i can implement in my application to make it P2P? I would be very thankful to get some... View Questions/Answers

how to retrieve the url pattern of the requesting servlet?  March 31, 2012 at 9:06 PM
Hi friends, I need to know this. For example if you have Servlet1 and Servlet2. Now from servlet1, you are going to servlet2. So in the servlet2 how you will display the url pattern of the servlet1? This is my question. please answer me soon. Thanks praveen. ... View Questions/Answers

what's the logic for create pattern program  March 31, 2012 at 8:02 PM
1 2 3 4 5 5 1 2 3 4 4 5 1 2 3 3 4 5 1 2 2 3 4 5 1 ... View Questions/Answers

Online quiz mini project  March 31, 2012 at 6:00 PM
Sir i need a online quiz program coding using java servlet, jdbc odbc connection with ms. access. If possible send that source code to me. Thank you. ... View Questions/Answers

javascript integer to string conversion  March 31, 2012 at 5:06 PM
How to Javascript Integer to String Conversion ... View Questions/Answers

netbeans library  March 31, 2012 at 4:50 PM
Hi could someone build a program in netbeans for a book library please.The program should provide a menu of options to work with the library, including: 1) Adding a new item to the library 2) Viewing all stock in the library 3) Lending an item 4) Returning an item<... View Questions/Answers

netbeans library  March 31, 2012 at 4:49 PM
Hi could someone build a program in netbeans for a book library please.The program should provide a menu of options to work with the library, including: 1) Adding a new item to the library 2) Viewing all stock in the library 3) Lending an item 4) Returning an item<... View Questions/Answers

Importing in java . . . .  March 31, 2012 at 4:06 PM
We all know that when we are importing a class of a package in another package , the methods which are public are only available and we can use it . But suppose the method has default access specifier , yet we can use the method . With default access specifier it is only available to classes insi... View Questions/Answers

Java  March 31, 2012 at 4:00 PM
How to retrieve image from MySQL database using java? ... View Questions/Answers

calendar js  March 31, 2012 at 2:57 PM
there are two calendar on form and i want that once date chosen from first calendar , the second calendar should be disabled till that date. for eg once i have chosen date 21-03-2012 from first calendar, in the next calendar the person can't able to choose data till 21-03-2012, the dates... View Questions/Answers

to show graph  March 31, 2012 at 2:34 PM
by clicking on submit button how to show the graph by fetching data in mysql? ... View Questions/Answers

Problem in show card in applet.  March 31, 2012 at 2:02 PM
The following link contained the card demo with applet. http://www.roseindia.net/java/java-tips/45examples/30graphics/cardDemo/cardDemo.shtml Now I am trying to run this code in eclipse but Not show card in the applet, then I add a code in paintComponent method like- "g.drawImage(c.imag... View Questions/Answers

DMCA.com