Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

upload a file and write it in JSP using servlet  January 29, 2013 at 3:42 AM
Hello, I'm facing a problem here. I want to upload a file through abc.jsp and write the contents of file using a servlet in xyz.jsp. It is supposed to be a excel file which will be displayed as a table on xyz.jsp and this table can be edited. Quite complex, but if someone helps me with writing of... View Questions/Answers

java  January 28, 2013 at 9:08 PM
how to print 11 12 22 13 23 33 14 24 34 44 15 25 35 45 55 ... View Questions/Answers

Should we go for javascript or applets for online exam project using java  January 28, 2013 at 6:14 PM
Hi, I am new to java and i am working on online examination project.As soon as the candidate login successfully a window pop up should appear with question and options. This window pop up should accomplish the entire monitor screen(mean to say task bar should not be visible). Please help me out. ... View Questions/Answers

Advertisement

sending sms from laptop to mobile  January 28, 2013 at 2:23 PM
sending sms from laptop to mobile for multi users ... View Questions/Answers

sending sms from laptop to mobile  January 28, 2013 at 2:23 PM
sending sms from laptop to mobile for multi users ... View Questions/Answers

Internet and Web related questions for Web Master.  January 28, 2013 at 1:54 PM
Explain the difference between the Internet and Web. What are Web browsers? Explain the two main functions of a Web browser. Write a note on the structure of a Web page. What is Java? What are the applications of Java that you can use for W... View Questions/Answers

core java  January 28, 2013 at 1:46 PM
Hi, Cna any one please share the code to print pascal traiangle?? 1 1 1 1 2 1 1 3 3 1 1 4 5 4 1 Regards: Akash ... View Questions/Answers

How to add a DropDown List in Flex DataGrid  January 28, 2013 at 1:42 PM
hi I am trying to add a DropDownList in a DataGrid table. After the user selects one of the items from the drop down list, the Item that I have selected is not reflected or did not get selected. I know I can use ComboBoxGridItemEditor to achieve the result I am asking for. But combo box i... View Questions/Answers

How to add a DropDown List in Flex DataGrid  January 28, 2013 at 1:29 PM
hi I am trying to add a DropDownList in a DataGrid table. After the user selects one of the items from the drop down list, the Item that I have selected is not reflected or did not get selected. I know I can use ComboBoxGridItemEditor to achieve the result I am asking for. But combo box i... View Questions/Answers

mysql doubt  January 28, 2013 at 12:13 PM
1.What are the method to write malayalam in mysql command prompt?Is it necessary to write malayalam corressponding unicode in mysql command prompt? 2.How to store & retrieve Malayalam from mysql databases? ... View Questions/Answers

create folder  January 28, 2013 at 11:51 AM
what code we should write as a web application that it create an empty folder on client's desktop? ... View Questions/Answers

Server side Paging in jsp ?  January 27, 2013 at 9:21 PM
Hi i am student of It . i am learning jsp-servlet and i am trying to do paging in my report generation but i want to do server side paging and i am using oracle 10g in back end . it will be very helpful for my collage project. ... View Questions/Answers

Append Function in Java  January 27, 2013 at 1:32 PM
What is the use of append function in java? How to use the append function to append a string to a buffer string. Thanks ... View Questions/Answers

BEA-010001  January 27, 2013 at 1:07 PM
I've a java web application deployed on Weblogic server. Post deployment, in the logs, I get this warning : > <Warning> <EJB> <BEA-010001> <While > deploying EJB 'AlterEJB', class > oracle.soa.management.internal.ejb.FacadeFinderBean >... View Questions/Answers

Frames from a yuv video file  January 27, 2013 at 10:51 AM
hi, please help me with the java code for extracting frames of yuv video file. After extraction the images should be stored in jpeg format. Please help me. ... View Questions/Answers

Frames from a yuv video file  January 27, 2013 at 10:51 AM
hi, please help me with the java code for extracting frames of yuv video file. After extraction the images should be stored in jpeg format. Please help me. ... View Questions/Answers

STRUTS  January 27, 2013 at 12:41 AM
MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2 ??? ... View Questions/Answers

STRUTS  January 27, 2013 at 12:41 AM
MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2 ??? ... View Questions/Answers

Read specific column data from text file in java  January 26, 2013 at 5:27 PM
My question is if my text file contain 15 columns and i want read specific column data from that text file then what code i should do? ... View Questions/Answers

JSP/Servlet to read and update Excel  January 26, 2013 at 3:45 PM
Hi Team, My requirement is based upon my input(name) value via one jsp, the program(jsp/servlet) should fetch all the column values which is related to my input(name) from Excel(.xls). but the output(column values) should be in editable mode, because the user have access to edit the values and ... View Questions/Answers

Calling In JavaScript Functions from HTML Form To Validate User Entered Data  January 26, 2013 at 9:06 AM
Hello, I have been working for days on my web Form assignment and editing my html to call my functions to validate the user entered data, but to no avail.I finally decided to place the functions in the head. But, I still cannot make a call. Below is my code. Please help. Thanks in advance. ... View Questions/Answers

searching the data  January 26, 2013 at 2:06 AM
respected sir , i am making the desktop application , so how can i search the data which are stored in the mysql databses through click the button and display in jtable through netbeans dynamically please me sir . ... View Questions/Answers

what is the difference between productList==null and productList.size()==0  January 25, 2013 at 7:09 PM
what is the difference between productList==null and productList.size()==0? here productList is of type LIST ... View Questions/Answers

java servlet connectivity problem with access  January 25, 2013 at 3:30 PM
Import java.sql javax.servlet //all packages entered try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:CUSTOMER"); Statement st=con.createStatement(); // Execute an SQL ... View Questions/Answers

java  January 25, 2013 at 2:59 PM
i have a csv file with more than 20 column.its an airport data .i have to read this file and also i have to calculate % delay if flight is delayed more than 15 minutes,percentage of cancellation.in data i have delayed timing in column 14 and destination name is in 17 column.. ... View Questions/Answers

wrapper class  January 25, 2013 at 11:50 AM
why wrapper class does not have a default constructor??? ... View Questions/Answers

want to ask how to update data for runtime selected multiple checkboxes  January 25, 2013 at 10:24 AM
HI I have one problem I have fetched value from oracle database into grid and created runtime textboxes in the grid for the column geocoordsN,GeocoordsE I have checkboxes for each record when I will select more than one checkboxex and entered the values in the textbox then it sh... View Questions/Answers

About Project  January 25, 2013 at 1:44 AM
Hello friends i want to make a project on face reconization this is my first projct so please help me that how i start my projct please tell me some working with image codeing. thanks... ... View Questions/Answers

duplicate records inserting  January 24, 2013 at 11:12 PM
in the application i have provided the text filed on entering and submit the record is getting inserted. my question is i want to avoid duplicate values getting inserted. ex. i am inserting name shashi kumar with the same between them ,records get inserted ,now when i try to insert shashikumar i ... View Questions/Answers

MySQL take backup of a table - example code needed  January 24, 2013 at 7:39 PM
How to take backup of a table in MySQL? I have a database which contains many tables. What is the command to take the backup of one table with data from database? Thanks ... View Questions/Answers

jsp program  January 24, 2013 at 3:09 PM
sir how we can load the data on the server in the on line project ... View Questions/Answers

Struts2 freeze header  January 24, 2013 at 1:15 PM
Sir, I am using display table to list my table in details in database in jsp that i am using title i need to freeze the title in that page while scrolling its also scrolling because my requirement is full listing without pagination. please help me to solve that problem ... View Questions/Answers

WebCrawling  January 24, 2013 at 11:15 AM
how to crawl the URL by using a word or a string or a number.? ... View Questions/Answers

library management project  January 23, 2013 at 8:54 PM
Is there any similiar methods to that of sendredirect in java? ... View Questions/Answers

library management project  January 23, 2013 at 8:49 PM
Is there any similiar methods to that of sendredirect in java? ... View Questions/Answers

Servelet methods  January 23, 2013 at 7:46 PM
In my project we use the sendRedirect method which is nt working in our project i would like to know whether there is any other method which can be used instead of sendRedirect(). ... View Questions/Answers

Cannot convert 1/23/13 1:18 PM of type class java.util.Date to class java.sql.Timestamp  January 23, 2013 at 5:49 PM
I keep receiving this error every time i select date through jsf calendar, I declared my variable as Timestamp not date. my db is postgresQl ... View Questions/Answers

How to display data in jsp from dao using java beans?  January 23, 2013 at 1:07 PM
Hi I need to display data in jsp pulling from dao using java beans, Please can anyone give me the sample application with above topics. Any help would be highly appreciated. Thanks, Lissy. ... View Questions/Answers

How to convert EBCDIC format value into ASCII format value in java  January 22, 2013 at 5:41 PM
how to convert EBCDIC data format into ASCII format data using java Use Case:I my file contains ASCII format values as well as EBCDIC format values.I need to convert EBCDIC data value into ASCII data values. Please help me to solve this issue ... View Questions/Answers

core java  January 22, 2013 at 4:14 PM
Hello, can any one please expain me.I have doubt in Object class. Why it is necessary to override hashCode method with equals method. Since without overriding the hasCode method I am getting the proper output but it is always advisable to override hashCode along with Equals. packa... View Questions/Answers

How to convert Mssql Procedure into Mysql Procedure.  January 22, 2013 at 3:15 PM
Hello Sir, I have a mssql procedure and i need it to be converted to mysql ... Below is my mssql procedure code.. WITH CTE AS ( SELECT ROW_NUMBER() OVER ( ORDER BY CASE ... View Questions/Answers

How to convert Mssql Procedure into Mysql Procedure.  January 22, 2013 at 3:15 PM
Hello Sir, I have a mssql procedure and i need it to be converted to mysql ... Below is my mssql procedure code.. WITH CTE AS ( SELECT ROW_NUMBER() OVER ( ORDER BY CASE ... View Questions/Answers

j2me  January 22, 2013 at 3:12 PM
hey i m doing a project can i create message reader using j2me in nokia phone?? pls give me source code or hint for that.. ... View Questions/Answers

Retrieving specific data from excel  January 22, 2013 at 2:41 PM
Hello everyone, i have written a simple code to retrieve data from excel sheet and working fine, the excel file contain heading for each row written in bold and the student details such as Sl.No, Name, Roll Number followed by it. I want only those students details to be printed. here is my sample... View Questions/Answers

Data Retrival  January 22, 2013 at 1:54 PM
How to get the output With in 2 mins for more than 13 lakhs records.. ... View Questions/Answers

download eclipse helios for windows 7 64 bit  January 22, 2013 at 12:09 PM
How to download eclipse helios for windows 7 64 bit? Thanks ... View Questions/Answers

How to load elements from db when i press next.  January 22, 2013 at 10:32 AM
Hello , I am working on a project "Online Book Mart" using JSP and Servlets and I am astuck at a position. I am using MySql at back end ,. My query is:- Suppose I clicked a link java books in my project, and there are 100 books info stored in the database but i want to show only 20 at the time an... View Questions/Answers

please explain this program  January 21, 2013 at 10:14 PM
public class MainClass { public static void main(String[] args) { System.out.println("Java"); } } ... View Questions/Answers

program on factorial of a given number in java  January 21, 2013 at 7:11 PM
please tell me, how to write program on factorial of a given number in java? ... View Questions/Answers

program on factorial of a given number in java  January 21, 2013 at 7:11 PM
please tell me, how to write program on factorial of a given number in java? ... View Questions/Answers

Generating pdf in Spring  January 21, 2013 at 3:07 PM
Sir/Madam, I need your help in generating a pdf by fetching the data form database and by using unicode in spring framework ... View Questions/Answers

Google Search  January 21, 2013 at 1:09 PM
I have a textbox and submit button in my JSP page. On giving word in the textbox and click submit it should redirct to google search page and fetch all the results based on my input word automatically. JSP/Servlet code I need. Anyone can help me with explanation. ... View Questions/Answers

How to substring in JQuery?  January 21, 2013 at 11:20 AM
Hi, I my JQuery application I am getting the value from server using Ajax. I have to substring the value in jQuery. There is a variable in my program as follows: var technologyName = "Language JavaScript"; I just want to take the va... View Questions/Answers

div overflow hidden  January 20, 2013 at 8:12 PM
How to make div overflow hidden? Thanks ... View Questions/Answers

How to display windows virtual keyboard  January 20, 2013 at 5:35 PM
Hi, I have a jsp file which contains my website design. In my jsp website design, there's a button. I need to display windows virtual keyboard when i press the button. how to do it ... View Questions/Answers

div style float right  January 20, 2013 at 5:29 PM
How to align div to right? Share me the code for div style float right. Thanks ... View Questions/Answers

div style background  January 20, 2013 at 5:26 PM
How to add background color to a div? What is the code of div style background? ... View Questions/Answers

Read bufferedreader  January 20, 2013 at 4:47 PM
Tell me the example of Read file using bufferedreader. Thanks ... View Questions/Answers

Java bufferedreader  January 20, 2013 at 4:42 PM
Hi, How to write program using Java bufferedreader class? How bufferedreader can be used to read a file? Thanks ... View Questions/Answers

Sound Java Linux  January 20, 2013 at 1:17 PM
How can we play sound on java using Linux ... View Questions/Answers

How To Unblock IP address from command line in CSF Firewall ââ?¬â?? Linux Server?  January 20, 2013 at 10:27 AM
Hi, How To Unblock IP address from command line in CSF Firewall ΓΆβ?¬β?? Linux Server? thanks ... View Questions/Answers

Sorting Router Interface in a list.  January 20, 2013 at 1:09 AM
Hi All, I have list which contains router interface as GigabitEthernet 1/0, GigabitEthernet 1/1,GigabitEthernet 1/11, GigabitEthernet 1/10, GigabitEthernet 1/3 Now i am applying Collection.sort(list) to sort, but it causes a problem it sorts something like this GigabitEthernet 1/0... View Questions/Answers

JSP-Servlets-JDBC  January 19, 2013 at 7:40 PM
Hi all, 1, Create - i want sample code ( if possible with explanation) to create a registration form in JSP, and the form should be navigated to a Servlet page and then the data should be passed to the database table using JDBC and DAO. 2, View - The table created in the database shou... View Questions/Answers

memory areas in jvm  January 19, 2013 at 6:59 PM
what are different memory areas in jvm?plz elaborate their significance? ... View Questions/Answers

.wav file conversion  January 19, 2013 at 6:54 PM
how to read .wav file and converd the data into text format ... View Questions/Answers

how to save a gui form in core java  January 19, 2013 at 4:51 PM
please help me i am java beginner how to save a jframe containing jtable and panels in java thank you ... View Questions/Answers

Help on database and JComboBox  January 19, 2013 at 1:51 PM
I want to select from the JComboBox and when click onto the "search" button, the selected category (example "new york") all the each new york picture and detail will be seen. But how to grab the things from database? ... View Questions/Answers

Answer for SCJP Module-1 Question-13  January 19, 2013 at 12:52 PM
The Answer for SCJP Module-1 Question-13 is missing , I think the answer is option '1', Correct me if I am wrong ... View Questions/Answers

java with computer network  January 19, 2013 at 12:40 PM
i feel it's very difficult to use java for network programming. how can i recover this problem?give me any simple example with explanation. ... View Questions/Answers

Small typo at SCJP Module-1 Question-6  January 19, 2013 at 11:51 AM
Hi Team, This is a awesome site which is serving lot of peoples in learning java effectivly, thanks alot for that, A small typo at "SCJP Module-1 Question-6", in spite of "a.method();" it has typed as "a.method1();", kindly check on this. ... View Questions/Answers

jList  January 19, 2013 at 10:39 AM
how to remove value from jlist after clicking on that value..?? ... View Questions/Answers

one to many video chatting in web application  January 19, 2013 at 10:19 AM
Hi all....I am developing a web application,where video chatting is its one of the main feature.Can anybody tell me which technology to be used.Currently i am using Jsp and servlet technology.If possible give me the code for the same.. ... View Questions/Answers

form field issue  January 19, 2013 at 2:20 AM
how to set the values in form field and form field drop down (doc 2007) using Apache poi? ... View Questions/Answers

Validating the password field  January 18, 2013 at 11:31 PM
When the validate method returns back to the registration page the password field get cleared there by asking again one more time to enter the password field at the time of re-submitting the form *newuser.jsp* <%@page contentType="text/html" pageEncod... View Questions/Answers

No suitable driver found for jdbc:mysql://localhost:3306/TEST  January 18, 2013 at 7:23 PM
hii, I have wrietten web project using jsp and hibernate but its not working. ava.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/TEST at java.sql.DriverManager.getConnection(DriverManager.java:604) at java.sql.DriverManager.getConnection(DriverManager.j... View Questions/Answers

Java read lines from file  January 18, 2013 at 4:54 PM
Any code example related to Java read lines from file? In my project there is requirement of reading the file line by line and splitting the command separated data and saving into database. I know how to split the line and save into database. But I am trying to find code example of reading file l... View Questions/Answers

Reading a text file in java  January 18, 2013 at 4:48 PM
What is the code for Reading a text file in java? Thaks ... View Questions/Answers

Java read binary file  January 18, 2013 at 4:43 PM
I want Java read binary file example code that is easy to read and learn. Thanks ... View Questions/Answers

Read file into byte array java code eample  January 18, 2013 at 4:39 PM
Hi, I have a project where I have to write for that reads file into byte array. I want a code java code for reading file into byte. Just let's know the best code. Thanks ... View Questions/Answers

struts2 email code  January 18, 2013 at 4:35 PM
when I tried the code of sending email suggested by you on when I tried the code of sending email suggested by you on giving following exception. com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. i2sm2923747wiw.3 - gsmtp giving following exception.<... View Questions/Answers

Java convert file to byte array  January 18, 2013 at 3:12 PM
How to convert file to byte array in Java? Thanks ... View Questions/Answers

Java get byte array from file  January 18, 2013 at 3:08 PM
what is the code example in Java for getting byte array from file in memory. Thanks ... View Questions/Answers

Java file byte reader  January 18, 2013 at 3:05 PM
I am looking for an example program in Java for reading the bytes. More specifically I need java file byte reader example code. Thanks ... View Questions/Answers

Java read file contents into byte array  January 18, 2013 at 3:00 PM
Hello share the code of java read file contents into byte array with me. It's urgent. Thanks ... View Questions/Answers

Java read entire file into byte array  January 18, 2013 at 2:55 PM
Where is the example of Java read entire file into byte array on your website? Thanks ... View Questions/Answers

for writting java program why we are taking more than one class  January 18, 2013 at 2:27 PM
for writting java program only one class is enough but why we are taking more than one class ... View Questions/Answers

Need help in completing a complex program; Thanks a lot for your help  January 18, 2013 at 1:52 PM
Hi, I am currently working on one program which works in this way. 1) It searches for a file in a unix server and loads it into local drive say abc.txt 2) It forms a string which is combination of static+dynamic content ie. the dynamic content is user inputted and static content is prewri... View Questions/Answers

Best way to reading file in java  January 18, 2013 at 12:21 PM
Hi, As a beginner I want to learn about Java programming and make a program for reading a text file in java. What is the best way for reading file in Java? Thanks ... View Questions/Answers

Read file in java  January 18, 2013 at 12:18 PM
Hi, How to Read file in java? Thanks ... View Questions/Answers

Read from file java  January 18, 2013 at 11:01 AM
How to Read from file java? What is the best method for a text file having a size of 10GB. Since i have to process the file one line at a time so tell me the very best method. Thank you ... View Questions/Answers

Reading files in Java  January 18, 2013 at 10:39 AM
I have to make a program in my project of finance that reads the text file and process the data in it. How to read the text file in Java. What is the best way to read the file in Java as its big file. Please provide me the example code for reading big text file in Java. What do you sugges... View Questions/Answers

how to validate the telephone number without using jquery in html with javascript  January 17, 2013 at 7:05 PM
how to validate the telephone number without using jquery in html with javascript ... View Questions/Answers

core java  January 17, 2013 at 4:17 PM
I am having 10 countries in the data base as back end.in front end i am having a button in web page like SHOWCOUNTRIESLIST so i need java code how to retrive that 10 countries from back end to my page,,pls help me ,,,,,,,, shaik ... View Questions/Answers

swings for webnms  January 17, 2013 at 12:56 PM
if i am expanding node of jtree then i want to collapse previous expanding node of jtree in swings how is it possible ... View Questions/Answers

arrays  January 17, 2013 at 11:36 AM
while declaring 2-d array, is it compulsary to write no of columns like C or is it different? and if yes then why? ... View Questions/Answers

Rad Calculator  January 17, 2013 at 9:29 AM
sir/mam pls help me i need javaME moblie application Source Half life (minutes) :109.70 Request mCi: 100 Filled time: 03:15 AM Dispatch time : 04:15 AM Filled time & Dispatch time difference in minutes : 60 Required mCi : ????? Formula: Required ... View Questions/Answers

ClearScreen in Console Java  January 16, 2013 at 10:53 PM
How can I perform Clear Screen Operation in Java. As we used to do in C++ using clrscr(); Please guide? ... View Questions/Answers

Java Tutorial with examples  January 16, 2013 at 10:11 PM
What is the good urls of java tutorial with examples on your website? Thanks ... View Questions/Answers

jList  January 16, 2013 at 5:52 PM
how to add checkbox for every value in jlist having values populated from ms access database using java netbeans ... View Questions/Answers

Ajax Question 1  January 16, 2013 at 5:20 PM
I am having 3 fields in jsp they are Fieldname,Fieldtype,Required. If i enter Fieldname as studentid,Fieldtype as checkbox,Required as true(i.e., mandatory field as *).It should store their details in database. From database it should displays the following jsp page as output page by using ajax.... View Questions/Answers

DMCA.com