Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

question  August 18, 2011 at 12:51 PM
Dear Sir, How do i solve the following problems , i am using jdk1.6.0_22 and eclipse Helios , please help me ................ Access restriction: The type Player is not accessible due to restriction on required library /home/dieutek/jdk1.6.0_22/jre/lib/ext/jmf.jar Access r... View Questions/Answers

inherittance  August 18, 2011 at 12:31 PM
Develop a class Borrower which has 5 important fileds, namely borrowerId, borrowerName, borrowerLastName, contactNumber and dateOfBirth. Your class must demonstrate good encapsulation where all fileds get manipulated through get and set methods. Save your file as Borrower.java Sample inpu... View Questions/Answers

check box condition  August 18, 2011 at 12:21 PM
Hai, my application has two check box one for chart and another one for table.when We click chart check box download only chart but table also download.same problem in table slection..xsl coding was used in my application..please help me... ... View Questions/Answers

Advertisement

java  August 18, 2011 at 12:00 PM
Write a program that print the following pattern: - 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5 ... View Questions/Answers

merge the multilple jasperfiles in java  August 18, 2011 at 10:05 AM
how to merge the multiple jasperfiles in java ... View Questions/Answers

help me plz:-Merge multiple jasper files into Single one  August 18, 2011 at 9:40 AM
how to Merge multiple jasper files into Single one word doc ... View Questions/Answers

Merge multiple jasper file to one word Doc using java  August 18, 2011 at 9:33 AM
how to Merge multiple jasper file to one word Doc using java ... View Questions/Answers

Task manager enable and disable thru java  August 17, 2011 at 10:22 PM
I would like to know, how to enable and disable task manager using java. Kindly, please Let me know ... View Questions/Answers

Java Timer  August 17, 2011 at 7:38 PM
Hai Sir, I want to know How to schedule a task on first date of every month in java by using Java timer.Please help me sir. thank you, Shyam ... View Questions/Answers

how to display data from jsp file into database  August 17, 2011 at 4:58 PM
this is a jsp file . look at the line with code-> Statement st=con.createStatement(); in the below example. the error is "cannot convert from java.sql.Statement to com.mysql.jdbc.Statement please help me with it. thanks <%@ page language="java" contentType="text/html; charset=UTF-8" ... View Questions/Answers

hyperlink  August 17, 2011 at 4:37 PM
I have a .xls file and i want the code to open this .xls file in read only mode when i click on a hyperlink,it should not not be editable,please send me the code ... View Questions/Answers

Hyperlink  August 17, 2011 at 4:28 PM
The excel file is not opening in read only mode ,it is editable,actually i need to open it in read only mode by clicking on link.please help me ... View Questions/Answers

Can Login on Fedora, cannot on Windows- JSP/Servlet for login  August 17, 2011 at 4:05 PM
I am using JSP and Servlet to perform login. When I host the website and test it works fine for clients on Fedora but on Windows (with IE, firefox, google chrome) clients cannot login to the website. How can I fix this? Please help.... ... View Questions/Answers

Displaying database values in pdf format  August 17, 2011 at 3:20 PM
Hi All, I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration data... View Questions/Answers

Hyper link  August 17, 2011 at 3:00 PM
how to open a document in read only mode by clicking on a hyperlink ... View Questions/Answers

how to display the database values in pdf format  August 17, 2011 at 2:29 PM
in struts how to display the values in pdf format when clicking a button in jsp page ... View Questions/Answers

how to code-updating some details n some details r unchanged  August 17, 2011 at 2:02 PM
i have created a page with empty text boxes,details are.... house no: streetname: cityname: pincode: contact : bloodgroup : my requirement is to update the details of user. and i had written the... View Questions/Answers

Table-chart selection  August 17, 2011 at 1:43 PM
Hai, Our application has pdf download.The pdf file has chart and table..Now the problem is user choose only table option but table and chart download..i want table only..the coding was given below..please help me..... ... View Questions/Answers

Can someone help me with this?  August 17, 2011 at 1:39 PM
I have this project and i dont know how to do it. Can someone help me? please? Write a java class named "PAMA" which define a main () method that performs simple arithmetic. (e.g. Add, Subtract, Multiply, Divide) Help me please! Thanks in advance! ... View Questions/Answers

question  August 17, 2011 at 12:21 PM
I am doing a project using struts framework and spring jdbc .I have a issue that when data is inserted into database if we click the refresh button then the same data is again inserted in to the database.What is the solution of this problem? ... View Questions/Answers

J2ME  August 17, 2011 at 12:04 PM
What is the source code for Mortgage Calculator. using text fields are home price,loan amount,down payments,down payment percent, Annual tax,annual Interest,interest rate,annual insurance,pay per monthly,terms in years,freq.payment then Commands are Interest rates,Rest,More these all are using ... View Questions/Answers

Help Me  August 17, 2011 at 11:49 AM
What is the source code for Sample example for Mortgage Calculator in J2ME language for developing Symbian. ... View Questions/Answers

Java scroll pane-java GUI  August 17, 2011 at 10:23 AM
Dear friends.. Very Good morning. I have a doubt in my gui application. Take ex:- My gui application has 1 Jscrollpane of height 600 and width 400. normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged... View Questions/Answers

event handling  August 17, 2011 at 7:12 AM
diff btwn event handling in ASP.net and in HTML ... View Questions/Answers

java  August 17, 2011 at 7:11 AM
program to send and receive datagram using datagram packet and datagram socket ... View Questions/Answers

Error here  August 16, 2011 at 2:53 PM
<%@ taglib prefix="s" uri="/struts-tags" %> its giving me error as: org.apache.jasper.JasperException: File "/struts-tags" not found org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) org.apache.jasper.compiler.ErrorDispatcher.dispatch(... View Questions/Answers

J2ME  August 16, 2011 at 1:57 PM
Hi, what is the source code for Mortgage Calculator in J2ME for Developing Symbian. ... View Questions/Answers

j2ME  August 16, 2011 at 1:42 PM
give a sample example for using key listener in j2ME for developing Symbian. ... View Questions/Answers

j2me  August 16, 2011 at 1:38 PM
how to use keylistener in j2m? ... View Questions/Answers

transpose  August 16, 2011 at 1:03 PM
how to write transpose of a matrix a program.... ... View Questions/Answers

Help me plzz  August 16, 2011 at 11:12 AM
Hello Roseindia.... I need ur help urgently... I am working on a struts but too beginner to work on it..... I need ur help I am making a registration form which contains user details and on submitting dat form...i shud redirect to some oder page with all details....for eg<... View Questions/Answers

j2me- how to subtract time s in j2me???  August 15, 2011 at 11:29 PM
hello everyone!! Am a final year student doing BCA!! I have taken up j2me as my project and am trying to do world clock using only CLDC!! A simple clock shown in a digital format (hr:min:sec). and i want to add certain features to the app like emergency n... View Questions/Answers

array string  August 15, 2011 at 6:56 PM
how to sort strings with out using any functions? ... View Questions/Answers

jdbc problem  August 15, 2011 at 5:28 PM
hi my name is mohit...i am making a project in java swings....pls help me how to check that the username and password are correct...the user inputs the username and password and then i want to match the username and password with the already entered username and password in the database...if the ... View Questions/Answers

How to copy text from a gif image  August 15, 2011 at 11:13 AM
I have some gif images that containing some important text. i want to have that text in my notepad file. i have some hundred's of gif images like that. so that i can't type the text in notepad. so, please tell me how can i copy that text to my notepad. i am using ubuntu as OS.<... View Questions/Answers

How to save excel sheet into mysql database using blob or clob  August 15, 2011 at 8:40 AM
Hi All, I am new to java and i need to upload excel sheet to mysql, please suggest me the steps to do this, i am able to connect to the database, from there i don't know to go further, which one should i use BLOB or CLOB ? I have tried using CLOB and created a table like this, cr... View Questions/Answers

PLEASE HELP WITH MY JAVA  August 14, 2011 at 10:54 PM
Hey my name is Gavin and im a student at school that takes IT. my teacher has gave me a problem and i can't figure it out please help!!!!!!!! it is a for-loop question: Display the first 5 multiples of 3 Add all 5 values Calculate the average of the 5 values Print the sum and av... View Questions/Answers

core java project by using databse  August 14, 2011 at 8:31 PM
hello sir, i'm a b.tech final year student.... i wantto make a project on java with database... can u plzz suggest me how i can start for it.... means on which topic i can make project??? ... View Questions/Answers

struts tiles framework  August 14, 2011 at 8:31 PM
how could i include tld files in my web application? ... View Questions/Answers

ojdbc12.jar  August 14, 2011 at 1:07 PM
i need ojdbc12.jar for connect database to jsp where we able to download? ... View Questions/Answers

java  August 14, 2011 at 8:58 AM
send me java interview questions? ... View Questions/Answers

gc() method  August 14, 2011 at 12:33 AM
what is difference between java.lang.System class gc() method and java.lang.Runtime class gc() method ... View Questions/Answers

array  August 13, 2011 at 10:59 PM
take a 2d array and display all its elements in a matrix fome using only one for loop and ple explain the program in below......... ... View Questions/Answers

transpose matrix  August 13, 2011 at 10:55 PM
write a program in java to declare a square matrices 'A' or order n which is less than 20.allow in user to input only positive integers into the matrix and print the transpose of it. for this program u r given answer but if i entered 2 by 3 matrix it will not give answer ple check it once... ... View Questions/Answers

reply must  August 13, 2011 at 2:33 PM
is it critical to do a software job based on games(java) i know core java & advanced java basics only please give me answer. ... View Questions/Answers

question  August 13, 2011 at 12:01 PM
Sir, How to stream video on one computer which is playing on another PC in LAN using java + socket / RMI . if you have any idea about that please help me and give the source code ... View Questions/Answers

MS access  August 13, 2011 at 12:04 AM
how do i access my Ms-Access file placed in the same jar file where my application code/class file r present??? Want to access it via Code. Can anyone help me ? Please give reply urgent... ... View Questions/Answers

How to Access MS Access in jar.  August 13, 2011 at 12:02 AM
how do i access my Ms-Access file placed in the same jar file where my application code/class file r present??? Want to access it via Code or is their any alter-native?? Do i need any Driver to do this ... i m able to access a Ms-access via JDBC but cant find the file wen kept inside the same jar... View Questions/Answers

servlet problem  August 12, 2011 at 9:52 PM
wheni m deploying an servlet application im getting trouble context [/filename] startup failed due to previous error in tomcat 6.0.. ... View Questions/Answers

Image Steganography  August 12, 2011 at 8:51 PM
SOURCE CODE FOR IMAGE STEGANOGRAPHY? ... View Questions/Answers

Accessing non-static members through the main method in Java.  August 12, 2011 at 8:40 PM
As an oop rule, a static method can have access only to static variables and static methods. If it is so, an obvious question arises as to how can the main() method in Java has access to non-static members (variables or methods) even though it is permanently public static void...!!! ... View Questions/Answers

Inserting a value to an Enum field in Table  August 12, 2011 at 7:32 PM
I'm writing a code that creates a user account and sends the result to the user table in a mysql database. For example, in the user table I have: username varchar(15) PRIMARY KEY, password varchar (10), is_Admin enum('Y','N'), In the Java co... View Questions/Answers

Finding duplicates using array in for loop  August 12, 2011 at 4:50 PM
how to find the duplicates in array using for loop ... View Questions/Answers

how to create uiwebview programmatically  August 12, 2011 at 4:13 PM
How to create uiwebview programmatically in iPhone application? ... View Questions/Answers

add plist file iphone sdk  August 12, 2011 at 4:07 PM
how to add plist file in XCode? ... View Questions/Answers

add plist file iphone sdk  August 12, 2011 at 4:07 PM
how to add plist file in XCode? ... View Questions/Answers

write data to plist  August 12, 2011 at 4:00 PM
How to write data to plist file in XCode? ... View Questions/Answers

how to test iphone app on iphone without developer program  August 12, 2011 at 3:33 PM
Is it possible to test the iPhone application on different device without the UDID Key? ... View Questions/Answers

question  August 12, 2011 at 2:43 PM
Sir, Please send me Java Swing source code for video streaming , it's very urgent ... View Questions/Answers

difference between hashcode,reference in java  August 12, 2011 at 2:35 PM
difference between hashcode,reference in java ... View Questions/Answers

Please can you help  August 12, 2011 at 1:32 PM
I have a some code which uses a textarea comment box that will on post return the users text to the same page that they entered it on. However I wanted it to be able to check for a existing comment and create a new line rather than replacing it. Here is the code: <... View Questions/Answers

i want to copy files from one machine to other using java and the code will be running on third machine  August 12, 2011 at 1:26 PM
i want to copy some files from one machine say 'A' to some other machine say 'B' by using the java program running on third machine say 'c'. So , can you help me on this that how can i do this using java . Thanks in advance. ... View Questions/Answers

Why is this code working  August 12, 2011 at 5:44 AM
Looking at this piece of code: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct _point{ int x; int y; } point; int main (void) { point *ptr; point obj; ptr = (point *)malloc(sizeof(char)); obj.x = 500; obj.y = 5... View Questions/Answers

use of package concepts  August 12, 2011 at 1:27 AM
i m getting error when i use .* method to access all package files. when i use this through another method like packagename.classname, it works but in this method i will have to write all class names. i want to use packagename.* methhod. please solve the problem. i just start to learning java<... View Questions/Answers

how to read the values for text and csv files and store those values into database in multiple rows..means one value for one row  August 11, 2011 at 7:53 PM
Hai, I need a program by using servlets.. the program is like this i upload a text and csv file.it was stored in perticular directory now i have to read the stored(.csv or .txt) file and get the values from that file and store them into database table in multiple rows(whic... View Questions/Answers

how to solve  August 11, 2011 at 5:23 PM
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). log4j:WARN Please initialize the log4j system properly. ... View Questions/Answers

C Programming SubString Program  August 11, 2011 at 4:13 PM
Sir I want to Check whether the Single Substring is present in the given 3 string. characters. eg if i entered First String- CPROGRAMMING Second String- CPROGRAM third String- PROGRAMMING if i entered to check PROGRAM is exists in given three strings then output will be TRUE. Plz Help Me... View Questions/Answers

PHP find online users  August 11, 2011 at 4:06 PM
How to find the online users in PHP? ... View Questions/Answers

Detecting the file extension  August 11, 2011 at 3:59 PM
How to detect the file extension in PHP? ... View Questions/Answers

How to open URL in iPhone SDK  August 11, 2011 at 3:37 PM
In my iPhone application ..i wanted to open a url in the application. Is it possible? If yes how will i come back to my application? ... View Questions/Answers

property in javascript get set  August 11, 2011 at 3:23 PM
How to create the get and set property in JavaScript? ... View Questions/Answers

anonymous class  August 11, 2011 at 2:57 PM
what actually is an anonymous class and what is the use of it along with the simple example? if there is a video explaining it that will be fine ... View Questions/Answers

java compiler error  August 11, 2011 at 12:54 PM
I am trying to compile a simple program which is as follows: public class A { public static void main(String args[]) { B b=new B(); } } Above program is in file A.java second program is in file B.java which is... View Questions/Answers

servlet redirect problem help needed  August 11, 2011 at 12:52 PM
package p; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Ser exten... View Questions/Answers

servlet redirect problem help needed  August 11, 2011 at 12:52 PM
package p; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Ser exten... View Questions/Answers

java servlet help neeed....  August 11, 2011 at 12:49 PM
i have little bit miss concept on servlet and jsp....what ever i know always the jsp provoke first then servlet ...like the index .jsp will be called first then from there according to action the servlet will be called (mapping i have to make in web.xml)......but to some one... View Questions/Answers

question  August 11, 2011 at 10:37 AM
Sir, i am developing a video streaming PC server to j2me client system that the j2me player can playing video from PC server .if have any code for video streaming then send to my email address as soon as possible ... View Questions/Answers

project for Student Admission System  August 11, 2011 at 12:37 AM
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way..... ... View Questions/Answers

College Student Admission System Project in Java  August 11, 2011 at 12:23 AM
Front End -JAVA Back End - MS Access Hello Sir, I want College Student Admission Project in Java with Source code, that includes Following Forms 1) Student Admission based on Enterance Exam Marks - Regular\Fresher,Backlog,Passed Students LAST DATE OF ASMISSION 2) Student Information 3) Faculty I... View Questions/Answers

Equals()  August 11, 2011 at 12:01 AM
What is role of equals() method in camparator interface? ... View Questions/Answers

JDBC  August 10, 2011 at 11:59 PM
why we use batch in jdbc ... View Questions/Answers

write a program for creating html page with images and 2 buttons  August 10, 2011 at 11:38 PM
write a program for creating html page with images and 2 buttons? ... View Questions/Answers

Add year to Date without using Calendar in java  August 10, 2011 at 10:26 PM
how could i add a year to a date function without using calendar functions. ... View Questions/Answers

calling a javascript function by passing multiple values from applet in web application  August 10, 2011 at 8:54 PM
Hi all, I have a requirement like this, I have to call a javascript function from JApplet by passing 3 values. I am new to Applets. Please help me in resolving this problem. Thanks & Regards, Suresh. ... View Questions/Answers

Displaying the values in text fields of a form from a javascript function in jsp  August 10, 2011 at 8:20 PM
Hi all, I have a requirement like this, First i have to call a javascript function by passing 3 values from applet. And i have to display these values in 3 text fields of a form in the current web page. Here form and javascript function must be available in the same web ... View Questions/Answers

java program  August 10, 2011 at 7:37 PM
write a java program to create an array of size 10 by taking input from bufferreader and find out the average of array elements from that array. ... View Questions/Answers

java program  August 10, 2011 at 7:35 PM
write a java program to create an array of size 10 by taking input from bufferreader and find out the average of array elements from that array. ... View Questions/Answers

java program  August 10, 2011 at 7:30 PM
write a java program to create an array of size 10 by taking input from bufferreader and find out the average of array elements from that array. ... View Questions/Answers

java program  August 10, 2011 at 7:16 PM
write a java program to display array list and calculate the average of given array. ... View Questions/Answers

java program  August 10, 2011 at 7:15 PM
write a java program to display array list and calculate the average of given array. ... View Questions/Answers

Struts 2 + Hibernate  August 10, 2011 at 6:47 PM
From where can i get good tutorial from integrating struts 2 with hibernate , which explains step by step procedure in integration and to build web applications. ... View Questions/Answers

Im getting this error while running JPA project  August 10, 2011 at 6:26 PM
Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: examplePersistenceUnit] Unable to configure EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:378) at org.hibernate.ejb.HibernatePersistence.createEntityManagerF... View Questions/Answers

Checking elsewhere with correctly blocked code and question  August 10, 2011 at 6:06 PM
Hi I have already posted this question but realised I had made a few mistakes. So firstly the problem again!. I have a textarea box for user comments which will return what ever they have typed to the same page used to enter it on. However it has no code to check for existing comments and... View Questions/Answers

How to Collapse Dropdowns on mouseclick on scrollbar in Safari Browser using javascript  August 10, 2011 at 5:37 PM
How to Collapse Dropdowns on mouseclick on scrollbar in Safari Browser using javascript. ... View Questions/Answers

Just checking elswhere  August 10, 2011 at 5:32 PM
I have been posting some questions within the HTML group but getting no joy. I thought I would try another area. The main question I was looking for is: I have a textarea box which post a single users comment back to the same html page they enter the text. However what I wanted it to do... View Questions/Answers

Scrollbar click in safari browser not Collapsing opened dropdowns  August 10, 2011 at 5:26 PM
When im clicking on the scrollbar in safari browser the click not collapsing the opened dropdowns....i mean if iam scrolling the scrollbars after content is being displayed the content of dropdowns also moving. ... View Questions/Answers

license for google maps - iPhone SDK  August 10, 2011 at 5:22 PM
Do i need a license to display the locations on google map in my iPhone application? ... View Questions/Answers

Latitude and Longitude of France  August 10, 2011 at 5:21 PM
Hi, What is the Latitude and Longitude on France? I would love to know more about this fascinating country. Thanks ... View Questions/Answers

Latitude and Longitude of Egypt  August 10, 2011 at 5:19 PM
Hi, What is the Latitude and Longitude on Egypt? tell me something more about this mysterious country. Thanks ... View Questions/Answers

Latitude and Longitude of Italy  August 10, 2011 at 5:16 PM
Hi, What is the Latitude and Longitude on Italy? give me some more insight into this beautiful country Thanks ... View Questions/Answers

DMCA.com