Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Arrays  April 17, 2012 at 6:27 PM
Hi I need help with the following exercises. Exercise 1: Write a Java application in which the user is prompted for the total number of integer values to be stored in an array. Initialize the array with random values in the range 1-20 inclusively. Now determine the largest and the smallest values... View Questions/Answers

static page and dynamic pages?  April 17, 2012 at 5:58 PM
what is the static page and dynamic pages adv and disadv? ... View Questions/Answers

static page and dynamic pages?  April 17, 2012 at 5:57 PM
what is the diff between static page and dynamic pages? ... View Questions/Answers

Ads

static page and dynamic pages?  April 17, 2012 at 5:56 PM
what is the static page and dynamic pages? ... View Questions/Answers

INTERPRETER  April 17, 2012 at 5:07 PM
how to write a simple interpreter in java that can execute simple commandes like adding two integers and sysout a result and calling java classes and executing the methodes in that class . ... View Questions/Answers

what is the server  April 17, 2012 at 4:09 PM
what is the server? ... View Questions/Answers

session  April 17, 2012 at 2:11 PM
how to implement login-logout session???? ... View Questions/Answers

i want to do a project using jsp and servlet....What are all the materials i need to study  April 17, 2012 at 12:52 PM
i want to do a project using jsp and servlet....What are all the materials i need to study ? ... View Questions/Answers

How to display gridview details to labels dynamically?  April 17, 2012 at 12:37 PM
I am using SQLDataSource to connect to MySQL. I have a gridview that retrieves information from MySQL database based on a selected id(dropdownlist). I need to display the gridview results on labels. I used lbDate.Text = GridView1.Rows(0).Cells(0).Text to display however, it always displays the d... View Questions/Answers

call another computer in LAN (no internet acces)  April 17, 2012 at 12:30 PM
Any idea how to develop a java application that makes VOIP calls inside an isolated (without internet access) network? Is there any (free) software solution for my problem? Thank you! ... View Questions/Answers

how to send mail with multiple attachments in jsp  April 17, 2012 at 11:50 AM
how to send mail with multiple attachments in java script ... View Questions/Answers

mail with multiple attachments  April 17, 2012 at 11:43 AM
code for sending mail with multiple attachments in jsp ... View Questions/Answers

how gave security of my pages in website????  April 17, 2012 at 11:05 AM
how gave security of my pages in website???? ... View Questions/Answers

shape looping  April 17, 2012 at 10:27 AM
can some1 help me?i have to make a shape using "*" by looping...and i dun know how...please and thank you * ** ... View Questions/Answers

insert data in the database using checkbox  April 17, 2012 at 10:26 AM
i am fetching data from the database using servlet on the jsp page and there is checkbox corresponding each row but the problem is that i am not fetching data in any textboxes so how should i insert only checked data into database on submission. ... View Questions/Answers

login  April 16, 2012 at 11:41 PM
hello i need some help please help how can identify admin from user when logging in? please make some answer and some explanation... ... View Questions/Answers

display data on text field  April 16, 2012 at 11:35 PM
I have created one table into SQL 8i. table contains 4 number data type columns. I want to retrieve data from that column and display that data on text field. String q="select * from Result1 where UserName='"+t1f.getText()+"'"; rs=st.executeQuery(q); ... View Questions/Answers

create one table into SQL 8i  April 16, 2012 at 11:35 PM
I have created one table into SQL 8i. table contains 4 number data type columns. I want to retrieve data from that column and display that data on text field. String q="select * from Result1 where UserName='"+t1f.getText()+"'"; rs=st.executeQuery(q); ... View Questions/Answers

Java  April 16, 2012 at 10:26 PM
What is java? ... View Questions/Answers

JDBC and Java Applications  April 16, 2012 at 10:26 PM
How to develop applications in JDBC and Java ... View Questions/Answers

Web Application  April 16, 2012 at 10:26 PM
Web applications for user management... View Questions/Answers

how to set class path  April 16, 2012 at 10:19 PM
how to set class path in java? ... View Questions/Answers

Java Services  April 16, 2012 at 10:17 PM
What is Java Services? ... View Questions/Answers

java basic  April 16, 2012 at 10:16 PM
Java Basics tutorials ... View Questions/Answers

Insertion sort program find calendar to array value 1000,5000,10000  April 16, 2012 at 9:49 PM
program find calendar for insertion sort in jfram to array 1000 ... View Questions/Answers

Action form  April 16, 2012 at 9:12 PM
how to store details from user and how to create asp file or etc. ... View Questions/Answers

how to open Java  April 16, 2012 at 6:59 PM
how to open java file simple Java Example... View Questions/Answers

How to write script in Java  April 16, 2012 at 6:57 PM
<html> <head> <script>alert('ok')</script> </head> </Html> ... View Questions/Answers

access data from mysql through struts  April 16, 2012 at 6:15 PM
I am Pradeep Kundu. I am making a program in struts in which i want to access data from MySQL through struts. I am using Strut 1.3.8 , Netbean 6.7.1 and MySQL 5.5. In this program ,I want to insert, delete & search data. In insert statement , i take a number variabe with lon... View Questions/Answers

Java Socket Programming  April 16, 2012 at 6:00 PM
Q.server get terminated after sleep time completion so further process stop. provide solution or any alternative of thread for following problem. //Item_Server.java import java.sql.*; import java.util.*; import java.util.*; import java.net.*; import... View Questions/Answers

how to convert java fram to java servlets  April 16, 2012 at 5:18 PM
hi every java master or java professional can you teach me how to convert JFram to Java Servlets program hope yours can reply me Thank you. below this is my own coding import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*... View Questions/Answers

Displaying empty pdf with jasper reports using spring framework  April 16, 2012 at 5:14 PM
Hi, I am working with spring jasper integration to generate the jasper reports. Spring 3.0.5RELEASE,ireport 4.5.0 I generated a report template using the ireport.My spring controller class is returning the view and i am using the view resolver in the dispatcher-servlet.xml.I p... View Questions/Answers

javaFx technology  April 16, 2012 at 5:11 PM
how to call a Form to another Form in javaFx programme and need a proper professional guide with example for javaFx technology plz send as soon as possible ... View Questions/Answers

auto log out the application if its inactive for longer period  April 16, 2012 at 4:15 PM
hi all, Please tell me how to auto log out the application if its not performing any activity for longer period in jsp i tried to use session.setMaxInactiveInterval(arg0); but still its not working please reply.. thanks in advance ... View Questions/Answers

Logout if its not active for longer period in jsp  April 16, 2012 at 4:01 PM
hi all, Please tell me how to log out the application if its not performing any activity for longer period in jsp i tried to use session.setMaxInactiveInterval(arg0); but still its not working please reply.. thanks in advance ... View Questions/Answers

How to solve concurrency issue when an application is running on two machine to fetch record from one database  April 16, 2012 at 3:03 PM
I have developed an application in java to run on two machines. Program will fetch a record from database and process it. I want to make sure that when application run on two machine are not fetching/processing same record at the same time. for example: if one machine fetches few records to proc... View Questions/Answers

Drop constraint of table in oracle without specifying constraint name  April 16, 2012 at 3:00 PM
I create my table in oracle with check constraint but I forgot constraint name.Now I want to drop constraint of my table without specifying constraint name. ... View Questions/Answers

how to add database in Java Applet  April 16, 2012 at 2:50 PM
hi every java master or Java Professional my name is vincent i'm java beginners hope u all can ,tech me how to add database in Java Applet below this code is my applet source code . thank you import javax.swing.*; import java.applet.*; import j... View Questions/Answers

Login Authentication using existing Active Directory.  April 16, 2012 at 2:04 PM
I need jsp code for login authentication of username and password using already existing Active Directory. Here no need to create active directory.The JSP code should be Such that there should be no inputs for code other than username, password and LDAP or Active directory URL. ... View Questions/Answers

SQL Server row comparison using two tables  April 16, 2012 at 12:59 PM
insertion process are completed in table1.string comparison using table2 to table1 if any changes in these tables and then upadated. ... View Questions/Answers

javascript form submission  April 16, 2012 at 11:59 AM
how can apply validation when doing submission like following <html> <script type="text/javascript"> function submitform() { document.forms["myform"].submit(); } </script> <form id="myform" ac... View Questions/Answers

difference between wite and writeto in java  April 16, 2012 at 10:23 AM
I am using the stream to write content to the file.I am using write() method but my friend suggest the writeTo() method. I want to know difference between the write() and writeTo() method in java. ... View Questions/Answers

Drop Check constraint without constraint name in oracle  April 15, 2012 at 9:14 PM
I created check constraint for my table.I forgot its name.Now I want to drop that constraint without constraint name ... View Questions/Answers

JSP  April 15, 2012 at 7:07 PM
Create a JSP to check the status of bus ticket reservation from the database. Status will be marked with character. Reserved (r), waiting (w), cancelled (c). ... View Questions/Answers

JSP public opinion poll  April 15, 2012 at 7:05 PM
Develop a JSP for a news channel to conduct public opinion poll on any topic. Users will respond through yes or no options. Later display the result in percentage ... View Questions/Answers

How to import txt file using SQL  April 15, 2012 at 4:00 PM
Hai, I have a log file in .txt format and format of the log is given below. From the log i want to pick up some particular words and insert onto a table using SQL. I want the output of the table like occurred Time pcmcircuit unavailableSec 04/14/12 10:07:33 7... View Questions/Answers

Java Devloper  April 15, 2012 at 2:06 PM
how to create for four..dependent dropdown list.. and how to get id in textbox as we select country name india then it id should be show in corressponding textbox.......please reply me soon ... View Questions/Answers

ajax code please help to solve this.  April 15, 2012 at 1:13 PM
in this i am trying to get data from datbase and put it in combo box and then display it down using table and use ajax onchange but when i am trying to do so it show some error viewapplicants.jsp <a href="birth.do?submit=applicantsforbirthce... View Questions/Answers

Source code of a website in HL and JSP.  April 15, 2012 at 1:09 PM
I want the source code of a website of 10 pages with database connectivity. Source code should be in HTML and JSP. Thanks! ... View Questions/Answers

menu driven programme  April 15, 2012 at 8:27 AM
calculate the area of circle, square, rectangle in menu driven programme in java ... View Questions/Answers

file upload  April 15, 2012 at 2:05 AM
how to recieve the uploaded file on the next jsp page for modification if its uploaded to the previous page using a from? ... View Questions/Answers

How to update clob??  April 15, 2012 at 12:58 AM
I have a table "articles" which contains the columns -articletitle,details,author,serial.The details column is the only column which is Clob and the serial is int.The rest are varchar2.I want to update all the columns of the table except serial since it is the primary key column.Somebody please h... View Questions/Answers

dialog box  April 14, 2012 at 8:26 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set of... View Questions/Answers

dialog box to show latest question  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set... View Questions/Answers

dialog box to ask to quit or continue  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set... View Questions/Answers

Java show series of at least four interview questions  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set... View Questions/Answers

numeric choice to select answers  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set... View Questions/Answers

enter another set of responses to the same set of questions  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set... View Questions/Answers

dialog box  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set of... View Questions/Answers

dialog box  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set of... View Questions/Answers

dialog box  April 14, 2012 at 8:25 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set of... View Questions/Answers

dialog box  April 14, 2012 at 8:24 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set of... View Questions/Answers

dialog box  April 14, 2012 at 8:24 PM
hello. write an application that displays a series of at least four interview questions and each question should have at least three possible numeric choice answers. at the end of the interview, use a dialog box to ask whether the user wants to - enter another set of responses to the same set of... View Questions/Answers

Insertion Sort Timer  April 14, 2012 at 6:13 PM
Welcome all I wanna program in java find the timer of insertion sort and find time complexity for random value thanks all ... View Questions/Answers

online banking application  April 14, 2012 at 5:48 PM
i want to develope online banking application by using jsp with oracle 10g database but i have problem to view the mini statement and balance enquiry...when we entered accontno and pin and select the ministatement or balance enquiry after that click on proceed then a blank window open without an... View Questions/Answers

How do i do the coding for 'leaving a comment' in java  April 14, 2012 at 4:38 PM
i am designing a webpage.In my webpage i want to add the option of adding a comment by the readers of the page.how do i do that? ... View Questions/Answers

how to use JOptionPane.YES_NO_OPTION  April 14, 2012 at 3:58 PM
As i said earliar i am making HRMS , the last phase is logout button. when logout button is clicked , an option dialog should appear which ask for yes or no . PROBLEM is i dont know how to use JOptionPane.YESNOOPTION so that i can give user choice of yes or no before logging o... View Questions/Answers

menu drive programm in java  April 14, 2012 at 3:19 PM
calculate area of circle, square,rectangele in menu driven programme in java ... View Questions/Answers

menu drive programm in java  April 14, 2012 at 3:15 PM
calculate area of circle, square,rectangele in menu driven programme in java ... View Questions/Answers

about avl tree and hashing  April 14, 2012 at 2:32 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are three banks (palestine,alquds,alarbi)and every bank has this information a bank name ,location,branch numb... View Questions/Answers

about avl tree and hashing  April 14, 2012 at 2:23 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are three banks (palestine,alquds,alarbi)and every bank has this information a bank name ,location,branch numb... View Questions/Answers

Project on avl tree and hashing  April 14, 2012 at 2:20 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are three banks (palestine,alquds,alarbi)and every bank has this information a bank name ,location,branch numb... View Questions/Answers

sendRedirect to multiple links  April 14, 2012 at 1:58 PM
hello , In my servlet page , i'm using response.sendRedirect("http://ubaid.tk/sms/sms.aspx?uid="+fromNumber+"&pwd="+passWord+"&msg="+msg+"&phone="+toNumber+"&provider="+provider); after it shows the output in browser,i need to redirect to another link like ... View Questions/Answers

redirect to multiple links from servlet  April 14, 2012 at 12:54 PM
hello , In my servlet page , i'm using response.redirect("www.somewebsiteaddress.com"); after it shows the output in browser,i need to redirect to another link like the above line. i want redirect to multiple links simultaneously. anyone help me out. ... View Questions/Answers

basic html  April 14, 2012 at 10:42 AM
what is the difference between html4 and html5 ? ... View Questions/Answers

mysql query  April 14, 2012 at 9:28 AM
I have two tables namely sms and bdpaidbribe. I want to insert a column "Message" of sms table into "caddiinfo" column of bdpaidbribe table. and whenever the Message is inserted into sms table it should automatically get inserted into bdpaidbribe table also. wh... View Questions/Answers

how to solve an internet connection problem  April 13, 2012 at 6:14 PM
when i run my application it give me this error: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not yet implemented the problem is that i don`t know how to implement ... View Questions/Answers

project on avl tree and hashing  April 13, 2012 at 5:07 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are info about bank name ,location,branch number,hash tabel size,#customized and every node must link with has... View Questions/Answers

project on avl tree and hashing  April 13, 2012 at 5:05 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are info about bank name ,location,branch number,hash tabel size,#customized and every node must link with has... View Questions/Answers

JSF Button  April 13, 2012 at 4:57 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are info about bank name ,location,branch number,hash tabel size,#customized and every node must link with has... View Questions/Answers

click on read data button must read from file  April 13, 2012 at 4:48 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are info about bank name ,location,branch number,hash tabel size,#customized and every node must link with has... View Questions/Answers

project on avl tree and hashing  April 13, 2012 at 4:44 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are info about bank name ,location,branch number,hash tabel size,#customized and every node must link with has... View Questions/Answers

Project about hashing and Avl TREES  April 13, 2012 at 4:43 PM
I want to make graphical interface in java ,in this graphical interface there are seven buttons ,first button Read data i must write code that i building avl tree and in every node there are info about bank name ,location,branch number,hash tabel size,#customized and every node must link with has... View Questions/Answers

Hibernate generation Id to postgreSQL  April 13, 2012 at 3:36 PM
Hi, I'm trying to implement a id generator in Hibernate, but I'm having a problem. Hibernate doesn't seems to reset the counting when the id is generated. For example: 1 - In PostgreSQL I have a table (that entries were done with Hibernate script): carId|car_description... View Questions/Answers

How many objects are created in the code below? Explain.  April 13, 2012 at 2:01 PM
Hi, Here is my code public static void main(String[] args) {String s1 = "abc"; StringBuffer s2 = new StringBuffer(s1); StringBuffer s3= s2; StringBuffer s4 = new StringBuffer(s1);} ... View Questions/Answers

PROJECT  April 13, 2012 at 12:46 PM
i want online polling system project codding ... View Questions/Answers

Problem in uploading image to to mysql database  April 13, 2012 at 12:41 PM
Hi, need some help here, i have a program where a user can input name, city and upload image. when a user click the submit button the name, city and the image(Save as BLOB) must be save in the database. and the image will also save in the desired folder. i have no problem in saving the image in t... View Questions/Answers

Problem in uploading image to to mysql database  April 13, 2012 at 12:36 PM
Hi, need some help here, i have a program where a user can input name, city and upload image. when a user click the submit button the name, city and the image(Save as BLOB) must be save in the database. and the image will also save in the desired folder. i have no problem in saving the image in t... View Questions/Answers

image scrolling  April 13, 2012 at 11:33 AM
Hi My reqvirements are as below Input is the address of a folder containing images Output should be a jframe displying first image in a folder when i scroll mouse or press right arrow key then next image should be displayed Similary when i scroll back or press left key th... View Questions/Answers

combo box value  April 13, 2012 at 11:16 AM
i want to populate one combo box value based on another combo box value using ajax ... View Questions/Answers

combo box value  April 13, 2012 at 11:16 AM
i want to populate one combo box value based on another combo box value using ajax ... View Questions/Answers

How to navigate from one jsf to another in eclipse  April 13, 2012 at 10:24 AM
Hi there is my jsf code... <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <!... View Questions/Answers

Web services using eclipse helios and apache tomcat-7  April 13, 2012 at 10:21 AM
My name is sahas shah studying in mca. I want to use web service in project which is on tours and travels. I am using Eclipse Helios and Apache tomcat Server version 7. I want to learn how I can use web service for in my project and what are the other things that i need. I have made a for... View Questions/Answers

Passing td cell id to servlet  April 13, 2012 at 1:10 AM
Hi all, I am new to JSP/Servlet .Please help. I need to send the table cell index in servlet using javascript and should be able to make a cell index to have a text - "X" / "0"only once. Here is my code sofar- function editTableCel... View Questions/Answers

table?  April 13, 2012 at 12:14 AM
Hi, how could i make a table in javascript, which would look like this: AA CODON Number /1000 Fraction .. (this row represents the column identifiers, followed by four rows of inputs) Ala GCG 1.00 1.86 1.00 Ala GCA 3.00 0.00 0.... View Questions/Answers

Retail Point Of sales (using jsp and servlet)  April 12, 2012 at 11:49 PM
Hi, i want to know how to add products using search module, i have a database and created a product module which you can list all the available products to process sales on new sales module. I dont have any background in java and jsp, i dont have any idea where to start coding for processing sale... View Questions/Answers

Problem In applet Its run on browser but hang and blinking when image is draging some where.  April 12, 2012 at 11:27 PM
I am Created applet in working properly on browser. In my applet 52 card images is draw and drage and move on the applet, but when I am draging one card, applet is refreshing and blinking continue when I am moving cards on applet, and also nothing is displaying when I do other work on the same b... View Questions/Answers

traansfer of files between jsp pages.  April 12, 2012 at 11:21 PM
i am trying to create a dynamic web project which performs XOR operation on a file uploaded by a user by converting its contents to ASCII code. i got the process to upload a text file and put it on the servlet. this is the code ive been able to do: <f... View Questions/Answers

Out Of Memory Exception Erorr  April 12, 2012 at 11:02 PM
hello how are you?I hope you are fine I'm using jgrasp program my problem is in java programming my program compiled with no problem but when I run it this exception appears: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main" I searched a lot ... View Questions/Answers

Formatting number as per specific locale in java  April 12, 2012 at 10:02 PM
Hi, I am trying to print the number as per locale. I tried below, but it still prints in English locale. public class loctest { public static void main(String[] args){ Locale.setDefault(Locale.CHINESE); //set chinese defaullt locale System.out.printl... View Questions/Answers

DMCA.com