Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

About connection database oracle to java  May 13, 2011 at 7:12 PM
**Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Administrative T... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:11 PM
I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Administrative Tool... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:09 PM
I culdn't connect oracle datebase to java.when i compile the program it is ok. but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Administrative Too... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:05 PM
Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Admini... View Questions/Answers

About connection database oracle to java  May 13, 2011 at 7:04 PM
Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger .but it has shown error in TNS .what exactly i did is that i have gone to control Panel>>Admini... View Questions/Answers

how to set the values in jsp  May 13, 2011 at 7:03 PM
how to set the values text boxs in jsp frm dbase via servlet ... View Questions/Answers

How to find unweighted Path with Less weighted path in java?  May 13, 2011 at 5:44 PM
I have methods to find weighted and unweighted(Djistra) so I to output unweighted path that has less weighted cost...e.g if I have A->B->C and A->F->C the unweighted is 2 for both so I want to output the one with less cost(weighted) Please help ... View Questions/Answers

paypal integration  May 13, 2011 at 4:00 PM
Could pls anyone help in selecting the correct product in PayPal. In my website, i have a form in which customer will select whether he is a foreigner or singaporean. If foreigner he has to pay some 1000$....on submiting the form it should redirect to paypal and customer pays the amount and shoul... View Questions/Answers

upload pdf  May 13, 2011 at 3:53 PM
i want to dispal content of pdf fil and stored into database in human readable form using php . how can i do this? ... View Questions/Answers

how do i provide down a pdf document fecility on my web page using jsp and servlets?  May 13, 2011 at 12:48 PM
Hai, I need a program to provide download option for pdf file on my web page,the pdf file contains retrieved data from mysql table. I need this program by using jsp-servlets. any one can help me please?? Thanks&Regards Divya ... View Questions/Answers

Data base Connectivity  May 13, 2011 at 11:56 AM
How to configure JDBC connection for Oracle data base.In configuring it is asking select Data server name and TNS.I typed Oracle for Data Server Name and IN TNS what to type? I pulled the list for TNS ,but there is only one type EXPORCONCUR etc.NOW the problem is that iam not... View Questions/Answers

c question  May 13, 2011 at 11:26 AM
How to convert decimal numbers into binary digits without using pow function in c language? ... View Questions/Answers

html  May 13, 2011 at 10:50 AM
Already i am using this code but its not working ur coding: <tr><td valign="top"><strong>Address: </strong></td><td><textarea name="Address" rows="8" cols="30"> </td></tr> my coding: <tr> ... View Questions/Answers

how can i display a editable result of form?  May 13, 2011 at 8:02 AM
how can i display a editable result of form? i know how to display form result but the result is display on text. i cant modify them. i have a form with hundreds of checkbox. i want to display form result in same page i have alredy created a hidden div which show the result but i can not modify... View Questions/Answers

Struts 2 imagae set to frame.  May 12, 2011 at 11:39 PM
I could not set image to frame in stuts 2. Here is the code : 1)index.jsp <%@ taglib uri="/struts-tags" prefix="s" %> <%@taglib uri="/struts-images" prefix="img"%> <img:image src="%{src}" width="150" height="200"/> ... View Questions/Answers

swing  May 12, 2011 at 11:33 PM
Write a java swing program to delete a selected record from a table. ... View Questions/Answers

Swing  May 12, 2011 at 11:32 PM
Write a java swing program to search the details of the students. Searching is performed on studentā??s first name. The details of all those students having same name as in given in searching criterion will be displayed in a table. Use JDBC. ... View Questions/Answers

Swing  May 12, 2011 at 11:32 PM
Write a java swing program to search the details of the students. Searching is performed on studentā??s first name. The details of all those students having same name as in given in searching criterion will be displayed in a table. Use JDBC. ... View Questions/Answers

DMCA.com