Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  June 24, 2010 at 12:12 PM
how to sql database retrivr in excel sheet with code ... View Questions/Answers

java  June 24, 2010 at 11:34 AM
What is the different between swing and awt? ... View Questions/Answers

java+cts  June 24, 2010 at 10:24 AM
4100156955 ... View Questions/Answers

Advertisement

java+cts  June 24, 2010 at 10:12 AM
4100156952 ... View Questions/Answers

interface  June 24, 2010 at 9:47 AM
I need the complete program for Design of java interface for Stack ADT and implement the same using array and linked list in java.Kindly send it as soon as possible.SOme of your solutions are not accessible on net. how can we get them? ... View Questions/Answers

Java Coding  June 24, 2010 at 12:20 AM
Two overloading methods that returns average using following headersA) public static int average(int[] array)B) public static double average(double[] arrayThe program should prompt the user to enter a combination of 10 double and integer values and display the average v... View Questions/Answers

java error  June 23, 2010 at 10:30 PM
Thanks for providing me the answer for the question,but there are some errors while running the code are1.class SortFileData is public, should be declared in a file named SortFileData.java2.void cannot be dereferenced If Programme saved in SortFileData also shows some error Please ... View Questions/Answers

Java programme  June 23, 2010 at 10:20 PM
Can you provide me the coding for Date class provided by java util package ... View Questions/Answers

programming  June 23, 2010 at 7:45 PM
what are the majors of paradigm? ... View Questions/Answers

groovy compilation error  June 23, 2010 at 6:08 PM
while i am running the grails application , i got the error message like: [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] C:\Software\projects6.9\BookDemo\grails-app\conf\BootStrap.groovy: 4: unable to resolve class Book ... View Questions/Answers

Daemon Thread  June 23, 2010 at 5:58 PM
How to implement Daemon thread in java using JSF. ... View Questions/Answers

How to read a rows which have a values in a excel file using apache poi  June 23, 2010 at 4:31 PM
Dear sir, How to read excel file in that only a rows which are having some values using apache poi...please help me sir.Thanks and RegardsHarini Veerapur. ... View Questions/Answers

bpel and ActiveBpel  June 23, 2010 at 2:52 PM
Hello, I need help in Installing the ActiveBpel engine from this website http://www.activevos.com/community-open-source-engine-download.php. I don't know what to do with the patches. I had downloaded the zip file and patches (version 2.1). How am I going to invoke the webservice.?T... View Questions/Answers

to display single row from database and next to display other question  June 23, 2010 at 12:52 PM
Hi all,I am using JSP with MYSQL backend.In my project we have 100 questions in databasewe have to display first questionon clicking the button it has to display the next question.i tried it first question is displayed, but i am facing a problem while retiev... View Questions/Answers

j2me  June 23, 2010 at 12:45 PM
Dear all...Can you plz tell what is the distribution based security of mobile application,wat should be criteria for stoping the illegal copieng of software.Thanks RegardsRashan Abid ... View Questions/Answers

j2me  June 23, 2010 at 12:43 PM
Hey....I am developing a mobile application which stores the important datas, can you plz suggest how to take back up of datas in phone gallery which I am storing in rms,Thanks and regardsRashan Abid9990978757 ... View Questions/Answers

java  June 23, 2010 at 11:39 AM
Hi,What is hashing techniquesin java?Related program and examples.RegardsRagahvendra ... View Questions/Answers

How to upload a large excel file  June 23, 2010 at 11:02 AM
Dear sir , How to upload a large excel file and how to read a that large excel file or how to get a each column values from that large excel file.For small file i am getting values but for large file my code is not working so please help me sir i have used u r uploadandstore code for up... View Questions/Answers

How to?  June 23, 2010 at 6:06 AM
I have download this Barbecue 1.5 beta 1 (barcode generator). How should I properly put it in Netbean 6.5? It's also said that I can adjust the barcode width, heigth & resolution through http://host:port/barbecue/. How should I access that and at the import java.awt.print.*, how can I adjust the... View Questions/Answers

java compilation error  June 23, 2010 at 1:55 AM
Hello madam/sir, i m a beginners in java. My problem is that i want to connect a login form to a frame containing 4 panels. how could i do it?Please help!! ... View Questions/Answers

java  June 22, 2010 at 10:53 PM
getting 404 status (resource not found)wana know about direcrty structure and whats servlet mapping and hw to do it ... View Questions/Answers

College voting System  June 22, 2010 at 9:49 PM
Q:Create a package named "register.candidate" which has an abstract class named FormData that is containingabstract member function registerCandidate() and an interface named ProcessData containing memberfunctions processVoting() and show winnerCandidate();Create re... View Questions/Answers

java  June 22, 2010 at 7:39 PM
Develop a template for linked-list class along with its methods in Java ... View Questions/Answers

java  June 22, 2010 at 7:38 PM
Design a thread-safe implementation of Queue class. Write a multi-threaded producer-consumer application that uses this Queue class. ... View Questions/Answers

Java  June 22, 2010 at 7:37 PM
Write a multi-threaded Java program to print all numbers below 100,000 that are both prime and fibonacci number (some examples are 2, 3, 5, 13, etc.). Design a thread that generates prime numbers below 100,000 and writes them into a pipe. Design another thread that generates fibonacci numbers and... View Questions/Answers

Java programme  June 22, 2010 at 7:37 PM
Develop a multi-threaded GUI application using java application. ... View Questions/Answers

HIBERNATE COMPOSITE ID  June 22, 2010 at 6:51 PM
Hi, I have a database table structure asCREATE TABLE `attendance` ( `sno` int(11) NOT NULL auto_increment, `empRef` int(8) default NULL, `dat` date default NULL, `timeIn` time default NULL, `timeOut` time default NULL, PRIMARY KEY (`... View Questions/Answers

swings  June 22, 2010 at 6:42 PM
hi friends, I am working in gis project. i want to display a character/string at a specific point.For this i am using drawstring method , this is a inbuilt method in java, while using this method i am facing a small problem that is it will draw character from the base point means the symbol wi... View Questions/Answers

how to change background color in dojo tab container  June 22, 2010 at 6:23 PM
how to change background color in dojo tab container ... View Questions/Answers

resultset problem  June 21, 2010 at 10:46 PM
hi I have one problem with resultset?ResultSet rs=st.execute("select subjname,staffname from staffdetails"); while(rs.next()) { st.executeUpdate("update CSEFIRSTYEARTIMETABLE set p2='"+rs.getString(1)+"',p3='"+rs.getString(1)+"'... View Questions/Answers

java programmes  June 21, 2010 at 6:57 PM
Can you please send me the programmes for IT Deptartment.The subject code is IT2305.Based on new syllabus as per Anna University for 2008 regulation.It contains 12 programmes.. ... View Questions/Answers

How to validate a form  June 21, 2010 at 5:57 PM
Dear Sir, I have a one jsp ,in that i have a 2 forms ///One form1 as follows<form method="post" onsubmit="return IsEmpty(this);"><center><table><tr><td><b>Id</b><input type="t... View Questions/Answers

In pagination how to hilight the links  June 21, 2010 at 4:22 PM
Dear Sir, Thanks for posting the answer,its working fine.Now i want google or others like pagination ,in that if i click on a number only that number color will be changed like that i want in my code.So how to do this sir please help me .Thanks and RegardsHarini Veerapur.... View Questions/Answers

Oracle  June 21, 2010 at 3:33 PM
Oracle Begginers , if Downloadable Notes are there Please mention the site ... View Questions/Answers

Books Of Java  June 21, 2010 at 3:31 PM
Which Books Are Available for Short / Quick Learning ... View Questions/Answers

java  June 21, 2010 at 3:06 PM
How to read the latest file in a directory using simple javaThanks,sujitha.P ... View Questions/Answers

Further advice needed on my last question  June 21, 2010 at 2:35 PM
Dear Experts,I refer to your last solution regarding my matching codes.After I tried out your solution, I get alot of errors...Netbean IDE mpiling 1 source file to C:\Documents and Settings\build\generated\classesC:\Documents and Settings\enter_j... View Questions/Answers

In pagination how to hilight the links  June 21, 2010 at 2:11 PM
Dear Sir, In pagination how to highlight the links or how to change the color of that link when i clickon that particular link....Please help me sir..Some of the code which i used is as follows.. HashTable htEmp = employeeDataBase .findAllMa... View Questions/Answers

XML in java  June 21, 2010 at 1:16 PM
Write a program using SAX that will count the number of occurrences of each element type in an XML document and display them. The document file to be processed should be identified by the first command-line argument.Then modify the program resulting from the this exercise so that it will accept opti... View Questions/Answers

java code  June 21, 2010 at 1:14 PM
Write a program using SAX that will count the number of occurrences of each element type inan XML document and display them. The document file to be processed should be identified bythe first command-line argument. ... View Questions/Answers

Multiple inheritance using interface  June 21, 2010 at 12:36 PM
Hi, I understand the concept & uses of an interface. But i dont know about the implementation of interface in real time. Because most of the interface examples are with one class. But the use of the interface is when we use multiple inheritance with more than one sub class. I want to k... View Questions/Answers

Searching an element  June 21, 2010 at 11:50 AM
Dear sir,sir i have an employee table ,in that i have attributes like empId name ,salary,loc etc.I have one jsp in that i am doing a searching an element by empId and displaying a all the employee table with pagination.I have a 2 forms in one jsp.I have a one input text field for searching an ... View Questions/Answers

help to load information in init of application  June 21, 2010 at 10:07 AM
Thanks for ur previous answering to my question.I am working on struts2 framework and this is my question related to struts2 frameworkI want to keep some data in init of application.i.e. i want to read xml file data and keep it one time block statically that is in init of the appli... View Questions/Answers

Why string is storing null value  June 21, 2010 at 12:25 AM
I am reading lines from a file and then splitting it with " " as the criteriaIf line has first element null! then it is storing it in a temp variable.... but when i am running the program it is also storing null value in temp. WHY so? ... View Questions/Answers

fetching data using servlets  June 20, 2010 at 3:44 PM
I have successfully made connection with the oracle10g database that i am using and also able to put in data using JSP. But the codes that i have tried for fetching the data are not working even though they do not show any error.Can you kindly provide me a code written in JSP for fetching data from ... View Questions/Answers

java  June 20, 2010 at 1:40 PM
what does the following mean?1.this2.is-a3.has-a ... View Questions/Answers

java  June 20, 2010 at 9:14 AM
Thanku for posting answers for my questions. how to create reports in java & which tools are used for this. how to edit some fields in reports pls give me answer it is very urgent for mei will be thankful to you ... View Questions/Answers

fetching data from cosole  June 19, 2010 at 4:46 PM
Hi Deepak, i hv parsed the pdf file into the console (using Pdfbox). output is proper.now i want that console data into the database? how can i parse that console data and save it into the database? please your help is appreciated.Prashant. ... View Questions/Answers

java  June 19, 2010 at 1:39 AM
whats the diffrence between an object and variables? ... View Questions/Answers

java  June 19, 2010 at 1:37 AM
what is inheritance? ... View Questions/Answers

java  June 19, 2010 at 1:37 AM
what is polymophysm? ... View Questions/Answers

java  June 19, 2010 at 12:37 AM
whats the difference between abstract and interface? ... View Questions/Answers

java  June 19, 2010 at 12:36 AM
whats the difference between cohesion and coupling? ... View Questions/Answers

java  June 19, 2010 at 12:34 AM
what are class level members? ... View Questions/Answers

java  June 19, 2010 at 12:34 AM
where do i declare an enum? ... View Questions/Answers

java  June 19, 2010 at 12:32 AM
how do i declare and state an example of the following:1.package statement2.method3.enum4.constructor5.class ... View Questions/Answers

java oracle connection problem  June 19, 2010 at 12:09 AM
I have successfully made connection with the oracle10g database that i am using and also able to put in data using JSP. But the codes that i have tried for fetching the data are not working even though they do not show any error.Can you kindly provide me a code written in JSP for fetching data from ... View Questions/Answers

ATM Logic  June 18, 2010 at 8:58 PM
Q-In an ATM program i want to print the receipt in which there is information of rupees note that come out from an ATM machine when user enters the particular amount.For e.g. if user enters 2250 then he should get receipt in this format 1000*1=1000 500*... View Questions/Answers

Java  June 18, 2010 at 7:10 PM
1)What is the use of formbeans?2)what happens if we write try block then return and finally? Which block statements will execute? Please explain the flow of the above mentioned?3)Where the validations part should be done in Struts program? ... View Questions/Answers

Searching an element  June 18, 2010 at 4:44 PM
Dear sir, sir i have an employee table ,in that i have attributes like empId name ,salary,loc etc.I have one jsp in that i am doing a searching an element by empId and displaying a all the employee table with pagination.I have a 2 forms in one jsp.I have a one input text field for sea... View Questions/Answers

random numbers  June 18, 2010 at 2:22 PM
write a program to accept 50 numbers and display 5 numbers randomly ... View Questions/Answers

How to get a values  June 18, 2010 at 2:06 PM
Dear sir, I have one input text field and one submit button .Within one file how to get a values within a same jsp.Thanks and RegardsHarini Veerapur. ... View Questions/Answers

open ERP  June 18, 2010 at 12:28 PM
explain ecommerce module in open ERP5.0 ... View Questions/Answers

hosting jsp website on IIS webserver  June 18, 2010 at 11:33 AM
Hi.Could you please guide me how to host a JSP website on IIS server . IT is urgent please help me. Please let me know the steps how to do this.thanks ... View Questions/Answers

jxb.txt  June 17, 2010 at 11:20 PM
how can we run our html file on web browser by enabling activeX control (for eg. window.open("jxb.txt")? ... View Questions/Answers

Struts  June 17, 2010 at 11:14 PM
Provide material over struts? ... View Questions/Answers

java programs  June 17, 2010 at 10:56 PM
1) write a program to print prime numbers?2) write a program to print factorial of given number?3)Please provide complete material of hibernate?4) write a program to print ascii values and ascii numbers? ... View Questions/Answers

java-servlets  June 17, 2010 at 6:57 PM
I have one doubt.if we update resume in jobportal websites,at that place i saw only some fields are possible to edit at a time.how is it possible.pls clarify my doubt any one.I will be thankful to you ... View Questions/Answers

htmlcode  June 17, 2010 at 6:44 PM
I have two textFields. One TextField have all country names,if we select one country name then the related states of that countries are displayed in another textfield dynamically.How is it possible.pls send the code as soon as possible.Thank you very much ... View Questions/Answers

how to read this xml file  June 17, 2010 at 5:42 PM
i want to read this xml file using java(using struts2 or using jsp)and i want result asname=adminmenu=user employeeaction=add, delete, modifyname=normalmenu=employeeaction=add, modifyname=clientmenu=clientaction=read<ro... View Questions/Answers

How to get an Id vaue  June 17, 2010 at 4:18 PM
Dear Sir, Thanks for posting the answer,But my actaul problem is that when i selected a row and clickon a modify or delete etc button i have to go that page and i want that selected id value... In form action their is a servlet action when i clickon a button it is going to... View Questions/Answers

How to get an Id vaue  June 17, 2010 at 12:19 PM
Dear Sir , How to get an Id value of a column when it is select ,i have to get an perticular rows Id value .I have a table with attributes like select,Id,subject,matter,status...If i select a one row i have to get a particular rows Id value.how to do this sir .I done the following thi... View Questions/Answers

to run html code in web browser  June 17, 2010 at 12:09 PM
how to run jsp file which calls html file on web browser?? ... View Questions/Answers

JSP  June 16, 2010 at 11:28 PM
hi,im having a problem in updating the cart. below is the code for that.what i want is i need to enter the how much quantity by entering in the textbox and when i click on the update cart i need to display the total amout (i.e multiply the quantity with the amount) at the palce of lable.... View Questions/Answers

clarify my question  June 16, 2010 at 8:15 PM
Dear Sirs/Expert,Thanks for writing back.Yes. I want a page to use id of parents to do the search for the match.So, after enter the id of the parent into the search box, the table will display the matching tutors to the parent.I was telling you that m... View Questions/Answers

javascript  June 16, 2010 at 7:33 PM
we can use <script> tag in <head> tag and <body>tag,what is difference between in these 2 ways? ... View Questions/Answers

Jasperreports  June 16, 2010 at 6:55 PM
Dear sir,I am working in Linux platform , so now i am going work with Jasper Reports. What all the commands for installing Jasper Reports in Linux.Kindly give me cokmmands ... View Questions/Answers

Hibernate required jar files  June 16, 2010 at 6:01 PM
Hi, What are the jar files are required for hibernate and Springs application. I want to run complete application springs and hibernate. Where it will be available? How can i use it i.e. how can set in environment variables?Also give me the download lo... View Questions/Answers

Oracle Database error  June 16, 2010 at 1:57 PM
String query11 = "SELECT product_code, product_quantity, price FROM o"+orderid; ResultSet rs11 = stmt.executeQuery(query11); while(rs11.next()){ product_code[j] = rs11.getString("product_code"); product_... View Questions/Answers

Clarify my last question's answer  June 16, 2010 at 1:35 PM
Dear expert,I've tried out many times your solution but I'm not sure why it is not working. And I do not see how your solution is giving me the matching that I hope to do.Netbean Ide returns a HTTP 500 message and says that the data could not be found.Perhaps I d... View Questions/Answers

saritha project  June 16, 2010 at 1:31 PM
HTTP Status 404 - /ProjectOnlinetype Status reportmessage /ProjectOnlinedescription The requested resource (/ProjectOnline) is not available.Apache Tomcat/5.5.28i have done servlet-mapping in web.xml then also it is not coming plzzzzz give me particula... View Questions/Answers

saritha project  June 16, 2010 at 12:51 PM
HTTP Status 404 - /OnlineRecruit--------------------------------------------------------------------------------type Status reportmessage /OnlineRecruitdescription The requested resource (/OnlineRecruit) is not available.-------------... View Questions/Answers

saritha project  June 16, 2010 at 12:47 PM
HTTP Status 404 - /OnlineRecruit--------------------------------------------------------------------------------type Status reportmessage /OnlineRecruitdescription The requested resource (/OnlineRecruit) is not available.-------------... View Questions/Answers

saritha project  June 16, 2010 at 12:38 PM
HTTP Status 404 - /OnlineRecruit--------------------------------------------------------------------------------type Status reportmessage /OnlineRecruitdescription The requested resource (/OnlineRecruit) is not available.-------------... View Questions/Answers

saritha project  June 16, 2010 at 12:12 PM
HTTP Status 404 - /OnlineRecruit--------------------------------------------------------------------------------type Status reportmessage /OnlineRecruitdescription The requested resource (/OnlineRecruit) is not available.-------------... View Questions/Answers

saritha project  June 16, 2010 at 12:10 PM
HTTP Status 404 - /OnlineRecruit--------------------------------------------------------------------------------type Status reportmessage /OnlineRecruitdescription The requested resource (/OnlineRecruit) is not available.-------------... View Questions/Answers

i have split a string by space ,done some operation and now how to properly order them for sending a mail in java or jsp  June 16, 2010 at 11:20 AM
Dear sir, I have a text area in that i typed a some matter this is in one jsp .Then i got that matter in another jsp and stored in a string using getParameter(),then i splitted a string by space and collected some special charactor in that and done some operation on that and stored tha... View Questions/Answers

Java Script  June 16, 2010 at 12:52 AM
hi,im having a problem in updating the cart. below is the code for that.what i want is i need to enter the how much quantity by entering in the textbox and when i click on the update cart i need to display the total amout (i.e multiply the quantity with the amount) at the palce of lable.... View Questions/Answers

Java cryptography  June 15, 2010 at 9:12 PM
Hello,I am trying to encrypt/decrypt pdf, image file. but no luck.Can you help me in this regard.- m ... View Questions/Answers

java  June 15, 2010 at 5:47 PM
How to read the values of XMLStreamConstants.CDATA in simple java ... View Questions/Answers

jdbc & sql related project  June 15, 2010 at 2:59 PM
code using jdbc,odbc,swing,MySql classes to create front-end of any jdbc that allows the user to select any database from a list and execute any sql query related to the selected database e.g if a student database is selected by the user from the list then he should be able to execute any query rel... View Questions/Answers

jsp code  June 15, 2010 at 12:06 PM
hii am doing project work i am generating time table for this i have taken formcourseyear textboxsemistername textboxno of periods per day textboxno of classes per subject in a week textboxno of lab subjects textboxno of theory subjects textboxduration... View Questions/Answers

java program  June 15, 2010 at 10:23 AM
FLAMES PROGRAM ... View Questions/Answers

servlet  June 15, 2010 at 8:28 AM
create a project which displays the login page and page need to accept the username and password and validate whether the user is available or not project?for this create a html program which displays the static content and write a servlet program to validate the user. ... View Questions/Answers

servlet  June 15, 2010 at 8:22 AM
In the employee project we need to create a form which takes employee number,name, address, designation from the user and we need to store the data on to data base? ... View Questions/Answers

java programs  June 14, 2010 at 6:55 PM
I am trying to write a program that prompts the user to enter the month and year and displays the number of days in the month. Need help ... View Questions/Answers

Exception  June 14, 2010 at 6:40 PM
Hi team, This is Ragavendran.R. I am getting java.lang.StringIndexOutOfBoundsException: String out of range : 6 error while compiling the following program in JSP charting application:<html><body><%@ page contentType="image/jpeg; charset=UTF-8... View Questions/Answers

Uses of abstract class & interface  June 14, 2010 at 4:21 PM
Dear sir, I'm new to java. I knew the basic concepts of interface and the abstract class. But i dont know where can i use them. Still i'm struggling with this concepts. Please clear my doubtThank you ... View Questions/Answers

what is difference between jdk1.5 and jdk1.6  June 14, 2010 at 3:04 PM
what is difference between the jdk1.5 and jdk1.6 in java ... View Questions/Answers

htmlcode problem  June 14, 2010 at 12:44 PM
If I press html button at that time one textbox is displayed, it is done only for 4 times otherwise it will be ristricted to display textboxpls send me code for this Thank you for this help ... View Questions/Answers

DMCA.com