Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Advertisement

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

Square pattern in java using for loop  November 17, 2012 at 5:35 PM
please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7 ... View Questions/Answers

iterating hashmap values in struts2  November 17, 2012 at 12:26 PM
hi, i am not getting how to display this map values in jsp page using struts2 public class ViewOperation2 { public Map<String,Object> viewCustDetails(){ Map<String, Object> m=new HashMap<String, Object>(); ViewAction2 v=null; ... View Questions/Answers

Inner class  November 17, 2012 at 12:23 PM
//This code doesn't Works// import java.lang.*; import static java.lang.System.*; class Outer { static Inner i; static{ i=new Inner(); } ... View Questions/Answers

insert user session into other oracle database table  November 16, 2012 at 9:33 PM
hello i am a doing my project in jsp-servlet. i have doubt that when a user login to his account after that i store his name into session and when the user write any comments then how i can retrive his user id using session and store id into comments table. with user id i also want to insert da... View Questions/Answers

School Timetable System in java spring mvc 3  November 16, 2012 at 4:00 PM
I want to do project in timetable generation for my project. but i dont know how generate. i'm using java spring Hibernate. please some one help me. Thanks thuva ... View Questions/Answers

trigger  November 16, 2012 at 6:02 AM
write a trigger program before insert into salary that it must not below Rs 1000? ... View Questions/Answers

Calender in JSP  November 15, 2012 at 9:18 PM
How can i use calender in my text box in JSP file. ... View Questions/Answers

Calender in JSP  November 15, 2012 at 9:18 PM
How can i use calender in my text box in JSP file. ... View Questions/Answers

Transaction in last 3 months  November 15, 2012 at 8:18 PM
I have a project in which i have to calculate amount submitted through transactions in last three months. I have to check the date of all transactions in past 90 days and add the total amount submitted. What query can i use to get all the transactions in past 3 months starting from 20th of this m... View Questions/Answers

dispalying arraylist values in table form  November 15, 2012 at 4:19 PM
My result is in arraylist and i want to display it in table form using iterator tag ... View Questions/Answers

important for all beginers  November 15, 2012 at 3:33 PM
what is the difference for top down approach and bottom up approach with a example program of source code with clear explanation? ... View Questions/Answers

Fibonacci (Recursive)  November 15, 2012 at 9:13 AM
I need to write a program for my AP CS class, & these are the instructions, I have found lots of examples of programs that give you the sequence of the Fibonacci numbers, but here is what it asks me to do: Assignment: 1.Write a recursive method that takes in a... View Questions/Answers

Web Analytics  November 14, 2012 at 10:14 PM
Is there anyway in which I can track visitors to my competitors website. I am aware of alexa.com and compete.com however there results aren't very accurate. Was wondering if anyone new of a more reliable services. ... View Questions/Answers

Jdbc prepared statemetn  November 14, 2012 at 5:12 PM
I am getting this error when i am compiling this code. java.sql.SQLException: ORA-00904: "PASS": invalid identifier ackage com.jlcindia.bookstore.register; import java.sql.*; import java.util.List; import com.jlcindia.bookstore.forgot.*; import com.jlcindia.jdbc.JDBCUTILNew; publi... View Questions/Answers

CODING TEST  November 14, 2012 at 3:26 PM
Problem Statement Consider a inter dealer-broker network which various financial stock brokers use to execute customer stock trading orders. Everytime a customer needs to buy/sell a stock; it reaches out to its designated broker who then uses this broker-network to buy/sell the stock at the curre... View Questions/Answers

CODING TEST  November 14, 2012 at 3:26 PM
Problem Statement Consider a inter dealer-broker network which various financial stock brokers use to execute customer stock trading orders. Everytime a customer needs to buy/sell a stock; it reaches out to its designated broker who then uses this broker-network to buy/sell the stock at the curre... View Questions/Answers

deployment in eclipse  November 14, 2012 at 11:27 AM
How to run the web project in eclipse in resin server without using GUI hard deployment ... View Questions/Answers

Jdbc Question  November 14, 2012 at 12:23 AM
Hi. In Jdbc, if i am pointing to the database of some other machine, i mean instead of local-host i give the ip of that machine and that machine is shut down, Will my connection still work? ... View Questions/Answers

Java JDBC  November 13, 2012 at 5:07 PM
How to make pagination using JDBC. ... View Questions/Answers

Update a group of records with one value in the same group  November 13, 2012 at 12:02 PM
I want to update my table group wise, i have three cases AA,BB,CC , if group of records haveing one AA value in name column then those records NAME column should be update with AA. If group is not having AA value second priority is BB next CC. If group does not have AA,BB,CC value then remains sa... View Questions/Answers

retaining textbox values  November 13, 2012 at 2:15 AM
i have a calculator program, when i press a button the value displays but disappears when i press another button so how can i keep values to display when i press multiple buttons ... View Questions/Answers

jsp online ex  November 13, 2012 at 1:58 AM
deepak sir please help me...i jave created jsp page containing a question with 4 optipns and now i want tp save the options selected inside mysql and then retrievecot for checking it wit correctness...plzzzzzzzzz help me out plzzzzzzzzzzz i need it urgently ... View Questions/Answers

ms sqlserver  November 12, 2012 at 5:56 PM
hii, i m getting trouble in restoring a database file in MS SQLServer 2000 . all i have is signature.bkp , query.sql, signaturebackup.bkp files... please guide me how i restore these backup files in new database.. ... View Questions/Answers

voice to text converstion  November 12, 2012 at 11:35 AM
how i can make a speech to text converstion program in java??? i have no idea about this project. so pls pls help me . thank you>> ... View Questions/Answers

voice to text converstion  November 12, 2012 at 11:35 AM
how i can make a speech to text converstion program in java??? i have no idea about this project. so pls pls help me . thank you>> ... View Questions/Answers

voice to text converstion  November 12, 2012 at 11:35 AM
how i can make a speech to text converstion program in java??? i have no idea about this project. so pls pls help me . thank you>> ... View Questions/Answers

Multi Threading  November 12, 2012 at 2:01 AM
Hi... I need to solve the following question: Input an array of 10 integers. Separate the odd numbers, even numbers, positive numbers and negative numbers by different threads. I tried to solve it but I dont know how can we declare an array on thread.. where we add the b... View Questions/Answers

menu driven  November 11, 2012 at 5:31 PM
menu driven programm in decimal to binary binary to decimal ... View Questions/Answers

how to resolve this JDBC Error?  November 11, 2012 at 4:45 PM
i am trying to Exceute this code: import java.sql.DatabaseMetaData; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectionDemo{ public static void main(String args[])throws ClassNotFoun... View Questions/Answers

java code that monitors the mic input, and dims the screen accordingly  November 11, 2012 at 5:15 AM
I know the very basic syntax of java, could someone help me write a code that would constantly analyze the sound being taken in by the mic on the computer, and if the noise is at a certain point, it would dim the screen. hopefully this could run in the background for a few hours and be run on a d... View Questions/Answers

null pointer exceptions  November 11, 2012 at 3:26 AM
import java.util.*; public class employee { static int ch; static int emp[]; String name; int id,age; float sal; void insert() { employee[] emp=new employee[90]; Scanner r=new Scanner(System.in); System.out.println("Enter the no of... View Questions/Answers

sending data from java to facebook wall  November 10, 2012 at 3:50 PM
how to send data form a java program to facebook wall ... View Questions/Answers

sending data to facebook  November 10, 2012 at 3:36 PM
how to post data into facebook from a java program ... View Questions/Answers

jsp online ex  November 10, 2012 at 1:48 PM
how to sum up the count of a cloumn in mysql and display ot on jsp when asked to calculate... ... View Questions/Answers

method  November 10, 2012 at 11:02 AM
how and where, we can define methods ? can u explain me with full programme and using comments ... View Questions/Answers

to access value of drop down value in beans when dropdown is populated using ajax  November 9, 2012 at 10:27 PM
i want to access value of dropdown box in beans .. and this drop down was filled using ajax. plz help... ... View Questions/Answers

about session  November 9, 2012 at 10:05 PM
hey i want to insert userid and username of the user who have currently loggedin in servlet using prepared statement ... View Questions/Answers

cryptography  November 9, 2012 at 8:54 PM
Hi... does anybody send me the code for encrypt and decrypt a file using caesar cipher and transposition cipher, substitution cdipher in single program... How to combine these 3 ciphers in a single program............. pls send me guys.. ... View Questions/Answers

PHP  November 9, 2012 at 8:33 PM
How to work in drupal with PHP? ... View Questions/Answers

ms access  November 9, 2012 at 7:23 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ms access  November 9, 2012 at 7:22 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ms access  November 9, 2012 at 7:22 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ms access  November 9, 2012 at 7:20 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ma access reading values  November 9, 2012 at 7:19 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ma access reading values  November 9, 2012 at 7:19 PM
hey ,thanks for my question i have one question: dis is my login.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ... View Questions/Answers

trigger  November 9, 2012 at 6:09 PM
write a trigger program before insert into salary that it must not below Rs 1000? ... View Questions/Answers

trigger  November 9, 2012 at 6:07 PM
write a trigger to see every manager must be highest salary? ... View Questions/Answers

procedure  November 9, 2012 at 6:05 PM
write a procedure to update salary to 20% based on employee number? ... View Questions/Answers

trigger  November 9, 2012 at 3:25 PM
whenever an employee is given a raise,the managers salary must be increased to be atleast as much? ... View Questions/Answers

jsp online exam  November 9, 2012 at 2:59 PM
i have designed a html page with 20 multiple choice questions ...options are in radio button for each question .... now i have to retrieve all the selected answers and save it to database match it with correct answers and output the result,,,,how can i do this please help me soon.... ... View Questions/Answers

Delete a row from database by id  November 9, 2012 at 9:06 AM
I m creating a small application using servlet. There is a form (index.jsp)having 10 fields on submitting the form all the values are added in to database and page is redirected to a new page that contains entries of submittes form. Now there are 2 extra columns(10+2) for "DELETE" AND "UPDATE". O... View Questions/Answers

radio nuttpn  November 9, 2012 at 8:38 AM
i have created a html page containing 20 multiple choice questions when i clicl the options which are radio buttons. I have tp retroebe it in a jsp pahe ansabe it in mysql database...further i have to match it with correct aswers and display correct answets wwith marks scored ...please prpvide c... View Questions/Answers

jsp online exam...  November 8, 2012 at 10:11 PM
Plz provide me front end design...... ... View Questions/Answers

my table should be reseted to new value upon the selection of the combo box..  November 8, 2012 at 6:37 PM
import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.JOptionPane; import javax.swing.JSc... View Questions/Answers

data validation by maker and checker  November 8, 2012 at 5:10 PM
My requirment is like ,an user will view some records in a jsp page,and two buttons will be there in that page-"validate and cancel".If the user clicks on validate button,records of the next row of the table has to be displayed and at the same time some status of the previous records has to be up... View Questions/Answers

jsp online ex  November 8, 2012 at 4:31 PM
wat is the parametr u passed ...ques??? ... View Questions/Answers

jsp online ex  November 8, 2012 at 3:53 PM
plz help me providing source code for mini project online exam using jsp and mysql..... plzplz plzhelp me pur.... ... View Questions/Answers

print hello n hi  November 8, 2012 at 3:38 PM
how to write a java program that prints "hello" 5 times, "hi" 1 time n again "hello" 4 times..?? do reply.. ... View Questions/Answers

database connectivity  November 8, 2012 at 2:41 PM
i have written class.forName and getconnection in one method which returns connection string object under particular class and in someother class i want to call that for statement object ... View Questions/Answers

How to send URL in Post request from local server to remote server?  November 8, 2012 at 5:42 AM
I am having currently a Portal client(created using JSP and Servlet) and Portal server(using Tomcat). Now i want: 1> How to establish a Connection to another server remotely?What to do in code??? 2> How to send a Post Request containing- "https://IPAddress:Port/contextpath... View Questions/Answers

Merge XYLine and XYArea Charts  November 8, 2012 at 3:18 AM
I wonder how to merge two charts and display on one frame. I have managed to create 'bell-curve'(Normal distribution) through JFreeChart with XYLine. However, I would like some part to be 'shaded', therefore would be good to use XYArea Chart. I have found an example (this website) how to use two... View Questions/Answers

Struts session question  November 7, 2012 at 5:53 PM
how will i set and get session in struts 1.3 plz help.thanking you..:) ... View Questions/Answers

interest and amount for three yeaers  November 7, 2012 at 5:19 PM
Mr.Shyam lal Agarwal invests certain sum at 5% per annum compound interest for 3 years .write a program in java to calculate : a) the interest for the 1st year b) the interest for the 2nd year C) the amount after 3 years taking sum as an input from the user. ... View Questions/Answers

programming  November 7, 2012 at 5:13 PM
make a program that enter 5 numbers then identify the largest and the smallest number sample program 2 4 3 5 6 the smallest number: 2 the largest number: is 6 66 ... View Questions/Answers

ask a user to enter 5 integer  November 7, 2012 at 5:11 PM
make a program that enter 5 numbers then identify the largest and the smallest number sample program 2 4 3 5 6 the smallest number: 2 the largest number: is 6 66 ... View Questions/Answers

Question in eclipes ??!!  November 7, 2012 at 1:19 PM
Hooole EveryOne I have Question in eclipes !!? Question is : The objectives of this lab are 1.Using the â?? thisâ?? reference. 2.Initializing class objects. 3.Using overloaded constructors. Problem Description of this lab: A.( The Complex Class) Design a class ... View Questions/Answers

Opening IE from Java Swing Application in Kiosk mode  November 7, 2012 at 12:15 PM
Hi All, I want to open a URL in IE from my Java Swing application running in Wiindows. I am using the below code. public static boolean openInBrowserKioskMode(String url){ String os = System.getProperty("os.name").toLowerCase(); Runtime rt = Runtime.getRuntime(); ... View Questions/Answers

trigger after insert for deletion  November 7, 2012 at 11:43 AM
String query2 = "create TRIGGER trig after insert on "cart" + " FOR EACH ROW " + " BEGIN " + " declare expiry1 date ;" + " select expiry into expiry1 from cart; " + " if expiry1 > (1 month of purchase) ... View Questions/Answers

Getting IP Address  November 7, 2012 at 10:01 AM
Hi... i want to get the ip address of the current machine running my jsp program.... example: my ip is 172.16.11.247... from other system if i run my jsp program using my ip like 172.16.11.247/myfile.jsp i get the ip address 247 in database but i need to get the ip address of th... View Questions/Answers

Getting IP Address  November 7, 2012 at 10:01 AM
Hi... i want to get the ip address of the current machine running my jsp program.... example: my ip is 172.16.11.247... from other system if i run my jsp program using my ip like 172.16.11.247/myfile.jsp i get the ip address 247 in database but i need to get the ip address of th... View Questions/Answers

java  November 6, 2012 at 3:39 PM
what is meant by constructor? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

Opening files with .jnlp extension on browser!?!?!  November 6, 2012 at 12:31 PM
I working on UEngine, where to switch into the design phase it creates a PorcessDesigner.jnlp file which gets downloaded on client's side on runtime. I searched into the code for Runtime.getRuntime().exec("..........."); I came across the java code... View Questions/Answers

query related to uploading file  November 5, 2012 at 7:37 PM
hello friends i am doing my project in servlet and i want to upload a file and store file in local hard drive and file name and path in oracle database.with name file name and path i also want to save the uploading time and date in database. please help me it is urgent. thanks i... View Questions/Answers

How to create bar chart using database values i.e excellent,good,average fields using jsp?It is like opinion poll.I want to show how many votes are came for excellent,good,average in a graph format.  November 5, 2012 at 5:11 PM
How to create bar chart using database values i.e excellent,good,average fields using jsp?It is like opinion poll.I want to show how many votes are came for excellent,good,average in a graph format. ... View Questions/Answers

Java  November 5, 2012 at 4:09 PM
i want a program to take input as j@1v and print ony alphabets i want a progam to take list of arrays i.e 121 121 121 and eliminate duplicate and print ony 121 as output i want a program to give 5 numbers , omit last number ,then first four numbers multiply by 2 and then add them ... View Questions/Answers

java  November 5, 2012 at 3:11 PM
write a java program for seven segment display, it shud take input & print output for seven segment display for ex. if v enter 0 it print 6, for 4 it print 4, for 6 it print 5 like 0to9 it prints.............plz tel me ans ... View Questions/Answers

How to get sub category based on category from database using jsp and javascript.  November 5, 2012 at 2:20 PM
How to get sub category based on category from database using jsp and javascript? ... View Questions/Answers

How to create bar chart using database values  November 5, 2012 at 1:27 PM
How to create bar chart using database values i.e excellent,good,average fields using jsp?It is like opinion poll.I want to show how many votes are came for excellent,good,average in a graph format. ... View Questions/Answers

How to store user name,city,state,image path into database and image into folder using jsp  November 5, 2012 at 1:07 PM
How to store user name,city,state,image path into database and image into folder using jsp? ... View Questions/Answers

jsp page submitting  November 5, 2012 at 12:48 PM
whenever i am submitting the jsp page it downloads some unknown file on tomcat server ... View Questions/Answers

construction in java programm  November 5, 2012 at 11:50 AM
p*(1+r/100) at the end of year 200 p is population r is growth rate class name: population Data members : float p,r Member methods: population (int a, int b):Constructor to initialize p and r with a and b respectively. void print(): to calculate and print the population of each year from 2001 to ... View Questions/Answers

java implementation problem  November 5, 2012 at 10:15 AM
I want to implement following in java code : Main thread Create three threads wait for completion of stage 2 of all three threads Access all three local variable (LC0, LC1, LC2) of threads bulid a new main data (MD) <... View Questions/Answers

DMCA.com