Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to prompt user  August 9, 2011 at 9:25 AM
Dear Sir, I'm a new student, a beginner in Java. Pls help to write program as below :- a)to prompt user to input 2 integers, the 1st number entered as Digit 1 and 2nd number as Digit 2. b)Display the value of Digit 1 and Digit 2, indicating which is 1st & which is 2nd number. ... View Questions/Answers

icefaces  August 9, 2011 at 9:25 AM
I am using Facelets with ICEfaces 1.8. I have a file details.jspx that is called in two different panels on the same page. What I want to do is add a binding attribute to the ice ataTable in details.jspx but when I do this, one of the details.jspx has two dataTables rendered whereas the other det... View Questions/Answers

icefaces  August 9, 2011 at 9:20 AM
I am using Facelets with ICEfaces 1.8. I have a file details.jspx that is called in two different panels on the same page. What I want to do is add a binding attribute to the ice ataTable in details.jspx but when I do this, one of the details.jspx has two dataTables rendered whereas the other det... View Questions/Answers

Advertisement

platform independent  August 9, 2011 at 7:33 AM
what is difirence between machine independent and platform independent? ... View Questions/Answers

coding in jsp & servlet  August 8, 2011 at 11:23 PM
plz... provide me coding of "online examination system" in jsp & servlet ... View Questions/Answers

Latitude and Longitude of Yemen  August 8, 2011 at 6:45 PM
Hi, What is the Latitude and Longitude on Yemen? Thanks ... View Questions/Answers

Latitude and Longitude of Western Sahara  August 8, 2011 at 6:43 PM
Hi, What is the Latitude and Longitude on Western Sahara? Thanks ... View Questions/Answers

Latitude and Longitude of Wallis and Futuna Islands  August 8, 2011 at 6:42 PM
Hi, What is the Latitude and Longitude on Wallis and Futuna Islands? Thanks ... View Questions/Answers

Latitude and Longitude of Virgin Islands (US)  August 8, 2011 at 6:40 PM
Hi, What is the Latitude and Longitude on Virgin Islands (US)? Thanks ... View Questions/Answers

Latitude and Longitude of Virgin Islands (British)  August 8, 2011 at 6:39 PM
Hi, What is the Latitude and Longitude on Virgin Islands (British)? Thanks ... View Questions/Answers

Latitude and Longitude of Vietnam  August 8, 2011 at 6:37 PM
Hi, What is the Latitude and Longitude on Vietnam? Thanks ... View Questions/Answers

Latitude and Longitude of Venezuela  August 8, 2011 at 6:37 PM
Hi, What is the Latitude and Longitude on Venezuela? Thanks ... View Questions/Answers

Latitude and Longitude of Vatican City  August 8, 2011 at 6:35 PM
Hi, What is the Latitude and Longitude on Vatican City? Thanks ... View Questions/Answers

Latitude and Longitude of Vanuatu  August 8, 2011 at 6:34 PM
Hi, What is the Latitude and Longitude on Vanuatu? Thanks ... View Questions/Answers

image upload in java  August 8, 2011 at 4:04 PM
Hi, I am working with java. In my application i want to give facility to user to add and change image. I use open dialog box to select image, it will work properly i.e on button click open dialog is open select any image i want to store that selected image into specified folder and that path st... View Questions/Answers

how to use sequence as a generator class in hibernate for ms sql  August 8, 2011 at 3:42 PM
Hi deepak, I have following requirement, I have to use sequence as a generator class for ms sql database. Do we need to create an sequence in mssql prior to use sequence generator class?.If it is mandatory to create an sequence in mssql, Please guide me in creating sequence i... View Questions/Answers

jsp  August 8, 2011 at 3:41 PM
when i run jsp program it shows error-500 what is that error my source code is <% page import="java.sql.*" %> <%! Connection con; PreparedStatement ps; public void jspInit() { try { Class.forName("oracle,jdbc,driver,Orac... View Questions/Answers

jdbc  August 8, 2011 at 3:31 PM
hi..i want to create a table and insert data in that table of ms-access using java application i want to perform both operations of ms-access using jdbc connection ... View Questions/Answers

Srujana  August 8, 2011 at 3:16 PM
HOW TO DEVELOP A MULTI-CLIENT CHAT APPLICATION? ... View Questions/Answers

my question is related to my project viz  August 8, 2011 at 1:23 PM
Sir, my project is based on MR tracking system developed using struts framework, it has been developed in Net Beans the whole project is working except a jsp page named dayplan.jsp the browser is showing "No Such Class Found Error" im unable to sort out the error. plz help me for that.. ... View Questions/Answers

servlets  August 8, 2011 at 1:18 PM
what is ResultSet? ... View Questions/Answers

closing the internet explorer window of any version without confirmation using javascript  August 8, 2011 at 1:06 PM
Hi all, Here is my requirement, I have to close microsoft internet explorer window on onload event without confirmation. It should support all the versions of IE. In future if new version comes. It should support that new version also. ... View Questions/Answers

question  August 8, 2011 at 12:45 PM
Sir, Could You please send me Data Flow Diagrams(DFD) for " A DISTRIBUTED PROTOCOL TO SERVE DYNAMIC GROUPS FOR PEER-TO-PEER STREAMING " ... View Questions/Answers

jsp using include & with mysql  August 8, 2011 at 12:26 PM
Sir, I am creating a login application using jsp & Mysql. The Codes are--- Html File...... <html> <head><title>LOGIN APPLICATION</title></head> <body bgcolor="sky blue"> <font color="red"><b><... View Questions/Answers

advanced repalcement for TableModel in java swings  August 8, 2011 at 12:24 PM
Hi, Is there any advanced replacement for java TableModel.I want to display the search results ,for that i want better thing than TableModel.ould u please suggest something? ... View Questions/Answers

vowels  August 8, 2011 at 12:11 PM
how do u encryp vowels from given wordes? ... View Questions/Answers

How to work with Ajax in spring  August 8, 2011 at 10:55 AM
give some sample code for ajax with spring (example like if i select a state from one drop down in another drop down related districts should come ) ... View Questions/Answers

Report Genrating  August 8, 2011 at 8:37 AM
How can i genrate the report on java by using jdbc records in our application. ... View Questions/Answers

date retriving  August 8, 2011 at 6:02 AM
my name is subbareddy.sir i was implementing attendance management .In this project i faced one problem that is when i print date stored in the database displays time with date.but i want print only date.please help me ... View Questions/Answers

Java entry prog.  August 7, 2011 at 8:48 PM
Dear sir I will enter the dept code, dept name and insert into dept_mast and save. Pl. Dept_mast Dept_code Char(2) Primary key (no duplicate key allowed) Dept_name Char(25) **Entry screen** **Department entry**... View Questions/Answers

give me a grid example in php  August 7, 2011 at 3:57 PM
give me easy code example of grid in php like mysql editor? ... View Questions/Answers

send ACK to external device  August 7, 2011 at 3:31 PM
i want to do connection with an external device that make medical tests to send to it a message but, this device should receive an acknowledgement before the message that i want to send , i want to make that with java code ?? ... View Questions/Answers

with out using scanner mul two matrices  August 7, 2011 at 2:51 PM
write a java program to multiply two matrices and print there result. note: don't use the scanner and the values is passed at run time.... ... View Questions/Answers

How to insert data into databse by JSP form registration page in netbeans  August 7, 2011 at 2:31 PM
Hello everyone, i am new comer to web development & netbeans, i m a student. I have been given a task to create registration page with username & password, & after submitting this form it automatically stores data into databse, which can later be seen by admin only...or can be used fo... View Questions/Answers

Benefit of Spring Injection over Hibernate / JDBC w/Oracle  August 7, 2011 at 1:32 PM
Im new to Spring and am still trying to understand the advantages over using jdbc (I understand that Spring offers more than just db connectivity but focusing specificly on that aspect I'm not seeing the benefit for a mature system). After reading the tutorial titled "Spring 2.5 - Spring Injecti... View Questions/Answers

email  August 7, 2011 at 12:42 PM
how do i code for making clicking a send button sends a email ... View Questions/Answers

Window.open Method Related.  August 7, 2011 at 11:57 AM
sir, i use to window.open method to popup window its works easily but when windows popped up at that time i want to disabled part, except popup window look like when alert(), prompt(). or other site contain when user want log-in at that time window popped for user log-in bu... View Questions/Answers

how to display textbox value based on selected option value?  August 7, 2011 at 10:30 AM
Hi,I have some problem. I use jsp and ajax. first select: 1 second select:2 based on first value I finished above code. ID: xx Name:xx xx is baesd on second and first value. But it is that l can't do that. now, l post my code(not finished) here: ... View Questions/Answers

Does java supports queries with references/Table alias?  August 7, 2011 at 10:04 AM
Hello, I have an Oracle query:SQL> select t.TopicName, p.NumberofPolls from EMSTopic t,EMSPoll p where t.TopicID = p.TopicID and t.TopicName= 'Sybase'; which is working fine in SQL editor but not working programatically. I am getting runtime error: java.sql.SQLEx... View Questions/Answers

runtime error:Invalid column name  August 7, 2011 at 9:10 AM
Hello, Can anyone please help me on this query? Programatically it is showing run time error. But in sql query the query is working fine. import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList;... View Questions/Answers

numer to word  August 7, 2011 at 12:24 AM
i want to print following out put one thousand two hundreds fifty six ... View Questions/Answers

information about scjp  August 6, 2011 at 7:28 PM
fees details abou scjp? what are the best books for preparing to scjp. how many time scjp exam's are conducted for one year? ... View Questions/Answers

Latitude and Longitude of Uzbekistan  August 6, 2011 at 6:27 PM
Hi, What is the Latitude and Longitude on Uzbekistan? Thanks ... View Questions/Answers

rtf_jsp_javascript  August 6, 2011 at 5:36 PM
Hi every one plz give me answer for below question ASAP I created one JSP(used pre defined javascript in jsp to get rtf format in browser) which creats RTF Format in browser to enter data. MY question is after i enterd data when click on preview button it as to seperate data for e... View Questions/Answers

jsp problem  August 6, 2011 at 5:22 PM
Hi every one plz give me answer for below question ASAP I created one JSP(used pre defined javascript in jsp to get rtf format in browser) which creats RTF Format in browser to enter data. MY question is after i enterd data when click on preview button it as to seperate data for e... View Questions/Answers

how to send the content of jtextarea from netbeans IDE to webpage's textarea in java  August 6, 2011 at 5:21 PM
Hi, i m interested to send the content of my jtextarea which i have developed in netbeans IDE to the webpage's textarea. how can i do that in java? or what are the other way to do it ? ... View Questions/Answers

rtf  August 6, 2011 at 5:16 PM
Hi every one plz give me answer for below question ASAP I created one JSP(used pre defined javascript in jsp to get rtf format in browser) which creats RTF Format in browser to enter data. MY question is after i enterd data when click on preview button it as to seperate data... View Questions/Answers

Need help with nested queries  August 6, 2011 at 4:03 PM
Hello, Table1 has "id", "votes" columns. Table2 has "id", "Name" column. I need to retrieve Name and its corresponging Votes. I tried with nested queries but its confusing. Can anyone please help me with a query? Thanks in advance! ... View Questions/Answers

question  August 6, 2011 at 3:54 PM
Good Afternoon Sir, could you please tell me about what is real process happened in "A DISTRIBUTED PROTOCOL TO SERVE DYNAMIC GROUPS FOR PEER-TO-PEER STREAMING" what is actually happened in this ,please help me to develop my java project ... View Questions/Answers

php_oops  August 6, 2011 at 2:04 PM
how to create a class to delete or edit the file so that the coding for edit and delete is not written on different pages of webpage ... View Questions/Answers

java line chart  August 6, 2011 at 5:20 AM
Hi, I want to draw a graphic in java line chart and ? searched the documents ?n the web. I found the example codes ?n your site (http://www.roseindia.net/chartgraphs/xyline-chart.shtml) and tr?ed ?n my application. It works but I dont want to zoom so much. Can ?t zoom only in int ... View Questions/Answers

application for an Employee  August 6, 2011 at 1:01 AM
hi , could any one help for coding in JSP-servlets.. the prob desc is : 1.INPUT:in the 1st page it should accept input for an employeelike (name,empid ,address,dob) and persist in database 2.UPDATE: in this page it should modify employee data and persist in DB 3.DISPLAY:it should display ... View Questions/Answers

why java ignore backspace event when there are more then 1 keychar for a single keystroke.  August 6, 2011 at 12:43 AM
why java ignore backspace event when there are more then 1 keychar for a single keystroke. Assume that i have a text field to get the input when i click a key to a keyboard assume i pressed 'a' on keyboard and its keychar is -'b','\b','a' it show 'ba' on textfield but normally first it sh... View Questions/Answers

Constructing Application of Java  August 6, 2011 at 12:01 AM
Hi,I am doing project on java as front end and database as back end.I completed it almost on my computer but now I want to distribute it to some other computer.so have to convert the java source code into jar file.How to do it?Please help me.I am using Net Beans. ... View Questions/Answers

Program  August 5, 2011 at 8:55 PM
Define Interface Insurance with methods: details()(name, types of services), no. of branches(), No. of customers(), annual_income(). Implement these methods in its Implementation class LIC, National, BajajAlliance, UnitedIndia. ... View Questions/Answers

Program  August 5, 2011 at 8:54 PM
Define an Abstract class DigitalCamera with instance variables like make, model, resolution, etc, and create() to set the details of camera. Use three sub classes for three different makes (eg. Canon, Olympus, Sony) ... View Questions/Answers

Program  August 5, 2011 at 8:49 PM
a program to create two classes Commercial and Domestic. Override the method calculatebill() of Commercial class(Rs.8 per unit) into Domestic class(Rs 6 per unit) to compute electricity bill for both classes. ... View Questions/Answers

Program  August 5, 2011 at 8:46 PM
Create a Super class Department(dno, dname, dlocation) and a method calsalary(float basic, float DA, float HRA).Define a subclass Employee(eno, ename, dno, dname, dlocation). Calulate the salary of an employee by using super class method calsalary (). ... View Questions/Answers

Program  August 5, 2011 at 8:46 PM
Create a Super class Department(dno, dname, dlocation) and a method calsalary(float basic, float DA, float HRA).Define a subclass Employee(eno, ename, dno, dname, dlocation). Calulate the salary of an employee by using super class method calsalary (). ... View Questions/Answers

Latitude and Longitude of Turkmenistan  August 5, 2011 at 6:35 PM
Hi, What is the Latitude and Longitude on Turkmenistan? Thanks ... View Questions/Answers

Latitude and Longitude of Uruguay  August 5, 2011 at 6:34 PM
Hi, What is the Latitude and Longitude on Uruguay? Thanks ... View Questions/Answers

Latitude and Longitude of United Arab Emirates  August 5, 2011 at 6:32 PM
Hi, What is the Latitude and Longitude on United Arab Emirates? Thanks ... View Questions/Answers

How to Type in japanese in java Textfield?  August 5, 2011 at 6:07 PM
Hello Sir/madam; Am creating an application in java in which i want to get a japanese String input from user.User needs to type in japanese in the textField.but I dont know how to type in japanese i have installed imejp,and japanese fonts on my system i can write in japanese in notepad and ms wor... View Questions/Answers

Latitude and Longitude of Ukraine  August 5, 2011 at 4:20 PM
Hi, What is the Latitude and Longitude on Ukraine? Thanks ... View Questions/Answers

Latitude and Longitude of Uganda  August 5, 2011 at 4:17 PM
Hi, What is the Latitude and Longitude on Uganda? Thanks ... View Questions/Answers

Latitude and Longitude of Turks and Caicos Islands  August 5, 2011 at 4:13 PM
Hi, What is the Latitude and Longitude on Turks and Caicos Islands? Thanks ... View Questions/Answers

Latitude and Longitude of Tuvalu  August 5, 2011 at 4:10 PM
Hi, What is the Latitude and Longitude on Tuvalu? Thanks ... View Questions/Answers

Latitude and Longitude of Turkey  August 5, 2011 at 4:02 PM
Hi, What is the Latitude and Longitude on Turkey? Thanks ... View Questions/Answers

Latitude and Longitude of Tunisia  August 5, 2011 at 4:00 PM
Hi, What is the Latitude and Longitude on Tunisia? Thanks ... View Questions/Answers

How to print a webpage without url and date in jsp ?  August 5, 2011 at 3:52 PM
How to print a webpage without url and date in jsp ? ... View Questions/Answers

programs in java  August 5, 2011 at 3:44 PM
. I need an application for managing an educational institute. That application should provide the details of Students Courses Faculty Fee details etc.., pl z guide me how to write these programe ... View Questions/Answers

Closing any kind of browser window without confirmation using javascript  August 5, 2011 at 3:31 PM
Here is my requirement, I have to close a browser window on onload event. I have tried with window.close() and self.close(). But it doesn't work. Please help me in resolving this problem. It should support any kind of browser and any version. Presently am using IE8. Thanks, Suresh... View Questions/Answers

plz send code for this  August 5, 2011 at 3:22 PM
Program to calculate the sum of two big numbers (the numbers can contain more than 1000 digits). Don't use any library classes or methods (BigInteger etc...). ... View Questions/Answers

online shopping  August 5, 2011 at 1:56 PM
hi, i am doing online shopping project i want to do online payment. How it can be possible ... View Questions/Answers

Plz give me code for this question  August 5, 2011 at 11:30 AM
Program to find depth of the file in a directory and list all files those are having more number of parent directories. ... View Questions/Answers

question  August 5, 2011 at 11:01 AM
Good Morning Sir, Please give me Java source code for Peer-to-Peer Streaming ... View Questions/Answers

please answer me  August 5, 2011 at 10:58 AM
iam using html in select tag.in this one option i selected and that option data will be display in table.And use servlet with html and how to retrieve the data from data base. ... View Questions/Answers

please provide the code  August 5, 2011 at 10:38 AM
Develop a multi-client chat application. ... View Questions/Answers

Please provide the code  August 5, 2011 at 10:37 AM
Create a file system: We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only. ... View Questions/Answers

Please provide the code  August 5, 2011 at 10:36 AM
Write a program to recursively download the web pages available in the given site URL. ... View Questions/Answers

Provide the code please  August 5, 2011 at 10:35 AM
Program to calculate the sum of two big numbers (the numbers can contain more than 1000 digits). Don't use any library classes or methods (BigInteger etc...). ... View Questions/Answers

Please provide the code  August 5, 2011 at 10:35 AM
Program to find depth of the file in a directory and list all files those are having more number of parent directories. ... View Questions/Answers

Please provide the java code for the given program.  August 5, 2011 at 10:33 AM
We need an application for managing an educational institute. That application should provide the details of Students Courses Faculty Fee details etc.., ... View Questions/Answers

java  August 5, 2011 at 9:40 AM
swap the 5 no. for using for loop ... View Questions/Answers

java  August 5, 2011 at 9:39 AM
swaping program with using for loop ... View Questions/Answers

How to pass an arraylist from servlet to jsp?  August 5, 2011 at 9:04 AM
Hello, Can anyone please tell me how to pass an arraylist from servlet to jsp? I have two arraylist one of type String and the other int. How to send both the arraylists from servlet to jsp? Thanks in advance! ... View Questions/Answers

jdbc connectivity  August 5, 2011 at 6:48 AM
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.*; public class NewJFramefin extends javax.swing.JFrame implements ActionListener { public NewJFramefin() { initComponents(); add(jl1); add(jf1); jb1.setAction... View Questions/Answers

pass a variable(friends name) through a hyperlink in to another jsp.  August 4, 2011 at 11:46 PM
hi friends, i am developing a site in jsp. i have some problem,plz tell me the solution. problem: in the welcome page where friends name is show i write this code: while(resultset.next()) { %> <a href="home2.jsp?value=friend_name1"> ... View Questions/Answers

pass a variable(friends name) through a hyperlink in to another jsp.  August 4, 2011 at 11:15 PM
hi friends, i am developing a site in jsp. i have some problem,plz tell me the solution. problem: in the welcome page where friends name is show i write this code: while(resultset.next()) { %> <a href="home2.jsp?value=friend_name1">... View Questions/Answers

institute javaprogram  August 4, 2011 at 9:59 PM
We need an application for managing an educational institute. That application should provide the details of Students Courses Faculty Fee details etc.., Program to find depth of the file in a directory and list all files those are having more number of parent directories. ... View Questions/Answers

How to Create Button With TableView in iphone  August 4, 2011 at 7:58 PM
My requirement is i am creating one button. when i press the button TableView will display and then next i am selecting one cell i want to display the selected cell name on the button can u please send me the code i want to create converter app. thanks. ... View Questions/Answers

I have posted a number of question but no one has answered?  August 4, 2011 at 7:49 PM
No one has responded for ten days now. However my first question was answered on the same day. Is there a limit to the number of questions you can ask or am I doing something wrong or just asking diffilcult questions?. ... View Questions/Answers

How can i search and insert within a query  August 4, 2011 at 7:39 PM
if it is possible that for eg: Retrieve seat numbers sql tables bases of some conditions eg batch semester and degree if i search batch 2008 , semester first and degree bscs then search seat numbers then enter these marks mid term, terminal and lab marks then insert these data (batch, semester, d... View Questions/Answers

Program  August 4, 2011 at 6:55 PM
a program to prove that default constructor of super class is available to subclass by default. Define a parameterize constructor for super class to store name = ‚??Tommy‚?? age=‚??23‚?? and call this constructor in subclass. ... View Questions/Answers

Program  August 4, 2011 at 6:53 PM
Create two strings s1=‚??Java‚?? and s2=‚??Programming‚?? using string Buffer class and perform the following operations. i) Append s1 and s2. ii) Reverse string s1. iii) Find length of string s1 and s2. iv) Replace string s1 to ‚??Simple‚??. v) Extract 0th to 6th character from string s2 into s3... View Questions/Answers

Progrm  August 4, 2011 at 6:52 PM
Write a JAVA program to add or subtract days in current date and time values using JAVA calendar class. ... View Questions/Answers

Quries  August 4, 2011 at 6:50 PM
Java Program To accept different types of inputs in aline at atime from the keyboard (like name,age,salary,gender) just like one can do using scanf() in c(using StringTokenizer) ... View Questions/Answers

how can retrieve more than one values in text field using ajax?  August 4, 2011 at 6:18 PM
im using php and ajax. Problem is that i want to search seat numbers bases of batch and semester condition on onchange event eg. if i search batch 2008 and semester first then in mysql db retrieve seat numbers 1,2,3,4 in text boxes problem in while loop why if write this so it is unsuccessful... View Questions/Answers

Latitude and Longitude of Trinidad and Tobago  August 4, 2011 at 6:12 PM
Hi, What is the Latitude and Longitude on Trinidad and Tobago? Thanks ... View Questions/Answers

Collections Framework  August 4, 2011 at 5:09 PM
Sir, We know that both HashMap & Hashtable is using for same purposes i.e Used for storing keys-values pair. But there is some difference between this two class that are 1)Hashtable is synchronized but HashMap not. 2)Hashtable doesn't contain null but HashMap can. My question is why Hashtable... View Questions/Answers

DMCA.com