Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Distributed application and java  July 19, 2011 at 8:33 AM
Hi, Am about to develop a Java swing application. This software will be used by 20 branch offices and every offices may have their own hundreds of employees of their own. So every data should be available (sharing)to every employees of all the 20 offices(with some restriction for read and write... View Questions/Answers

mouseListeners  July 18, 2011 at 11:56 PM
i am writing mouselestener program like thise import java.awt.*; import java.awt.event.*; class WindowClosing3 extends WindowAdapter { public void windowClosing(WindowEvent we) { System.exit(0); } } class MouseEventSample1 extends Frame implements MouseList... View Questions/Answers

session realtime usage program simple jsp program or servlet ,which understands me importance of session  July 18, 2011 at 10:29 PM
I knew importance of session theoritically like client state storage scope.,but jsp or servlet realtime simple session related program whether it may be loginpage or anything must simple understanding explaination and code required.??? ... View Questions/Answers

Advertisement

validating email id  July 18, 2011 at 10:01 PM
how to validate the email id ? ... View Questions/Answers

Mocking a service that calls another service  July 18, 2011 at 8:52 PM
I have a method, say m1 in class, say C1. Method m1 calls a method, say m2 from another service class, say C2. So I mock m2 in junit test-cases for m1. However, m2 itself calls a third method, say m3 from a third class, say C3. When I run the test-cases for m1, they fail with the exception: ... View Questions/Answers

struts validation  July 18, 2011 at 6:24 PM
I want to apply validation on my program.But i am failure to do that.I have followed all the rules for validation still I am unable to solve the problem. please kindly help me.. I describe my program below.. CreateGroup.jsp <%@ page language="java" pageEncoding="ISO-8859-1"%> ... View Questions/Answers

struts validation  July 18, 2011 at 6:24 PM
I want to apply validation on my program.But i am failure to do that.I have followed all the rules for validation still I am unable to solve the problem. please kindly help me.. I describe my program below.. CreateGroup.jsp <%@ page language="java" pageEncoding="ISO-8859-1"%> ... View Questions/Answers

Absence data Report  July 18, 2011 at 5:25 PM
Absence data Report - The report will detail the absences for the employee, and will move to a new record after completing all details for the specific employee. Using SQL commands and HRMS Tables ... View Questions/Answers

Paging  July 18, 2011 at 4:16 PM
How does paging in struts by use oracle database? Thanks in advance !. ... View Questions/Answers

refreshing a jsp without flickering effect for every 5 seconds using ajax  July 18, 2011 at 4:03 PM
I want to refresh a jsp without flickering for every 5 seconds using ajax.This jsp is responsible to get the new records from the database and display the records in the form of a table. I don't know how to use ajax. Please send me one example for the same. Please help me. Please send your answer... View Questions/Answers

I am trying to create domains for column attributes of my data dictionary?  July 18, 2011 at 3:13 PM
Please provide me with the best possible solution. I already have the fields and there data types in a table and then the field values in another table. The fields are of a longitudinal study meaning that some of the field values are shared by different fields and also some of the field values ha... View Questions/Answers

j2me  July 18, 2011 at 2:04 PM
I need fifth sem MCA mobile computing lab programs using j2me. i m beginner for j2me and i want to know how to run j2me programs. pls help... ... View Questions/Answers

SQL QUERY  July 18, 2011 at 1:40 PM
am a having a table 'PROGRAMMER' with columns PNAME,LANGUAGE1,LANGUAGE2... as shown below pname Language1 Language2 Trinadh C pascal Bhanu Sql DBASE Sudheer ... View Questions/Answers

how to let img act as file dialog box?  July 18, 2011 at 1:33 PM
dear sir: I'm trying to add the code input type="file" to my website, but i do not want the default design which is the text box plus the button written in it browse,NO. what i want is an image acts like input type"file". for example, if the user wants to upload his/her file, he/she would... View Questions/Answers

view data from database using drop down list  July 18, 2011 at 12:31 PM
hi i want to view the data from database by selecting a value in a drop down list. for an example drop down list have picture element.when click it select pictures from the database. thanks ... View Questions/Answers

array  July 18, 2011 at 11:44 AM
create an array in which no element is duplicate. if duplicate then tell to user duplicate. duplicacy is tell to user during when he enter the element. ... View Questions/Answers

array  July 18, 2011 at 11:44 AM
create an array in which no element is duplicate. if duplicate then tell to user duplicate. duplicacy is tell to user during when he enter the element. ... View Questions/Answers

displaying output on web page immediately whent the jsp buffer size is full. And how to set jsp buffer size in bytes  July 18, 2011 at 11:03 AM
Here is my requirement, I have to display output on the browser after jsp buffer is full. And I have to set jsp buffer size in byte instead of kb. I have tried like this, <%@ page buffer="0.100kb"%>. But it is not working. Any help is appreciat... View Questions/Answers

Create a input button inside js function  July 18, 2011 at 10:44 AM
I call my js function from HTML code from another file. Now I would like to create a input button on page using createElement() in my called function. I used something like this but doesn't seems to work. Lets show is the function being called function show(){ var element=createElement('b... View Questions/Answers

How to make query and abstraction in Java  July 18, 2011 at 1:03 AM
Hi, I read the lessons you have in the sites. They are really useful. However, I could not write codes write. I am very beginner in Java I don't know anything in it. I am using PostgreSQL database, and I want to make a query and abstraction for a table. Could you help me please ... View Questions/Answers

database connection  July 17, 2011 at 8:50 PM
how to connect the jsp page with database ... View Questions/Answers

collections  July 17, 2011 at 8:31 PM
what is meant by synchronization ... View Questions/Answers

collections  July 17, 2011 at 8:31 PM
what is meant by synchronization ... View Questions/Answers

Servlet using Weblogic 8.1  July 17, 2011 at 7:21 PM
I am developing a simple application in servlet, Which will accept a name and after produce the name with Welcome Message. I am using Weblogic 8.1. My Html Page is <html> <head><title>WEb Application</title></head&g... View Questions/Answers

coding  July 17, 2011 at 6:49 PM
how to delete file after creating file ... View Questions/Answers

arrays  July 17, 2011 at 6:30 PM
i want an array program in which user must enter elements and every element can not have a duplicate if duplicate then write duplicate and press another number. (duplicacy is check during user enter elements not after the whole array) ... View Questions/Answers

arrays  July 17, 2011 at 6:30 PM
i want an array program in which user must enter elements and every element can not have a duplicate if duplicate then write duplicate and press another number. (duplicacy is check during user enter elements not after the whole array) ... View Questions/Answers

this code gives addition of 2 numbers in j2me..but the code is not executing ..can u pls find out the error...??  July 17, 2011 at 4:07 PM
import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class add1 extends MIDlet implements CommandListener { private Form f; private Display disp; private Command result,ok; private TextField t1,t2; public add1() { f=new Form("Addtion of two... View Questions/Answers

Pls help me with strings  July 17, 2011 at 3:46 PM
To reverse a every other word in a string. Example :- If the input is "This is a line of message" the output should be "sihT is a line fo message" ... View Questions/Answers

Pls help me with strings  July 17, 2011 at 3:46 PM
To reverse a every other word in a string. Example :- If the input is "This is a line of message" the output should be "sihT is a line fo message" ... View Questions/Answers

jar file  July 17, 2011 at 3:31 PM
jar file where it s used ... View Questions/Answers

length in array  July 17, 2011 at 3:30 PM
hai wat s length in array and where it s used ... View Questions/Answers

jar file  July 17, 2011 at 3:26 PM
steps to create jar file with example ... View Questions/Answers

length in array  July 17, 2011 at 3:23 PM
hi wat is length in array and where s it used ... View Questions/Answers

coding for deleting file  July 17, 2011 at 2:14 PM
coding for deleting file ... View Questions/Answers

Java Beginner  July 17, 2011 at 1:46 PM
To reverse a every other word in a string. Example :- If the input is "This is a line of message" the output should be "sihT is a line fo message" ... View Questions/Answers

coding  July 17, 2011 at 11:07 AM
write a program to create file using thread 1 and read the same file using thread2 and disply ... View Questions/Answers

java  July 16, 2011 at 10:38 PM
what is a class ... View Questions/Answers

PLEASE HELP CAPTCHA PROBLEM  July 16, 2011 at 10:08 PM
how can i make the captcha refresh autometically ???? please help this is <%@ Page Language="C#" %> <%@ Import Namespace="System.Drawing"%> <%@ Import Namespace="System.Drawing.Imaging"%> <script runat="server"> protec... View Questions/Answers

OOP  July 16, 2011 at 7:41 PM
plz any one can explain this statement "object has a public interface to outside world and private internal data section" ... View Questions/Answers

coding  July 16, 2011 at 6:47 PM
write a program to create a file using thread1 and read the file using thread2 and display in the console. ... View Questions/Answers

java coding for creating table in the console  July 16, 2011 at 6:42 PM
write a java program to create table ... View Questions/Answers

in php installation problem ?  July 16, 2011 at 6:11 PM
php installation in 7th step did not display y/n dialog box how to solve the problem? ... View Questions/Answers

question  July 16, 2011 at 5:00 PM
i need a sample java code for concept based user profile, and search engine personalization ... View Questions/Answers

how to Use jsp:setProperty to set one bean in other bean while to be set bean is of type java.util.List<beantype>  July 16, 2011 at 3:58 PM
I have 3 Java POJOs as follows Class Book.java public class Book { private String isbn; private String bookName; private Publisher publisher; private String publishDate; private int price; private List<Chapter> chapters; // G... View Questions/Answers

Calling a function  July 16, 2011 at 3:51 PM
Hi, I have a function xyz() in php code. When a button is clicked it should execute that particular function for that i have written as <form action="<?=$_SERVER['PHP_SELF'];?>" method="post"> <input type="button" name="submit"... View Questions/Answers

Number in array  July 16, 2011 at 2:25 PM
How to write a program to check the number that we are entered from keyboard is in the given array or not ... View Questions/Answers

new  July 16, 2011 at 1:31 PM
hi the difference between string sname = good morning string sname =new("good morning") ... View Questions/Answers

break and continue  July 16, 2011 at 1:26 PM
hi difference between break and continue ... View Questions/Answers

left shift and rigth shift operators  July 16, 2011 at 1:21 PM
hi some programs for left shift and right shift operators ... View Questions/Answers

Jukebox  July 16, 2011 at 12:37 PM
How can I write the code of jukebox ... View Questions/Answers

question  July 16, 2011 at 12:17 PM
how to put every data base connections (selection,insertion ,updation and so on) in one jsp page and how to import that in other pages of one project ... View Questions/Answers

J2ME application not working on n79  July 16, 2011 at 12:21 AM
Hi, i had developed assignment on sun sdk and its running fine on emulator but not showing results in two text fields on my mobile phone i.e.nokia -n79.please Help public class MoneyL extends MIDlet implements CommandListener { private static final Command CMD_EX... View Questions/Answers

J2ME application not working on n79  July 16, 2011 at 12:21 AM
Hi, i had developed assignment on sun sdk and its running fine on emulator but not showing results in two text fields on my mobile phone i.e.nokia -n79.please Help public class MoneyL extends MIDlet implements CommandListener { private static final Command CMD_EX... View Questions/Answers

J2ME application not working on n79  July 16, 2011 at 12:21 AM
Hi, i had developed assignment on sun sdk and its running fine on emulator but not showing results in two text fields on my mobile phone i.e.nokia -n79.please Help public class MoneyL extends MIDlet implements CommandListener { private static final Command CMD_EX... View Questions/Answers

jsp servlet question  July 16, 2011 at 12:16 AM
I have an HTML form which has a couple of radio buttons for example (gender: male/female) and some check boxes with select lists. I have created a servlet to connect to access database and process the form. I have no problem inserting the text fields into the tables however I wanted to ask you if... View Questions/Answers

JAVA INTERVIEW QUES  July 15, 2011 at 7:37 PM
what is meant by CTS in JAVA? ... View Questions/Answers

Reading the data from property file from java stand alone application in linux  July 15, 2011 at 5:59 PM
Please send me the example of reading the data from a property file from java stand alone application in linux. I don't know how to give path of a property file while creating FileInputStream object. Please send me the answer to. ... View Questions/Answers

how to create triangles around square  July 15, 2011 at 5:44 PM
7 6 8 5 9 4 5 6 7 8 9 10 3 4 10 11 2 4 10 12... View Questions/Answers

how to create triangles around square  July 15, 2011 at 5:44 PM
7 6 8 5 9 4 5 6 7 8 9 10 3 4 10 11 2 4 10 12... View Questions/Answers

about select tag  July 15, 2011 at 3:56 PM
Hi, i have a doubt regarding the usage of select tag,that is,suppose i am having two dropdown boxes,based on the selection of one dropdown item another dropdown item will be displayed without interacting with the database. plz tell me the answer if any one knows. ... View Questions/Answers

pyramid  July 15, 2011 at 3:24 PM
1 2 2 2 3 3 3 3 3 how to get this pattern what is the logic ... View Questions/Answers

pyramid  July 15, 2011 at 3:08 PM
1 2 2 2 3 3 3 3 3 how to get this pattern what is the logic ... View Questions/Answers

pyramid  July 15, 2011 at 2:58 PM
1 2 2 2 3 3 3 3 3 how to get this pattern what is the logic ... View Questions/Answers

Ideas for grouping the test cases by using struts.  July 15, 2011 at 12:54 PM
I want to do grouping of test cases by using struts in eclipse. I want to include the action class for grouping the test case. Kindly help me by giving some ideas. Thanks in Advance. ... View Questions/Answers

divide a page  July 15, 2011 at 10:16 AM
how to divide a page using jsp in three different column and in which , in first column , there is a phone number box,whenever a phone numhber is given immediately it will shown in below of the phone box,if the space if full fill then a scroll bar will apear. And in the second column only a butt... View Questions/Answers

divide a page  July 15, 2011 at 10:15 AM
how to divide a page using jsp in three different column and in which , in first column , there is a phone number box,whenever a phone numhber is given immediately it will shown in below of the phone box,if the space if full fill then a scroll bar will apear. And in the second column only a butt... View Questions/Answers

tag handler  July 15, 2011 at 9:28 AM
what is the diff bt simple and classic tag? which is more benifit to implement the handler? can we make use of any of these two to imlement the tag handler? ... View Questions/Answers

Upload file without brouse button  July 14, 2011 at 9:43 PM
Hi i want to upload 7 files without using browse button . I am using jscript to get the files and to view the files (.jpeg) .But I am not able to enter that address into file field can any body help me .I am using FormFile API to upload files.I dont want to change my business logic so please do s... View Questions/Answers

java 2d arrays  July 14, 2011 at 9:11 PM
Create a program that will: a) Create the array and populate it with the given values. 9, 8 2, 17 49, 4 13, 119 2, 19 11, 47 3, 73 b) Multiply, for each row, the value of the first column by the value of the second column, and create a grand ... View Questions/Answers

Latitude and Longitude of Indonesia  July 14, 2011 at 6:48 PM
Hi, What is the Latitude and Longitude on Indonesia? Thanks ... View Questions/Answers

java  July 14, 2011 at 6:44 PM
Write a java code to print "ABABBABCABABBA.......". ... View Questions/Answers

regarding java files genarated by jsp  July 14, 2011 at 5:15 PM
Hi,... I'm running a project in tomcat server, It is showing the following error "An error occurred at line: 233 in the generated java file Syntax error, insert "}" to complete Block" Where to find the genarated java file??? Thank u in advance.... ... View Questions/Answers

String Class implementation in API  July 14, 2011 at 4:50 PM
Hi all, I was confused ,when am looking into java String class single argument constructor into that we are passing again String as parameter.How is it possible,any one can help me how can we send String as argument for String class. ... View Questions/Answers

J2ME application not working on n79  July 14, 2011 at 3:54 PM
Hi, i had developed assignment on sun sdk and its running fine on emulator but not showing results in two text fields on my mobile phone i.e.nokia -n79.please Help import java.util.Calendar; import java.util.Date; import java.lang.Math; import javax.microedition.lcdui.Ale... View Questions/Answers

right and left shift operators  July 14, 2011 at 1:00 PM
hi i am jane pls explain the differentiate between right shift and left shift operators ... View Questions/Answers

new  July 14, 2011 at 12:57 PM
hi i am jane pls explain the difference between heap memory and stack memory ... View Questions/Answers

heap and stack memory  July 14, 2011 at 12:49 PM
hi i am jane pls explain the difference between heap memory and stack memory ... View Questions/Answers

memory  July 14, 2011 at 12:48 PM
hi i am jane pls explain the difference between heap memory and stack memory ... View Questions/Answers

very urgent  July 14, 2011 at 12:45 PM
** how to integrate struts1.3 ,ejb3,mysql5.0 in jboss server with myeclipse IDE ** ... View Questions/Answers

new  July 14, 2011 at 12:44 PM
hi i am jane pls explain the difference between string greeting = good morning string greeting = new string ("good morning"); ... View Questions/Answers

break and continue  July 14, 2011 at 12:36 PM
hi i am jane pls explain the difference between break and continue ... View Questions/Answers

heap and stack memory  July 14, 2011 at 12:32 PM
hi i am jane pls explain the difference between heap memory and stack memory with example programs ... View Questions/Answers

want the code for calender in php+htmal page  July 14, 2011 at 11:56 AM
i have to select a calendra for some textbox in an table. ... View Questions/Answers

Adding a flex table in another flex table column  July 14, 2011 at 11:29 AM
how to add a flex table in another flex table column. ... View Questions/Answers

init method  July 14, 2011 at 9:52 AM
why init method used in servlet? ... View Questions/Answers

Java Assignement  July 14, 2011 at 12:34 AM
Hi... can anyone help me in solving this assignment? You are required to develop an application to maintain student exam details for a university. The users should be able to enter, search, edit and view personnel information of students and also enter, view and edit exam marks of the stu... View Questions/Answers

develope a web site using JSF,Spring,Hibernate.  July 13, 2011 at 10:57 PM
I have to develope a web site,just like Facebook,which will have all the functionality as wall post,share,follow,visit to friend's page,Bookmark etc.Technologies I can use JSF,Spring Framework,Hibernate,JMS. Please anyone provide me idea,how to proceed ahead. The purpose of this website is to tr... View Questions/Answers

Internship in Delhi  July 13, 2011 at 7:40 PM
Hi, I am Engineering student. I am looking for Internship program in Delhi. Can anyone tell me where to do Internship in Delhi? Thanks ... View Questions/Answers

Latitude and Longitude of India  July 13, 2011 at 6:41 PM
Hi, What is the Latitude and Longitude on India? Can you also give me some more information on this incredible country? Thanks ... View Questions/Answers

Latitude and Longitude of Iceland  July 13, 2011 at 6:39 PM
Hi, What is the Latitude and Longitude on Iceland? Thanks ... View Questions/Answers

Latitude and Longitude of Hungary  July 13, 2011 at 6:35 PM
Hi, What is the Latitude and Longitude on Hungary? also tell me something more about this beautiful country. Thanks ... View Questions/Answers

Latitude and Longitude of Hong Kong  July 13, 2011 at 6:33 PM
Hi, Tell me something about the Latitude and Longitude on Hong Kong? Thanks ... View Questions/Answers

Latitude and Longitude of Honduras  July 13, 2011 at 6:31 PM
Hi, What is the Latitude and Longitude on Honduras? Thanks ... View Questions/Answers

Latitude and Longitude of Heard and McDonald Islands  July 13, 2011 at 6:29 PM
Hi, What is the Latitude and Longitude on Heard and McDonald Islands? Thanks ... View Questions/Answers

Distributed Environment  July 13, 2011 at 6:11 PM
what is distributed environment and it will supports by tomcat or not? ... View Questions/Answers

Distributed Environment  July 13, 2011 at 6:11 PM
what is distributed environment and it will supports by tomcat or not? ... View Questions/Answers

Distributed Environment  July 13, 2011 at 6:11 PM
what is distributed environment and it will supports by tomcat or not? ... View Questions/Answers

Distributed Environment  July 13, 2011 at 6:11 PM
what is distributed environment and it will supports by tomcat or not? ... View Questions/Answers

Distributed Environment  July 13, 2011 at 6:11 PM
what is distributed environment and it will supports by tomcat or not? ... View Questions/Answers

DMCA.com