Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

mouse over effects in css  April 5, 2011 at 11:23 AM
I have written a mouse over effect in CSS. But it is not working in HTML. Can any one suggest me? Thanks!! ... View Questions/Answers

password change  April 5, 2011 at 10:43 AM
Hi , I am using jsf and trying to write a code to change the password of a user . Ihave to retrine userid fromdata base how to do that using session ... View Questions/Answers

How to Create Car Rental Application in Java ?  April 5, 2011 at 10:17 AM
Hi, How to Create a Car Renal Application using Java to Check the Car renting, booking and availability of vehicles. Please suggest me any Online reference or example for creating the car rental apps in Java. ... View Questions/Answers

Ads

What is OOPs in PHP ?  April 5, 2011 at 10:09 AM
Hi, I am a beginner in PHP Programming Application. I have some doubt on What is OOPs in PHP programming. How the OOPs concept helps us in PHP Programming. Please provide me any online reference so that i will clear all of my doubts... Thanks, ... View Questions/Answers

How to Create Instance using PHP  April 5, 2011 at 10:02 AM
Hi, How to create an instance class in PHP program. Can someone explain or suggest any online reference how to create an Instance class in PHP. Thanks, ... View Questions/Answers

How to Declare Abstract Class in PHP ?  April 5, 2011 at 9:57 AM
hi, I am a PHP Beginners. As i am trying to make an application where i trying to declare the abstract class of PHP. Please any one explain me how to declare abstract class in PHP program with example. Please feel free to suggestion............. Thanks, ... View Questions/Answers

forgot password?  April 5, 2011 at 9:50 AM
forgot password? ... View Questions/Answers

how can i create a discussion forum?  April 5, 2011 at 9:49 AM
how can i create a discussion forum for my e- mentoring site for women which can be used by a registered user only. i am using jsp and servlets and i am working with netbeans 6.8. ... View Questions/Answers

3D JButton in java?  April 5, 2011 at 9:24 AM
how we can create 3D button in java. thanks. ... View Questions/Answers

How to search the selected item in row table using radia button in JSP?  April 5, 2011 at 9:12 AM
How to search the selected item in row table using radia button in JSP? ... View Questions/Answers

Web-based system development  April 5, 2011 at 8:39 AM
I have a system written in java application.my lecturer asks me to do in web-base. what should i do?what should i have and what should i know? i have read that the best architecture is 3-tier architecture.and its must have client and server side.i know HTML and i can use it to build a gui.For ser... View Questions/Answers

".txt" to sql with JDBC  April 5, 2011 at 8:14 AM
how to insert ".txt" into sql result[BLOB] with JDBC? ... View Questions/Answers

Java question  April 5, 2011 at 2:01 AM
Craps is a gambling game based on repeatedly rolling 2 dice. You win or lose depending on the sum of the 2 dice and the occurrence of a desired sum before an undesired sum. There is no skill involved. The outcome is entirely based on the outcome of the sequence of rolls. For this pro... View Questions/Answers

TextFields  April 5, 2011 at 1:04 AM
How To create A details Of Student Using applet? ... View Questions/Answers

javax.speech and javax.speech.synthesis  April 5, 2011 at 12:58 AM
what is the use of javax.speech and javax.speech.synthesis? In which application it is used? why we use it? ... View Questions/Answers

method question  April 4, 2011 at 11:45 PM
How do I figure out the difference in a method heading, a method body, and a method definition? ... View Questions/Answers

How to get full path of the uploaded file using commons fileupload jar file  April 4, 2011 at 10:19 PM
I want to upload file to database with its full path. Because of the security reasons, the browsers provide only the file name when using normal file type.I am in need to get the full path. Can anyone help me to get the full path by using commons fileupload jar file or using other options? Its ur... View Questions/Answers

final keyword  April 4, 2011 at 10:11 PM
why is final keyword used in java? ... View Questions/Answers

refrential integrity  April 4, 2011 at 8:59 PM
what is referntial integrity? ... View Questions/Answers

rexexp pattern to avoid certain words and replace space with underscore  April 4, 2011 at 7:42 PM
I have a text string like "On River Thames in eastern London" and i want to replace space between two capital words with underscore so that "River Thames" becomes as "River_Thames" for this i am using the following pattern: Pattern p = Pattern.compile("\p{Lu}\p{L}+(\s+\p{Lu}\p{L}+)+"); Th... View Questions/Answers

view  April 4, 2011 at 7:04 PM
what is the use view in database ... View Questions/Answers

auto  April 4, 2011 at 6:39 PM
write a java code design an auto with as many feature as possible ... View Questions/Answers

landline phone  April 4, 2011 at 6:37 PM
write a java code to design a landline phone with as many feature as possible ... View Questions/Answers

landline phone  April 4, 2011 at 6:37 PM
write a java code to design a landline phone with as many feature as possible ... View Questions/Answers

smartphone  April 4, 2011 at 6:34 PM
write a java code to design a smart (android) phone with interfaces as camera,speaker,powersupply etc. ... View Questions/Answers

multi dimension  April 4, 2011 at 6:28 PM
class TwoDAgain{ public static void main(String args[]){ int twoD[][]=new int[4][]; twoD[0]= new int[1]; twoD[1]= new int[2]; twoD[2]= new int[3]; twoD[3]= new int[4]; int i, j, k = 0; for (i=0; i<4; i++) for (j=0; j... View Questions/Answers

arraylistexample  April 4, 2011 at 6:28 PM
write a java code to store n(say 10) book details like-title,price,bookid,author,publsher in a arraylist. also write the code to display the details of a particular bookname or bookid and there must be a mechanism for deleting a particular book details from the list and display the arraylist.... View Questions/Answers

regexp_replace in update and replace query in postgres  April 4, 2011 at 6:20 PM
update message set data = replace (data, 'wmost','westernmost'); April 4, 2011 at 5:04 PM thanks a lot i could do it with this, but the only problem is if i want to change "nmost" to "northernmost" this query also changes "southernmost" to "southernothernmost". if you notice then ... View Questions/Answers

threads  April 4, 2011 at 6:06 PM
what are threads? what is the use in progarmming ... View Questions/Answers

star  April 4, 2011 at 5:48 PM
<p>class inder{ public static void main(String args[]){ int i,j; for(i=1;i&lt;10;i++){ for(j=i;j&lt;10;j++) System.out.print("*"); System.out.println(); } } } </p> <p>this is a coding in we done star show in this condition <... View Questions/Answers

method overloading  April 4, 2011 at 12:33 PM
public void test(int a){} public void test(long a){} i will call some x.test(125) which method is called pls tell me? ... View Questions/Answers

Calling hibernate query list() method generates errors  April 4, 2011 at 12:31 PM
Hello, I'm trying to debug someone's codes. But I am not an expert of hibernate so I'm asking your help about this. I am trying to retrieve a list of jobs from the database, but there seems to be a problem. In the entity class: //JobEntity ... View Questions/Answers

Session  April 4, 2011 at 12:11 PM
how to session maintaining in servlet with use of hidden fieds?? ... View Questions/Answers

RMI and netbeans  April 4, 2011 at 12:11 PM
how to use Rmi in netbeans? i want to connect to a server machine which is holding my application and need to identify the systems connected in LAN with it and get the IP address from it i wnt to use netbeans for this purpose? ... View Questions/Answers

how to delete the access database value in jsp  April 4, 2011 at 12:04 PM
i loaded my database data into the dropdown list box...now i want to delete the value..plz send the source code to delete the value in dropdown list box and also from database... ... View Questions/Answers

how to delete the access database value in jsp  April 4, 2011 at 12:04 PM
i loaded my database data into the dropdown list box...now i want to delete the value..plz send the source code to delete the value in dropdown list box and also from database... ... View Questions/Answers

File Upload  April 4, 2011 at 7:15 AM
when i execute the image upload to mysql database it shows an exception that file path cannot be found ... View Questions/Answers

retrieving info from DB using struts?  April 4, 2011 at 4:31 AM
Hi. I was looking info about retrieving info from a database using struts. I need a .java that I suppose connects to a database and show the info on a jsp. Somebody could help me? ... View Questions/Answers

How can you add elements of two arrayLists in java?  April 4, 2011 at 4:14 AM
if you have an arrayList of tempArr = [hi, my, name, is, john] and another arrayList of tempArray2 = [a, b, c, d, e] and you want it to result in newArr = [hi a, my b, name c, is d, john e] how do you go about that? ... View Questions/Answers

MAin error  April 4, 2011 at 3:46 AM
Error while running hello program in another dir rather in bin. path is already set. java -version jdk1.6.0_24 no error while compilation but @ d tym of runnin error in main class is generated Exception in thread "main".java.lang.NoClassFoundDefLoader. : Hello caused by : java.lang.ClassNo... View Questions/Answers

query related to jdbc  April 4, 2011 at 1:38 AM
hello, i have done my database connection successfully ie db2 with RAD. but while running my application i am not able to fetch the data so please suggest and help me.. ... View Questions/Answers

Solve it  April 4, 2011 at 1:21 AM
How to calculate the value which contains oparator and operand both using command line argument ... View Questions/Answers

music player  April 3, 2011 at 11:34 PM
coding of music player in java ... View Questions/Answers

Insert image in database  April 3, 2011 at 11:33 PM
Want a jsp-struts program in which the imageFile is in the form of getter and setter and inserted in the database as a Blob using . and then download the image and show on next jsp pg. No use of scriplets and jsp expression. only struts tags. ... View Questions/Answers

hibernate  April 3, 2011 at 11:02 PM
How to know how many columns changed in a table when we are using hibernate? ... View Questions/Answers

main method  April 3, 2011 at 9:36 PM
Why is the java main method static ? ... View Questions/Answers

Menu Bar prob.  April 3, 2011 at 8:39 PM
I want a menu to be displayed in each page of my swing appl. how to go abt this?? ... View Questions/Answers

possible loss of precision error  April 3, 2011 at 8:28 PM
how do i fix this error " possible loss of precision found int required char ch = input.read()" this is the code import java.io.InputStreamReader; import java.io.IOException; class Test1 { public static void main(String[] args) { Input... View Questions/Answers

how to apply tool bar with textarea in jsp  April 3, 2011 at 7:17 PM
how to apply tool bar with textarea in jsp? ... View Questions/Answers

java  April 3, 2011 at 6:46 PM
how to execute servlet ... View Questions/Answers

java  April 3, 2011 at 6:46 PM
how to execute servlet ... View Questions/Answers

generating mock data class of times (start and end time and value)  April 3, 2011 at 6:28 PM
Using the timertask function want to generate a set of mock data of times using the random DATE class and values for plotting on a graph using java. How can i achieve this i have been using the timertask ??? Any ideas ? ... View Questions/Answers

j2me  April 3, 2011 at 4:40 PM
in j2me i want to know how to acess third form from the second form.... so need a program for example with more thaan three form.... ... View Questions/Answers

j2me  April 3, 2011 at 4:38 PM
in j2me i want to know how to acess third form from the second form.... so need a program for example with more thaan three form.... ... View Questions/Answers

survey poll using java  April 3, 2011 at 11:34 AM
how to make a survey poll using java? i am using netbeans and glassfish... ... View Questions/Answers

Login And Sign up  April 3, 2011 at 10:55 AM
how do you create a login and sign up that will automaticly add users and passwords after activation link from auto confirmation email is opened ... View Questions/Answers

java program  April 3, 2011 at 6:25 AM
Write a program that computes loan payments. The loan can be a car loan, a student loan, or a home mortgage loan. The program lets the user enter the interest rate, number of years, loan amount, and displays the monthly and total payments. (using GUI input) use (import javax.swing.JOptionPane)... View Questions/Answers

HTML  April 2, 2011 at 11:59 PM
Hi, What is the full form of HTML? Thanks ... View Questions/Answers

Local Maven Depenency  April 2, 2011 at 11:53 PM
Hi, What is local maven dependency? How to manage local maven dependency? Thanks ... View Questions/Answers

JTABLE OF JAVA  April 2, 2011 at 8:35 PM
i have a jtable in java,i have used checkbox in jtable. now i want to add(submit) only those records that i have checked by checkbox how? i want small example with coding ... View Questions/Answers

create bar chart in jsp using msaccess database  April 2, 2011 at 3:30 PM
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 8 in the jsp file... View Questions/Answers

create bar chart in jsp using msaccess database  April 2, 2011 at 3:21 PM
thanks for reply, that code i can use but i get the below error, pls help me message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: [Microsoft][ODBC ... View Questions/Answers

attach file in my web page  April 2, 2011 at 3:20 PM
hide button in input typ=file button in jsp ... View Questions/Answers

Batch file for java application  April 2, 2011 at 2:03 PM
please tell me how to create the batch file for java application(using swings).the application is created with netbeans ... View Questions/Answers

how to create bar chart in jsp using msaccess database  April 2, 2011 at 1:00 PM
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 10 in the jsp fil... View Questions/Answers

Migrating from mysql to MS Access  April 2, 2011 at 12:42 PM
Hi I am hoping for some help I need to write a conversion program (SQL statements) to import existing data in a MYSQL database to a MS Access database. any suggestions would be appreciated. thanks heaps ... View Questions/Answers

jsp coding  April 2, 2011 at 11:26 AM
what is the simple jsp code for bus ticket reservation system? ... View Questions/Answers

programming error  April 2, 2011 at 11:19 AM
I got an error when i did the following program the prg. is to "select the name from database when the age is given for the respective name" error i got is:SQL exception please give me the solution by providing the exact coding,as soon as possible. ... View Questions/Answers

OCI Connectivity For Oracle Plz Solve This Error  April 2, 2011 at 11:18 AM
import java.io.*; import java.sql.*; import java.lang.*; import oracle.jdbc.OracleDriver; public class OraThin { public static void main(String[] args) { try { Connection con; DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver... View Questions/Answers

OCI Connectivity For Oracle Plz Solve This Error  April 2, 2011 at 11:18 AM
import java.io.*; import java.sql.*; import java.lang.*; import oracle.jdbc.OracleDriver; public class OraThin { public static void main(String[] args) { try { Connection con; DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver... View Questions/Answers

asp.net  April 2, 2011 at 11:08 AM
i am generating excel file through data base, in excel cell text are displaying with green triangle on the corner, how to convert text to number through c sharp coding.. ... View Questions/Answers

suraj  April 2, 2011 at 8:48 AM
where is the server resources in netbeabs 6.9.1 ... View Questions/Answers

credit card validation  April 2, 2011 at 6:55 AM
Double every second digit from right to left. If doubling of a digit results in a two-digit number, add up the two digits to get a single-digit number. 2 * 2 = 4 2 * 2 = 4 4 * 2 = 8 1 * 2 = 2 6 * 2 = 12 (1 + 2 = 3) 5 * 2 = 10 (1 + 0 = 1) 8 * 2 = 16 (1 + 6 = 7) 4 * 2 = 8 Now add all ... View Questions/Answers

database  April 2, 2011 at 12:14 AM
use of hyperlink to show the data from database ... View Questions/Answers

Web page example  April 1, 2011 at 11:52 PM
Hi, How to make sample web page? Thanks ... View Questions/Answers

HTML codes  April 1, 2011 at 11:49 PM
Hi, I am trying to find HTML codes to learn HTML. Can any one html me? Thanks ... View Questions/Answers

HTML frameset example  April 1, 2011 at 11:47 PM
Hi, How to use html frameset for creating frames in HTML? Thanks ... View Questions/Answers

HTML form examples  April 1, 2011 at 11:45 PM
Hi, How to create a simple data entry form in HTML and use JavaScript to validate the same. Can anyone share html form examples code? Thanks ... View Questions/Answers

HTML CSS example  April 1, 2011 at 11:40 PM
Hi, Can anyone share the HTML CSS example code. I my HTML web page I have to embed the CSS style. Share some HTML CSS example with me. Thanks ... View Questions/Answers

HTML email example  April 1, 2011 at 11:36 PM
Hi, I am looking for an email to open email composer when user clicks on the email link. Give me code for html email example Thanks ... View Questions/Answers

HTML Frames Example  April 1, 2011 at 11:31 PM
Hi, Can anyone provide me HTML Frames Example code? I have to one a web page say http://www.roseindia.net in Frame? Thanks ... View Questions/Answers

Dynamic html examples  April 1, 2011 at 11:25 PM
Hi, What is Dynamic HTML? Explain with dynamic html examples. Thanks ... View Questions/Answers

WRITE A PROGRAM IN JAVA  April 1, 2011 at 8:49 PM
How do I write a program in Java, have the program display a message with your name in it and a number (Hello john Smith!1) The number must increment from zero to nine, or decrement fron nine to zero. You must use a "while" loop or a "for Loop". In other words you cannot simply type ten contiguou... View Questions/Answers

Jsp problem  April 1, 2011 at 8:19 PM
Hello friends.I want to share my jsp problem.I want to show all of my database(mysql) tables except two(user,manufacturer) in a jsp page.plssss help me?? ... View Questions/Answers

java question  April 1, 2011 at 7:45 PM
How to find the longest and shortest line from the file in case of java and java program should read the filename from the keyboard? ... View Questions/Answers

how to count no.of sheets in excel through POI jar as well as through Java?  April 1, 2011 at 7:39 PM
I have an excel file, it contains 'n' no.of sheets(the no.of sheets will be dynamic ) .I want to read all sheets one by one in java by using POI jar. I am able to read one sheet at a time by using POI jar(workbook.getSheetAt(0)). But I am not able to read multiple sheets one by one. Could you pl... View Questions/Answers

how to execuite java programs???  April 1, 2011 at 5:42 PM
I have jdk 1.6 installed in my pc.i want to execuite java programs in ms-dos for applet and without using applet.please tell me. ... View Questions/Answers

how to execuite java programs???  April 1, 2011 at 5:42 PM
I have jdk 1.6 installed in my pc.i want to execuite java programs in ms-dos for applet and without using applet.please tell me. ... View Questions/Answers

Many To Many annotation in ejb  April 1, 2011 at 5:32 PM
how to define primary key in the third & resulting table obtained from ManyToMany mapping.I tried the mapping but the resulting table is showing only foreign key with the two fields which are the primary keys of the participating table.plz help ... View Questions/Answers

display results on same jsp page  April 1, 2011 at 5:10 PM
is there any method to display search results from database on the same jsp page where i give the inputs using struts 1.2? ... View Questions/Answers

display results on same jsp page  April 1, 2011 at 5:10 PM
is there any method to display search results from database on the same jsp page where i give the inputs using struts 1.2? ... View Questions/Answers

display results on same jsp page  April 1, 2011 at 5:10 PM
is there any method to display search results from database on the same jsp page where i give the inputs using struts 1.2? ... View Questions/Answers

how to create menubar and the below background color/image in java swing  April 1, 2011 at 4:13 PM
how to create menubar and the below background color/image in java swing ... View Questions/Answers

program  April 1, 2011 at 3:10 PM
no i want a program that shows how merge sort algorithm works in graphical representations like numbers are taken in circles and computation should also be shown and finally sorted output values should be printed in rectangles or circles wat ever it may be. the theme of program is to show algorit... View Questions/Answers

Railway reservation  April 1, 2011 at 3:02 PM
Railway Department wants to automate the ticket reservation process. Customer should be able to check the availability of a train by giving the source and destination. Assume that there is no booking of ticket to intermediate stations. Customer should also be able to check the seat availability i... View Questions/Answers

like query and then update or replace  April 1, 2011 at 3:02 PM
In postgres i use like query to find the a specific word in a column for example in a column i have text "Small state in wmost Brazil bordered by sw Amazonas, Peru, and Bolivia." with like query i can find text that contains text "wmost" after finding that i want to replace or update "wmo... View Questions/Answers

edit data  April 1, 2011 at 3:01 PM
sir i want to do edit a particular customers information after he logs in, i am also using sessions. thank you ... View Questions/Answers

online book store by using MVC architecture  April 1, 2011 at 2:54 PM
Tarzan book store decided to go online to increase itsā?? revenues and provide itsā?? customers a way to buy books through internet. Tarzan maintains the list of books along with quantity. Administrator should be able to add books to the inventory. Administrator will add books with book n... View Questions/Answers

Encountering error when connecting MSSQL Server 2005 using Hibernate 3.0  April 1, 2011 at 2:17 PM
Hi, Im a beginner to the hibernate framework.Im encountering the following error when connecting to the MSSQLServer 2005 using hibernate 3.0 My hibernate.cfg.xml is as under ... View Questions/Answers

j2se  April 1, 2011 at 2:15 PM
program to sort the employees 4 emp salarys... ... View Questions/Answers

DMCA.com