Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

versions  May 22, 2011 at 6:14 PM
servlets mostly used version, latest version? jsp mostly used version, latest version? struts mostly used version, latest version? Thaks in advance.. ... View Questions/Answers

difference between == and === operators?  May 22, 2011 at 6:03 PM
Is (====) operator available in java or not? difference between == and === ... View Questions/Answers

how we can create website through java  May 22, 2011 at 1:25 PM
Dear actually i wanna ask query about creation of website through java then how we can create web site through java plz help me..........i have already a web site ....specially for premium accounts, IT tiding, about tricks etc....so plz visit this site....... ... View Questions/Answers

Advertisement

socket programming question  May 21, 2011 at 5:06 PM
can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java. ... View Questions/Answers

socket programming question  May 21, 2011 at 5:06 PM
can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java. ... View Questions/Answers

socket programming question  May 21, 2011 at 5:06 PM
can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java. ... View Questions/Answers

how to create a jave version excel in jsp  May 21, 2011 at 12:10 PM
I would like to create a java version excel in JSP. so the excel like document can be published in the internet. the user will be able to enter the information and click the save button to save the data. questions: 1 can any body share some code samples to implement this? 2.are there any ... View Questions/Answers

data should not repeat in the drop down list when it is loading dynamically from database  May 21, 2011 at 12:03 PM
hi friends the below code is working correctly for loading the data dynamically from the data base but my problem is it is retrieving the whole department field from the data base (i.e in the drop down list the department names are repeated)actually it should not happen.when once a department na... View Questions/Answers

data should not repeat in the drop down list when it is loading dynamically from database  May 21, 2011 at 11:41 AM
selDept.jsp <%@page import="java.sql.*"%> <html> <head> <script language="javascript" type="text/javascript"> var xmlHttp var xmlHttp function showEmp(str){ if (... View Questions/Answers

code for selected checkbox columns data from database  May 21, 2011 at 11:34 AM
in my page iam getting all column names of a particular table with checkboxes. when iam select one or more checkboxes i have to get data of that selected columns only. what is the jsp code for this thanks in advance kalyani ... View Questions/Answers

data should not repeat in the drop down list when it is loading dynamically from database  May 21, 2011 at 11:28 AM
selDept.jsp <%@page import="java.sql.*"%> <html> <head> <script language="javascript" type="text/javascript"> var xmlHttp var xmlHttp function showEmp(str){ if (typeof XMLHttpRequest... View Questions/Answers

JSwing and Servlet  May 21, 2011 at 4:51 AM
Hi, I'm developping a java application which sends data from JSwing button to servlet. I have JFrame containing JSwing button, when I tap on the button, data are sent to the servlet, here, the servlet will execute a traitement and as a answer, it will display a JSP page. But it doesn't w... View Questions/Answers

how to delete a row in sql without using delete command.  May 20, 2011 at 6:01 PM
how to delete a row in sql without using delete command. thanks in advance..... ... View Questions/Answers

Calling a jsp page from Servlet  May 20, 2011 at 4:57 PM
How can I do this? Suppose I have jsp page aaa.jsp. From aaa.jsp on form action I have made a call to a servlet xxx.java. In xxx.java I have written code to retrieve data from database through List and data is being retrieve. Now I want to pass this List to another jsp page bbb.jsp from x... View Questions/Answers

coding for login page  May 20, 2011 at 3:50 PM
coding for login page ... View Questions/Answers

Java  May 20, 2011 at 3:08 PM
Hey i got a problem here..u hav given me a code for this but contains errors import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.po... View Questions/Answers

java read file  May 20, 2011 at 2:48 PM
Hello i need some help... i want to read an MS Excel file in java so how to read that file!! ... View Questions/Answers

Pyramid Multiplex Online movie ticket booking  May 20, 2011 at 2:16 PM
Pyramid multiplex is setting up itsā?? online movie ticket booking to enhance the audience experience. Pyramid multiplex currently has 5 theatres now. Each theatre currently has seat capacity of 50 and might get reduced later based on audience feedback. As all are luxury classes, there ... View Questions/Answers

Logic Iterate.  May 20, 2011 at 1:32 PM
logic iterate Struts I have one doubt about logic:iterate. I use text field inside of logic:iterate , there is possible will generate N no of rows (text field) inside of iterate. my doubt is how to get the Particular rows text value. for example: ... View Questions/Answers

Logic Iterate.  May 20, 2011 at 1:29 PM
I have one doubt about logic:iterate. I use text feild inside of logic:iterate , there is possible will generate N no of rows (text feild) inside of iterate. my doubt is how to get the Paritcular rows text value. for example: ... View Questions/Answers

logic for prime number  May 20, 2011 at 11:40 AM
Logic for prime number in Java. ... View Questions/Answers

Spring 3.0.5  May 20, 2011 at 11:32 AM
do u have examples of Spring 3.0.5 . ... View Questions/Answers

this is the code  May 20, 2011 at 7:27 AM
Storage Requirements for the Upstream Petroleum Industry ... View Questions/Answers

HELP  May 20, 2011 at 7:26 AM
I need this code to open in a new web browser. but no matter what i do it wont please help?? Directive 055 Storage Requirements for the Upstream Petroleum Industry ... View Questions/Answers

how to get the anchor field in hidden field tag  May 20, 2011 at 7:12 AM
I have a following code I need to have the value of property "emp" in a hidden field also. when i try to put the following code, I cant get the hidden tag whe... View Questions/Answers

reservation of seat in plane  May 20, 2011 at 4:08 AM
hi,how can i write a program in Java programming to place reservation in air plane from the menu let the user to inter his/her name, age, date of traveling, and the seat in the plane? ... View Questions/Answers

place reservation in plane  May 19, 2011 at 9:56 PM
hi,how can i write a program in Java programming to place reservation in air plane from the menu let the user to inter his/her name, age, date of traveling, and the seat in the plane? ... View Questions/Answers

calling one jsp from another jsp page  May 19, 2011 at 4:56 PM
need coding for calling one jsp from another jsp including the xml file.Its urgent ... View Questions/Answers

Insert specific fields into table dynamically for each row.  May 19, 2011 at 2:26 PM
There is a table containing 20 fields and 2 of those are empty. The administrator will enter those details in a webpage. So that the field values will insert into the table. For this all the rows displayed and two rows with empty text boxes, he insert there for each row and for each row there is ... View Questions/Answers

Java  May 19, 2011 at 1:26 PM
For the following coding it shows the msg like upload is successfull.But it can not upload into the database(my database is sql server 2008). Here is the code import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java... View Questions/Answers

Struts Action Class  May 19, 2011 at 1:21 PM
What happens if we do not write execute() in Action class? ... View Questions/Answers

textfield should not allow the user to fill the date in it.  May 19, 2011 at 1:07 PM
I got a requirement like this, I am dislaying a text field along with a calendar. Here user should not fill the date inside the text field manually. If he tries to fill the date manually, i have to display some message like "please click on calendar object". ... View Questions/Answers

Restricting the user from filling the data in a textfield using html  May 19, 2011 at 12:55 PM
I got a requirement like this, If the user is trying to fill a text field, i have to restrict him ... View Questions/Answers

Can JSP using apachi POI handle the very complicated JSP?  May 19, 2011 at 12:45 PM
Can the following jsp handle the very complicated excel: such as, multiple sheet, tree structure, with chart in the excell file, etc. <%@page import="java.io.*"%> <%@page import="java.util.*"%> <%@page import="org.apache.poi.xssf.usermodel.XSSF... View Questions/Answers

displaying a calendar of only current month in jsp on webpage using javascript  May 19, 2011 at 12:43 PM
how can we display a calendar of only current month in jsp on webpage using javascript ... View Questions/Answers

how to add a update button in the following jsp  May 19, 2011 at 12:41 PM
Once the excel from the following jsp is loaded to the broswer, how to add a button in the jsp to allow the user to update the excel? thanks, <%@page import="java.io.*"%> <%@page import="java.util.*"%> <%@page import="org.apache.poi.xssf.usermo... View Questions/Answers

Insert specific fields into table dynamically for each row.  May 19, 2011 at 12:31 PM
There is a table containing 20 fields and 2 of those are empty. The administrator will enter those details in a webpage. So that the field values will insert into the table. For this all the rows displayed and two rows with empty text boxes, he insert there for each row and for each row there is ... View Questions/Answers

Java Connection to Oracle database  May 19, 2011 at 12:10 PM
HI I am ubable to connnect jdbc to Oracle database.i had gone to control panel >>Administrative tool>>>Data source,in that forDNS name i typed Oracle and in TNS i culdn't type properly and the Test Connection failed.So Kindly tell me what to type in TNS Service name .ONe more thing is that i... View Questions/Answers

login page  May 19, 2011 at 11:31 AM
code for login page ... View Questions/Answers

Help Me plzzz  May 19, 2011 at 11:06 AM
org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: D:\prash\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\HelloServlet\org\apache\jsp\Hello_jsp.java:7: cannot access java.lang.Object Generated servlet e... View Questions/Answers

Java  May 19, 2011 at 10:57 AM
i want coding for the upload the text file,image,video files and these files can be saved into mydatabase sql server 2008.give me the coding in html and java by using servlets. ... View Questions/Answers

how to present the excel to the web browser in jsp  May 19, 2011 at 1:38 AM
How to present the content of the newly created excel file in the following jsp to the web browser: <%@ page import="java.io.InputStream" %> <%@ page import="org.apache.poi.xssf.usermodel.XSSFSheet"%> <%@ page import="org.apache.poi.xssf.usermodel.XSSF... View Questions/Answers

how to display the excel file content in the jsp  May 19, 2011 at 1:32 AM
How to present the content of the newly created excel file in the following jsp to the web browser: print("code sample"); <%@ page import="java.io.InputStream" %> <%@ page import="org.apache.poi.xssf.usermodel.XSSFSheet"%> <%@ page imp... View Questions/Answers

how to display the excel file in the web browser.  May 19, 2011 at 1:19 AM
> %@ page import="java.io.InputStream" > %> <%@ page > import="org.apache.poi.xssf.usermodel.XSSFSheet"%> > <%@ page > import="org.apache.poi.xssf.usermodel.XSSFWorkbook"%> > <%@ page > contentType="application/vnd.ms-exc... View Questions/Answers

how to display the output of the newly created excel file  May 19, 2011 at 1:16 AM
the following program will create the test.xlsx file, how can i display the content of the test.xlsx file in the web browser? thanks, %@ page import="java.io.InputStream" %> <%@ page import="org.apache.poi.xssf.usermodel.XSSFSheet"%> &... View Questions/Answers

Java  May 18, 2011 at 5:03 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 5:03 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 5:03 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 5:03 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 4:59 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 4:59 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 4:59 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 4:59 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

Java  May 18, 2011 at 4:59 PM
i want to upload the video and image send me the coding for this in java Here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://... View Questions/Answers

yes  May 18, 2011 at 4:04 PM
You hav asked "have u used "post" method" import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class PatternExample extends javax.s... View Questions/Answers

Populating values from Child Popup Jsp to Parent jsp  May 18, 2011 at 3:50 PM
Hi, My requirement follows like this.. I have a parent jsp where u have search button. If u click on this a popup jsp opens and based on certain critierias in popup jsp we get some results of records with checkbox option in front of it. If user selects the checkbox of a particular record ... View Questions/Answers

stuck  May 18, 2011 at 3:46 PM
HTTP Status 405 - HTTP method GET is not supported by this URL type Status report message HTTP method GET is not supported by this URL description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).... View Questions/Answers

Solve this problem plzzz  May 18, 2011 at 2:48 PM
Prashant.jsp (this is my JSP file) <HTML> <HEAD> <TITLE>Login using jsp <BODY> <H1>My First Project</H1> <form action=" /Prashant" method="POST"> <table> ... View Questions/Answers

java  May 18, 2011 at 2:38 PM
dear, i want a field for date picker using java/java script ... View Questions/Answers

some methods not working on firefox and chrome  May 18, 2011 at 1:51 PM
why some of javascript methods are not working on firefox and chrome? ex : createElement(). Please help me to solve this problem. adv thanx. ... View Questions/Answers

video rating  May 18, 2011 at 1:18 PM
Please send me the code for video rating using java. ... View Questions/Answers

how to add data dynamically from database into a dropdown list in a jsp  May 18, 2011 at 12:34 PM
hi friends i am doing a project in jsp and oracle as my database.In my project i have an registration form containing many text fields.there is no problem in storing them into the database,this registration form contains name and department fields also.I have a create an jsp page in which there ... View Questions/Answers

FileUpload  May 18, 2011 at 11:37 AM
when i try to upload multiple files using struts,i got IllegalException ...arguement type mismatch, ......how to solve it can anyone assist ... thanks ... View Questions/Answers

Looking for sample project in java using netbeans  May 17, 2011 at 9:19 PM
Hi all, i am novice in developing desktop application in java using netbeans. can anyone pls help me by sending project built in netbeans as soon as possible. so that i could learn something from it by refering that project. pls its urgent ... View Questions/Answers

Cannot find tag library descriptor  May 17, 2011 at 6:48 PM
Cannot find tag library descriptor...? How to resolve in struts in eclipse.... ... View Questions/Answers

java how to create visual swing editor  May 17, 2011 at 6:44 PM
How do I create a visual swing designer in java ?Meaning that I can "draw" a button,a JTextArea from within my designer program . I just need some basics . I've got no idea how to start ... View Questions/Answers

Running Java Applications as a Windows Service  May 17, 2011 at 6:03 PM
sample code for "Run a Java application as a Windows Service" ... View Questions/Answers

How to write calculator in J2ME program?  May 17, 2011 at 5:00 PM
How to write calculator in J2ME program? ... View Questions/Answers

exercise.  May 17, 2011 at 4:22 PM
write a program that reads 10 numbers fin the largest number and count the occurrence of the largest number from declared array assume you assigned 4,6,3,2,5,6,6,1 and 6. ... View Questions/Answers

HTML  May 17, 2011 at 4:04 PM
Following is the my coding.but when i click on submit it can not take the form action **Here is my code** <html> <head> <body><form method="post" action="http://localhost:8080/sss/post"></form></body> <center> <ta... View Questions/Answers

HTML  May 17, 2011 at 4:04 PM
Following is the my coding.but when i click on submit it can not take the form action **Here is my code** <html> <head> <body><form method="post" action="http://localhost:8080/sss/post"></form></body> <center> <ta... View Questions/Answers

Clipped Sine Wave  May 17, 2011 at 3:30 PM
Can you provide the code for clipped sine wave?? ... View Questions/Answers

Blob update in hibernate  May 17, 2011 at 12:07 PM
Hi , I wanted to upload a blob into mysql database using hibernate. Could you please help me . Thanks in advance, Satchidanand Mohanty ... View Questions/Answers

Applets  May 17, 2011 at 10:16 AM
how can we execute remote applet? ... View Questions/Answers

reain values  May 17, 2011 at 9:31 AM
Sir I have Jsp page for regisering customers,when i submit form it goes to servlet in servelets it checks for the username if it already exits i m using reuest.sendredirect to same jsp but all textbox values are cleard, i want to retain all values in textboxs after request.sendredirect .Please Hl... View Questions/Answers

Matrix Class  May 17, 2011 at 8:37 AM
A class to manage matrices and add them. Create in the driver class two objects of it and use the add method ... View Questions/Answers

Matrix Class  May 17, 2011 at 8:37 AM
A class to manage matrices and add them. Create in the driver class two objects of it and use the add method ... View Questions/Answers

Flower Shop Ordering To Go  May 17, 2011 at 8:36 AM
Create a flower shop application which deals in flower objects and use those flower objects in a bouquet which can then be sold. The flower object has a flower name, color, quantity. Adding a particular flower to a bouquet depends on the user choice. HINT: you should keep track of the number of o... View Questions/Answers

Count Vowels  May 17, 2011 at 8:35 AM
Read a string from the user, your program counts the number of vowels in the text and have it report a sum of each vowel found as well as the number of spaces. Make it in two classes ... View Questions/Answers

sql  May 17, 2011 at 4:36 AM
how to display the values in the same order as i entered from a certain table... ... View Questions/Answers

image displaying from database with some other information  May 17, 2011 at 2:17 AM
hi, in the following section of code when i am not displaying the image it is working properly but when i tried to display the image nothing is displayed on browser only a cross mark is shows. same code runs if i am not retriveing any data from admin table my image table has two entries img bl... View Questions/Answers

JavaScript  May 16, 2011 at 9:52 PM
how to get full path of a file type in javascript? ... View Questions/Answers

pop up  May 16, 2011 at 1:33 PM
how to create pop up in html? ... View Questions/Answers

database problem  May 16, 2011 at 1:20 PM
I did connect my jsp page to database and it showed the result on another jsp page but i want to show the data of that field on which i click to mouse from the jsp page where all the data field has been showed. Please suggest me what will the code of it. ... View Questions/Answers

database problem  May 16, 2011 at 1:20 PM
I did connect my jsp page to database and it showed the result on another jsp page but i want to show the data of that field on which i click to mouse from the jsp page where all the data field has been showed. Please suggest me what will the code of it. ... View Questions/Answers

creating pop up menu  May 16, 2011 at 12:22 PM
how to create a pop up menu when a link in html page is clicked using jquery? and the link should be a text file ... View Questions/Answers

Java  May 16, 2011 at 12:11 PM
i want coding for the calender. In my form i have start date and end date for this i want to display a calender image beside the text field of start date and end date.i want to select the date from the calender image ... View Questions/Answers

Object Output Stream  May 16, 2011 at 10:37 AM
Can anyone decode the data from a file which is written by ObjectOutputStream?? I want to know if this is a secure way to write protected data without encryption ... View Questions/Answers

help in java please  May 16, 2011 at 1:37 AM
Define a class named Money whose objects represent amounts of U.S. money. The class will have two instance variables of type int for the dollars and cents in the amount of money. Include a constructor with two parameters of type int for the dollars and cents, one with one parameter of type int... View Questions/Answers

Count number of occurences and print names alphabetically in Java  May 15, 2011 at 9:33 PM
I have this code: public class Names { public static void main(String[] args) { String[] s = {"bob", "tom", "jim", "tom", "tom", "tim"}; printCount(s); } public static void printCount(String[] sa) { //code } } Need to write the code for the printCount() method for the code... View Questions/Answers

Java is an opensource program or not? why???  May 15, 2011 at 7:40 PM
Java is an open source program or not.. why??? ... View Questions/Answers

jsp  May 15, 2011 at 3:15 PM
Hi,please send me login page code using jsp ... View Questions/Answers

Insert or retrieve image into oracle 10g by using java  May 14, 2011 at 8:38 PM
How can i insert or retrieve image into oracle10g using java plz i need it urgently,need guidance to do this plz...... ... View Questions/Answers

Write a program in java...  May 14, 2011 at 6:42 PM
Hi, friends Please, can you help me? Q1: Write a program in java to simulate a calculator. Your program should take two numbers and an operator(+,-,*,or/), from the user in the following format: number1 operator number2 (For example 2 + 4) and print the result.Take all variables u... View Questions/Answers

Array in Java  May 14, 2011 at 12:59 PM
public class tn { public class State{ String s_name; int p1; int p2; } public void f(){ State[] s = new State[10]; int [] i = new int[10]; i[0] = 1; //right s[0].p1 = 1; //error N... View Questions/Answers

no dues clearance module  May 14, 2011 at 11:36 AM
I need to build a no dues clearance module.an employee id is entered in an html page and checked whether its a valid id or not.if the employee id is valid then the employee will give the reason for leaving which will be a checklist.then on the click of submit button 3 emails must be sent to 3 adm... View Questions/Answers

why above code returning the value of squares is 82... even after returning an increnented value of squares... please help me...  May 14, 2011 at 10:59 AM
public class d55 { int squares = 81; public static void main(String[] args) { new d55().go(); } void go() { incr(++squares); System.out.println(squares); } int incr(int... View Questions/Answers

nested loops  May 14, 2011 at 10:52 AM
please tell input to get the output: 12345 23456 34567 45678 ... View Questions/Answers

project  May 14, 2011 at 12:36 AM
sir i want to a project on railway reservation,sir plz give me the source code ... View Questions/Answers

Oracle Database connectivity probem  May 13, 2011 at 9:56 PM
hi Below is the code of oracle database connectivity, when i compile it, it will show the error: oracle.jdbc.driver.OracleDriver I am using netbeans 6.5 and tomcat 6.0 and jdk 1.6 i have also set the environment variable like that .;E:\oracle\ora81\jdbc\lib\classes12.zip;E:\oracle\ora81\jdbc\li... View Questions/Answers

DMCA.com