Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

how to add plugins into eclipse  April 8, 2012 at 11:22 AM
Hello, I have installed eclipse sdk 4.2M5 separately and tomcat server separately now i have to connect both for that i don't have server option in my eclipse and i m trying to add plugins but m getting many errors .Could someone please help me regarding this,as i m a fresher. Thanks in ... View Questions/Answers

pdf generation.  April 8, 2012 at 11:16 AM
i want to generate the data which is stored in mysql data base in pdf format with php. how i will do that? ... View Questions/Answers

pls answer the Trangle pattern  April 8, 2012 at 10:19 AM
a b c d e b c d e c d e d e e Please answer and give the code for above triangle ... View Questions/Answers

Advertisement

DBMS  April 8, 2012 at 9:16 AM
Write a PL /SQL program to calculate the total ,average and grade of given student. ... View Questions/Answers

DBMS  April 8, 2012 at 9:16 AM
Write PL/SQL program to create a Employee table with the fields EmpNo, Empname, Designation, Salary, and Dateofjoin . Insert 10 records and display the records of only those employee whose salary is more than 15,000. ... View Questions/Answers

DBMS  April 8, 2012 at 9:14 AM
Generate the yearly report (from first January of an year to 31st December of the same year) on the total amounts of individual accounts of each employee in the following format: Emp Table (Emp#, Empname, City, Acc#) Acc Table (Acc#, OpenDate, Bal-Amt) Yearly Report <... View Questions/Answers

how to know which jList is selected and according to that fetch the value  April 8, 2012 at 4:34 AM
Hi. I am Using netBeans.. I have 4 JLists (i.e jList1 , jList2, jList3 , jList4) in 4 different tabs in frame. Each List has the value of employee_id from database (i successfully did it already) there are many field in tabs ( i.e rows of databse with employee id ... View Questions/Answers

collectionMapping using annotation  April 7, 2012 at 8:08 PM
Hello sir, I am using @ElementCollection annotaion in my entity class as @Entity @Table(name="stud_collection") public class StudentEntity implements Serializable{ @Id @Column(name="id") private Long id; @Column(name="sname") private String sname; ... View Questions/Answers

storing values  April 7, 2012 at 5:16 PM
I want coding using asp thro jsxmlhttprequest for storing values in 2nd dropdownlist based on values selected in 1st dropdown list... View Questions/Answers

Servlet error  April 7, 2012 at 3:05 PM
In netbeans6.9 how can we deploy our servlet in my project i design servlet to receive the data through html pages and design database also but unable to do with xml files what we can change in sun-web.xml ... View Questions/Answers

javascript confirm box  April 7, 2012 at 2:49 PM
javascript confirm box ... View Questions/Answers

javascript calendar popup code  April 7, 2012 at 2:48 PM
javascript calendar popup code ... View Questions/Answers

javascript comment syntax html  April 7, 2012 at 2:44 PM
javascript comment syntax html ... View Questions/Answers

JavaScript Comment Tag  April 7, 2012 at 2:43 PM
How to write comment in JavaScript ? ... View Questions/Answers

arraylist  April 7, 2012 at 2:28 PM
create a class employee having instance variable id,name,age,salary.now , when u run the program it must be ask u to 1.add employee 2.view employee 3.exit if u enter value other than 1,2,3 program should say invalid input . if u add more than 5 employees an exaception must be thrown. ... View Questions/Answers

JavaScript Alert YES NO  April 7, 2012 at 12:40 PM
How to send an alert to a user to confirm if there request is valid or not? I wants to send the alert message in Java Script. ... View Questions/Answers

javascript statement alert  April 7, 2012 at 12:31 PM
JavaScript Alert If Statement ... View Questions/Answers

Tictactoe game-2 players- using jax webservices & jsp  April 7, 2012 at 11:13 AM
Hi all, Could anyone please suggest the code /post source code of tictactoe game for 2 players with x & 0 as markers and use mysql database to persist the moves and tell who is winner. Please help,atleast with the html/jsp coding and equivalent servlet coding ... View Questions/Answers

validation  April 7, 2012 at 9:29 AM
hello sir i tried to store emp details in database from form using spring ,hibernate and jsp my all classes and jsp pages are pasted here when i try to validate my form its says invalid property'validater of ur controller class ....ple for this example ple write validater class and bean... View Questions/Answers

how to check dates while retrieving data from database  April 7, 2012 at 2:57 AM
i want to update database record based on delivery date i have tried this query but it wont work b="update deliveryorder set prtnm='"+arr[1]+"',stn='"+arr[0]+"',sbston='"+arr[2]+"',tqty='"+arr1[0]+"',del1='"+arr2[1]+"',del2='"+arr2[2]+"',del3='"+arr2[3]+"... View Questions/Answers

Installing programs over a network using java  April 7, 2012 at 1:32 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:31 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

Installing programs over a network  April 7, 2012 at 1:30 AM
Hi, i want to write a java program that will allow me to install programs from a server to a client machine. Any help will be appreciated. Thanks ... View Questions/Answers

How to Pass data from jTextField1 in jFrame1 to jLabel1 in jFrame2  April 6, 2012 at 9:22 PM
I have a Form login_pass (jFrame) which has a jTextField1 to take input (employee id) from the user. I want that the value of employee id given by user in jTextfield1 should be transfered to jLabel1 in Form usermainframe (jFrame) when the user press login button present... View Questions/Answers

difference  April 6, 2012 at 8:32 PM
what's the difference between mysql and sql? ... View Questions/Answers

getting problem in storing & retrieving value in database  April 6, 2012 at 7:20 PM
Hello everyone i am doing a project where my back end is ms access & i want to store value like 5353250214 so if i store it as long int in access it wont take it & if i saved it as double then i couldnt retrieve it so pls help me.... ... View Questions/Answers

Convert the code to GUI  April 6, 2012 at 5:46 PM
can any one convert My code to GUI code import java.util.Scanner; public class RegistorClass { private int accumulator; private int instructionCounter; private int instructionRegister; private int operationCode; private int operand; private boolean h... View Questions/Answers

How to Convert the code to GUI  April 6, 2012 at 5:46 PM
How to convert a code into GUI... View Questions/Answers

Java Code to GUI  April 6, 2012 at 5:46 PM
can any one convert My code to GUI code ... View Questions/Answers

Is it possible to convert a code into GUI  April 6, 2012 at 5:46 PM
Is it possible to convert a code into GUI... View Questions/Answers

How to create GUI application in Java  April 6, 2012 at 5:46 PM
How to create GUI application in Java ... View Questions/Answers

Convert the code  April 6, 2012 at 5:46 PM
How to convert a code to GUI look alike... View Questions/Answers

GUI Example  April 6, 2012 at 5:46 PM
GUI Example code to learn... View Questions/Answers

GUI Application example  April 6, 2012 at 5:46 PM
GUI Application example... View Questions/Answers

Write a GUI Application  April 6, 2012 at 5:45 PM
best way to write a GUI based application... View Questions/Answers

GUI code  April 6, 2012 at 5:45 PM
GUI code ... View Questions/Answers

Java and GUI application Example  April 6, 2012 at 5:45 PM
Java and GUI application Example... View Questions/Answers

GUI Application Development  April 6, 2012 at 5:45 PM
GUI Application Development... View Questions/Answers

GUI Java JSP application  April 6, 2012 at 5:45 PM
GUI Java JSP application... View Questions/Answers

GUI example for beginners  April 6, 2012 at 5:45 PM
GUI example for beginners... View Questions/Answers

Java GUI Class Example  April 6, 2012 at 5:43 PM
Java GUI Class Example... View Questions/Answers

jsp code for display of data from database and snap shot of the output  April 6, 2012 at 5:30 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week..i want to se the snapshots of the output ... View Questions/Answers

jsp code for storing login and logout time to an account  April 6, 2012 at 5:01 PM
I need simple jsp code for extracting and storing login and logout time in a database table..plz someone help me... ... View Questions/Answers

Session Bean Example  April 6, 2012 at 4:48 PM
I want to know that how to run ejb module by jboss 4.2.1 GA (session bean example by jboss configuration )? ... View Questions/Answers

How to add google page in my webpage using jquery ajax.  April 6, 2012 at 4:25 PM
Hi, I created a page index.html on desktop . this page content following code. <html> </head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript">... View Questions/Answers

JavaScript Statement Array  April 6, 2012 at 4:00 PM
I need JavaScript Statements Examples in an Array. ... View Questions/Answers

java format date  April 6, 2012 at 3:41 PM
Hi, How can I format the date in the following pattern? yyyy-MM-dd ... View Questions/Answers

JavaScript where to place in HTML  April 6, 2012 at 3:36 PM
Where to place JavaScript code into HTML Code? ... View Questions/Answers

springs  April 6, 2012 at 2:08 PM
ir i have the confusion in spring form validation.using hibernate.my bean configuration only wrong . i dont know how to map my validator to my controller it is shows errpr like org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaannila.val... View Questions/Answers

Method is undefined for the type Object(org.apache.jasper.JasperException)  April 6, 2012 at 1:23 PM
[Tag:java] I am getting an Error, while accessing a JSP Page through my eclipse workspace,, other guys can access that page on their localhost. This error is with all my JSP page where i try to access MYList.MyDo.someGetterMethod(); in JSP page. I am using Tomcat5.5... View Questions/Answers

Struts-problem With DispatchAction Class  April 6, 2012 at 1:13 PM
hi this is Mahesh...i'm working with struts 1.3.10....I have created an application which uses DispatchAction..I'm using Eclipse ide..I hav configured struts-extras 1.3.10 jar but still i'm getting the following error: exception javax.servlet.Serv... View Questions/Answers

code for serching files and folders  April 6, 2012 at 12:09 PM
i want to create a code in java in which i can search any file or folder present on my local machine,with appropriate file path and location of that file or folder....if there are more than one file or folder with that name show all the file or foldea with there path and location...and one more t... View Questions/Answers

Image swap on mouse over and mouse move  April 6, 2012 at 11:06 AM
i tried the code , sent form u...But if there are 50 images and..i want swap images on mousse over and mouse out, then the code becomes very lengthy...so please give the code for multiple images ... View Questions/Answers

Image swap on mouse over and mouse move  April 6, 2012 at 11:06 AM
i tried the code , sent form u...But if there are 50 images and..i want swap images on mousse over and mouse out, then the code becomes very lengthy...so please give the code for multiple images ... View Questions/Answers

Having problem with image upload....  April 6, 2012 at 2:43 AM
I am uploading profile pictures in my site.But after uploading when I visit my home page where it is supposed to show my profile picture,it's not showing.My profile picture is getting uploaded successfully and there is no doubt about that because I checked on the server that the image is getting ... View Questions/Answers

Convert the code to GUI ??  April 6, 2012 at 12:13 AM
hi >> can anyone help me to conver this code to GUI ?? /** * @(#)RegistorClass.java * *. * @author * @version 1.00 2011/12/16 */ import java.util.Scanner; public class RegistorClass { private int accumulator; private int instructio... View Questions/Answers

userloginmid.jsp  April 5, 2012 at 11:00 PM
where is the userloginmid.jsp code? ... View Questions/Answers

Copying data from jTextField1 automatically  April 5, 2012 at 8:25 PM
I am making human resource management system. Copying data from jTextField1 automatically when user enter value in jTextField1 to jTextField2 , jTextField3 .. Each jTextField in different panes of jTabbedPane. There are 4 tabs in jTabbedPane. Each tab has a many jTextField but one jText... View Questions/Answers

Error:No Class Found Exception:org.postgresql.driver  April 5, 2012 at 5:08 PM
Error:No Class Found Exception:org.postgresql.driver while connecting JDBC With PostgreSQL 8.4 I m running My Program with java 6.0 ... View Questions/Answers

Uploading Multiple Image On Server?  April 5, 2012 at 4:24 PM
Hello sir, I am stuck with a problem of uploading multiple images on server. i have done a code which works fine for uploading single image,but it doesn't work with uploading multiple images dynamically on server. one live example of this is like facebook uploading images. so please help me ... View Questions/Answers

want to insert values in drop down menu in struts1.3  April 5, 2012 at 2:04 PM
I am using DynaValidatorForm.please help me with inserting values in color drop down menu. I have tried belowwith arraylist but was not able to find solution. add.jspx <?xml version="1.0" encoding="UTF-8"?> <!-- Document : add ... View Questions/Answers

Image swap on MouseOver ann Mouse out  April 5, 2012 at 1:22 PM
I tried ur code for multiple images but didnt get the right answer...i dont want the hardcodded code...a code which is flexible with multiple images <html> <script language="javascript" type="text/javascript"> if(document.images) { arr = new... View Questions/Answers

disabling back button  April 5, 2012 at 11:43 AM
hi, i am trying to make an application and i stuck at the point after login.. when i could logged in successfully then if i press back button i again reach to the back page ie. authentication page so if any one can help me how to disable this button ... View Questions/Answers

Problem with cookies  April 5, 2012 at 11:40 AM
Hello All, i need jsp code for RememberMe module of login. i am facing problem with cookies. so please if any one could guide me please help and provide mme the exact code. ... View Questions/Answers

How to copy an jpeg image from one folder to other folder using jsp  April 5, 2012 at 11:31 AM
hello, i am creating photo gallery where from admin side i allow admin to browse and can select photos for upload..so when admin select photo that photo should be in my image folder...so,How to copy an jpeg image from one folder to other folder using jsp or servlet. ... View Questions/Answers

JSP Financial Year Table  April 5, 2012 at 11:04 AM
Im trying to design a financial year table...wherein the user enters the data in the table and the same is updated in backend.i have successfully desinged the page but i have certain doubts in jsp code.the table is as follows: MS_target HSD_Target ... View Questions/Answers

I Want to take mqsyl batabase backup using jsp  April 5, 2012 at 10:39 AM
I was develop web portal using jsp and servelt. I need to take backup my MySQL database and restore another one MySQL database. ... View Questions/Answers

java  April 5, 2012 at 2:34 AM
when i create parametrized constructor in main() class and i create new class with parametrized constructor than compile the program and .class is created. my question is that when i want the profile of a class which contain parametrized constructor what should he show? it not show default constr... View Questions/Answers

struts---problem with DispatchAction  April 5, 2012 at 2:03 AM
hi this is Mahesh...i'm working with struts 1.3.10....I have created an application which uses DispatchAction..I hav configured struts-extras 1.3.10 jar but still i'm getting the following error: exception javax.servlet.ServletException: Servlet execution threw an exception ... View Questions/Answers

how can i draw line between two panel contaning circle and line between their center?  April 5, 2012 at 12:03 AM
how can i draw line between two panel contaning circle and line between their center? ... View Questions/Answers

Convert Euro to dollar, need to be able to enter decimal!  April 4, 2012 at 10:45 PM
Hi, this is what my program is supposed to do: Write a program that repeatedly performs currency conversion from euros to dollars: it prompts the user for the conversion factor (i.e. the number that you use to multiply the number of euros to get the number of dollars). The program then repeatedly... View Questions/Answers

Convert Euro to dollar, need to be able to enter decimal!  April 4, 2012 at 10:45 PM
Hi, this is what my program is supposed to do: Write a program that repeatedly performs currency conversion from euros to dollars: it prompts the user for the conversion factor (i.e. the number that you use to multiply the number of euros to get the number of dollars). The program then repeatedly... View Questions/Answers

java  April 4, 2012 at 9:41 PM
how to create login form using java swimming User Name TESTADMIN Password testuser ... View Questions/Answers

C++  April 4, 2012 at 9:22 PM
dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser ... View Questions/Answers

jsp/servlet login program  April 4, 2012 at 8:33 PM
<%@ page language="Java" import="java.sql.*" %> <HTML> <HEAD><TITLE>DataBase Search</TITLE></HEAD> <BODY> <jsp:useBean id="db" scope="request" class="logbean.LoginBean" > <jsp:setProperty name="db" property="userName"... View Questions/Answers

Swap images oon mouse over and mouse out  April 4, 2012 at 5:06 PM
I have multiple images...i want to swap each image on mouse out and mouse over.. ... View Questions/Answers

Action in JSP  April 4, 2012 at 4:11 PM
more than one actions done in a jsp in struts2 and controll go in different java class ... View Questions/Answers

about developing a website  April 4, 2012 at 4:09 PM
hi i want to create a website of on online shopping in java with database connectivity in oracle .so what are the necessary steps with explanation in eclipse? ... View Questions/Answers

how to forget password in spring framework  April 4, 2012 at 3:43 PM
how to forget password in spring framework with hibernate give me code ... View Questions/Answers

validation Spring Framework  April 4, 2012 at 3:39 PM
please give me example of validation in spring framework ... View Questions/Answers

What is difference among Project explorer, Package explorer and Navigator in Eclipse?  April 4, 2012 at 3:14 PM
The three in eclipse are looking like for same purpose. Could you kindly explain what is the difference between them? ... View Questions/Answers

javascript where to declare variables  April 4, 2012 at 3:03 PM
javascript where to declare variables ... View Questions/Answers

how to load pdf on html  April 4, 2012 at 2:39 PM
how to load pdf on html ... View Questions/Answers

Servers and Operating Systems  April 4, 2012 at 1:56 PM
Could we run java based web servers/application servers in windows xp operating system in production mode for small scale web applications. ... View Questions/Answers

i want to show timeline chart for three year in chart..  April 4, 2012 at 1:44 PM
I am using Jfree chart library to display chart in web pages. i want to show three year data in chart in 3 lines for three year in same chart. i am able to show it in the three part but i want to show it in single part but X axis timeline constructed from particular year. but it should be overrid... View Questions/Answers

jsp login code ... when username , drop down box and password is correct  April 4, 2012 at 1:40 PM
i need a jsp code for login.... when username password and dropdown box value is correct.... the drop down box values should be retrieved from database..... please provede me codes for that..... thnk u ... View Questions/Answers

jsp code for a drop down box to retrive value from database  April 4, 2012 at 1:38 PM
my project needs to get the value from database in to the drop down box..... pls give me code for that ..... tan q ... View Questions/Answers

jsp programe for displaying data from database  April 4, 2012 at 1:00 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week.. ... View Questions/Answers

jsp programe for displaying data from database  April 4, 2012 at 1:00 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week.. ... View Questions/Answers

jsp programe for displaying data from database  April 4, 2012 at 1:00 PM
i am using JSP.i want to insert data into database and also want to display the things i have entered in the same page inside the corresponding fields in which i have entered these data.plz some one help me..i m going to submit my project next week.. ... View Questions/Answers

Why this is not working...?  April 4, 2012 at 12:36 PM
import java.util.*; public class Family { int size_of_family=0; public Person[] members=new Person[size_of_family]; Person d = new Person(); public Family (int size_of_family){ members = new Person[size_of_family]; for ( int i = 0; i < size_of_family... View Questions/Answers

how to get the value of a label field of option tag in javascript?  April 4, 2012 at 11:44 AM
example <select> <option label="2" value="A">A</option> <option label="5" value="B">B</option> </select> <select> <option label="6" value="C">C</option> ... View Questions/Answers

Direct Access of PDF  April 4, 2012 at 11:26 AM
Hi During the security audit of my project ,i got an case in report dat is no one can access the pdf file without login.I have no's of pdf in a folder,but problem is this any1 can open the pdf by knowing name of pdf.My application is made in classic asp.Plz help ... View Questions/Answers

bean object  April 4, 2012 at 10:49 AM
i have to retrieve data from the database and want to store in a variable using rs.getString and that variable i have to use in dropdown in jsp page. ... View Questions/Answers

addition of two combobox values using jsp and javascript  April 4, 2012 at 10:42 AM
How to make addition of two combobox values using jsp and javascript?... View Questions/Answers

how to print headings horizontally in jsp  April 4, 2012 at 10:11 AM
In one of my jsp i have used for loop. in every iteration it will fetch value from db and print it on heading section, it prints vertically but my requirement is to print it horizontally, can anyone suggest any idea. please see the code which i have used below : ... View Questions/Answers

DMCA.com