Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Write a program to show the implementation of fixed - length version of integer stack.  May 7, 2012 at 8:05 PM
Write a program to show the implementation of fixed - length version of integer stack. Create an interface called intStack with two methods, "void push(int item)" and "into pop()". You. Also have to show the constructor. The push operation takes an input from the user and stores in the stack on... View Questions/Answers

write a program to perform operations On file  May 7, 2012 at 8:03 PM
write a program to perform operations On file. Create a file named "emp.txt" and stores the details of employee like emp_no, emp _name, and esal. And provide the facility to create, delete and view. You have to perform only 3 operations : 1. Create, 2. Delete, 3. View. ... View Questions/Answers

how to find which user has modified the file  May 7, 2012 at 7:16 PM
how to find which user has modified the file ... View Questions/Answers

Advertisement

Apache HSSF Jar file location  May 7, 2012 at 6:14 PM
where can i get jar files for apache hssf ... View Questions/Answers

procedures to create struts projects?  May 7, 2012 at 3:57 PM
i am new to learn in struts. i am start to learn struts program, How to create a struts projects explain with step by step procedure. ... View Questions/Answers

Please provide option for full materials download...  May 7, 2012 at 3:16 PM
Please provide option for full materials download ... i dont have internet connection in my home. plz provide offline tutorial option.. ... View Questions/Answers

how to store array values into two different tables in java?  May 7, 2012 at 3:01 PM
I have use 4/5 textboxes with same name(e.g.text1) and I get the values in a array and now I want to store these values in two different tables(i.e store 2 array values in one table and remaining two values in another table). ... View Questions/Answers

How to search the table name in MS SQL Database 2005 from application  May 7, 2012 at 2:45 PM
How to search the table name in MS SQL Database 2005 from application from our helpdesk application? application might be in html ... View Questions/Answers

java  May 7, 2012 at 1:52 PM
can you explain how can you practically do dynamic loading? what is the use of javap tool? what is the use if instanceof keyword? can constructors be parameterized? what is difference between static and non static fields of a calss? what the relatio between classes and objects? ... View Questions/Answers

java  May 7, 2012 at 1:49 PM
what are abstract methods ... View Questions/Answers

JSP  May 7, 2012 at 1:46 PM
how did you implement caching in jsp ... View Questions/Answers

JSP  May 7, 2012 at 1:45 PM
how do we practically implement form based authentication ... View Questions/Answers

jsp  May 7, 2012 at 1:45 PM
can you explain how do we practically implement security on a resourece ... View Questions/Answers

servlets  May 7, 2012 at 1:43 PM
what are different authentication options available in servlets ... View Questions/Answers

JSP  May 7, 2012 at 1:43 PM
what are different implicit objects of jsp ... View Questions/Answers

java  May 7, 2012 at 1:42 PM
how to write the code in forgot the password through send the mail and how to retrieve the database ... View Questions/Answers

JSP  May 7, 2012 at 1:42 PM
what are the different scopes an object can have in a jsp page ... View Questions/Answers

JSP  May 7, 2012 at 1:41 PM
what is the difference between javabeans and taglib directives ... View Questions/Answers

JSP  May 7, 2012 at 1:40 PM
how does jsp engines instantiae tag handler classes instances ... View Questions/Answers

What are JSP directives, page directives and include directives?  May 7, 2012 at 1:40 PM
what are jsp directives? and what are page directives? and what are include directives? can you explain taglib directives? ... View Questions/Answers

what is JSP forward tag for  May 7, 2012 at 1:38 PM
what is JSP forward tag for ... View Questions/Answers

how can we use beans in jsp  May 7, 2012 at 1:38 PM
how can we use beans in jsp ... View Questions/Answers

can you explain inshort what the different types of jstl tags are  May 7, 2012 at 1:37 PM
can you explain inshort what the different types of jstl tags are ... View Questions/Answers

what are the implicit el objects in jsp  May 7, 2012 at 1:35 PM
what are the implicit el objects in jsp ... View Questions/Answers

can you explain in short what the different types of jstl tages are  May 7, 2012 at 1:34 PM
can you explain in short what the different types of jstl tages are ... View Questions/Answers

what is jstl in JSP  May 7, 2012 at 1:34 PM
what is jstl ... View Questions/Answers

how can we disable el JSP  May 7, 2012 at 1:33 PM
how can we disable el ... View Questions/Answers

what are the implicit el objects in JSP  May 7, 2012 at 1:32 PM
what are the implicit el objects in jsp ... View Questions/Answers

Can you explain jsp page life cycle what is el how does el search for an attribute in JSP  May 7, 2012 at 1:31 PM
Can you explain jsp page life cycle what is el how does el search for an attribute ... View Questions/Answers

WHAT IS EL JSP  May 7, 2012 at 1:30 PM
WHAT IS EL ... View Questions/Answers

can you explain jsp page life cycle in JPA  May 7, 2012 at 1:29 PM
can you explain jsp page life cycle ... View Questions/Answers

what is the difference between authentication and authorization servlet  May 7, 2012 at 1:28 PM
what is the difference between authentication and authorization ... View Questions/Answers

explain step by step of how to implement filters in Servlet  May 7, 2012 at 1:27 PM
explain step by step of how to implement filters ... View Questions/Answers

implementing filter using apache tomcat in servlets  May 7, 2012 at 1:26 PM
can you explain in short how do you go about implementing filter using apache tomcat ... View Questions/Answers

what are filters in java servlets  May 7, 2012 at 1:24 PM
what are filters in java ... View Questions/Answers

how do we share data using getservletcontext servlets  May 7, 2012 at 1:24 PM
how do we share data using getservletcontext ... View Questions/Answers

explain the concept of ssi servlets  May 7, 2012 at 1:23 PM
explain the concept of ssi ... View Questions/Answers

what is functionality of requestdispatcher object servlets  May 7, 2012 at 1:22 PM
what is functionality of requestdispatcher object ... View Questions/Answers

which are the differ ways you can communicat between servlets  May 7, 2012 at 1:21 PM
which are the differ ways you can communicat between servlets ... View Questions/Answers

what is the difference between dopost and doget methods  May 7, 2012 at 1:20 PM
what is the difference between dopost and doget methods ... View Questions/Answers

what is the difference between getsession true and getsession fales servlets  May 7, 2012 at 1:19 PM
what is the difference between getsession true and getsession fales ... View Questions/Answers

what are sessions in servlets  May 7, 2012 at 1:18 PM
what are sessions in servlets ... View Questions/Answers

what are cookies in servlets  May 7, 2012 at 1:17 PM
what are cookies ... View Questions/Answers

what is url rewriting  May 7, 2012 at 1:17 PM
what is url rewriting ... View Questions/Answers

what are the different ways we can maintain state between request  May 7, 2012 at 1:16 PM
what are the different ways we can maintain state between request ... View Questions/Answers

why is http protocol called as a stateless protocol  May 7, 2012 at 1:16 PM
why is http protocol called as a stateless protocol ... View Questions/Answers

what is the architecture of a servlets package  May 7, 2012 at 1:14 PM
what is the architecture of a servlets package ... View Questions/Answers

can you explain in detail javax.servlet.http package  May 7, 2012 at 1:14 PM
can you explain in detail javax.servlet.http package ... View Questions/Answers

what is diff between generic servlets and httpservlets  May 7, 2012 at 1:13 PM
what is diff between generic servlets and httpservlets ... View Questions/Answers

how do we define an application level scope for servlet  May 7, 2012 at 1:11 PM
how do we define an application level scope for servlet ... View Questions/Answers

what is the use of servlet context  May 7, 2012 at 1:10 PM
what is the use of servlet context ... View Questions/Answers

can you explain in detail javax.servlet package  May 7, 2012 at 1:10 PM
can you explain in detail javax.servlet package ... View Questions/Answers

what are the two important api in for servlet  May 7, 2012 at 1:08 PM
what are the two important api in for servlet ... View Questions/Answers

can you explain servlet life cycle  May 7, 2012 at 1:08 PM
can you explain servlet life cycle ... View Questions/Answers

what are advantages of servlets  May 7, 2012 at 1:07 PM
what are advantages of servlets ... View Questions/Answers

what is the servlets  May 7, 2012 at 1:05 PM
what is the servlets ... View Questions/Answers

how to convert jspcode into servlet code usig which method  May 7, 2012 at 12:20 PM
how to convert jspcode into servlet code usig which method plz tell me. ... View Questions/Answers

Java Program for accepting numbers from 1 - 999 and printing them in form of words  May 7, 2012 at 12:11 PM
Program for accepting numbers from 1 - 999 and printing them in form of words ... View Questions/Answers

alert for validation  May 7, 2012 at 11:58 AM
i want to put alert on the text box that enter data should be in DD/MM/YYYY format only through javascript validation. ... View Questions/Answers

Password encryption and decryption  May 7, 2012 at 11:44 AM
Hello, I'm developing a system that requires user to login to enter the system. so I wanted to store encrypted users' password in the database so that I wouldnt know their password. Is there anyway that you could teach me how to encrypt the password and store it in database? and then call back th... View Questions/Answers

java what is an interface?  May 6, 2012 at 7:16 PM
what is an interface? ... View Questions/Answers

addActionListener(this) in java applets program or in java Frames program  May 6, 2012 at 6:25 PM
use of this keyword in addActionListener(this) in java applets program or in java Frames program. ... View Questions/Answers

upload value to php server in getmethod in j2me  May 6, 2012 at 4:32 PM
Dear Team, I successfully capture image and decode that image, here i have one doubt after getting that value i means captured decoded value i want to that value in get method to php server in j2me can you give some tips for me... Thanks and Regards Alagu... ... View Questions/Answers

How to print the following output using c program  May 5, 2012 at 9:28 PM
1) 4 3 4 2 3 4 1 2 3 4 2) A B C D E F G H I J ... View Questions/Answers

java with jdbc and stored some usernames and passwords in database  May 5, 2012 at 4:53 PM
i wrote a program in html with username and password. i also wrote a program in java with jdbc and stored some usernames and passwords in database.Now basing on that i want to store the username and passwords in database using html log in page. how? reply me plz.thanks in advance ... View Questions/Answers

what is the jsp  May 5, 2012 at 4:18 PM
what is the jsp ... View Questions/Answers

How to change table row color when click on Hyper Link in jsp?  May 5, 2012 at 4:14 PM
I use 5 links: Link 1 Link 2 Link 3.. table: row1 row2 row3.. when click on the link1 automatically change the the row1 color,similarly when click on the link2 automatically change the the row2 color.... ... View Questions/Answers

Read Complex XML using DOM/SAX Parser.  May 5, 2012 at 3:54 PM
I have a XML file which is having two types of Items. I want to extract all details of a type only. My XML goes something like this <Movie> <Bollywood> <Actor> Shah Rukh Khan Amir Khan Salman Khan Hrithik Roshan <Actress> <... View Questions/Answers

html code for dynamically generating multiple fields(by add more field button) in a form and jsp code to store those values in separate rows inside a table  May 5, 2012 at 3:13 PM
i need html code for dynamically generating multiple fields(by add more field button) in a form and jsp code to store those values in separate rows inside a table.it's very urgent.plz help me... ... View Questions/Answers

problem in viewing the mail's content using javamail  May 5, 2012 at 2:04 PM
i'm using the following code to view a mail in a javamail application problem i'm facing is if there are any attachments of .txt format they are also displayed as if they are body of the mail. Secondly in some mails i'm getting the following Exception : java.lang.ClassCastExcepti... View Questions/Answers

JAR Generation  May 5, 2012 at 12:54 PM
Hi, I have done this code. Can u pls tell me how to create a jar for this in eclipse, this is only a single java file? package com.dcp.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import j... View Questions/Answers

JAR Generation  May 5, 2012 at 12:54 PM
Hi, I have done this code. Can u pls tell me how to create a jar for this in eclipse, this is only a single java file? package com.dcp.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import j... View Questions/Answers

How to Display jrxml file on JSP page???  May 5, 2012 at 11:07 AM
I made jrxml file using jasper report but how to display on jsp page?? i tried lot but still i didnt find out solution.so pls help me as soon as possible. Thanks & Regards Divyesh Rupawala ... View Questions/Answers

Java store username and encrypted password in database  May 5, 2012 at 11:00 AM
how to a program such that i want to store username and encrypted password in database and when i retreive from database i should get username and decrypted password. plz im waiting for ur reply. thank in advance. ... View Questions/Answers

doubt about superclass reference and subclass object  May 5, 2012 at 9:46 AM
class superclass { p.bark() } class subclass extends superclass { p.bark } {p.s.v.m() superclass refvar = new subclass(); p.bark(); } Now my questions 1.Why is necessary for parent to have a method in this case whether child have it or not? i am told that a... View Questions/Answers

Dropdown menus onchange atribute  May 5, 2012 at 9:37 AM
Can I know how do we get the drop down list from database? I want to select a type of vehicle from a drop down menu. then based on the selection, it will check with the database with that type of vehicle and populate a drop down menus displaying a list of reg no of that type of vehicle.... View Questions/Answers

Logical transformation  May 5, 2012 at 9:27 AM
hello, Trying to find a way to do this transformation in Java: N = same if number < 1000 N = 1000 if number = 0 N = number%1000 if number > 1000 I can't find an answer Please help ... View Questions/Answers

java array Two cells is a matrix will be called connected if they are adjacent on either x-axis or y-axis  May 5, 2012 at 9:14 AM
Two cells is a matrix will be called connected if they are adjacent on either x-axis or y-axis (but not diagonally) For. eg., a[0,0] will be connected to both cells a[0,1] and a[1,0]. But it will not connected to cell a[1,1] For this problem, lets say, cells denoted by integer <= 0 ... View Questions/Answers

To make toggle by default hidden  May 5, 2012 at 12:32 AM
i have done this coding in javascript. <script type="text/javascript"> $(document).ready(function(){ $("#pw1").click(function(){ $("#1").toggle(); }); }); </script> <a href='#' id="pw1">Comments</a> <p id=1></p> ... View Questions/Answers

Store a table with students and information (name, ID, password, crypted password, etc) in a multi-dimensional array "stud"  May 5, 2012 at 12:03 AM
Arrays and Strings: Store a table with students and information (name, ID, password, crypted password, etc) in a multi-dimensional array "stud". Output the stud table in form of a table. ... View Questions/Answers

C# program for grading system  May 5, 2012 at 12:02 AM
Create a C# program for the following scenario: The grading system of a college is as follows: Marks : 80 -100 display "Distinction" 70 - 80 "Very Good 60 - 70 "Good" 50 - 60 "OK" 40 - 50 "Average" Less than 40 "Poor" Ask the ... View Questions/Answers

C# registration form If user fails to enter for example User Name then the Message box should pop up with "Please Enter your User Name!!"  May 5, 2012 at 12:01 AM
Write the code for the following form based on the criteria given below: User is required to provide all the details mentioned in the following registration form If user fails to enter for example User Name then the Message box should pop up with "Please Enter your User Name!!" .It sho... View Questions/Answers

C# how to calculate discount  May 4, 2012 at 11:59 PM
We are selling Monitors. We have decided to give discounts based on the following items. i. CRT monitors attract 10% discount User is required to provide all the details mentioned in the following registration form If user fails to enter for example User Name then the Messag... View Questions/Answers

oracle data backup  May 4, 2012 at 9:19 PM
how to take oracle tables data backup and use in another system? ... View Questions/Answers

Highest average score among 25 students  May 4, 2012 at 7:40 PM
a program that prompts the user to enter grades of 25 students in a class and grade them into 4 lessons (grades should range between 10 and 20, otherwise the user is prompted to enter again the grade) calculate average per student and will calculate the highest average among students who should b... View Questions/Answers

Stumped with NOT NULL AUTO_INCREMENT  May 4, 2012 at 6:38 PM
I've almost made it through my webpage without asking questions, but this problem has me stumped. I am trying to create a new table with the ID column being NOT NULL AUTO_INCREMENT. The table will create if I do not have NOT NULL AUTO_INCREMENT, but it WILL NOT create if I add th... View Questions/Answers

Implement Java code which takes 2 dimensional integer array as input and prints out heaviest island  May 4, 2012 at 5:31 PM
Implement Java code which takes 2 dimensional integer array as input and prints out heaviest island. ... View Questions/Answers

Web programming  May 4, 2012 at 4:25 PM
Write a program in servlet by using JDBC to display the records of employees from a table called employee ... View Questions/Answers

C# Alert message  May 4, 2012 at 4:23 PM
1) Write the related code for the following Form based on the Criteria given below: a) When user will not enter Employee Name a message should be displayed stating ??Please enter Employee Name b) When user provide all the details a message should popup ??The Details have ... View Questions/Answers

Create a Solution by name Bank with Classes Account.cs, SavingsAccount.cs and savingsTest.cs to Demonstrate Abstract Classes in C#  May 4, 2012 at 4:18 PM
1st question : Create a Solution by name Bank with Classes Account.cs, SavingsAccount.cs and savingsTest.cs to Demonstrate Abstract Classes in C#. ... View Questions/Answers

Java programs on students assesment  May 4, 2012 at 4:11 PM
1) Write a Java program that reads the details of student and do the mark assessments. (i) Input the name of the student and student id from the user. (Use String variable to hold the student name and long variable to hold the student id) (ii) The number of subjects is 3. Use an a... View Questions/Answers

is it possible to use jsp in java script  May 4, 2012 at 3:35 PM
is it possible to use jsp inside the javascript while using java script in body tag on that time i am calculate number of records in mysql, so that i am using jsp.if count value is positive, javascript do some operation ,if count value is negative, javascript do some operation. ... View Questions/Answers

is it possible to use jsp in java script  May 4, 2012 at 3:35 PM
is it possible to use jsp inside the javascript while using java script in body tag on that time i am calculate number of records in mysql, so that i am using jsp.if count value is positive, javascript do some operation ,if count value is negative, javascript do some operation. ... View Questions/Answers

how to integrate chat application with jsp and servlet?  May 4, 2012 at 3:14 PM
I was developing online web portal in jsp and servlet , in this web portal communicate with maintain admin so i desired to integrate with chat applicaton in this web portal. please provide any help. ... View Questions/Answers

Ejb Module  May 4, 2012 at 2:13 PM
Respected Sir/Mam I m using jdk1.5 and jboss4.0.2 Here is my code File Name-sunLoginAction.java /* * sunLoginAction.java * * Created on March 18, 2012, 12:31 PM * * To change this template, choose Tools | Template Manager * and open the template in the ... View Questions/Answers

Ejb Module  May 4, 2012 at 2:10 PM
Respected Sir/Mam I m using jdk1.5 and jboss4.0.2 Here is my code File Name-sunLoginAction.java /* * sunLoginAction.java * * Created on March 18, 2012, 12:31 PM * * To change this template, choose Tools | Template Manager * and open the template in the ... View Questions/Answers

java  May 4, 2012 at 12:56 PM
using java how to show password in stars (**). but not in JSP. plz im waiting for ur reply eagerly. thanks in advance. ... View Questions/Answers

tree menu delete node  May 4, 2012 at 11:15 AM
I have crated a tree menu having various sub nodes now i want to delete parent node and also want to delete sub nodes when parent node is deleted........i am using servlet and giving nodeid to servlet using url ....i have a problem when i perform a delete operation on parent node then its subno... View Questions/Answers

java.lang.IllegalArgumentException: node to traverse cannot be null!  May 4, 2012 at 9:53 AM
Can Any body help me out regarding the above exception in Hibernate HQL. ... View Questions/Answers

Core Java  May 4, 2012 at 12:54 AM
Hi, I have written a board program using Java Swing and AWT classes. In my program I created buttons and added those buttons to JPanel, now I want to move those buttons in the JPanel to move Up and Down or Left to Right using mouse. I implemented MouseMotionListener but could not move fur... View Questions/Answers

DMCA.com