Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Validate ID Number  July 6, 2012 at 2:56 PM
How to validate South African ID Number using java.. I can do it using c# but, when it comes to java i;m clueless please help me ... View Questions/Answers

Forget Password  July 6, 2012 at 1:27 PM
How i get my forget password through mail? ... View Questions/Answers

query string  July 6, 2012 at 1:22 PM
Need some examples of query strings.send me as soon as possible. Regards, R.Santhosh ... View Questions/Answers

Advertisement

JNDI names in netbeans  July 6, 2012 at 12:57 PM
how to create a JNDI names in netbeans ... View Questions/Answers

Character class  July 6, 2012 at 12:57 PM
Character defines the forDigit();,digit()methods..how can these b used and wht does radix point signify here.i want to knw what basically radix is??here in the arguments of these two???because i tried runnin these methods having various +ve values of radix arg but the o/p is always commin out to ... View Questions/Answers

Replacing a template with actual values  July 6, 2012 at 10:32 AM
I have a template Hello $$personename$$, You are eligible for this $$planname$$ from today onwards. CONDITIONAL_TEXT_1 Regards,$$managerName$$ I wanna repalce this place holders with acutal value. The acutal values are in the map with key as the place holder a... View Questions/Answers

java  July 6, 2012 at 10:19 AM
how to edit text document by using java then how to edit starting and ending of text document by using java ... View Questions/Answers

how to check the radio button automatically depending up on the value of database when editing the form...  July 6, 2012 at 9:53 AM
hi...in my application i am editing the form and in that form the data in the database should come but icant be able to highlight the radio button from the database.......nd even list box also can any one please send me the code........??? ... View Questions/Answers

series  July 6, 2012 at 9:29 AM
s=1/a+2/a^2+2/a^3+3/a^3+.........n ... View Questions/Answers

pattern  July 6, 2012 at 9:26 AM
1 3 1 5 3 1 7 5 3 1 9 7 5 3 ... View Questions/Answers

jsp coding please.  July 6, 2012 at 7:42 AM
hi sir, my name is logeswaran. I have a problem in jsp, that i need to get value like a person name from database into drop down list. please show me how to do it? thank you. By the way, I'm using access database and coding JSP. ... View Questions/Answers

Runtime Class  July 6, 2012 at 12:42 AM
How can we halt d execution withd help of exit(arg) method?? ...pls tag a code ... View Questions/Answers

Runtime  July 6, 2012 at 12:39 AM
whts d use of traceInstrutions(traceon) and traceMethodCalls(traceon); tag a code too... ... View Questions/Answers

Character Class  July 6, 2012 at 12:36 AM
Character defines the forDigit();,digit()methods..how can these b used and wht is radix point signifies here...in the arguments of these two???..pls answer a code on this with radix .. are these methods also defined or overloaded without radix?? ... View Questions/Answers

Process Class  July 6, 2012 at 12:28 AM
What is Process class?? How can destroy();, exitValue();, getErrorStream(); getInputStream(); waitFor(); methods be used.....??please write a code which discribes these methods....!! ... View Questions/Answers

login and student details registration application in JSF using hashmaps or arraylists to store the details of registered students without database.  July 5, 2012 at 11:47 PM
How to use" hashmaps or arraylists" in JSF in a simple "login and student details registration application" to store and display the details of registered students using objects without database?Is there any other conept to store the data other than hashmaps or arraylist ?Provide with an example<... View Questions/Answers

login and student details registration application in JSF using hashmaps or arraylists to store the details of registered students without database.  July 5, 2012 at 11:41 PM
How to use" hashmaps or arraylists" in JSF in a simple "login and student details registration application" to store and display the details of registered students using objects without database?Is there any other conept to store the data other than hashmaps or arraylist ?Provide with an example.... View Questions/Answers

Write a program to display grade message according to the marks  July 5, 2012 at 11:25 PM
pls give d answer how to Write a program to display grade message according to the marks... View Questions/Answers

Fetch the data using jsp standard action  July 5, 2012 at 10:39 PM
I want the code of fetch the data from the database & show in a jsp page using jsp:usebean in MVC model 2 architecture. Suppose after login a user can view his/her details which he entered at the time of registration. ... View Questions/Answers

copying data from one table to another  July 5, 2012 at 10:22 PM
i need to copy data from one table to another table.. i.e the 1st eid of employee table must be copied to the 1st eid in appusers table, 2nd eid of employee to the 2nd eid of appusers and so on... i need these querys to use in my JSP code... ...................... ... View Questions/Answers

how to custom location of a object after dragging to the drop target  July 5, 2012 at 9:06 PM
how to change the position of a button when after it drags on the drop target? ... View Questions/Answers

generate ID  July 5, 2012 at 6:52 PM
Statement st1=con.createStatement(); String sql="insert into employee values(emp_seq.nextval,'"+ename+"','"+eadd+"','"+ephone+"','"+email+"','"+department+"',"+Integer.parseInt(ebpay)+",20,0)"; st1.executeUpdate(sql); -- hello sir, This is the code i have in which i enter... View Questions/Answers

unicode conversion to its actual text format  July 5, 2012 at 6:28 PM
hi, i am saving the hindi text into the database. It is saving in db as "हिन्डि". But while fetching i am not able to fetch the same hindi text instead it is fetching the above mentioned uniciode characters ... View Questions/Answers

java material  July 5, 2012 at 5:47 PM
Please provide option for full materials download ... i dont have internet connection in my home. plz provide offline tutorial option.. ... View Questions/Answers

Program  July 5, 2012 at 5:29 PM
hey please help me ... How can write multiple choice question paper using radio button.After submit calculate marks and display our marks... can any body help for me.using servlet,html ... View Questions/Answers

Disabling Login Functionality  July 5, 2012 at 12:22 PM
I have a textarea box, on clicking which the login box appears. When the user enters his login credentials successfully,the page gets refreshed. But on clicking the textarea box again(when the user is already in session), the login box appears again. How to disable this onclick fu... View Questions/Answers

Uploading a Profile with image[file] into a sql database  July 5, 2012 at 12:29 AM
I need to upload a file along with the some text into a database ......[ Similar to http://www.roseindia.net/jsp/jspfileupload/employeeuploadprofile_image.shtml , but upload file to database ] ... Pls help ... View Questions/Answers

Wrapper Character class.  July 5, 2012 at 12:15 AM
How do the methods 'isIndentifierIgnorable(ch)' and 'isISOControl(ch)' work?? while workin with 'Character' wrapper class..please tag a code too... ... View Questions/Answers

Character Wrapper Class.  July 5, 2012 at 12:02 AM
what are Mirrored Unicode Characters?? and whats the use of "isMirrored(ch);method ??.where ch is any character argument..!! ... View Questions/Answers

Character Directions in java  July 4, 2012 at 11:55 PM
java 2,version 1.4 adds a method "getDirectionality();" , what is the use of this method ? ... View Questions/Answers

java  July 4, 2012 at 9:30 PM
class CardBoard { Short story = 200; CardBoard go(CardBoard cb) { cb = null; return cb; } public static void main(String[] args) { CardBoard c1 = new CardBoard(); CardBoard c2 = new CardBoard(); CardBoard c3 = c1.go(c2); c1 = null; what is the memory allocation of the program ? ... View Questions/Answers

How to check for Empty textboxed and fill it with a value on a button click  July 4, 2012 at 8:23 PM
Hi , i am making a project where there will be a text box with a Button beside it . when i enter a text in that box and click the button it should go of from the first text box and should be added to the target text box and sit should check if it is empty and should get added to the second tar... View Questions/Answers

update database using two queries at a time  July 4, 2012 at 7:44 PM
String sql="insert into employee values(emp_seq.nextval,\'"+ename+"\',\'"+eadd+"\',\'"+ephone+"\',\'"+email+"\',\'"+department+"\',"+Integer.parseInt(ebpay)+",20,0)"; stm.executeUpdate(sql); String sql1="insert into appusers values(emp_seq.nextval,\'"+ename+"\')"; ... View Questions/Answers

throws example program java  July 4, 2012 at 7:19 PM
how to use throws exception in java? ... View Questions/Answers

java string comparison example  July 4, 2012 at 7:16 PM
how to use equals method in String Comparison? ... View Questions/Answers

Java Queue Example  July 4, 2012 at 7:09 PM
how to use queue in java ? ... View Questions/Answers

compare two strings in java  July 4, 2012 at 7:03 PM
How to compare two strings in java? ... View Questions/Answers

retrieve data from database with hyperlink  July 4, 2012 at 6:42 PM
sir....i have one table called 'name' having two values i have to retrieve those data with a hyperlink and show in browser and if we click hyperlink its shows his sub categories....how can i do it..help me sir its urgent.......????? for example-in table 'name' i have values C C++ i have to retrie... View Questions/Answers

what is the procedure to learn in online course in roseindia  July 4, 2012 at 4:53 PM
hi dear sir can you send me the fee structure and how to pay ... View Questions/Answers

learn jquery  July 4, 2012 at 4:01 PM
is it possible to learn myself jquery,ajax and json ... View Questions/Answers

learn jquery  July 4, 2012 at 4:01 PM
is it possible to learn myself jquery,ajax and json ... View Questions/Answers

i want to learn Jquery  July 4, 2012 at 3:59 PM
i want to learn jquery can u plz guide me ... View Questions/Answers

Hibernate 4.0-nested transaction not suported  July 4, 2012 at 3:53 PM
how i do nested transaction using Hibernate 4, i know hibernate 4 does not support nested transaction. Is there any way to do nested transaction like inserting more than one record in a single transaction or creating transaction for each record insert. Can u please explain with a simple example.<... View Questions/Answers

php include  July 4, 2012 at 3:17 PM
i'm trying to include a header on my page but it doesn't display anything here's my code ... View Questions/Answers

jsp and servlet  July 4, 2012 at 1:42 PM
hello friends just want to create a jsp page for registeration form and it must contain weather the name must contain atleast 10 characters and it shud not be empty and it shud contain atleast 1 no etc and if we login from login page and if we submit it shud be validated in a servlet using jdbc ... View Questions/Answers

How to browse and upload the file in same page using jsp.  July 4, 2012 at 1:29 PM
Hi Sir, I am doing a project in jsp servlets and i want to browse and upload the file in cell if a table in same page, post answer as soon as possible.thanks in advance. Regards, Santhosh ... View Questions/Answers

Quality Assurance Management  July 4, 2012 at 1:14 PM
Deming, Juran and Crosby all believe in striving toward world class quality. Each gentleman has his own approach to reach such goal. Discuss one area where Deming, Juran and Crosby all agree. This point must be backed up by specific aspects from each quality improvement plans. ... View Questions/Answers

How to browse and upload the file in same page using jsp.  July 4, 2012 at 12:32 PM
Hi, I am doing a project and i want to browse and upload the file in same page inside grid view of table,post the answer as soon as possible, thanks in advance. Regards, Santhosh. ... View Questions/Answers

I need to launch multiple browsers installed on another windows M/C from my windows M/C over the network.  July 4, 2012 at 11:26 AM
Please share the java code for the same as soon as possible. ... View Questions/Answers

I need to launch multiple instances of IE browser from one windows M/C on the another windows M/C  July 4, 2012 at 11:23 AM
multiple instances of IE browser from one windows M/C on the another windows M/C ... View Questions/Answers

Drag a Text Box into dynamic positions  July 4, 2012 at 11:17 AM
Plz can anyone tell how can i drag a text box using mouse or arrow keys... Im doing a accounts projects and i need this feature for cheque configuration ... ... View Questions/Answers

jumping frame jFrame to jInternalframe  July 4, 2012 at 9:59 AM
Afternoon sir, I want to ask something code like jumping frame. example this i have form Login , Menu and sub menu(employee). in Form Login(jFrame) have username(textfield1) and password(passwordfield1), in Menu(jframe) have Menu employee(jMenu),creaby(jlabel1) , and... View Questions/Answers

counting the values in input file and and writing the output to a file  July 4, 2012 at 8:43 AM
Can any one please correct this code. This is to read a file and later it should write the output to a file. Input file has 20 rows and 4 columns. If we have 1 in the 1st column of the input file then it should count all 1's and write those 1s counted value to a file. Code: import... View Questions/Answers

img tag of HTML  July 4, 2012 at 7:39 AM
How to pass a variable as a source(src) in img tag? I'm using <% %> to call variables of servlet on a JSP page. And want to pass one of the variables called as a src for img tag. How can This be done. Please reply at the earliest. ... View Questions/Answers

NOT ABLE TO MAKE A NEW FILE IN SERVLET  July 3, 2012 at 11:36 PM
What is the error in my code? It is not making a new file which contains the string values coming from a HTML page. Any help appreciated. Code is-: package myprogram; import javax.servlet.http.*; import java.io.*; import javax.servlet.*; i... View Questions/Answers

memory allocation  July 3, 2012 at 11:28 PM
class Bird { { System.out.print("b1 "); } public Bird() { System.out.print("b2 "); } } class Raptor extends Bird { static { System.out.print("r1 "); } public Raptor() { System.out.print("r2 "); } { System.out.print("r3 "); } static { System.out.print("r4 ");... View Questions/Answers

How to Synchronize the Entire collection Frame Work?  July 3, 2012 at 11:22 PM
How to Synchronize the Entire collection Frame Work? ... View Questions/Answers

how to display duplicate elements with out using collection Frame work?  July 3, 2012 at 11:15 PM
how to display duplicate elements with out using collection Frame work? ... View Questions/Answers

Synchronize behavior is having any method in java?  July 3, 2012 at 11:05 PM
Synchronize behavior is having any method in java? ... View Questions/Answers

getting null value in action from ajax call  July 3, 2012 at 10:32 PM
Getting null value from ajax call in action (FirstList.java)... first list is loading correctly. Need help, i am new to struts2 and hibernate. StudentRegistration.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="IS... View Questions/Answers

getting null value in action from ajax call  July 3, 2012 at 10:32 PM
Getting null value from ajax call in action (FirstList.java)... first list is loading correctly. Need help, i am new to struts2 and hibernate. StudentRegistration.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="IS... View Questions/Answers

getting null value in action from ajax call  July 3, 2012 at 10:32 PM
Getting null value from ajax call in action (FirstList.java)... first list is loading correctly. Need help, i am new to struts2 and hibernate. StudentRegistration.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="IS... View Questions/Answers

problem in array if condtion  July 3, 2012 at 6:29 PM
sir i have prblem in js...i have array drop down list i.e like when i select country it will give the list of states of that country in second drop list and same as if i select state it will give city list of particular state....now i add a go button to it...when ever i press on it it should open... View Questions/Answers

Memory Allocation  July 3, 2012 at 5:18 PM
What Is The Order Of Execution Of Statement 1) Statement Enclosed in {}. 2) Static 3) Public Static Void Main() ... View Questions/Answers

Pie chart on jsp  July 3, 2012 at 3:28 PM
how can i create a pie chart on a jsp page using jfreechart which takes values from my databaase?? ... View Questions/Answers

Image retrieval in Servlet and JSP  July 3, 2012 at 12:13 PM
Sir, How should i give dynamic paths to image in JSP. EX : `<img src="C:\Users\Public\Pictures\Sample Pictures\-------.jpg" alt="" name="image5" width="980" height="320" id="" /> The user logs in with the given id. I want to retrieve t... View Questions/Answers

use of annotation.  July 3, 2012 at 10:50 AM
for concurrency which annotation can be used??? ... View Questions/Answers

database  July 3, 2012 at 10:30 AM
how to get information about database like, what are the names of tables that database includes ? what are the names of fields in corresponding tables ? in mysql database on linux environment ... View Questions/Answers

I'm getting an illgal start of expression error in my code for the public static boolean portion at the bottom... any ideas?  July 3, 2012 at 7:25 AM
heres my code import java.util.Scanner; import java.util.Random; public class numberGame { public static void main (String[] args) { Random rand = new Random (); Scanner keyboard = new Scanner(System.in); //User input int ... View Questions/Answers

JAVA Compile Question ?  July 3, 2012 at 3:18 AM
I'm unable to compile this file and not sure why? Can someone please help? import java.nio.file.*; import java.nio.file.attribute.*; import java.nio.file.attribute.Attributes; import java.io.IOException; public class FileStatistics2 { public stati... View Questions/Answers

JAVA Objectives Question?  July 3, 2012 at 3:15 AM
Write an application using the FileInputStream that opens a file that contains the name of the user's favorite book and then displays it to the user. If the file does not exist, prompt the user for the book's title and then write it to the file by using a FileOutputStream. Save the file as Displa... View Questions/Answers

Java Question Anyone need some HELP !!  July 3, 2012 at 2:26 AM
Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file as Quote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file as Quote.doc. Write an application that displays the sizes of the two files, as... View Questions/Answers

need to generate ID  July 3, 2012 at 1:03 AM
hai, i need to generate ID i.e when i select addemploye option and submit, it should generate a emp ID which is 1 greater than the previous highest ID value stored in database. eg: if the higest value of empID stored in database is 4, the next time after i select add employ option it should gen... View Questions/Answers

need to generate ID  July 3, 2012 at 1:03 AM
hai, i need to generate ID i.e when i select addemploye option and submit, it should generate a emp ID which is 1 greater than the previous highest ID value stored in database. eg: if the higest value of empID stored in database is 4, the next time after i select add employ option it should gen... View Questions/Answers

Write a program to design a page.use radio button?  July 2, 2012 at 10:36 PM
i would lik to know about well designed page ... View Questions/Answers

video uploading using jsp  July 2, 2012 at 9:24 PM
this is the code i hv written for uploading..but the value in dropdown list is not captured..can any 1 tell the reason html file <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ... View Questions/Answers

explain servletconfig with programiing example?  July 2, 2012 at 9:05 PM
explain servletconfig with programiing example? ... View Questions/Answers

Barcode generation  July 2, 2012 at 7:55 PM
hi, I am working on a project where there is a alias no. with symbology EAN-13 for generation of barcode... now i have to write the logic for one item no if their are two or more quantities it should genetrate the same alias no. for them. for eg:- if AB45 is the item no. and quan... View Questions/Answers

cookie and session dependency  July 2, 2012 at 12:37 PM
Hi, I am currently working on a project in travel domain. Throughout the application, we have not used cookie for session tracking but the case when browser cookie is disabled, session value differs at two different points and the application crashes. However, if the browser cookie is enabled, th... View Questions/Answers

pattern program  July 2, 2012 at 10:16 AM
13579 1357 135 13 1 pattern program in java ... View Questions/Answers

Please help me  July 2, 2012 at 9:00 AM
program for when a user enter his card number, it has to create default security pin in the database? ... View Questions/Answers

help me  July 1, 2012 at 10:34 PM
Hi I'm loges. I'm doing my final year project now, I have some problem in my project and i need some help on it. NowI'm doing a site that allow staff to key in student information such as name,age,gender,nationality,and course taking. I have problem on how to insert the value of gender and nation... View Questions/Answers

JAVA  July 1, 2012 at 9:54 PM
What does the error means when my error is class ListCharacters is public, should be declared in a file named ListCharacters.java public class ListCharacters ^**strong text** My code is : public cl... View Questions/Answers

JAVA  July 1, 2012 at 9:04 PM
print the following: * *** ***** *** * ... View Questions/Answers

Edit Distance  July 1, 2012 at 8:50 PM
I want java programming ask from user input two string and the program find the edit distance between two strings and find table and optimal solution using GUI ... View Questions/Answers

Sql aggregate function with left join wrong output  July 1, 2012 at 8:28 PM
I have three tables Stock,InwardEntry,IssueToProd. Part_no in stock is a primary key and partno in inwardEntry and IssueToProd is foreign key of stock table's column partno I ma getting wrong sum values of i.InvoiceQuantity,p.IssueQuantity column(display 600 instead of 200)... View Questions/Answers

Sql aggregate function with left join wrong output  July 1, 2012 at 8:28 PM
I have three tables Stock,InwardEntry,IssueToProd. Part_no in stock is a primary key and partno in inwardEntry and IssueToProd is foreign key of stock table's column partno I ma getting wrong sum values of i.InvoiceQuantity,p.IssueQuantity column(display 600 instead of 200)... View Questions/Answers

Sql aggregate function with left join wrong output  July 1, 2012 at 8:28 PM
I have three tables Stock,InwardEntry,IssueToProd. Part_no in stock is a primary key and partno in inwardEntry and IssueToProd is foreign key of stock table's column partno I ma getting wrong sum values of i.InvoiceQuantity,p.IssueQuantity column(display 600 instead of 200)... View Questions/Answers

insert data using drop down box in java into database postgresql  July 1, 2012 at 8:18 PM
can you help me out !!.......i wanna to know the appropriate java syntax to insert data into database using an drop down box .....as i m using eclipse as jdbc and postgresql as data base syntax which i m using is like:- java class ... View Questions/Answers

insert data using drop down box in java into database postgresql  July 1, 2012 at 8:17 PM
can you help me out !!.......i wanna to know the appropriate java syntax to insert data into database using an drop down box .....as i m using eclipse as jdbc and postgresql as data base syntax which i m using is like:- java class ... View Questions/Answers

insert data using drop down box in java into database postgresql  July 1, 2012 at 8:17 PM
can you help me out !!.......i wanna to know the appropriate java syntax to insert data into database using an drop down box .....as i m using eclipse as jdbc and postgresql as data base syntax which i m using is like:- java class ... View Questions/Answers

insert data using drop down box in java into database postgresql  July 1, 2012 at 8:17 PM
can you help me out !!.......i wanna to know the appropriate java syntax to insert data into database using an drop down box .....as i m using eclipse as jdbc and postgresql as data base syntax which i m using is like:- java class ... View Questions/Answers

static methods  July 1, 2012 at 5:40 PM
why static methods cannot read or write the instance variables? ... View Questions/Answers

Mr. Sonam  July 1, 2012 at 12:14 PM
Why does each primitive type give different range of number? ... View Questions/Answers

SQLite3  July 1, 2012 at 11:18 AM
sir, i am using linux . how to get information about database like what are the names of tables included in this database ? and what is name of fields in these tables ? type of database is SQLite3 ... View Questions/Answers

Write a program that makes use of a class called Employee that will calculate an employee's weekly paycheque.  July 1, 2012 at 5:07 AM
Write a program that makes use of a class called Employee that will calculate an employee's weekly paycheque. Design your class based on the UML diagram to the right as well as the following notes: A static field, empCount, keeps track of the number of ins... View Questions/Answers

c++  June 30, 2012 at 11:59 PM
Write a console based C++ program that reads student information from a text file, build an array of objects of type class StudentInfo, and provide the following set of operations: 1) Display all student Info 2) Display all Student First Name & GPA 3) Display a specifi... View Questions/Answers

Retrieve all the students in the same year(Java ArrayList)?  June 30, 2012 at 10:07 PM
FoundStudents.jsp year- parameter I receive from a form search- is an object of type Student, with ID, name, year <% Student search = null; ArrayList<Student>found_list = new ArrayList<Student>(); if((request.getParameter("year") != null)||(request.g... View Questions/Answers

Web development  June 30, 2012 at 8:38 PM
Please help me formulate code for the following I have three textboxes.The first two textboxes has to carryout Addition or subtraction of two numbers entered and show the result in the third box as soon we take d cursor out of the textbox in both text boxes. If the user enters +1200 in fi... View Questions/Answers

How to get month name from date(like-25/06/2012) using java?  June 30, 2012 at 1:31 PM
How to get month name from date(like-25/06/2012) using java?... View Questions/Answers

DMCA.com