Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

PHP  August 14, 2012 at 4:10 PM
How I validate input fields' using JQuery? could i use JQuery with validation ... View Questions/Answers

Dll issue while launching the application  August 14, 2012 at 4:09 PM
I am using one dll in my application for including the functionality provided by that dll . This dll i am getting after installing one msi . But in my application i have a requirement like if the user has not installed that msi then we have to show one warning message(e.g msi has not installed , ... View Questions/Answers

PHP and JQuery  August 14, 2012 at 4:09 PM
How i validate input fields' data entry using JQuery ... View Questions/Answers


PHP and JQuery  August 14, 2012 at 4:01 PM
How to make validation using PHP and JQuery ... View Questions/Answers

How to make session control using only JSP programming language  August 14, 2012 at 3:58 PM
Could i do Controlling session using only JSP programming language without using anylanguage ... View Questions/Answers

Session control  August 14, 2012 at 3:54 PM
Could we make session control in JSP language without having any help of other framework ... View Questions/Answers

java  August 14, 2012 at 1:15 PM
I have a file ,I want this file is given to the power builder application using java program or jsp. if anybody help in this.... in advance thanks. ... View Questions/Answers

Java  August 14, 2012 at 1:13 PM
i have a file ,i want this file is given to the power builder application using java code or jsp code.. anybody help. in advance thanks........... ... View Questions/Answers

collection  August 14, 2012 at 12:38 PM
Hi I have arraylis ,in this arraylist i have added element {1,2,2,3, 4,4,5} so i want to display how many time the particular element is present in arraylist, like 1 - 1time , 2 - 2time 4- 2 time ... View Questions/Answers

images  August 14, 2012 at 11:59 AM
code for displaying image in java swings ... View Questions/Answers

java  August 14, 2012 at 11:07 AM
i am try to install jdk[any version] in xp2 system generate error [error:1722 there is problem with this installer package contact to package vender]. i used window registry cleaner full version and also install jdk in fresh xp2 but error also remain exist pelase help!! my system co... View Questions/Answers

function overloading in c  August 13, 2012 at 9:44 PM
are int func1(int x, int y) and void func1(int x, int y) overloaded? can the functions with same name same arguments but different return types be overloaded? ... View Questions/Answers

Help in making school project  August 13, 2012 at 9:22 PM
Description: A doctor has recently opened a surgery and is getting concerned at the amount of time some of his patients are waiting before he gets time time see them. The doctor has asked you to create a simple program that will allow the doctor to keep track of how long the patients have... View Questions/Answers

Radio button with values from a String ArrayList in JSP?  August 13, 2012 at 8:46 PM
Radio button values in JSP ArrayList<String> cs = CourseAssignments.getInstance().getStudentCoursesByName(sname); %> <table border="1" cellspacing="1" cellpadding="8" bgcolor= #EBDDE2> <% ... View Questions/Answers

java  August 13, 2012 at 8:27 PM
dear sir how to create MDI form using netbean ? ... View Questions/Answers

java  August 13, 2012 at 8:23 PM
Dear sir I want to create login form using netbean.pls help me ... View Questions/Answers

Java projects  August 13, 2012 at 7:20 PM
Can anyone help me to do project in java? ... View Questions/Answers

alert in jsp  August 13, 2012 at 5:11 PM
if(pass.equals(pwd)) { Statement st1=conn.createStatement(); st.executeUpdate("update password set Password='"+npwd+"' where Ename='"+ename+"'"); out.println("password is successfully changed"); %> alert("password is successfully changed"); <... View Questions/Answers

select box and text box validations  August 13, 2012 at 4:37 PM
hi, any one please tell me how to set validations for select box and text boxes using bean classes? thank you ... View Questions/Answers

listbox and textbox validations  August 13, 2012 at 4:33 PM
hi, any one please tell me how to set validations for listbox and textboxes using bean classes? thank you ... View Questions/Answers

how to set the class path variable in tomcat ?  August 13, 2012 at 3:58 PM
description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /main2.jsp(9,0) The value for the useBean class attribute action.TestBean is invalid. org.ap... View Questions/Answers

Spring web mvc 3.0 mysql project  August 13, 2012 at 1:53 PM
Hello Sir... I want a complete database connectivity web project in spring mvc 3.0..Just give me a simple example which works in netbeans IDE and tomcat server.... Its urgent..sir... Please help me... With Regards... VASU. ... View Questions/Answers

GOTO Statement in java  August 13, 2012 at 1:24 PM
I have tried many time to use java goto statement but it never works i search from youtube google but e the example on net are also give compile error. if possible please give me some code with example. thanks in advance ... View Questions/Answers

Struts2 Filter not getting initialised in WAS 8.0  August 13, 2012 at 12:15 PM
Hi All, Am facing a problem in the Struts2 initialisation part. My application is developed in Tomcat 5.5 and deployed in WAS 8.0 When its being launched, am getting the error "Struts2 filter could not be initialised" The filter properties are set in WAS 8.0 server settings. The r... View Questions/Answers

Core Java  August 13, 2012 at 11:15 AM
can any one please tell me the difference between Static and dynamic loading in java??? ... View Questions/Answers

Core Java  August 13, 2012 at 11:14 AM
Hi, I am trying to remove duplicated charater from a given string without using built in function, but getting some issue in that. can anyone please share the code for that??? Thanks a lot in advance!! ... View Questions/Answers

uploading problem  August 13, 2012 at 12:40 AM
i use glassfish server.. using netbeans for jsp... i wnat to upload a file to a folder 'doc' and insert corresponding data about file into database lib. i use navicat Mysql ... i use this code... <%@ page import="java.util.List" %> ... View Questions/Answers

interest rate  August 12, 2012 at 8:36 PM
write a program to calculate the volume of a cube of side 5 units? ... View Questions/Answers

stuts java script validation is not working.  August 12, 2012 at 7:01 PM
hello my stuts client side validation is not working. pls help me out i have put jsp file's code and validation.xml file's code. pls help --of jsp page-- > <html:form action="validationaction" > onsubmit="return > validatelogonForm(this);"> >... View Questions/Answers

stuts java script validation is not working.  August 12, 2012 at 6:59 PM
hello my stuts client side validation is not working. pls help me out i have put jsp file's code and validation.xml file's code. pls help --of jsp page-- ... View Questions/Answers

stuts java script validation is not working.  August 12, 2012 at 6:56 PM
--of jsp page-- Enter name: Enter pass: ... View Questions/Answers

stuts java script validation is not working.  August 12, 2012 at 6:54 PM
--of jsp page-- Enter name: Enter pass: ... View Questions/Answers

Time validation  August 12, 2012 at 2:25 PM
Hi. I have a text box in html to get time in the format of hour:minutes. I have to validate that the given information in that text box is in the correct format or not using java script. Please help me for doing project. ... View Questions/Answers

Need Help in Java programming  August 12, 2012 at 1:48 PM
Hello. Can someone please help me with writing the following program Java program that gives assignment details such as:assignment number,assignment name,due date,submission date,percentage marks and allocated marks. student information for this assignment details. Regards! ... View Questions/Answers

problem of static in jsp page by multiple user access  August 12, 2012 at 11:46 AM
hi , i am continuing my online exam project,but i have a Singleton class which i am invoking from my jsp page , ths page can access by more number of users .every user changing my Singleton class property so that i am getting different answers by submitting n number of users. i want to th... View Questions/Answers

Redirect to same jsp page on successful login  August 12, 2012 at 8:53 AM
Hi, I have an application where on successful login, the redirect should happen to same page with a session created for the user. On login, i have some dropdowns which are populated from the database. I am unable to create the session for the same login page. Please help with some code. N... View Questions/Answers

sorting  August 12, 2012 at 8:30 AM
how to sort names using class? ... View Questions/Answers

Stack  August 12, 2012 at 8:29 AM
How to implement a stack using classes in java? ... View Questions/Answers

video display in html  August 12, 2012 at 8:26 AM
how to display video file in html? ... View Questions/Answers

Java draw triangle draw method?  August 12, 2012 at 8:19 AM
hi how would i construct the draw method for an triangle using the 'public void draw (graphics g ) method? im unsure how to use the g.fillPolygon and g.drawPolygon? i have this for drawing a rectangle and this works for a rectangle: public void draw(G... View Questions/Answers

values of the "from address & to addresses" while sending a mail to localhost using javamail  August 12, 2012 at 12:54 AM
Hi, I verified javamail tutorial which is mentioned in JavaMail in ur website.I tried 1st program for sending the Mail.It's throwing exception like javax.mail.sendFailedException :InvalidAddresses.My question is,What i have to mention in from address field and To address filed while sen... View Questions/Answers

servlets  August 11, 2012 at 9:37 PM
what is the duties of response object in servlets? ... View Questions/Answers

select employee name based on his/her designation in selectbox  August 11, 2012 at 4:25 PM
i have two select boxes in one select box i am enter designation when i select designation then display employee name another select box based on designation selectbox in jsp it is possible? if it is possible pls send me that code urgent................... ... View Questions/Answers

dynamic retrival of data from mysql database to dropdownlist in jsp  August 11, 2012 at 2:53 PM
Hello, Am having problem in my project... i want to retrive the data from mysql database to the dropdownlist in jsp. Example: 1st i want to display the list of dept from the database to the dropdown list... if i select the particular dept say CSE from the dropdown, then the corresponding details ... View Questions/Answers

display the employee name  August 11, 2012 at 2:52 PM
when i will select one employee designation based on that employee designation display the particular designation employee name display in another select box how it possible using servlet and mysql database? ... View Questions/Answers

Need some help urgently  August 10, 2012 at 10:31 PM
Can someone please help me with this below question. I need to write a class for this. If you roll Y standard six-sided dice, whatâ??s the probability that you get at least X 4's? To calculate that you should divide the number of comibnations with X or more 4's by the total number of possibl... View Questions/Answers

Java Exception  August 10, 2012 at 8:23 PM
Explain about checked and unchecked Exceptions with Examples? ... View Questions/Answers

Need to create a java applet  August 10, 2012 at 5:24 PM
Hi people i need to create a java applet for which there will be 2 buttons to indicate small and big. I need to make a circle. When i click small the circle should be small and when i click big the circle should be big in size. No matter how many times i click it should still remain as their orig... View Questions/Answers

in projects  August 10, 2012 at 3:00 PM
hai,this is swetha. i am having a problem in php.Actually i want to prepare a quiz that stores all questions in the mysql database.am having an admin panel,once the admin is authenticated,then he is allowed to view the data stored in the mysql database.in the mysql database,am having different qu... View Questions/Answers

in project  August 10, 2012 at 2:58 PM
hai,this is swetha. i am having a problem in php.Actually i want to prepare a quiz that stores all questions in the mysql database.am having an admin panel,once the admin is authenticated,then he is allowed to view the data stored in the mysql database.in the mysql database,am having different q... View Questions/Answers

CONVERT JTable DATA TO PDF FILE  August 10, 2012 at 2:04 PM


Java Shapes Bouncing App  August 10, 2012 at 3:59 AM
hi guys, im trying to implement the following into my java app code: Here's my code: first ill post the main class, then the animation panel class, then moving shape and moving rectangle class...the additional files like the shape gif and path gifs are here, youll also find al... View Questions/Answers

Web application - business layer  August 10, 2012 at 12:38 AM
Design your business layer to be stateless, which helps to reduce resource contention and increase performance, and consider using a message-based interface. This works well with a stateless Web application business layer. If you perform business critical ope... View Questions/Answers

jsp- adding user defined functions to a jsp  August 9, 2012 at 8:43 PM
Trying to write the function as below but getting errors. Can you please identify the cause of error and how to correct it. <% public String retrieveAndClearErrorMessage(HttpSession session) { String errorMessage = (String)session.getAttribute("errorMessage"); ... View Questions/Answers

project  August 9, 2012 at 8:18 PM
suggest a network security project based on core java with explanation. ... View Questions/Answers

What is hibernate ?  August 9, 2012 at 4:51 PM
What is hibernate ? explain with simple example. ... View Questions/Answers

what are Struts ?  August 9, 2012 at 4:50 PM
What are struts ?? explain with simple example. ... View Questions/Answers

java  August 9, 2012 at 4:35 PM
how to use checkbox, combobox,radiobutton in a jtable when submiting values from jtable to data base ? ... View Questions/Answers

displaying image  August 9, 2012 at 3:37 PM
how to upload image and retrieve it form database mysql in php? ... View Questions/Answers

java  August 9, 2012 at 3:29 PM
how to get values from jtable and save in database ? ... View Questions/Answers

how to change password into one jsp to another jsp  August 9, 2012 at 1:25 PM
i have two jsps in one jsp i give one password and confirm password, in another jsp i want change my password compare with 1st jsp how to write code please give me answer? ... View Questions/Answers

Hibernate Query related  August 9, 2012 at 12:31 PM
Actully i want to retrieve data from multiple file by using this query: SELECT a.PROD_ID AS Product_Id, b.PROD_N AS Product_Name, c.MEDIA_URL AS Image_url, d.SAL_AMT AS Product_Price, d.PROD_URL AS PROD_URL, e.WEB_URL AS Ret... View Questions/Answers

JDBC with access as backend  August 9, 2012 at 11:47 AM
Jdbc connectivity in java to MS Access for retrieving data between two dates ... View Questions/Answers

need code for login in asp.net with c#  August 9, 2012 at 11:03 AM
hai iam trying to develop a project in asp.net with c#,so i need a code for login page using which admin and other users can log in.plz help me, thanks in advance. ... View Questions/Answers

Plotting equations on a cartesian Plane  August 9, 2012 at 10:36 AM
Hey, Im sort of a beginner of java, and i at the moment of working on a program that takes the input of an equation (eg. y=3x) and plots possible values for it on a cartesian plane thats on a seperate JPanel. Here is my code: This is Class 1 import java.awt.C... View Questions/Answers

Language Conversion  August 8, 2012 at 8:06 PM
write a java program to convert "Hello World" in spanish ... View Questions/Answers

online test application in java  August 8, 2012 at 6:18 PM
Can questions come in html file (test.html) if we link test.jsp with test.html ... View Questions/Answers

Java Bouncing Application  August 8, 2012 at 12:53 PM
Hi I'm using Eclipse ide to add more implementation to this simple bouncing program. I'm having trouble implementing the following: -adding functionality of buttons and having color chooser -able to create new shapes -Sorting function in array list The code is too large to... View Questions/Answers

xml to html via java  August 8, 2012 at 9:46 AM
how to read xml into html using java code ... View Questions/Answers

java program  August 8, 2012 at 7:31 AM
You need to keep record of under- graduate, PhD students, faculty and staffs of your institute. Write an abstract class Person with the following attributes and method 1. Attribute Name: String 2. Attribute Address: String 3. Method Get_info() returns information of the person Extend class Person... View Questions/Answers

how to display the data from excel to webpage  August 8, 2012 at 3:13 AM
Hi, I need help on following I have a webpage contains a text box and a button(get), i give a value in text box such as serial no. like 4024 and by click on get button it should search for the value 4024 in a excel file and to display the remaining values on the same row. ... View Questions/Answers

JDBC Connection code to connect servlet with SQL Server 2008  August 8, 2012 at 12:09 AM
Please ans me why it is not connect i use netbeans IDE7.0 Jdk 1.7 i also add sqljdbc4.jar but the output is SEVERE: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0. i try Avery thing but i m not su... View Questions/Answers

sessions  August 7, 2012 at 5:45 PM
1)Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at index.php on line 3) 2)Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at index.php on line 3)... View Questions/Answers

How to delete and update from Jtable cell in swing app  August 7, 2012 at 5:44 PM
Hii Sir, I am developing a swing app for adding,updating and deleting from jtable cells to database but i am getting following problems Whenever i click on delete button on selecting particular row which has to be deleted then last row is getting removed from the jtable... View Questions/Answers

code to establish jdbc database connectivity in jsp  August 7, 2012 at 5:40 PM
Dear sir, i'm in need of code and procedure to establish jdbc connectivity in jsp. ... View Questions/Answers

code to establish jdbc database connectivity in jsp  August 7, 2012 at 5:40 PM
Dear sir, i'm in need of code and procedure to establish jdbc connectivity in jsp. ... View Questions/Answers

how to take backup of phone to pc using java code  August 7, 2012 at 4:35 PM
i want to take the backup of phone data in my pc and also provide the restore functionality,and i want to do it using java program,so can anyone help me? ... View Questions/Answers

SPRING WITH DATABASE  August 7, 2012 at 4:10 PM
I need any Spring MVC project that connects with oracle database. I need step by step code description and explanation.I want how to create spring project and how to connect with the oracle database. I need the flow of code. ... View Questions/Answers

SPRING FRAMEWORK  August 7, 2012 at 4:08 PM
I need any Spring MVC project with complete description, so that I can understand about Spring framework ... View Questions/Answers

How to create a databas locally in our system using Oracle 10g????  August 7, 2012 at 1:45 PM
How to create a databas locally in our system using Oracle 10g???? ... View Questions/Answers

How to include Two multi rows, one with a file Upload and another with normal fields, have problem while including both  August 7, 2012 at 1:41 PM
How to include Two multi rows, one with a file Upload and another with normal fields, have problem while including both?? ... View Questions/Answers

Conversion of String to Integer  August 7, 2012 at 12:29 PM
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI =... View Questions/Answers

convert html website into wordpress theme  August 7, 2012 at 12:19 PM
i am trying to convert an html site into wordpress.and i have divided my html website into 4 parts i.e. index.php,header.php,footer.php and side bars.php.when i am trying to run that index.php page into localhost it is showing following errors :- 1.Fatal error: Call to undefined function geth... View Questions/Answers

File Directory Merging  August 7, 2012 at 2:14 AM
Two directories are given. Both contain a large amount of files. Each of the directory can be more than a GB. We need to form a new directory in which all the files from both the directories are there and merge the files of two different directories with same name. ... View Questions/Answers

Dynamic form  August 7, 2012 at 12:22 AM
I need to make a dynamic form using jsp for example, i will need a list of items which when we select one option another list is modified ( like 2 lists of countries and citys ), and also a radio button wich once clicked we have a new list created on the same form. Thanks for your help ... View Questions/Answers

Java JDBC connectivity. Please see the code below, I am using mysql database also I have configured JDBC drivers. In the end of code Error is also posted for better review. Please Help.  August 6, 2012 at 9:55 PM
JAVA JDBC connectivity problem. I am using MySql database, also I have downloaded and configure JDBC Connector. In the end of this code please see the error that I am getting. package com.ct; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet;... View Questions/Answers

JQuery  August 6, 2012 at 4:43 PM
how to create jquery auto-complete textbox ? in which data come from database table? ... View Questions/Answers

convert word document to pdf  August 6, 2012 at 4:11 PM
Hi, Could you please help me write a java code that converts the word docuemnt into PDF? I have to save the generated PDFs also. I got a code like the below, and i am unable to download the office tools. Can i write a code without downloading the office tools software? i... View Questions/Answers

infix to post fix convertion  August 6, 2012 at 3:55 PM
a+(bc-(d/e^f))*h ... View Questions/Answers

Read Property file From Jmeter  August 6, 2012 at 3:51 PM
Hi, I am running web driver script from Jmeter, but while reading property file I am getting "File Not Find Exception". Please tell me how to read ".properties" file from Jmeter. ... View Questions/Answers

infix to postfix covertion  August 6, 2012 at 3:50 PM
(a+b)*(d/e) convert in post fix notation step by step...... ... View Questions/Answers

How to create a website to Send flowers  August 6, 2012 at 12:40 PM
How to create a website to Send flowers and save at least over national competitors in the USA with our low service fee. ... View Questions/Answers

How do I change a large string into hex and then into byte so that SHA1 can be applied to it?  August 6, 2012 at 9:32 AM
I work with cellphones and deal with MEID numbers on a daily basis. So instead of searching online for a MEID (a hex number of length 14) to pseudo ESN (a hex number of length 8) calculator, I figured I can make my own program. The way to obtain a pESN from MEID is fairly simple in theory. For ex... View Questions/Answers

jdbc  August 6, 2012 at 7:00 AM
I can't run my jdbc program because it has error in this line: public static void main(String[] args) the error is:illegal static declaration in inner class would you please let me whats the problem? regards ... View Questions/Answers

writing and appending to a file  August 6, 2012 at 4:59 AM
My input file includes data from both males and females. My code below replaces a 'male string' with the key and values and writes into an existing file for 'male'. How can I do the same for females and write into a different 'female string' in the same program? Sorry If I am confusing yo... View Questions/Answers

bliffoscope data analsys problem  August 6, 2012 at 2:10 AM
Bliffoscope Data Analysis Problem It's April 1, 2143. Your job is to save the world. Well, a little world. Specifically the asteroid X8483-Z-32 that you and Alphonso Bliffageri are stuck on. You've been stranded there ever since the evil Rejectos hit your spaceship with a slime torpedo fired ... View Questions/Answers

Search and return lines of text file  August 5, 2012 at 8:52 PM
I wrote the following code, that found lines of txt file with contains certain word, but it returns only the first or the last line! (However, the System.out.println show me all the lines with the word! ) Where is the problem?! Thank U :) "import java.io.*; public class S... View Questions/Answers

create pdf from jsongrid  August 5, 2012 at 6:15 PM
i need to create pdf from jsongrid in java struts2.. otherwise i need to create pdf from result set.. ... View Questions/Answers

invalid configuration  August 5, 2012 at 1:49 PM
hello I create hibernate.cfg.xml file Like below: ... View Questions/Answers