Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Different JRE  May 25, 2011 at 2:31 PM
Java is platform independent. The why different JRE's there for differen operating systems. ... View Questions/Answers

Jsp doubt  May 25, 2011 at 2:30 PM
In Employee.jsp form, When i click employee id value in combo box , how i get the related employee name will be displayed in text field? i already stored combo box values from database. ... View Questions/Answers

Arrays  May 25, 2011 at 2:18 PM
Create a program to mark and grade a set of multiple choice test results.This is a console programm that uses JOptionPane dialog boxes as well. Read a set of 10 correct answers,using a JOptionPane dialog box and store the entire answer as one string in one variable.There are no spaces bet... View Questions/Answers

Advertisement

java serialization  May 25, 2011 at 2:14 PM
when we serialize the object while this object having the another object reference but we dont want to serialize that object inside the serializable object? if we do this it throw the null pointer exception after deserialize? how we do that so that it does not throw that exception ? ... View Questions/Answers

update image  May 25, 2011 at 1:35 PM
sir, I want to do update image into database ... View Questions/Answers

Postive Clipped Sine Wave  May 25, 2011 at 12:11 PM
Please Could You send the code of a clipped sine wave... Thanks ... View Questions/Answers

supplying values to in parameters of stored procedure in ms sql and displaying out parameters  May 25, 2011 at 11:56 AM
I have to execute following procedure ALTER PROCEDURE [dbo].[get_date] @codeId int, @vardate as datetime OUTPUT AS SELECT Date FROM Tbl_CustData WHERE codeId = @codeId ... View Questions/Answers

MySQL concating string  May 25, 2011 at 11:43 AM
Hi, How to concatenate the two fields data in MySQL? Thanks ... View Questions/Answers

J2ME  May 25, 2011 at 11:28 AM
how to create table using four field in RMS? ... View Questions/Answers

error  May 25, 2011 at 11:24 AM
java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2592) at com... View Questions/Answers

creating and executing stored procedure using hibernate  May 25, 2011 at 10:21 AM
I have to execute following query using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION VARCHAR(200) SET @i_STARTDATETIME = '2011-05-21 00:00:00' SET @i_ENDDATETIME = '... View Questions/Answers

could someone help in this ........  May 25, 2011 at 6:49 AM
dear Sir/Mrs I'll be thankful for helping me on this ....... write a program that reads 10 numbers. find the largest number and count the occurrence of the largest number from a declared array. assume the assigned 4.6.3.2.5.6.6.1 and 6. the program will display the largest number os 6 and... View Questions/Answers

java  May 25, 2011 at 6:45 AM
write a program that reads 10 numbers,Display the number in ascending order and also display the number in descending order? ... View Questions/Answers

java  May 25, 2011 at 6:20 AM
write a program that reads 10 numbers,find the largest number and the occurrence of the largest number from declare array. ... View Questions/Answers

jsp using netbeans  May 25, 2011 at 2:59 AM
Code to access and manage multiple e-mail accounts on the same page.. user should be able to edit mail accounts' link as required ... View Questions/Answers

Text to voice  May 24, 2011 at 10:52 PM
sample code for text to voice in objective c..... ... View Questions/Answers

How to Display Data in a tree structure on the GUI  May 24, 2011 at 8:40 PM
how to display data in a tree structure on the GUI? I need this sort of UI to display data showing a set of rules showing various conditions and the actions related to the conditions ... View Questions/Answers

Tamcat apache server error  May 24, 2011 at 6:24 PM
four days before it was working. now its not working HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5.31 how to rectify the above error ... View Questions/Answers

executing mysql plsql block using hibernate  May 24, 2011 at 5:58 PM
I got one requirement like this, I have to execute following query by using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION VARCHAR(200) ... View Questions/Answers

spring mvc configuration with mysql using jdbc  May 24, 2011 at 5:13 PM
hai I want to configure web mvc with mysql using jdbc template. when I submit values using registration form it will reflect on database which i was created earlier. send me code for this ... View Questions/Answers

HTTP Status 404 -  May 24, 2011 at 3:40 PM
HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5.31 how to rectify the above error ... View Questions/Answers

Mouse Motion  May 24, 2011 at 3:28 PM
Could you please send me the code of finding the (x,y) co-ordinates in a JFrame Compoenent..?? I need it urgently for my project. ... View Questions/Answers

JAVA to SQL  May 24, 2011 at 3:03 PM
package abhijeet; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.L... View Questions/Answers

sql quries  May 24, 2011 at 2:37 PM
i want basic sql quries please provide that ... View Questions/Answers

Program to draw rectangle on each mouse click and erase priviouse rectangles  May 24, 2011 at 2:32 PM
Program to draw rectangle on each mouse click and erase previous rectangle on next mouse click ... View Questions/Answers

Java  May 24, 2011 at 1:32 PM
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective? ... View Questions/Answers

Using Jasper Report files in java projects using Eclipse IDE  May 24, 2011 at 1:00 PM
Hello all, I am using iReports for generating reports from Database. I am able to get the .jasper with .jrxml files. I am developing a web portal in Eclipse which requires report generation. I wanted to know the procedure to use these .jasper file in ECLIPSE. If anyone give me the code along with... View Questions/Answers

string  May 24, 2011 at 12:57 PM
"3"+4+5 and 3+6+"4" what is the out put please tell me the output ... View Questions/Answers

hasmap  May 24, 2011 at 12:50 PM
how to convert set to map ... View Questions/Answers

Retrieve data by clicking a link  May 24, 2011 at 11:31 AM
In a page there are 5 links.Every link has a hidden value. According to that hidden value data should be retrieved from the database and data should be displayed in a new page.How to do it?Please help. ... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www... View Questions/Answers

Java  May 24, 2011 at 11:05 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Database  May 24, 2011 at 10:58 AM
Can i get a code for database connectivity Myeclipse 3.3 to MySql manager 2005 ... View Questions/Answers

Java  May 24, 2011 at 10:54 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:54 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:54 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. 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://www.w3.org/1999/xhtml... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. 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://www.w3.org/1999/xhtml... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. 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://www.w3.org/1999/xhtml... View Questions/Answers

Java  May 24, 2011 at 10:50 AM
Dear Sir, i want the java coding for the following html page. 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://www.w3.org/1999/xhtml... View Questions/Answers

I need to output number diamond using nested for loops.  May 24, 2011 at 10:31 AM
How to i output this using nested for loops 1 131 13531 1357531 135797531 1357531 13531 131 1 ... View Questions/Answers

java  May 24, 2011 at 10:03 AM
diff bt core java and java? ... View Questions/Answers

upload image to database  May 24, 2011 at 12:26 AM
i am try to upload image to MySql database using netbeans. when jsp execute it return no error. but also data does inserted in database. i am using blob datatype and preopared statement. ... View Questions/Answers

display error message for dupliacate record in properties file  May 23, 2011 at 6:44 PM
This is my code. Here if the properties file contain duplicate records(i.e.)more than one entry e.x.001,002,003,001 i want to display the error message "Duplicate Record found" while compile the java file.Please give the correct solution soon. import java.io.*; import java.util.*; public ... View Questions/Answers

Datatype convertion  May 23, 2011 at 6:12 PM
it possible to convert long datatype into string in java if possible means how ... View Questions/Answers

how read excel data into database using struts2 with hibernate  May 23, 2011 at 6:01 PM
hi friends, i am venkat i am started learning struts 2, please help me how to read excel data into database using struts2 with hibernate, please show me just sample application and some references and websites.. Thanks for Advance...... ... View Questions/Answers

session management  May 23, 2011 at 4:10 PM
i have a problem in sessions.when i login into my project,successfully i got admin page.but when i click on back button of browser it goes to login page.and with out need of login ,admin page was opened. iam new to java. i dont have an idea on session and c... View Questions/Answers

Html  May 23, 2011 at 4:01 PM
i am select the dateofbirth through the html browser.but it can not save into the sql server 2008 database.any special code required to store the date in database by using java servlets ... View Questions/Answers

Undo/Redo functionality in UITexView  May 23, 2011 at 3:40 PM
Hi all, I m facing a big problem from some days, actually i want to integrate the Undo/redo functionality in iphone app, where m using a textview. Please tell me the proper sample that where each method to be write or call.. Thanks, HpSingh ... View Questions/Answers

Java eft transaction  May 23, 2011 at 2:58 PM
4.3 Problem Constraints The following statements apply to the problem domain: ? A unique card is identified by its card number (Primary Account Number or PAN) and expiry date. ? A customer may have multiple cards, however a card is only linked to a single customer. ? A card is not linked to... View Questions/Answers

calendar  May 23, 2011 at 2:38 PM
I got one requirement like this i have to display a calendar with only current month and whenever user selects the date, that date needs to be display in a text field. ... View Questions/Answers

getChars method  May 23, 2011 at 1:31 PM
class VijayKrishna { public static void main(String args[]) { String palindrome = "Dot saw I was Tod"; int len = palindrome.length(); char tempCharArray[] = new char[len]; char charArray[] = new char[len]; palindrome.getChars(**0, le... View Questions/Answers

Search index  May 23, 2011 at 1:20 PM
how to write code for advanced search button ... View Questions/Answers

JSF+Filter  May 23, 2011 at 1:09 PM
What is the meaning of the tags: avoid-urls for filter configurations in web.xml...? ... View Questions/Answers

Help me  May 23, 2011 at 1:03 PM
hello!!!!. i have a Excel file which includes 4 columns and somewhat 8500 rows.these rows i have printed in SQL thru Excel file and i have 1 MYSql database which includes all those 4 fields i have defined in excel file and i want dat 4 fields to b filled wid dat Excle file fields which wi... View Questions/Answers

string related  May 23, 2011 at 12:31 PM
As with any other object, you can create String objects by using the new keyword and a constructor. The String class has thirteen constructors that allow you to provide the initial value of the string using different sources, such as an array of characters: char[] helloArray = { 'h', 'e'... View Questions/Answers

string  May 23, 2011 at 12:00 PM
String helloString = new String(helloArray); System.out.println(helloString); i am unable to understand this. could u plz explain this? ... View Questions/Answers

Hello world program  May 23, 2011 at 10:28 AM
hello world program ... View Questions/Answers

How to export web page to excel using java or jsp or servlets  May 23, 2011 at 7:12 AM
Hi I am trying to export web page(jsp page ) to excel using jsp or servlets. I am retrieving records from database and displaying in the jsp page, In this page I have a save as excel button, when I click this button I need these displayed records to excel file. I tried with vbscript and ... View Questions/Answers

How a split a file into many based on size?  May 23, 2011 at 6:49 AM
Consider a text file which has a size of 400 bytes, i need to split up the contents in that 400 bytes file into 100 bytes of separate files.So there should be totally 4 files should be created. Kindly help on this... ... View Questions/Answers

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

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

DMCA.com