Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

netbeans library  March 31, 2012 at 4:49 PM
Hi could someone build a program in netbeans for a book library please.The program should provide a menu of options to work with the library, including: 1) Adding a new item to the library 2) Viewing all stock in the library 3) Lending an item 4) Returning an item<... View Questions/Answers

Importing in java . . . .  March 31, 2012 at 4:06 PM
We all know that when we are importing a class of a package in another package , the methods which are public are only available and we can use it . But suppose the method has default access specifier , yet we can use the method . With default access specifier it is only available to classes insi... View Questions/Answers

Java  March 31, 2012 at 4:00 PM
How to retrieve image from MySQL database using java? ... View Questions/Answers

Advertisement

calendar js  March 31, 2012 at 2:57 PM
there are two calendar on form and i want that once date chosen from first calendar , the second calendar should be disabled till that date. for eg once i have chosen date 21-03-2012 from first calendar, in the next calendar the person can't able to choose data till 21-03-2012, the dates... View Questions/Answers

to show graph  March 31, 2012 at 2:34 PM
by clicking on submit button how to show the graph by fetching data in mysql? ... View Questions/Answers

Problem in show card in applet.  March 31, 2012 at 2:02 PM
The following link contained the card demo with applet. http://www.roseindia.net/java/java-tips/45examples/30graphics/cardDemo/cardDemo.shtml Now I am trying to run this code in eclipse but Not show card in the applet, then I add a code in paintComponent method like- "g.drawImage(c.imag... View Questions/Answers

how to retrieve data from table with runtime values in sql?  March 31, 2012 at 1:20 PM
how to retrieve data from table with runtime values in sql? For example, I have table with column (date, movie1, movie2,movie3).Now whenever I pass different dates into the method(which performs database retrieval actions) My ResulSet has to execute the command with the dates which I pass. I know... View Questions/Answers

runtime exception hibernate  March 31, 2012 at 12:19 PM
runtime exception hibernate ... View Questions/Answers

avaudioplayer next track  March 31, 2012 at 11:51 AM
How to set next and previous track in AVAudioPlayer in iPhone? ... View Questions/Answers

remove special characters iphone  March 31, 2012 at 11:47 AM
remove special characters iphone ... View Questions/Answers

javascript dom error-message  March 31, 2012 at 11:35 AM
javascript dom error-message ... View Questions/Answers

arraylist in java  March 31, 2012 at 11:01 AM
arraylist in java ... View Questions/Answers

java swing button click event  March 31, 2012 at 10:51 AM
java swing button click event ... View Questions/Answers

Not sure what I am missing ? Any ideas?  March 31, 2012 at 10:49 AM
import java.util.*; public class HangMan2 { char guess; String userInputs; String word; static String[] userInput; static Scanner scan = new Scanner(System.in); static Random rand = new Random(); // The following ro... View Questions/Answers

log in  March 31, 2012 at 9:37 AM
sir i designed one login.jsp page with one form, username,login,and one submit button .if i enter username and password its been verify the mydatabase in in table in the field of username and password while it s correct means it s going to my personel.jsp..already i done this task..but problem is... View Questions/Answers

I am new to programming and I am not sure what to do next? Any ideas?  March 31, 2012 at 8:38 AM
import java.util.*; public class HangMan2 { char guess; String userInputs; static Scanner scan = new Scanner(System.in); static Random rand = new Random(); // The following routine will determin if the character c // is inside ... View Questions/Answers

Java Code to Block a website accessed by any browser in windows  March 31, 2012 at 5:53 AM
I want create an application in Java through Netbean IDE to block any website to be accessed by any browser. I also want to display only its html contents. please help... ... View Questions/Answers

jdbc  March 31, 2012 at 1:00 AM
what is the return type of BatchUpdates()? ... View Questions/Answers

how to by default chceckbox button is selected in struts  March 30, 2012 at 11:41 PM
i want to by default checkbox is selected please help me.. my is follwing <%@taglib uri="/struts-tags" prefix="s" %> in this iterator so many rows are the... View Questions/Answers

Error 404 on localhost:8080 Tomcat Apache 6.0.32 with Elipse IDE and IE/Other Browsers  March 30, 2012 at 11:37 PM
HTTP Status 404 - type Status message description The requested resource () is not available.Apache Tomcat/6.0.32 I have checked the following: http://localhost:8080 - 404 not found http://localhost:8005 - cannot display http://localhost:8009 - cannot display On the IDE wi... View Questions/Answers

Addintion in year fields of sql date in a java page  March 30, 2012 at 11:01 PM
In my database i have a field StartDate and EndDate Now entering date from my jsp and fetching it in the servlet protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ... View Questions/Answers

java help  March 30, 2012 at 9:43 PM
1) build class(es) for the dresses, choose (dress ID, color, price, designer)( link lists) 2) construct the driver class by establishing two separate objects for each sister 3) let them both to enter the dresses details 4) join the two collections of dresses information so they can hand i... View Questions/Answers

input box  March 30, 2012 at 9:35 PM
give me the code of input box in core java. ... View Questions/Answers

input box  March 30, 2012 at 9:35 PM
give me the code of input box in core java. ... View Questions/Answers

to update the information  March 30, 2012 at 9:33 PM
sir, i am working on library mgt project. front end is core java and backend is ms access.i want to open,update the information through form.please send me code earliar. ... View Questions/Answers

update the information  March 30, 2012 at 9:33 PM
sir, i am working on library mgt project. front end is core java and backend is ms access.i want to open,update the information through form.please send me code earliar. ... View Questions/Answers

please fix the error  March 30, 2012 at 8:36 PM
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 14 in the jsp file: /doctor.jsp Invalid character constant 11: Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/phs", "root", "root"); 1... View Questions/Answers

Struts2  March 30, 2012 at 5:20 PM
Hi I am using struts 2,In struts2 architecture ,I couldn't understand the purpose of ActionMapper and ActionProxy.My Question is,when the request comes into the picture,the filterdispatcher consult the ActionMapper for mapping b/n request and acion.so already mappin is done here,now what ... View Questions/Answers

multiple submits, single form.  March 30, 2012 at 5:07 PM
is it possible to use multiple submit buttons in a single form? ... View Questions/Answers

regarding out put display in html text field  March 30, 2012 at 4:29 PM
how to dispaly the output coming from servlet in a particular text field of html. ... View Questions/Answers

jquery alert dialog box using struts2  March 30, 2012 at 4:24 PM
how to develop jquery alert dialog box using struts2 ... View Questions/Answers

servlet  March 30, 2012 at 4:02 PM
can i stoar record in variable which selected from table in servlet? ... View Questions/Answers

display result in row format  March 30, 2012 at 3:49 PM
how to use stringtokenizer on table? and display in table format.... View Questions/Answers

Get your friends' phone numbers  March 30, 2012 at 3:09 PM
How to create on update trigger? ... View Questions/Answers

Edit word document Headers and Footers using POI Library in java?  March 30, 2012 at 2:50 PM
Hi All, I need code to modify the Header and Footer contents of a ms-word template using POI or JACOB libraries. Could any one help me? Thanks Advance! With regards, Alex ... View Questions/Answers

increamenting the value  March 30, 2012 at 1:40 PM
Hi, I am retrieving books name from database and attaching two input tags i.e.One Text area to comment and one checkbox to rate but i am unable to insert the rated n commented rows in database because they all have the same name.The solution could be incrementing the name of the tag with some val... View Questions/Answers

Ajax  March 30, 2012 at 1:16 PM
How to learn AJAX?????? ... View Questions/Answers

Problem of Import JWorkbook  March 30, 2012 at 12:59 PM
Hi... i can't use the jworkbook in my project.what types of library files in import... ... View Questions/Answers

SpringDAO  March 30, 2012 at 12:40 PM
Here iwant to use queryForMap(-) method in JdbcTemplate class.how to use RowMapper in that class.and also get the results are displayed in the table format in result page. ... View Questions/Answers

string to long in javascript  March 30, 2012 at 12:25 PM
how to parse string to long in JavaScript? ... View Questions/Answers

Session Variable in Wicket  March 30, 2012 at 11:48 AM
can anyone tell me about sesion variables in wicket ? thanks :) ... View Questions/Answers

convert date into String like 9-10-2012 into nine october two thousand twelve  March 30, 2012 at 11:28 AM
convert the date like 9-10-2012 into nine october two thousand twelve on button click event using jsp ... View Questions/Answers

how to select second combobox value .  March 30, 2012 at 11:17 AM
I requirement is , i have two combo box, i am selected first combo box value then automatically second combo box value show ,But this both combo box value i retrieves in database. please send me this code. ... View Questions/Answers

Select DropDown Default  March 30, 2012 at 8:41 AM
Hi there, i have a program in JSP where i have 2 tables tbl1 which contains the "page" and tbl2 which contains most of the record, in my jsp page i have a one dropdown menu where the user can choose, i.e if the user select PAGE 1 in the dropdown menu, it will display all the content of... View Questions/Answers

connection of java file to excel file and put data from excel file into oracle db  March 30, 2012 at 12:03 AM
how to create button on excel sheet using java swing and how we give action to that button excel sheet? how we connect excel file to java file as wellas to oracle db to insert excel data into database? ... View Questions/Answers

RMI  March 29, 2012 at 9:51 PM
can anyone tell me how to compile and run rmi in netbeans 6.9.1 for standalone application because i face problem running it!!!!! ... View Questions/Answers

java  March 29, 2012 at 8:58 PM
which has the high time complexity??? a program having 100 lines of code or a program which goes to its loop 100 times. ... View Questions/Answers

insert query in jsp  March 29, 2012 at 7:25 PM
give me insert code in jsp at run time ... View Questions/Answers

HOW TO CONVERT THIS CODE INTO GUI  March 29, 2012 at 6:52 PM
System.out.println("\n\t UGANDA CHRISTIAN UNIVERSITY\n"); System.out.println("\n\tFACULTY OF SCIENCE AND TECHNOLOGY\n"); System.out.println("\n BACHELOR OF SCIENCE IN COMPUTER SCIENCE\n"); System.out.println("\n\t YEAR TWO SEMESTER TWO\n")... View Questions/Answers

Editing UI components using managed bean  March 29, 2012 at 6:03 PM
Hello friends... I want to edit the properties of a inputText on JSP page using its managed bean. I have a simple inoutText and commandButton on jsp page and on click of button, i want to change value of button and want to make textbox 'readonly'. Please suggest me how to do this. Thanks.:) ... View Questions/Answers

how to create forum on java subject in jsp/servlet ?  March 29, 2012 at 5:28 PM
hi , i want to implement forum on java subject in jsp/servlet technology .how can i do it,which is the table required for it in mysql? formate like what is java is ? 2Reply onclick reply automatic new texbox is appear in below Question and user can reply on that question. please r... View Questions/Answers

JavaScript Validate UK Date  March 29, 2012 at 5:00 PM
How to Validate UK Date in JavaScript ... View Questions/Answers

Foreign key update table  March 29, 2012 at 4:49 PM
How to update table that has the foreign key in SQL..? ... View Questions/Answers

form with username and password  March 29, 2012 at 3:57 PM
i want to design one form with username and password,login...if i click login the jsp check the database table with all username and password field if its find means the link goes to my personalinfo.html...i am confused how to check enterted username with all username fields and how to transfer l... View Questions/Answers

restrict jtable editing  March 29, 2012 at 3:46 PM
How to restrict jtable from editing or JTable disable editing? ... View Questions/Answers

java access resource bundle  March 29, 2012 at 3:34 PM
java access resource bundle ... View Questions/Answers

noise during print screen  March 29, 2012 at 3:21 PM
hi there, i have a java program which can print screen every 1 seconds... but during the print screen, the image seems will have some noise and ends up half page of the image will be black screen . can anyone help me ... thanks in advance for the help .. ... View Questions/Answers

coding  March 29, 2012 at 1:36 PM
I need the logout coding. can you please help me. ... View Questions/Answers

javascript image not found  March 29, 2012 at 1:13 PM
javascript if image not found ... View Questions/Answers

javascript confirm yes no  March 29, 2012 at 12:29 PM
javascript confirm yes no - how to create confirm dialog box yes or no in JavaScript? ... View Questions/Answers

jdbc  March 29, 2012 at 12:07 PM
how to display database contents? ... View Questions/Answers

Convert sqlserver database to msexcel  March 29, 2012 at 11:56 AM
How to i convert sqlserver database values into msexcel sheet using java... ... View Questions/Answers

I am from .net background, I want to learn SOA.  March 29, 2012 at 11:21 AM
Hi I am from .net background, I want to learn SOA. Could it possible for me to learn SOA, I suppose SOA includes Java. I dont have knowledge of java. Please help Thanks ... View Questions/Answers

how to use stringtokenizer on table? and display in table format.  March 29, 2012 at 10:06 AM
table is retrieved from mysql database and each row contains data like(java,c,c++,.net). ... View Questions/Answers

java program developing  March 29, 2012 at 12:24 AM
how to write a java program that implementing a double link list and use it to insert a list of names and print them to screen. ... View Questions/Answers

How to print the following pattern in java?  March 29, 2012 at 12:22 AM
How to print the following pattern in java? he he is he is going he is going in ... View Questions/Answers

Object Orient Programming  March 28, 2012 at 11:27 PM
I have this program that needs to display multiple taxis. I have the code but there is an error. Could someone tell me where i am going wrong?? import java.awt.*; import javax.swing.*; public class TaxiCanvas extends JComponent { private Taxi[] t... View Questions/Answers

java mail  March 28, 2012 at 10:52 PM
this code showing an error couldn't connect smtp host please help <%@ page language="java" import="javax.naming.*,java.io.*,javax.mail.*, javax.mail.internet.*,com.sun.mail.smtp.*"%> <html> <head> <title>Mail</title> <... View Questions/Answers

java mail API  March 28, 2012 at 10:37 PM
<html> <head> <title>Mail API</title> </head> <body> <table border="1" width="50%" cellpadding="0" cellspacing="0"> <tr> <td width="100%"> <form method="POST" action="mail.jsp"> <table ... View Questions/Answers

j2me question  March 28, 2012 at 9:26 PM
write a j2me program that accepts two integer values from the user through a form and display the result of multiplication on a new screen. ... View Questions/Answers

iphone property list related  March 28, 2012 at 7:39 PM
question related to iphone application...... how to retrieve data from plist and again check the condition if data is found in plist then go to next view and print those value in table .... ... View Questions/Answers

Pass cookie from one site to another within the same domain  March 28, 2012 at 7:16 PM
Hi, I want to pass a cookie from one website to another within the same domain. This is just to identify whether the same user is logged in or not. Can anyone help me out with the code?. Thanks Priya ... View Questions/Answers

how to show x axis values of timeline chart in jfreechart with particular month.  March 28, 2012 at 7:10 PM
my x-axix timeline having day of 1 month and days shows me only differently and 1 month. I want month attached with days. ... View Questions/Answers

Pagination  March 28, 2012 at 6:09 PM
Is their plug n play approach for creating pagination? 1) Server side as well as client side ... View Questions/Answers

how retrive data from google analystics dashbord on the client machine  March 28, 2012 at 5:58 PM
sir i am digvijay subj: retrive data from google analystics dashbord respected sir, According above subject i request you , i want retrive data from the google analystics dashbord also about how get token ,registration ... View Questions/Answers

Draw graph using jsp without database connection  March 28, 2012 at 5:44 PM
Draw graph using jsp code without database connection ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

query regarding exporting table from jsp page to pdf  March 28, 2012 at 5:11 PM
hello i am displaying one table on my jsp page and i want to save that table in pdf file can u please help me??? please reply as soon as possible ... View Questions/Answers

uinavigationcontroller background image  March 28, 2012 at 5:08 PM
I wants to add a background image to uinavigationcontroller. ... View Questions/Answers

class method in java  March 28, 2012 at 3:31 PM
How to write a class method in Java? ... View Questions/Answers

how to use String tokenizer on table that is retrieved from database using jsp servlet  March 28, 2012 at 3:23 PM
Query:Table---- mysql> select pid,medicinename,dose,day,qty from medicinedetails2 where pid=15; +-----+------------------------------------+-------------------------------------------------------------------------------------------+----------------+----------------+ | pid | medicinename ... View Questions/Answers

how to get date format in string from date object containing real date in java  March 28, 2012 at 1:56 PM
i want to get data string format from date object where date object containing real date. date frequently vary in from of only month & year or sometimes only year or whole date with time also. ... View Questions/Answers

how to get date format in string from date object containing real date in java  March 28, 2012 at 1:55 PM
i want to get data string format from date object where date object containing real date. date frequently vary in from of only month & year or sometimes only year or whole date with time also. ... View Questions/Answers

NoSuchMethodException  March 28, 2012 at 1:10 PM
whis is the NoSuchMethodException in java? or define NoSuchMethodException with exp? ... View Questions/Answers

NoSuchFieldException  March 28, 2012 at 1:09 PM
whis is the NoSuchFieldException in java? or define NoSuchFieldException with exp? ... View Questions/Answers

InstantiationException  March 28, 2012 at 1:09 PM
whis is the InstantiationException in java? or define InstantiationException with exp? ... View Questions/Answers

IllegalAccessException  March 28, 2012 at 1:09 PM
whis is the IllegalAccessException in java? or define IllegalAccessException with exp? ... View Questions/Answers

NoClassDefFoundErrorException  March 28, 2012 at 1:08 PM
whis is the CloneNotSupportedException in java? or define NoClassDefFoundErrorException with exp? View Answers ... View Questions/Answers

NoClassDefFoundErrorException  March 28, 2012 at 12:53 PM
whis is the NoClassDefFoundErrorException in java? or define NoClassDefFoundErrorException with exp? ... View Questions/Answers

ClassNotFoundException  March 28, 2012 at 12:51 PM
whis is the ClassNotFoundException in java? or define ClassNotFoundException with exp? ... View Questions/Answers

UnsupportedOperationException  March 28, 2012 at 12:48 PM
whis is the UnsupportedOperationException in java? or define UnsupportedOperationException with exp? ... View Questions/Answers

IndexOutOfBoundsException  March 28, 2012 at 12:47 PM
whis is the IndexOutOfBoundsException in java? or define IndexOutOfBoundsException with exp? ... View Questions/Answers

SecurityException  March 28, 2012 at 12:47 PM
whis is the SecurityException in java? or define SecurityException with exp? ... View Questions/Answers

Null Pointer Exception  March 28, 2012 at 12:46 PM
whis is the Null Pointer Exception in java? or define Null Pointer Exception with exp? ... View Questions/Answers

DMCA.com