Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

I want only one method goes to sleep but both method goes to sleep together  April 19, 2012 at 1:09 PM
I built a TicTacToe game for android. And i want that there should be some time gap or time difference between User's turn and Computer's turn. Mean i want like a sleep() or any other method should be invoked between User's turn and Computer's turn. But when i call Sleep() before cpuPlay() method... View Questions/Answers

integrate hibernate and struts2.0 in eclips ide  April 19, 2012 at 12:59 PM
I want to know how to integrate hibernate with struts2.0 in eclips ide ... View Questions/Answers

dynamic select box  April 19, 2012 at 12:48 PM
hello friends i created a form and details of city & locations have to be come from database. if city hyderabad chosen then locations of hyderabad only appear in location selectbox.plz send code it is more helpful tome. ... View Questions/Answers

Advertisement

how to do this?  April 19, 2012 at 11:58 AM
Given any integer 2D array, design then implement a Java program that will add to each element in the array the corresponding column number and the corresponding row number. Then, it prints the array before and after modification. For example, if the program fed with following 2D array... View Questions/Answers

inserting multiple file formats into database  April 19, 2012 at 11:56 AM
hi i want to insert multiple file format like .pdf.doc.zip into mysql database using jsp. ... View Questions/Answers

How to rectify "Bad version number in .class file" exception in Eclipse  April 19, 2012 at 10:50 AM
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Bad version number in .class file org.apache.... View Questions/Answers

serialization concept  April 19, 2012 at 10:47 AM
what is the exact purpose of serialization in detail ... View Questions/Answers

Pagination  April 19, 2012 at 10:11 AM
I want to know how to use pagination in jsp. I have a list object from that i want to display 3 questions per page can u help me ... View Questions/Answers

tags in struts2  April 19, 2012 at 9:00 AM
Hello I am using simple tags in struts2. Like this <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags" %> <!DOCTYPE html PUBLIC "-//W... View Questions/Answers

Needed jsp codes  April 19, 2012 at 12:52 AM
jsp code for employee payroll.producing a payslip of every employees monthly calculating the gross pay of a particular employee considering the income tax and producing a report which can be printed out.... ... View Questions/Answers

how to print all possible combination that sum to zero??  April 18, 2012 at 7:20 PM
? Consider the sequence of digits from 1 through N (N<=9) in increasing order: 1 2 3 4 â?¦ N ? Insert either a â??+' (for addition) or a â??-â?? (for subtraction) between each of the digits so that the resultant sum is zero. Print all possible combinations that ... View Questions/Answers

how to get mail exchange records using java dns protocol  April 18, 2012 at 6:02 PM
Hi, how to get DNS mail exchage records(MX) using struts2 framework(server:glassfishv3) Thanks, B.Sucharitha. ... View Questions/Answers

getting the excel path throuh web browser given from client(i.e thruogh .jsp)  April 18, 2012 at 5:33 PM
1)when client uploads the excel sheet through a .jsp page, 2)get that excel path from web browser and read the data from the excel and printing in a jsp page i.e response to client through jsp please provide the code in spring thanks in advance ... View Questions/Answers

Java sorting  April 18, 2012 at 5:15 PM
can somebody help me know how java sorts? means which algorithm it uses internally n all? thank you in advance ... View Questions/Answers

java  April 18, 2012 at 12:27 PM
how to convert jspcode into servlet code which method is used. ... View Questions/Answers

excel uploading in jsp  April 18, 2012 at 12:24 PM
could you provide the source code for: 1)have to upload an empty excel sheet at client side i.e if client clicks an excel icon an empty excel sheet should open 2)when they fill data in that sheet and click on save button, 3)at server side,retrieving the values what the client has given and printi... View Questions/Answers

Capture a Screenshot image in database  April 18, 2012 at 12:21 PM
Hi All, Im using the Capture a Screenshot in java program and connect to the database and store the Capture a Screenshot image in database. but Iwant every 10 min randomly taken Capture a Screenshot in Java program and connect to database store the Capture a Screenshot image. ... View Questions/Answers

Concatenate 2D arrays  April 18, 2012 at 11:59 AM
JFileChooser jf = new JFileChooser(); jf.setMultiSelectionEnabled(true); int returnVal = jf.showOpenDialog(frame); File[] file = jf.getSelectedFiles(); for(int i=0;i<file.length;i++) { System.out.println("Iteration number "+i); Wor... View Questions/Answers

Argument Passing  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]) { ... View Questions/Answers

Passing Argument in Java  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]... View Questions/Answers

Argument Passing  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]) { ... View Questions/Answers

Argument Passing  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]) { ... View Questions/Answers

Argument Passing  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]) { ... View Questions/Answers

Argument Passing  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]) { ... View Questions/Answers

Argument Passing  April 18, 2012 at 9:46 AM
hi this is my code class Test { void meth(int i, int j) { i *= 2; j /= 2; System.out.println("a=" +i); System.out.println("b=" +j); } } public class CallByValue1 { public static void main(String args[]) { ... View Questions/Answers

convert java Application to Java Applet  April 18, 2012 at 6:46 AM
hi every Java Master or Java Professional , my Name Is Vincent i'm java beginner can i ask a question regarding for Java application convert to Java Applet. below her is my sample application hope every master or professional can teaching me thank you. imp... View Questions/Answers

convert java Application to Java Applet  April 18, 2012 at 6:46 AM
hi every Java Master or Java Professional , my Name Is Vincent i'm java beginner can i ask a question regarding for Java application convert to Java Applet. below her is my sample application hope every master or professional can teaching me thank you. import javax.swing.*; import java... View Questions/Answers

Console messenger. How to anticipate if the user is writing something or just waiting for messages  April 18, 2012 at 1:45 AM
A console that acts as messenger. The app is Client/Server architecture. The app look for a messenger from other host and shows it as soon as receives it. The question is how to know that the user is typing a message or not because if the user is typing a message, the recieved message will int... View Questions/Answers

ArrayList in java  April 17, 2012 at 11:34 PM
sir i have a class Student.it contains id,name,marks of students and a parameteraised constructor.now i created an arraylist for storing the objects of Student class.i.e Student s1=new student(1,"ram",23); Student 21=new student(2,"ramana",35); Student s3=new student(3,"ramraju",63); Arra... View Questions/Answers

how to use one form out of multiple form from one jsp to another jsp  April 17, 2012 at 11:22 PM
Hi All. please give me your valuable advise for below requirement.. I have a .jsp( say abc.jsp) file which contains multiple Action form.I am required to add one form from abc.jsp as it is to another .jsp(say def.jsp).Your advise is appreciated ... View Questions/Answers

Session Expire  April 17, 2012 at 11:22 PM
Hello... i am new in JSP. i use in session.setAttribute and .getAttribute.But when i click on the sign out button i shows that the user is sign out but when i click on back button(chrom back button) it is again logged in. please help me..please Thanks sruti suman ... View Questions/Answers

Jfreechart chart display problem  April 17, 2012 at 10:15 PM
Using JSP and Jfreechart displays the chart fine on an internal browser in eclipse but doesnt display it on Chrome nor on Firefox. Chart.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import... View Questions/Answers

Java Variables Help Please!  April 17, 2012 at 10:08 PM
Hi, I just started with java and i need help with my school project, this is it so far: import java.util.*; public class ProjectCS { public static void main(String[] args) { welcome(); menu(); } public static void welcome() { System.o... View Questions/Answers

java  April 17, 2012 at 8:23 PM
how to convert jsp code into servlet code which method is used plz tell me. ... View Questions/Answers

serch document from .doc and .docx file  April 17, 2012 at 7:51 PM
how to find particular word from .doc and .docx file and that date insert into a data base ... View Questions/Answers

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

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

DMCA.com