Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to ask a questions to you clearly with normal english?  May 3, 2012 at 4:39 PM
hi, i want to know how should or can i may ask a question. send me some format or explain me clearly because i am new in this web site. ... View Questions/Answers

How to display the current time  May 3, 2012 at 4:30 PM
I was develop online web portal. In this web portal i am going to display time. I am using <%= new java.util.Date() %> to display the time. But it display the time after that cannot changed. I need change time in every minutes. ... View Questions/Answers

JSP CODE  May 3, 2012 at 4:10 PM
what is the code for downloading images from database using JSP? ... View Questions/Answers

Advertisement

select value from autocomplete textbox using jquery in jsp from database.  May 3, 2012 at 10:15 AM
Hii Sir, Lots of thnx to ur reply .I went through both the tutorials but was unable to find out exact way to fullfill the solution of selecting value from autocomplete textbox using jquery in jsp from mysql database. Kindly send me the complete code . ... View Questions/Answers

J2SE  May 3, 2012 at 9:53 AM
How to encrypt password and retrive orginal password from database i.e decrypted form of password reply as early as possible......... Thanks in advance ravindra ... View Questions/Answers

JAVA EXPERT  May 3, 2012 at 3:47 AM
hello friends , i want to create a hexagonal region and around this six hexagonal cell, in which a object can move. how we can create in java with 2d co-ordinates. ... View Questions/Answers

JAVA EXPERT  May 3, 2012 at 3:47 AM
hello friends , i want to create a hexagonal region and around this six hexagonal cell, in which a object can move. how we can create in java with 2d co-ordinates. ... View Questions/Answers

Program to read the text from a file and display it on a JFrame.  May 2, 2012 at 11:22 PM
import javax.swing.*; import java.io.*; import java.lang.*; import java.awt.*; class MegaViewer1 extends JFrame { JTabbedPane jtp1=new JTabbedPane(); JPanel jp1=new JPanel(); JTextArea t1=new JTextArea(); MegaViewer1() throws Exception { super("Me... View Questions/Answers

Is there a data structure like a class that doesn't need to be defined as a class in it's own file?  May 2, 2012 at 10:37 PM
I am new to java, and I am trying to make a complex program with ArrayLists of objects. Within the classes of these objects, I would like to categorize my variables to better organize my program and to make ArrayLists easier. For example, I want to create the class Equipment which includes such f... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

programming java qus.  May 2, 2012 at 10:09 PM
write a import statement that import all the inner class of outer class .outer class must not be imported?? ... View Questions/Answers

core java qus  May 2, 2012 at 10:04 PM
write a import statement that import an outer class including in inner class?? ... View Questions/Answers

core java qus  May 2, 2012 at 10:04 PM
write a import statement that import an outer class including in inner class?? ... View Questions/Answers

core java qus  May 2, 2012 at 10:04 PM
write a import statement that import an outer class including in inner class?? ... View Questions/Answers

J2ME  May 2, 2012 at 2:39 PM
i wann source code to find out the difference between two dates.. and i wan in detail.. plz do favour for me.. ... View Questions/Answers

what is the difference between distributed application and web application?  May 2, 2012 at 12:33 PM
what is the difference between distributed application and web application? ... View Questions/Answers

How to write program to show status of seats(i.e.free or reserve) in java?  May 2, 2012 at 12:12 PM
I have retrieved data from database table and I want to display status of seats i.e.free or reserved. ... View Questions/Answers

Database  May 2, 2012 at 11:41 AM
I am working in jsf2.Fro a demo i created database in ms access.no wi want to retrive a record from database for a particular data.I need help as I am stuck in it. ... View Questions/Answers

how to get the values from dynamically generated textbox in java?  May 2, 2012 at 10:39 AM
I have retrieved data from two table both table contains two column and I display textbox corresponding to the data. I want to get data from textboxes(generated as per the retrieved data) and I want to store textbox values into the two table. Example: Table 1.Xray (Xid,pid,type,charges... View Questions/Answers

synchronization  May 2, 2012 at 10:25 AM
what is about static method synchronization&instance method synchronization ... View Questions/Answers

synchronization  May 2, 2012 at 10:23 AM
what is the diffrenece between class level locking&object level locking,explain with examples ... View Questions/Answers

Important Question  May 2, 2012 at 10:19 AM
Respected Sir, I am Sanjay Baniwal working in BHEL as a Software Developer as a trainee for One Year. And i have been given a Project in which i have to create a JSP page with a Drop Down List in which all the UserNames in the Account table from SQL Database should come Automatically whenever... View Questions/Answers

code required  May 2, 2012 at 12:25 AM
I am making a blog in java using netbeans and database connectivity with SQL Server 2008. I am using JSP pages for the same and not the struts framework I want to provide option for the users to upload a photo(only .jpg,,png etc files) But i am not getting how to provide this option on the JSP pa... View Questions/Answers

multilevel inheritance  May 2, 2012 at 12:03 AM
import java.io.*; public class Employee { int eid; String ename; void tostring() { System.out.print("Enter Your ID:"); eid=Integer.parseInt(in.readLine()); System.out.print("Enter Your Name:"); ename=in.readLine(); } } publi... View Questions/Answers

Radiobutton in Xcode  May 1, 2012 at 11:43 PM
I am new to Xcode .I want to implement Radiobutton in Xcode (using Objective C),and when i select any Radiobutton ,it should remain selected when i open my view next time. Is it possible anyway ? Any advise would be appreciated! Thanks in advance! Any way to achieve this ... View Questions/Answers

Renaming multiple files  May 1, 2012 at 8:40 PM
Hi, I have number of files in a directory. Files are named as: 1DeoyaRohit0705$.mp4,2DeoyaRohit0705$.mp4, 3_DeoyaRohit0705$.mp4. .... Now I wanted to rename these files as: 1RohitBBorse.mp4, 2RohitBBorse.mp4, 3_RohitBBorse.mp4, .... Please suggest me thro... View Questions/Answers

[JSP] How to pass back ID to previous page.  May 1, 2012 at 4:49 PM
Hi experts, May I ask something. How to link a page to previous page which the content in previous page is selected from database where IDPRODUCT=". I don't know how to pass back the IDPRODUCT. Suppose I have ViewProducts.jsp and ViewPhotosOfProduct.jsp. ViewProducts.jsp ... View Questions/Answers

returning a value from Threads  May 1, 2012 at 3:47 PM
Hello I have worker pattern that uses ExecutorService to schedule Thread execution but getting stuck at some point when returning a value using Future.I have code snippet below: ExecutorService threadPool = Executors.newFixedThreadPool(1); for ( int i=1; i<... View Questions/Answers

To scan a image encode that image in j2me  May 1, 2012 at 2:55 PM
Hai team i am new man of j2me i have doubt to scan a image and encode the image in j2me... Please clarify that doubt... Thanks in Advance... Kumar ... View Questions/Answers

select date in desired format  May 1, 2012 at 1:39 PM
how to select date from the database in DD/MM/YYYY format, because if i am trying select data from the database i am getting value in yyyy/mm/dd and time format like below "2012-05-07 00:00:00.0" ... View Questions/Answers

retrieve multiple attribute values  May 1, 2012 at 1:23 PM
Hello All Am a beginner. Would like some help with this. The following is part of my XML file: <process:Output rdf:ID="_DIAGNOSTICPROCESS"> <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">Some Path 1</process:pa... View Questions/Answers

retrieve multiple attribute values  May 1, 2012 at 1:22 PM
Hello All Am a beginner. Would like some help with this. The following is part of my XML file: <process:Output rdf:ID="_DIAGNOSTICPROCESS"> <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">Some Path 1</process:pa... View Questions/Answers

XML retrieve multiple attribute values  May 1, 2012 at 1:22 PM
Hello All Am a beginner. Would like some help with this. The following is part of my XML file: <process:Output rdf:ID="_DIAGNOSTICPROCESS"> <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">Some Path 1</proc... View Questions/Answers

Construct a constructor of object in Java programming  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

constructor object in java application programming  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

can a constructor be of single or double type  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Constructing a constructor in java application  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

How to handle single and double constructor  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Constructor in java application  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Java Constructor programming for single and double constructor  May 1, 2012 at 12:54 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

single or double parameter constructor  May 1, 2012 at 12:53 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Java parameter constructor  May 1, 2012 at 12:53 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

create a object of constructor Java  May 1, 2012 at 12:53 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

double parameter constor  May 1, 2012 at 12:53 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Java single parameter constructor  May 1, 2012 at 12:53 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Java no argument constructor programming  May 1, 2012 at 12:53 AM
write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object of in this constructor he we tell the how much object we created in the no argument.single or double parameter constructor??? ... View Questions/Answers

Rapid Application Development  April 30, 2012 at 7:16 PM
Write the coding for the following OOP base concepts. Creates vehicle class It has properties No of wheels, no of passenger, speed, keyOn which are not directly accessed but maxspeed can only directly accessed by inheritance class. No of wheels - integer ... View Questions/Answers

ââ?¬â?? Rapid Application Development  April 30, 2012 at 7:13 PM
Write the coding for the following OOP base concepts. Creates vehicle class It has properties No of wheels, no of passenger, speed, keyOn which are not directly accessed but maxspeed can only directly accessed by inheritance class. No of wheels - integer ... View Questions/Answers

how to get data from list to map with out using a loop?  April 30, 2012 at 3:44 PM
List list=new ArrayList(); list.add("raja"); list.add("1"); list.add("puja"); list.add("13"); list.add("rajani"); list.add("21"); list.add("hari"); list.add("15"); how to get this data into map with out using a loop. i want this data l... View Questions/Answers

How to integrate IBM case Manager with Java Applicarion(JSP or core java)  April 30, 2012 at 3:09 PM
Dear All, Its really important for me to demonstrate a POC (Proof of Concept) on integrating IBM Case Manager with Java Application. Any small help on this would be truly appreciable. Thanks in advance. Regards Vinay Kumar Rai ... View Questions/Answers

Print command  April 30, 2012 at 12:27 PM
Can I use System.out.println command in Struts form bean or Struts action class. I am using Struts 1.3.8 but when I write this command. It does not work. Please reply me as soon as possible. Thanks. ... View Questions/Answers

code optimisation  April 30, 2012 at 12:24 PM
Plz suggest me the code to copy a data (int or char or double etc) into a block of memory without using loops.(Implementing below code without for loop or any other loop) #include<stdio.h> int main() { int i; int data = 20; int *ptr = ... View Questions/Answers

beginning java programing  April 30, 2012 at 11:39 AM
Hi. I am trying to write a piece of code that not allow a duplicate item to be added to the list (and allow for either upper or lowercase names). But the same name keep adding onto the list. Can someone help me. public void findAndAddFlavor() { //Retriev... View Questions/Answers

Changing from Struts 1.2 to Struts 2.0 in Application  April 30, 2012 at 10:55 AM
Hi All, We have a financial application which is running successfully on struts 1.2 and java 1.4. Since this are old versions and obsoleted from market. We want to use latest version of struts 2.0. I want to know following things 1.what are the necessary precautions to be considered ? 2.... View Questions/Answers

i want 2 columns to be deleted in mysql  April 30, 2012 at 10:50 AM
i want 2 columns to be deleted in mysql The tables having the columns have no mapping ... View Questions/Answers

getting html list in a array  April 30, 2012 at 10:37 AM
hi i want to get html unordered list in a array using jsp ... View Questions/Answers

getting html list in a array  April 30, 2012 at 10:37 AM
hi i want to get html unordered list in a array using jsp ... View Questions/Answers

swing  April 30, 2012 at 10:28 AM
i have to create a dynamic table.. As the item checked in one table will the displayed in another table. and as the item unckecked in one table will be removed from the other table on the same window.. ... View Questions/Answers

java programming  April 30, 2012 at 10:13 AM
supose i have a text field in java (like in gmail home page u have username field ) so i want to fill that field automatically by taking record from the database so is there any mechanism in java to handle this problem????we have created the database of user name and password so our software wil... View Questions/Answers

public static void main  April 30, 2012 at 9:13 AM
what is mean public static void main? ... View Questions/Answers

java radio button and exception  April 30, 2012 at 4:35 AM
Dear Sir/Madam, I have problem with my addBagelRadioButton and addCheeseRadioButton. There should be only 1 radio button can be selected, but somehow 2 can be selected the same time. Also, I tried to only allow only letters can be enter in the inputTextField. But both letter and number can be en... View Questions/Answers

help  April 30, 2012 at 2:34 AM
i need help with this code. write a java code for a method named addSevenToKthElement that takes an integer array, and an integer k as its arguments and returns the kth element plus 7. any help would be greatly appreciated ... View Questions/Answers

Applet Application  April 29, 2012 at 11:49 PM
import java.awt.*; import java.applet.*; class pawan extends Applet { public static void main(String args[]) { public static void paint(Graphics g) { g.drawString("Pawan",200,100); } int a=new paint(); ... View Questions/Answers

java beginner  April 29, 2012 at 6:50 PM
Write a program that will grade the students quiz. The program will ask the user to enter the number of the questions in the quiz, the right answer for each question and save it in array. The program will ask the user to enter the student answers to be checked and show the number of right answer... View Questions/Answers

how to access JQuery array in jsp page?  April 29, 2012 at 6:44 PM
JQury Array: var elems =this.value; var arr = jQuery.makeArray(elems); How to get in jsp page. ... View Questions/Answers

web service  April 29, 2012 at 4:59 PM
hello :) if any body have an idea that can help me I would be grateful :):) So i want to creat a web service that display the bus that has the shortest path. i have a dijkstra java class and i have a data base that contain the coordinate of bus station and the distance between them . the p... View Questions/Answers

store the employee ID,name,login time and logout time of the employee in database  April 29, 2012 at 1:36 PM
hello...I want to store the employee ID,name,login time and logout time of the employee along with the time difference between these two in separate columns in a database table..the login and logout time has been stored but in the difference field it's storing the login time wrongly...please give... View Questions/Answers

Read XML using Java  April 29, 2012 at 1:09 PM
Hi All, Good Morning, I have been working as a Manual Test engineer for last 4 years. Now i started learning java for automating some of the functionaries. And here goes my requirements. Read huge complex xml and compare values with DB2 database and generate a report. So First ... View Questions/Answers

PROJECT ON JAVA NET BEANS AND MYSQL !! PLEASE HELP URGENT  April 29, 2012 at 12:51 PM
i need a project based on connectivity..it can be based on any of the following topics 1.for calculating income tax. 2.for pf calculation 3.hospital management 4.students record keeping system ... View Questions/Answers

how to generate automatic bill based on selected values using jsp/javascript?  April 29, 2012 at 11:10 AM
how to generate automatic bill based on selected values using jsp/javascript?... View Questions/Answers

recursion program  April 29, 2012 at 9:13 AM
Hi this is my first java class, and i have been trying for hours to do this program. it is a recursion problem where the user will enter a continuous monthly investment, at a rate of 1% the program should say how many months will it take to reach a million dollars plus return. any help would be a... View Questions/Answers

java chat using java media  April 29, 2012 at 1:29 AM
Remove the error of this code plz reply me fast on my mail ID **Deleted by Admin** package chating; //import java.applet.Applet; import java.awt.event.*; import java.awt.*; import javax.media.*; import javax.swing.*; public class Player extends JFrame implement... View Questions/Answers

Java Script phone number entered by person should be in numeric only. code required!  April 29, 2012 at 1:21 AM
i am using javascript coding on jsp page. i want that the phone number entered by person should be in numeric only..can i get code for it? ... View Questions/Answers

Date & Time  April 28, 2012 at 10:26 PM
How to insert System Date & Time in MS-ACCESS using Java? ... View Questions/Answers

Date & Time  April 28, 2012 at 10:19 PM
How to insert System Date & Time in MS-ACCESS using Java? ... View Questions/Answers

java arraylist  April 28, 2012 at 5:07 PM
Hi, Thanks in advance.. From the xml given below i need to create arraylist whose name is same as type value(e.g : list1,list2...),suppose i have created a list named list1 ,i need to insert all the rows of xml which is having type list1 in the arraylist named list1. the problem ... View Questions/Answers

how to drag top most images which is draw on applet.  April 28, 2012 at 5:06 PM
Please help me, I have draw 83 images one by one from g.drawImages(,,,,); now I want to drag last image from 83 images and drop it suitable place, Now please help me , how can I drag top most images ........... ... View Questions/Answers

framework in java apps  April 28, 2012 at 2:10 PM
com.scooterframework.orm.sqldataexpress.object.RowData how to import the framework got the error in normal import ... View Questions/Answers

java software  April 28, 2012 at 1:35 PM
how to install java related software in Windows7 ?(jdk,tomcat etc) ... View Questions/Answers

how to Insert Array Values Into Separate Rows using java?  April 28, 2012 at 11:57 AM
how to Insert Array Values Into Separate Rows using java?... View Questions/Answers

online exam  April 28, 2012 at 11:43 AM
Write a program to determine if an input string x is a substring of another input string y. For example, a "bat" is a substring of "abate" but not a substring of "beat". ... View Questions/Answers

online exam  April 28, 2012 at 11:41 AM
The Government of Byteland has decided to issue new currency notes with special protection features to commemorate their great mathematician Byteguru. Byteland has decided to issue notes using the following rules It will issue notes upto value N such that all the sums from 1 to N sh... View Questions/Answers

online exam  April 28, 2012 at 11:41 AM
The Government of Byteland has decided to issue new currency notes with special protection features to commemorate their great mathematician Byteguru. Byteland has decided to issue notes using the following rules It will issue notes upto value N such that all the sums from 1 to N sh... View Questions/Answers

online exam  April 28, 2012 at 11:41 AM
The Government of Byteland has decided to issue new currency notes with special protection features to commemorate their great mathematician Byteguru. Byteland has decided to issue notes using the following rules It will issue notes upto value N such that all the sums from 1 to N sh... View Questions/Answers

online exam  April 28, 2012 at 11:39 AM
The file geneexpr500x204.gct contains gene expression values for 500 genes (analytes) and 204 samples. (a) Extract the sample names from the file geneexpr500x204.gct. Save the list (one sample name per line) to a text file called "samples.grp" (b) Rename the sample names... View Questions/Answers

c++ program  April 27, 2012 at 8:20 PM
Write a program which reads a text from the keyboard and displays the following information on the screen in two columns: (a) Number of lines (b) Number of words (c) Number of characters Strings should be left justified and numbers should be right justified in a suitable field width. ... View Questions/Answers

c++ programs  April 27, 2012 at 8:18 PM
Write a program with the following (a) A function to read two double type numbers from keyboard (b) A function to calculate the division of these two numbers (c) A try block to throw an exception when a wrong type of data is keyed in (d) A try block to detect and throw an exception if the conditi... View Questions/Answers

c++ programs  April 27, 2012 at 8:17 PM
Write a program with the following (a) A function to read two double type numbers from keyboard (b) A function to calculate the division of these two numbers (c) A try block to throw an exception when a wrong type of data is keyed in (d) A try block to detect and throw an exception if the conditi... View Questions/Answers

How to save user interface in flex for design tool  April 27, 2012 at 7:20 PM
Hi I want to create a flex application "sticker design tool" in which i want to save all the caption/logos used with its properties like size,position,textcolor etc.,so when user want to re-customize it later on then he can able to re-customize it. please suggest me any idea to do... View Questions/Answers

security for html  April 27, 2012 at 5:26 PM
i want to set username and password for my html file for opening of another connection. ... View Questions/Answers

calculate difference between two dates  April 27, 2012 at 5:22 PM
hi, I was actually working on to calculate the number of days between two dates of dd/mm/yyyy format using javascript. can anyone suggest me how to work it outin calculating the difference between the two dates ... View Questions/Answers

DMCA.com