Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Stumped with NOT NULL AUTO_INCREMENT  May 4, 2012 at 6:38 PM
I've almost made it through my webpage without asking questions, but this problem has me stumped. I am trying to create a new table with the ID column being NOT NULL AUTO_INCREMENT. The table will create if I do not have NOT NULL AUTO_INCREMENT, but it WILL NOT create if I add th... View Questions/Answers

Implement Java code which takes 2 dimensional integer array as input and prints out heaviest island  May 4, 2012 at 5:31 PM
Implement Java code which takes 2 dimensional integer array as input and prints out heaviest island. ... View Questions/Answers

Web programming  May 4, 2012 at 4:25 PM
Write a program in servlet by using JDBC to display the records of employees from a table called employee ... View Questions/Answers

Ads

C# Alert message  May 4, 2012 at 4:23 PM
1) Write the related code for the following Form based on the Criteria given below: a) When user will not enter Employee Name a message should be displayed stating ??Please enter Employee Name b) When user provide all the details a message should popup ??The Details have ... View Questions/Answers

Create a Solution by name Bank with Classes Account.cs, SavingsAccount.cs and savingsTest.cs to Demonstrate Abstract Classes in C#  May 4, 2012 at 4:18 PM
1st question : Create a Solution by name Bank with Classes Account.cs, SavingsAccount.cs and savingsTest.cs to Demonstrate Abstract Classes in C#. ... View Questions/Answers

Java programs on students assesment  May 4, 2012 at 4:11 PM
1) Write a Java program that reads the details of student and do the mark assessments. (i) Input the name of the student and student id from the user. (Use String variable to hold the student name and long variable to hold the student id) (ii) The number of subjects is 3. Use an a... View Questions/Answers

is it possible to use jsp in java script  May 4, 2012 at 3:35 PM
is it possible to use jsp inside the javascript while using java script in body tag on that time i am calculate number of records in mysql, so that i am using jsp.if count value is positive, javascript do some operation ,if count value is negative, javascript do some operation. ... View Questions/Answers

is it possible to use jsp in java script  May 4, 2012 at 3:35 PM
is it possible to use jsp inside the javascript while using java script in body tag on that time i am calculate number of records in mysql, so that i am using jsp.if count value is positive, javascript do some operation ,if count value is negative, javascript do some operation. ... View Questions/Answers

how to integrate chat application with jsp and servlet?  May 4, 2012 at 3:14 PM
I was developing online web portal in jsp and servlet , in this web portal communicate with maintain admin so i desired to integrate with chat applicaton in this web portal. please provide any help. ... View Questions/Answers

Ejb Module  May 4, 2012 at 2:13 PM
Respected Sir/Mam I m using jdk1.5 and jboss4.0.2 Here is my code File Name-sunLoginAction.java /* * sunLoginAction.java * * Created on March 18, 2012, 12:31 PM * * To change this template, choose Tools | Template Manager * and open the template in the ... View Questions/Answers

Ejb Module  May 4, 2012 at 2:10 PM
Respected Sir/Mam I m using jdk1.5 and jboss4.0.2 Here is my code File Name-sunLoginAction.java /* * sunLoginAction.java * * Created on March 18, 2012, 12:31 PM * * To change this template, choose Tools | Template Manager * and open the template in the ... View Questions/Answers

java  May 4, 2012 at 12:56 PM
using java how to show password in stars (**). but not in JSP. plz im waiting for ur reply eagerly. thanks in advance. ... View Questions/Answers

tree menu delete node  May 4, 2012 at 11:15 AM
I have crated a tree menu having various sub nodes now i want to delete parent node and also want to delete sub nodes when parent node is deleted........i am using servlet and giving nodeid to servlet using url ....i have a problem when i perform a delete operation on parent node then its subno... View Questions/Answers

java.lang.IllegalArgumentException: node to traverse cannot be null!  May 4, 2012 at 9:53 AM
Can Any body help me out regarding the above exception in Hibernate HQL. ... View Questions/Answers

Core Java  May 4, 2012 at 12:54 AM
Hi, I have written a board program using Java Swing and AWT classes. In my program I created buttons and added those buttons to JPanel, now I want to move those buttons in the JPanel to move Up and Down or Left to Right using mouse. I implemented MouseMotionListener but could not move fur... View Questions/Answers

JSP  May 3, 2012 at 10:36 PM
FILE UPLOAD-DOWNLOAD code USING JSP ... View Questions/Answers

write spreadsheet  May 3, 2012 at 6:25 PM
what is the java code to write a spreadsheet to database ... View Questions/Answers

write spreadsheet  May 3, 2012 at 6:25 PM
what is the java code to write a spreadsheet to database ... View Questions/Answers

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

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

DMCA.com