Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

session Maintainess  February 9, 2012 at 7:12 PM
how to maintain session in struts 2 ... View Questions/Answers

java  February 9, 2012 at 6:27 PM
N boys and M girls are learning acting skills from a theatre in Mumbai. To perform a play on ?Ramayana? they need to form a group of P actors containing not less than 4 boys and not less than 1 girl. The theatre requires you to write a program that tells them the number of ways the group can be f... View Questions/Answers

How to download web page table data, export the table records in an excel file and save  February 9, 2012 at 4:12 PM
i have a web page(.jsp) which contains the table of 4 to 5 columns. i m displaying the table using in my jsp page. below this table i want the download link. when i click on the link download pop up box should be displayed and ask me to save the file. on clicking the save button the ... View Questions/Answers

Advertisement

Rmi client  February 9, 2012 at 4:04 PM
Sir i just created client and server following the RMI rule, its running properly in the localhost, when i am trying to run the program in the different machine its not working, i changed the ip also, when i copied the stub and interface file then it is working, I s there is any other option rath... View Questions/Answers

Application Programmer with Fresher  February 9, 2012 at 3:25 PM
what difference between http and httpsession? In http session connection is close after giving responce to the client? ... View Questions/Answers

Loops  February 9, 2012 at 1:03 PM
??Using for loops, Write a program to simulate a clock countdown. The program prompts the user to enter the number of seconds, displays a message at every second, and terminates when the time expires. Use method System.currentTimeMillis() which return the number of milliseconds since the e... View Questions/Answers

program on employee details  February 9, 2012 at 1:02 PM
to write a program on displaying the employee details like empid,empname,wonno,location,leave type by using the text fields in java swings. ... View Questions/Answers

Java  February 9, 2012 at 1:02 PM
Write a program that repeatedly reads an integer from the console. If the integer is odd, outputs "Odd Day" if the integer is even (and not 0), outputs ??Even now". if the integer is 0. exits program ... View Questions/Answers

Loops  February 9, 2012 at 12:59 PM
Write a program that repeatedly reads an integer from the console. If the integer is odd, outputs â??Odd Day!â?? if the integer is even (and not 0), outputs â??Even now!â??. if the integer is 0. exits program ... View Questions/Answers

HOW TO DISPLAY TABLEEEE  February 9, 2012 at 12:44 PM
Please teach me how to display table step by step like a kid who didnt know anything? please !! I try so many times but it is not working out ! S.O.S !!! HELP ME PLEASEEEE ! ... View Questions/Answers

one dimensional array using java  February 9, 2012 at 12:25 PM
design and implement a java program that will read a file containing numbers and compute the following statistics: the range(low,high) the average and the median ... View Questions/Answers

String file in to word file in java  February 9, 2012 at 12:09 PM
How to convert a String format notepad file into Ms word file in java ... View Questions/Answers

String file in to word file in java  February 9, 2012 at 12:00 PM
how to convert a String format word file into Ms Word file using java? please can anyone of you help me ? ... View Questions/Answers

WRITE A PROGRAM IN JAVA  February 9, 2012 at 11:18 AM
Write program which accepts five students id,name,age,department,courses, taken and its grade. a. calculate its GPA . display all student information in ascending order ... View Questions/Answers

Junit  February 9, 2012 at 11:05 AM
Hi.. here is my code : **Public static void setConnectionDetails(ConnectionDetails connectionDetails) { UniversalData.connectionDetails = connectionDetails; }** if i want to make a test case using Junit...how can i make it??? ma... View Questions/Answers

mail  February 9, 2012 at 10:19 AM
how to send mail using jsp ... View Questions/Answers

Array Sorter  February 9, 2012 at 4:15 AM
I need a program that will ask the user to either "Enter an Array" or to "Exit the program" If the user want to enter an array the are asked to enter ten numbers. Then those ten numbers are stored in an array and reprinted then that array is sorted by positive even, positive odd, and negative num... View Questions/Answers

Sum of integers  February 9, 2012 at 3:54 AM
A Java program that reads an integer value from the user and displays i) the sum of all even integers between 1 and the input value, both inclusive. ii) The sum of all odd integers between 1 and the input value both inclusive Example: User enters 7. Sum of even integers = 2+4+6 = 12 Su... View Questions/Answers

Read Header/Footer Margin size using Java  February 8, 2012 at 10:27 PM
Hi, Is it possible to read the "Header from Top" and "Footer from bottom" properties of a MS word document in Java? I have been searching the web for hours now, POI's and several other API's, but couldn't found any helpful solution. Any suggestions are welcome. Regards, Pa... View Questions/Answers

Read Header/Footer Margin size using Java  February 8, 2012 at 10:27 PM
Hi, Is it possible to read the "Header from Top" and "Footer from bottom" properties of a MS word document in Java? I have been searching the web for hours now, POI's and several other API's, but couldn't found any helpful solution. Any suggestions are welcome. Regards, Pa... View Questions/Answers

RMI  February 8, 2012 at 6:11 PM
What is RMI in Java ... View Questions/Answers

parallel cryptography  February 8, 2012 at 5:33 PM
how to build java code for encrypting data? ... View Questions/Answers

Local repository in Maven  February 8, 2012 at 5:02 PM
How to read the jars/plugins from local instead of online while building an application with Maven. Any detailed steps will be appreciated. ... View Questions/Answers

php functions  February 8, 2012 at 4:04 PM
hi sir, we give some egs those not produce the results those programs simply display the program on browser ... View Questions/Answers

Java at cmd  February 8, 2012 at 3:34 PM
How to display all built in methods of any java class at the cmd? using which command? For example how to Display built-in methods of String class at cmd.. help me ... View Questions/Answers

user defined styles for datetimepicker in struts2  February 8, 2012 at 1:44 PM
Hi, I am using dojo plugin for displaying datetimepicker. i want to change the colour of the date picker which is in "blue" by default . Please any one can help me in this issue. Thanks, B.Sucharitha. ... View Questions/Answers

user defined styles for datetimepicker in struts2  February 8, 2012 at 1:29 PM
Hi, sample code: <%@taglib prefix="sx" uri="/struts-dojo-tags"%> Issue: I need to have my own styles for the displyed date picker. is i... View Questions/Answers

annotation error  February 8, 2012 at 1:10 PM
class names "JdbcProjam.java "are only accepted if annotation processing is explicitly requested ... View Questions/Answers

semantic issue xcode 4.2  February 8, 2012 at 12:31 PM
I have updated xcode 4.0 to 4.2 .. but once i open any application in this new version of xcode ..it throws lots of semantic issue. Can anyone please explain why it occurs and how to resolve it. ... View Questions/Answers

java program to take the backup of folders and copy the folder in different location without deleting the existing one  February 8, 2012 at 12:20 PM
java program to take the backup of folders and copy the folder in different location without deleting the existing one ... View Questions/Answers

images upload  February 8, 2012 at 12:01 PM
I use netbeans IDE 6.8 How i upload any image from any folder to web page? ... View Questions/Answers

java program to take backup for the folders  February 8, 2012 at 11:41 AM
java program to take backup for the folders ... View Questions/Answers

java program to copy the contents of one folder to another folder  February 8, 2012 at 11:19 AM
java program to copy the contents of one folder to another folder ... View Questions/Answers

how to create a combo box in html  February 8, 2012 at 10:55 AM
<tr> <td>Number<span class=mandatory>*</span></td> <td> <select name="number" id="course" style="width:158px;"> <option value="none">----Select ----</option> <option >1</option> <option >2</opt... View Questions/Answers

how to perform a validation for the field  February 8, 2012 at 10:51 AM
hi, function checkForm() { var getBank=document.form.bname.value; var alphaExp = /^[\,\ \-0-9a-zA-Z]+$/; var message=""; if(document.form.no.value==""){ document.getElementById("error_no").innerText = "*Enter ID"; messa... View Questions/Answers

how to perform a validation for the field  February 8, 2012 at 10:51 AM
hi, function checkForm() { var getBank=document.form.bname.value; var alphaExp = /^[\,\ \-0-9a-zA-Z]+$/; var message=""; if(document.form.no.value==""){ document.getElementById("error_no").innerText = "*Enter ID"; messa... View Questions/Answers

how to create a table  February 8, 2012 at 10:38 AM
create table tablename (name varchar(10),name varchar(10)); ... View Questions/Answers

iphone retina display dimensions  February 8, 2012 at 10:34 AM
What is the dimensions for the iPhone and iPad retina display images..? ... View Questions/Answers

create dao  February 8, 2012 at 9:40 AM
code 1 package com.dao; import java.sql.*; import com.beans.*; public class DbAccess { public void createStudent(SampleBean sampleBean) throws SQLException { Connection con=null; try { con=DbConnect.createConnection(); ... View Questions/Answers

controller  February 8, 2012 at 9:38 AM
package com.controller; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import co... View Questions/Answers

ViewDetails  February 8, 2012 at 9:34 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@page import="com.beans.SampleBean" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html... View Questions/Answers

View jsp  February 8, 2012 at 9:33 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type... View Questions/Answers

Updaetails  February 8, 2012 at 9:31 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@page import="com.beans.SampleBean" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html... View Questions/Answers

update jsp  February 8, 2012 at 9:30 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type... View Questions/Answers

create main page  February 8, 2012 at 9:29 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@page import="java.sql.*"%> <%@page import="java.util.*"%> <%@ page session="true"%> <%@page import="java.io.*"%> <%@page import="java.... View Questions/Answers

delete jsp  February 8, 2012 at 9:27 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type... View Questions/Answers

create jsp  February 8, 2012 at 9:24 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type... View Questions/Answers

create using jsp  February 8, 2012 at 9:16 AM
code 1:``<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta ... View Questions/Answers

how to create using jsp  February 8, 2012 at 9:00 AM
code 1: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <... View Questions/Answers

how to create dao  February 8, 2012 at 8:52 AM
code1: package com.dao; import java.sql.*; import com.beans.*; public class DbAccess { public void createStudent(SampleBean sampleBean) throws SQLException { Connection con=null; try { con=DbConnect.createConnection(); PreparedSta... View Questions/Answers

how to create servlet  February 8, 2012 at 8:49 AM
package com.controller; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRe... View Questions/Answers

how to create bean using jsp and servlet  February 8, 2012 at 8:46 AM
public class SampleBean { private String fname=null; private String lname=null; private int age=0; private String gender=null; private String phone=null; } ... View Questions/Answers

pattern program  February 8, 2012 at 4:41 AM
can any 1 print the following pattern in java .plz give the code.and yes thank u so much for answering my 2 other questions.had i known that this would be so helpful i would have registered here long before.anyways the pattern goes like this abcdcba abc cba ab ba a a ab ba abc abc a... View Questions/Answers

java find the error7  February 8, 2012 at 3:52 AM
var name=document.forms["insert"]["in_username"]; var age=document.forms["insert"]["in_userage"]; var address=document.forms["insert"]["in_address"]; var phone=document.forms["insert"]["in_userphone"]; if(name.value.length == 0) { ... View Questions/Answers

Java find the error 6  February 8, 2012 at 3:50 AM
<script type="text/javascript"> function validation() { var name=document.forms["insert"]["in_username"]; var age=document.forms["insert"]["in_userage"]; var address=document.forms["insert"]["in_address"]; var phone=document.forms["insert... View Questions/Answers

java find the error5  February 8, 2012 at 3:33 AM
<%@page import="java.sql.*"%> <%@page import="java.util.*"%> <%@ page session="true"%> <%@page import="java.io.*"%> <%@page import="java.net.*"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageE... View Questions/Answers

java find the error4  February 8, 2012 at 3:29 AM
public String executeStudentInsert(HttpServletRequest request ) throws ClassNotFoundException, SQLException { StudentBean beanObj = new StudentBean(); beanObj.setStudentName(request.getParameter("Name")); beanObj.setStudentAge(request.getParameter("Age")); bea... View Questions/Answers

java find the error3  February 8, 2012 at 3:28 AM
public String studentDel(StudentBean studObj) throws ClassNotFoundException, SQLException { Connection conObj=DBConnections.setConnection(); PreparedStatement ps= conObj.prepareStatement("DELETE FROM balastudent WHERE studentid=?"); ... View Questions/Answers

java find the error2  February 8, 2012 at 3:26 AM
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub String temp=request.getRequestURI().toString(); String actionName=temp.substring(temp.lastIn... View Questions/Answers

java find the error1  February 8, 2012 at 3:21 AM
package com.test.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class DBConnections { public static String userName=""; public static String password=""; public static String URL="jdbc:oracle:thin:@17... View Questions/Answers

password check  February 8, 2012 at 12:55 AM
how to check sighup passowrd and login password.. ... View Questions/Answers

downloading  February 8, 2012 at 12:45 AM
i doing project in php with mysql. i am using xampp.i need code for downloading file.. ... View Questions/Answers

programing  February 7, 2012 at 11:43 PM
in a program we can have write with out main() how can we write??? plese show me ... View Questions/Answers

programing  February 7, 2012 at 11:43 PM
in a program we can have write with out main() how can we write??? plese show me ... View Questions/Answers

programing  February 7, 2012 at 11:43 PM
in a program we can have write with out main() how can we write??? plese show me ... View Questions/Answers

programing  February 7, 2012 at 11:43 PM
in a program we can have write with out main() how can we write??? plese show me ... View Questions/Answers

programing  February 7, 2012 at 11:43 PM
in a program we can have write with out main() how can we write??? plese show me ... View Questions/Answers

CoreJava Project  February 7, 2012 at 11:19 PM
Hi Sir, I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account. ... View Questions/Answers

SECURE EXAMINATION SYSTEM  February 7, 2012 at 8:32 PM
Hello sir,if any online exam is held then we register with username and password and starts the exam with the question one by one within countdown session that is within timer out.If the system failure occurs in the middle of the exam then the exam will be stopped even though timer is not out.so ... View Questions/Answers

swing program for decimal to binary  February 7, 2012 at 8:26 PM
swing program for decimal to binary ... View Questions/Answers

Moire Pattern 2 Java  February 7, 2012 at 7:30 PM
textWhat you are seeing in the screenshot are two sets of concentric circles. The centers of the circles are 100 pixels apart. The circles have a width of 5, and the diameter of a circle is 20 pixels larger than its next smallest one. Diameters range from 20 to 480... View Questions/Answers

patterns  February 7, 2012 at 7:00 PM
who ever answered my previous ques thank u sooooo much!!!!!!!!!! though i was able to solve most complicated progms in java patterns are a night mare for me. thank u once again.can u help me on how to print the following plzzz!!!! RRRRRRRRR ROOOOOOOR ROHHHHHOR ROHIIIH... View Questions/Answers

code  February 7, 2012 at 6:05 PM
An API provides you a readymade method to display a DialogBox with a message and a text input field, and returns you whatever the user types in that input box. The method signature is: String takeUserInput(String message) You want to use this DialogBox to ask the user for the number of children h... View Questions/Answers

what will the output  February 7, 2012 at 6:01 PM
class Parent has a public method play() that prints "Parent is playing". A class Child that extends the Parent class also has the method play() that prints "Child is playing". An instance of Child class called Sonu is typecast to Parent class as below. Child sonu = new Child(); Parent p = (Parent... View Questions/Answers

php dynamic array checking  February 7, 2012 at 5:34 PM
php dynamic array checking ... View Questions/Answers

php dynamic array checking  February 7, 2012 at 5:34 PM
php dynamic array checking ... View Questions/Answers

How to provide navigation in quiz application using jsp?  February 7, 2012 at 5:07 PM
hi everyone. i am using jsp with mysql connectivity. i have to retrieve questions from db one at a time. on clicking the next it should go the next question and on clicking the previous button it should go to the previous question :) ... View Questions/Answers

regular expression for special characters  February 7, 2012 at 4:53 PM
How to find out regular expression for special characters..? ... View Questions/Answers

how to update table using inner joins  February 7, 2012 at 4:49 PM
how to update table using inner joins ... View Questions/Answers

how i can get jqfade.js library  February 7, 2012 at 4:47 PM
how i can get jqfade.j script library ... View Questions/Answers

Struts2...problem in JSP..unable to get the values for menuTitle!!!  February 7, 2012 at 4:45 PM
**Hello everyone... i'm trying to make a dynamic menu from database in struts2...n m fairly new in this framework.. there is some problem in this project...my Jsp is displaying the menuId from database but not the menuTitle...where as its working fine for menuId..** here's the content of ... View Questions/Answers

how to take iphone backup using itunes  February 7, 2012 at 4:29 PM
Hi, Can anyone please tell me how to take iphone backup using itunes..? ... View Questions/Answers

automatic discovery personal name aliases from the web  February 7, 2012 at 3:44 PM
i want for web search area display code ... View Questions/Answers

automatic discovery personal name aliases from the web  February 7, 2012 at 3:41 PM
gogle web page display search the result ... View Questions/Answers

automatic discovery personal name aliases from the web  February 7, 2012 at 3:31 PM
create a text field in enter the name and search button to below result in internet connection ... View Questions/Answers

Upload and display image and text records using JSP and Oracle  February 7, 2012 at 3:29 PM
Hi all, I'm using JSP and Oracle 10g. I could retrieve and display records from database. But i couldnot retrieve and display image. I want to store the image ( uploaded by the user) and retrieve it along with the other records. Please help me!! This is the table i have : ... View Questions/Answers

asp.net  February 7, 2012 at 3:25 PM
My project requrement is when somebuddy fill a web form then all form value will save on database table..& also save that data in excel file......is it any solution of this problem. the code language is asp.net & c#........... ... View Questions/Answers

personal name aliase from the web  February 7, 2012 at 3:19 PM
enter the name to search result in internet connection ... View Questions/Answers

automatic discovery personal name aliases from the web  February 7, 2012 at 3:16 PM
enter the name and enter the button to search result for internet connection below ... View Questions/Answers

simple eg  February 7, 2012 at 3:10 PM
$string = ?Hello Users?; print (?Welcome to Roseindia, I want to greet $string?); print (??); $string = ?Bye Bye!?; print (?OK meet you soon, $string?); ?> in this program we get a error at line 4 ... View Questions/Answers

flow charts  February 7, 2012 at 3:10 PM
draw a flow chart program with a user prompt of 5 numbers computing the maximum, minimum and average. ... View Questions/Answers

automatic discovery personal name aliases from the web  February 7, 2012 at 3:02 PM
enter the word clickbutton and goto internet connection,and below result information display . ... View Questions/Answers

any body have any solutions?  February 7, 2012 at 2:54 PM
Hi Friends, I just get down my computer, I am working on it, but suddenly get down and canâ??t get start again. If any body have any solutions? ... View Questions/Answers

date  February 7, 2012 at 2:45 PM
how to insert date using html through the combobox ... View Questions/Answers

date  February 7, 2012 at 2:45 PM
how to insert date using html through the combobox ... View Questions/Answers

date  February 7, 2012 at 2:45 PM
how to insert date using html through the combobox ... View Questions/Answers

date  February 7, 2012 at 2:45 PM
how to insert date using html through the combobox ... View Questions/Answers

date  February 7, 2012 at 2:16 PM
how to insert date in database? i need coding for that ... View Questions/Answers

simple examples  February 7, 2012 at 2:14 PM
hi,we want to print a comma between two words we put comma in double quotes .Is it correct or not ... View Questions/Answers

How to delete .xlsx file in java?  February 7, 2012 at 1:05 PM
Hello Sir, I am unable to delete .xlsx file using below code, What is wrong here? if(myFile != null && myFile.exists()    && myFile.canRead() && myFile.canWrite()    && myFile.canExecute()) {  myFile.d... View Questions/Answers

DMCA.com