Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

c++  February 18, 2012 at 1:57 PM
Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class ... View Questions/Answers

c++  February 18, 2012 at 1:56 PM
Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class ... View Questions/Answers

c++  February 18, 2012 at 1:56 PM
Characterize the following algorithm in terms of Big-O notation. for (int i = 1; i <= n; i++) for (int j = 1; j <= n; j++) for (int k = 1; k <= n; k++) cout << i + j + k ... View Questions/Answers

Advertisement

c++  February 18, 2012 at 1:55 PM
Characterize the following algorithm in terms of Big-O notation. Also find the exact number of additions executed by the loop. (Assume that all variables are properly declared.) for (int i = 1; i <= n; i++) sum = sum + i * (i + 1); ... View Questions/Answers

c++  February 18, 2012 at 1:54 PM
Consider the following function: int funcExercise7(int list[], int size) { int sum = 0; for (int index = 0; index < size; index++) sum = sum + list[index]; return sum; } ... View Questions/Answers

binding data with textbox on dropdown click  February 18, 2012 at 10:47 AM
Hello friends,Divyesh here. i have jsp page and i would like to bind data with text box on dropdown click. in dropdown employee id are load.and when we select perticular id than how to display all information of perticular id in text box.. pls reply me as soon as possible. ... View Questions/Answers

download file Error in struts2 action class  February 18, 2012 at 10:16 AM
Hi, i am using bellow block of code for download file : public void downloadGreeting(String filename,HttpServletRequest request, HttpServletResponse response){ String strPrefix = System.getProperty("astsoundsfolderoriginal"); F... View Questions/Answers

unable to display image using html tag in servlet.(image src is in a variable.....). i am using netbeans IDE. plz..........do help  February 17, 2012 at 11:33 PM
import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javazoom.upload.MultipartFormDataRequest; import javazoom.uploa... View Questions/Answers

how to write quesry results into spread sheet  February 17, 2012 at 10:27 PM
Hello sir/madam, I need a solution/code for the below scenario. In jsp, based on the date range selection we need to pull the records from the table and to write into spreadsheet and pop up the spread sheet in the jsp to save option. thanks ... View Questions/Answers

java  February 17, 2012 at 8:56 PM
how to determine the bandwidth utilization for nodes(system) using java. ... View Questions/Answers

how can i do group tagging in portlet factory  February 17, 2012 at 7:10 PM
how can i do group tagging in portlet factory ... View Questions/Answers

add XMl to JTable  February 17, 2012 at 6:23 PM
Hi.. i saw the program of adding add XMl to JTable using DOM parser,but i need to do that in JAXB ,is it possible to do? help me .. ... View Questions/Answers

Error in using jstl tags  February 17, 2012 at 5:31 PM
I'm trying to use jstl tags in jsp.i've included the jstl.jsr file in lib folder of my project and also written the foll. tag statement in jsp page <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> but still i'm getting the error "CANNOT FIND THE TAG LIBRARY DESCR... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:10 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:10 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:09 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:09 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

FileUpload and Download  February 17, 2012 at 5:09 PM
Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes what should be modify here to get correct solution my database contain the table name as files ... View Questions/Answers

dynamic query  February 17, 2012 at 5:07 PM
DECLARE QUERY VARCHAR2(32767); FIN_QUERY VARCHAR2(32767); CURSOR C IS (select distinct PORTFOLIO from MPE_TEST1); CURSOR C2 IS SELECT DISTINCT PORTFOLIO_LEVEL, PORTFOLIO FROM MPE_TEST1 ORDER BY PORTFOLIO_LEVEL; TYPE ARRAY IS TABLE OF VARCHAR2(50... View Questions/Answers

Upload and Download multiple files  February 17, 2012 at 4:03 PM
Hello Sir/Madam, I need a simple code for upload and download multiple files(it may be image,doc and txt)which has to be store in database and also retrieve the file from database using jsp with sqlserver ,can you please provide a proper coding for it and also database connection. thank... View Questions/Answers

null pointer exception cannot be removed  February 17, 2012 at 3:52 PM
class list { public int integer; public String elem; public list next; private Exception nothing; public int r; public list() { this(null,null,0); } public list(String e,int i) { this.elem = e; this.next = null; th... View Questions/Answers

About Wicket Framework  February 17, 2012 at 3:39 PM
When i am going to install plugins for Wicket 1.5.3 . This error is shown pls help me unable to connect to the new provider because of zero sized file reported at http://blogs.oracle.com/geertjan/resource/NetBeans4Wicket.xml ... View Questions/Answers

About Wicket Framework  February 17, 2012 at 3:34 PM
When i am going to install plugins for Wicket 1.5.3 . This error is shown pls help me Unable to connect to the new provider because of zero sized file reported at ... View Questions/Answers

struts tiles implementation  February 17, 2012 at 3:28 PM
referred above site... im implementing Tiles using Struts.. I have seen the Result Example posted by this site. "Have a look at the following link: Struts2 Tiles Example" but still there is one error in baseLayout.jsp. error is showing at the first line of... View Questions/Answers

struts tiles implementation  February 17, 2012 at 3:26 PM
im implementing Tiles using Struts.. I have seen the Result Example posted by this site. **"Have a look at the following link: [Struts2 Tiles Example][1]"** [1]: http://roseindia.net/answers/viewqa/Framework/23935-tiles-using-struts2.html ... View Questions/Answers

Can anyone give me guideline how i write the trigger in MySQL and JSP? Can anyone give me guideline how i write the trigger in MySQL and JSP?  February 17, 2012 at 2:17 PM
I want to show some message after insert/update record. So I going with trigger can any one give me guideline, I using mysql database(PHPMyAdmin - admin panel) and my application in JSP. Plz Help me, how do it successfully? ... View Questions/Answers

Java  February 17, 2012 at 1:50 PM
Sample java program for employee recruitment status ... View Questions/Answers

java.lang.NullPointerException  February 17, 2012 at 1:34 PM
Hello! I would be very gratefull if you could find where is my problem and how can I fix it. (java.lang.NullPointerException) index.html: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.... View Questions/Answers

tiles using struts2  February 17, 2012 at 12:46 PM
hello, im implementing tiles using struts2 in eclipse. i am having following problem occurred during execution.i have created all neccessary settings of jar files. plz help me. org.apache.jasper.JasperException: Mandatory TLD element tlib-version missing or empty in TLD /WEB-INF/struts-... View Questions/Answers

java  February 17, 2012 at 11:46 AM
is java purely object oriented language? ... View Questions/Answers

Annotations are using now a days?  February 17, 2012 at 11:22 AM
i have a doubt in Annatation, if we use Annatation we must hardcoding the code/data but sunmicrosystem itself says that hardcoding is not recommended. ... View Questions/Answers

i got an exception while accept to a jsp  February 17, 2012 at 11:06 AM
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.util.MissingResourceException: Can't find resource for bundl... View Questions/Answers

set background image in javafx  February 17, 2012 at 10:13 AM
Hi, How to add backgroung image in javafx integrated with jswing? ... View Questions/Answers

JPA CriteriaBuilder - How to use ?IN? comparison operator  February 17, 2012 at 8:17 AM
Can you please help me how to convert the following codes to using "in" operator of criteria builder? I need to filter by using list/array of usernames using "in". ***I also tried to search using JPA CriteriaBuilder - "in" method but cannot find good resu... View Questions/Answers

text file  February 17, 2012 at 6:35 AM
Hi can you help me I have to modify the program below so that all the data held in it is stored in an external text file.So there should not be any variables in the program which are assigned values like 12 or paint.The variables should be replaced by variables which get their values from at the ... View Questions/Answers

help Needed with requirements  February 16, 2012 at 10:57 PM
Following are my requirements : * Maintain a student database *Based on a student's test results ,reports should be generated so as to project details such as a students weakness in a particular subject /chapter etc. *That report with proper formatting,structure and content should be sent to the ... View Questions/Answers

using ajax and jsp (struts) to login and remain on same page.  February 16, 2012 at 9:53 PM
I am a fresher... I can forward my login page to success page using struts, but I want to remain on same login page and just want to display loggers name ... I don't know how to use struts to remain on same page. What about config file:- <form-bea... View Questions/Answers

dropdown box  February 16, 2012 at 6:35 PM
i need to have country,state and city in drop down box using ajax and use db2 database ... View Questions/Answers

int to byte in java  February 16, 2012 at 6:17 PM
How to convert int to byte in Java? ... View Questions/Answers

prevent browser refresh  February 16, 2012 at 6:00 PM
prevent browser from refresh in Javascript. ... View Questions/Answers

sum of the series  February 16, 2012 at 5:46 PM
Program to sum the series 1+1/1!+1/2!+1/3!+....n ... View Questions/Answers

print the below pattern  February 16, 2012 at 5:42 PM
to write a program using a function ti initialize a character 'A' and print the following pattern of characters upto six lines A A B A B C A B C D A B C D E A B C D E F ... View Questions/Answers

Bean  February 16, 2012 at 5:35 PM
What is BaseEJB What is ProcessEJB What is BLEJB What is BaseEJB What is ServiceEJB What is EntityManagerEJB ... View Questions/Answers

Text Editor Image upload  February 16, 2012 at 5:33 PM
how to browse an image from text editor instead of giving url of particular image using javascript ... View Questions/Answers

program to input marks  February 16, 2012 at 5:32 PM
program to input marks ,name in computer application 7 annual fees to be paid .Decide the scholarship amount as per the given criteria Marks Scholarship(%)on Annual Fees =90 35% =70<90 20% <... View Questions/Answers

program to print total marks  February 16, 2012 at 5:26 PM
program to input total marks out of 600 marks as an argument and print the stream allotted using the following criteria 401 & above - PCM 301-400 - ZBC 201-300- Commerce 101-200 - Arts otherwise(<101)-Admission not granted.you are in waiting list ... View Questions/Answers

how to add dynamic data  February 16, 2012 at 5:11 PM
how to add dynamic data to an existing web application? ... View Questions/Answers

using variable loop  February 16, 2012 at 5:06 PM
program to print alphabets from a-z along with ASCII codes of each alphabets in two columns using a character variable loop...can anyone help me in this?? ... View Questions/Answers

switch case  February 16, 2012 at 5:04 PM
program to input 2 numbers and a choice.Using switch case we need to perform all the mathematical operation.Print a suitable error message if the choice is wrong ... View Questions/Answers

switch case  February 16, 2012 at 5:04 PM
program to input 2 numbers and a choice.Using switch case we need to perform all the mathematical operation.Print a suitable error message if the choice is wrong ... View Questions/Answers

validation error value is not valid  February 16, 2012 at 5:02 PM
How to recognize and throw error like "validation error value is not valid"? ... View Questions/Answers

Spring Framework  February 16, 2012 at 4:51 PM
using Spring framework how to get filename output with date example:NSR_CURRENTDATE.TXT <property name="resource" value="F:/garryworkspae/NseSpring/output/output% schedule.date%.txt"/> how to get current date. ... View Questions/Answers

uitextfield disable keyboard  February 16, 2012 at 4:39 PM
How to disable keyboard of UITextView in iPhone SDK application? ... View Questions/Answers

using switch case  February 16, 2012 at 3:58 PM
Define a class MENU to perform the following operation depending upon the users choice using switch case 1)print square root of the number 2)print rounded down value of a number(in decimals) 3)print rounded up value of a number(in decimals) 4)Quit ... View Questions/Answers

Using Nested loops  February 16, 2012 at 3:55 PM
How to use nested loops in java when I want to print the 10 multiples of numbers 2 to 15(in multiplication table) ... View Questions/Answers

FileUpload and Download  February 16, 2012 at 2:42 PM
Hello sir/madam, I need a simple code for File upload and Download in jsp using sql server,that uploaded file should be store in database with its content and also while downloading it should be download with its full content...can you please help me... im in urgent i have to implement that ... View Questions/Answers

Text Area  February 16, 2012 at 2:27 PM
how to browse an image in text area instead of giving url of particular image ... View Questions/Answers

store and retrieve data  February 16, 2012 at 2:11 PM
sir,i want to store the entering data in a word file and retrieve it when i need.i am try to develop a video portal.in which user can watch video and write comments.the comments are stored in a file and when the user remove the video comments are also removed.what is the solution for this? ... View Questions/Answers

read value from database & alert it is available in database or not  February 16, 2012 at 1:02 PM
how to read value from text box and alert whether it is available in database or not? ... View Questions/Answers

passing value from javascript popup  February 16, 2012 at 12:52 PM
How to take user input and pass that input value using popup in Javascript? ... View Questions/Answers

identifier not found  February 16, 2012 at 12:44 PM
Getting compilation error " identifier not found " please explain ? ... View Questions/Answers

exc_bad_access xcode 4  February 16, 2012 at 12:27 PM
How to debug the excbadaccess in xcode 4? ... View Questions/Answers

session variables server side  February 16, 2012 at 11:39 AM
how to hold session variable for server side..? ... View Questions/Answers

missing package-info.java file  February 16, 2012 at 11:25 AM
How to find and add the packages in Java if it's missing from the list? ... View Questions/Answers

missing bundles eclipse  February 16, 2012 at 11:15 AM
missing bundles in eclipse. ... View Questions/Answers

get median in java  February 16, 2012 at 11:10 AM
How to get the median value in Java from the given list. ... View Questions/Answers

java  February 16, 2012 at 11:09 AM
how to display data in tha table? ... View Questions/Answers

timespan in javascript  February 16, 2012 at 11:06 AM
How to calculate timespan in Java and JavaScript? ... View Questions/Answers

attendance management project source code  February 16, 2012 at 10:33 AM
sir i want full ateendance management project please send me source code i am asking so many members but nobody send answer one of my friend suggest ask question in roseindia getting answer so please send code it's very urgent thanking u sir ... View Questions/Answers

attendance management project source code  February 16, 2012 at 10:32 AM
sir i want full ateendance management project please send me source code i am asking so many members but nobody send answer one of my friend suggest ask question in roseindia getting answer so please send code it's very urgent thanking u sir ... View Questions/Answers

multiple choice questions  February 16, 2012 at 10:25 AM
how can i implement the program to store multiple questions in class with using core java concepts ... View Questions/Answers

multiple choice questions program  February 16, 2012 at 10:19 AM
how can i implement the program to store 10 multiple choice questions in one class to develop a oneline quiz with using java language ... View Questions/Answers

multiple choice questions program  February 16, 2012 at 10:19 AM
how can i implement the program to store 10 multiple choice questions in one class to develop a oneline quiz with using java language ... View Questions/Answers

multiple choice questions  February 16, 2012 at 10:12 AM
how can i store 10 multiple choice questions in one class with using java language ... View Questions/Answers

Validations  February 16, 2012 at 10:04 AM
Hi I need to validate blank text field that can accepts only integers. Here is my code if(textField_1.getText().length()==0) JOptionPane.showMessageDialog(null, "enter text in textfield"); I wrote like this;but it fails to sho... View Questions/Answers

online quiz  February 16, 2012 at 9:33 AM
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a... View Questions/Answers

online quiz  February 16, 2012 at 9:26 AM
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a... View Questions/Answers

quiz  February 16, 2012 at 9:17 AM
using core java concepts purely not html ,Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add metho... View Questions/Answers

online quiz  February 16, 2012 at 9:14 AM
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a... View Questions/Answers

online quiz  February 16, 2012 at 9:13 AM
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a... View Questions/Answers

online quiz  February 16, 2012 at 9:07 AM
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a... View Questions/Answers

online quiz  February 16, 2012 at 9:03 AM
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a... View Questions/Answers

Java program  February 16, 2012 at 6:38 AM
I'm having troubles writing a program that upon entering your height in inches it changes your height to feet and inches, and then also shows your height as a decimal. Thank you! ... View Questions/Answers

javabeans  February 16, 2012 at 1:11 AM
write a java bean to count the number of threads with the exception generated at action listener class where action are send and receive ... View Questions/Answers

my question  February 15, 2012 at 11:04 PM
"Write a C/C++ program to show the stored procedure PROCRESETMAIL" on database "USER_NOTIFY". ... View Questions/Answers

my question  February 15, 2012 at 11:04 PM
"Write a C/C++ program to show the stored procedure PROCRESETMAIL" on database "USER_NOTIFY". ... View Questions/Answers

Can anybody help how to store values to the following xml from .NET application  February 15, 2012 at 10:54 PM
Can anybody help how to store values to the following xml from .NET application <SQLSchema> <Databases> <Database id=ΓΆβ?¬Β?ΓΆβ?¬Β?> <DbObjects> ... View Questions/Answers

java coding  February 15, 2012 at 9:13 PM
i am using netbean to my project and it is Desktop Application.i want my textfield to accept only numbers or only alphabets .........plez plez plez do help me..........i am just beginner to java codes....... ... View Questions/Answers

.MDB Files to open on mac.. DATABASE  February 15, 2012 at 9:03 PM
how to open .mdb files on mac.. I have a database file that has sent to me through email. Since i have a mac book with OS 10.5.8, I cannot open this file. I am using javascript to work on my project. Netbeans works good on my mac book for the project. Only i am getting confused is the .m... View Questions/Answers

java coding  February 15, 2012 at 9:02 PM
using swing i want to give an exit button which on clicking ask a msg "JOptionPane" is select "yes" then it should exit or else not....plez help me...... JOptionPane.showConfirmDialog(null,"DO YOU REALLY WANT TO EXIT"); System.exit(0); ... View Questions/Answers

java coding  February 15, 2012 at 8:29 PM
plz correct this one ....i want to retrive data row from databse ...all its working but for combobox it not.......plz plz plz help me...... private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) { if(jTextField1.getText().equals("")){ JOptionPane.... View Questions/Answers

converting one file format to another  February 15, 2012 at 6:58 PM
Hi ser I need a code to export data from data grid to PDF and XL format plz help me out.. ... View Questions/Answers

disabling commandlink  February 15, 2012 at 6:56 PM
how can i disable commandlink through javascript. My requirement is that once the link is disabled the user should not be able to click on it. The commandlink.disabled attribute only disables the link visually. The user is still able to click on the link and the page is getting submitted. ... View Questions/Answers

one dimensional array program  February 15, 2012 at 6:48 PM
Design and implement a java program that will read a file containing numbers and compute the following statistics: the rannge( low, high), the average and the median(middle number). Notes: - The first number in the input file will be the number of numbers in the file The maximum ... View Questions/Answers

substitute image link  February 15, 2012 at 6:46 PM
How can i display a substitute image if there is no image found? <Image Source="{Binding Path, FallbackValue=PathToImageHere.png}"/> ... View Questions/Answers

enable hyperlink  February 15, 2012 at 6:38 PM
How to enable hyperlink ? ... View Questions/Answers

I want code below mention programe  February 15, 2012 at 6:27 PM
Create a web application using any technology that accepts a keyword and displays 10 relevant tweets from Twitter in real-time for that keyword? ... View Questions/Answers

sqlite database delete row  February 15, 2012 at 6:11 PM
How to delete row from SQLite Database? ... View Questions/Answers

remove comma from string php  February 15, 2012 at 5:56 PM
How to remove the last comma from the string in PHP? ... View Questions/Answers

remove comma from string php  February 15, 2012 at 5:56 PM
How to remove the last comma from the string in PHP? ... View Questions/Answers

DMCA.com