Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

how to send mail to many recipients using jsp,apache  December 30, 2010 at 11:48 PM
hello i am reading and displaying the excel sheet with the help of jsp,apache(poi).now i want to send this jsp page content (web page content which consists of this excel sheet content with some more information that is by adding backgrounds)in body but not as attachment.can we do this .....the l... View Questions/Answers

UIKeyboardBoundsUserInfoKey is deprecated  December 30, 2010 at 9:54 PM
On running my application i am getting a warning as given below... " UIKeyboardBoundsUserInfoKey is deprecated " What is the cause of it?? and what should i use instead of UIKeyboardBoundsUserInfoKey. As i guess it's a older version. Thanks! ... View Questions/Answers

util  December 30, 2010 at 8:27 PM
Write a programe such as whenever any user enter the name of a country it displays the current date and time and ist also? ... View Questions/Answers


servicelocator  December 30, 2010 at 8:12 PM
can any one explain me in detail about servicelocator ... View Questions/Answers

underscore as character  December 30, 2010 at 7:08 PM
how can i consider _ as a character instead of wildcard character? my problem is like this i have 20 records as follows manohar 1234455 manohar 453635 manohar 345454 manohar_1234455 now when i am searching for manohar_1234455, am getting 2 records i.e... manohar 1234455 m... View Questions/Answers

DATABASE  December 30, 2010 at 6:12 PM
I can't send different information from different form into a single table in my database! ... View Questions/Answers

importing excel file  December 30, 2010 at 6:08 PM
Hi All I am developing a java application whre we upload a excel file in to database and all excel value should import in to the database column. I am using below logic for inserting value. it shwoing some garbaze value. my code is: package import java.io.FileInputStream; import... View Questions/Answers

scrollRectToVisible code  December 30, 2010 at 6:03 PM
HI, Give me some of scrollRectToVisible to move to a particular view. Thanks ... View Questions/Answers

Date prorblem  December 30, 2010 at 5:22 PM
HI all, i have date comming from one text file into string filed in java code. once the date is available in filed ( of type String ) in java code, then i have to convert it into yyyy-mm-dd hh-mm-ss. then i have to insert the date into oracle DB. my code is as below: St... View Questions/Answers

java awt calender  December 30, 2010 at 5:19 PM
java awt code for calender to include beside a textfield ... View Questions/Answers

Hi  December 30, 2010 at 5:17 PM
Hi How to implement I18N concept in struts 1.3? Please reply to me.... ... View Questions/Answers

caleder  December 30, 2010 at 5:17 PM
what is the simple code for a calender beside a textfield using java awt concept ... View Questions/Answers

how to use nested classes in swing concepts  December 30, 2010 at 4:09 PM
i am working on swing concepts . i want to know how to use the nested classes in swings ... View Questions/Answers

uiscrollview remove all subviews  December 30, 2010 at 2:25 PM
Hi, How to remove all elements from uiscrollview. I need code for uiscrollview remove all subviews. Thanks ... View Questions/Answers

File Upload in struts2 - Invalid field value for field  December 30, 2010 at 1:02 PM
Hi I am also getting following error while trying to upload a file using struts file tag : Invalid field value for field "upload". My webContents->Web-Inf->lib has following jars :- commons-collections-3.2.jar commons-fileupload-1.2.1.jar commons-io-1.3.jar commons-logging... View Questions/Answers

UIButton background image  December 30, 2010 at 12:35 PM
Hi, How to create uibutton with background image? Thanks ... View Questions/Answers

serializable & serialization  December 30, 2010 at 12:23 PM
what is the difference between serializable and serialization in java? ... View Questions/Answers

ldap configuration for SVN on linux  December 30, 2010 at 12:22 PM
I want to set up ldap and normal file authentication for my SVN in linux. I should i do that? Here basically i need to read file which contains several user name and passwd values and LDAP setting also. Please suggest me a possible way to do that. ... View Questions/Answers

what is the rong  December 29, 2010 at 11:45 PM
Write a JAVA program to auto-grade exams. For a class of N students, your program should read letter answers (A, B, C, D) for each student. Assume there are 5 questions in the test. Your program should finally print the grade percentage (out of 100%) of each student, and also the class average. D... View Questions/Answers

scrollbar  December 29, 2010 at 10:23 PM
I add a scrollbar to my Frame and its not working ... View Questions/Answers

applet  December 29, 2010 at 8:36 PM
applet to open new tab not working.here's my code import java.applet.*; import java.awt.*; import java.net.*; import java.awt.event.*; public class NewURL extends Applet implements ActionListener{ public void init(){ String link_Text = "google"; Button b = new ... View Questions/Answers

uitableviewcell selected color  December 29, 2010 at 6:37 PM
HI, How to add uitableviewcell selected color? Thanks ... View Questions/Answers

the functions unlink and unset  December 29, 2010 at 6:22 PM
What is the difference between the functions unlink and unset? ... View Questions/Answers

UITableViewCell background image  December 29, 2010 at 6:01 PM
Hi, I am developing UITable based iPhone application. I have to add the background image to UITableViewCell. Please tell me how to add UITableViewCell background image. Thanks ... View Questions/Answers

where this file is stored  December 29, 2010 at 5:11 PM
thank your sir, but where this file is stored? and how to get the path for further use. ... View Questions/Answers

where to stroe this uploaded file  December 29, 2010 at 5:09 PM
thank your sir, but where this file is stored? and how to get the path for further use. ... View Questions/Answers

using regular expression  December 29, 2010 at 4:39 PM
How can we extract string 'abc.com ' from a string http://info@abc.com using regular expression of php? ... View Questions/Answers

single quotes or double quotes  December 29, 2010 at 4:11 PM
Would you initialize your strings with single quotes or double quotes? ... View Questions/Answers

print the newline  December 29, 2010 at 4:02 PM
Why doesn?t the following code print the newline properly? <?php $str = ?Hello, there.\nHow are you?\nThanks for visiting.?; print $str; ?> ... View Questions/Answers

applicationDidEnterBackground Exit  December 29, 2010 at 4:00 PM
Hi, Provide me full code of applicationDidEnterBackground exit(0). Thanks ... View Questions/Answers

UIWebView zoom not working  December 29, 2010 at 3:49 PM
Hi, I don't know why UIWebView zoom not working? Tell the solution. Thanks ... View Questions/Answers

jdbc  December 29, 2010 at 3:03 PM
in resultset i have 50 records but i want onl 30th record how can i get that record? ... View Questions/Answers

Unable to call .jrxml file from jsp  December 29, 2010 at 1:51 PM
Hi, I am doing web application in jsp. To create report I have used ireport and interated with neatbeans using plugin. After creating report in netbean when i call that jrxml file then it unable to access it.Error also not showing. I will show my code and its output. Please refer to it and sugges... View Questions/Answers

changing selection color of <button>  December 29, 2010 at 12:23 PM
dear all, i have loaded image in border less button tag when button is selected with tab key i get brown color rectangle around image. how do i change color of that rectangle from brown to white. and is that possible to have white rectangle with inner and outer shadow of rectangle with bl... View Questions/Answers

php  December 29, 2010 at 12:12 PM
How to catch a image and link click counters using Ajax php can any one help me. ... View Questions/Answers

pavan  December 29, 2010 at 12:06 PM
multiplication of two numbers without using multiplication operator? ... View Questions/Answers

java  December 29, 2010 at 12:04 PM
purpose of encapsulation? ... View Questions/Answers

pavan  December 29, 2010 at 12:00 PM
purpose of threads? ... View Questions/Answers

to display like and dislike votes for a link  December 29, 2010 at 11:58 AM
Am new to php i wrote a code for posting the links but now i want to add like and dislike for that each link which is visible on retrieve page i think it can be done by using Ajax please any one can help me out. ... View Questions/Answers

Pagination  December 29, 2010 at 11:41 AM
showing missing expression.pls correct it <%@ page contentType="text/html;charset=windows-1252"%> <%@ page language="java" %> <%@ page import="java.sql.*" %> <%! public int nullIntconvert(String str){ int num=0; if(str==null) { str="0"; } else if((str.trim()).equals("null")) { str="0"... View Questions/Answers

table  December 29, 2010 at 11:15 AM
Hi..I have a list of links which links to a table in the same page.If I click first link the table is displayed at the top, likewise if i click the last link the table is displayed at the last,i dont know how to set the position of the link.I tried it by adding tables to the list of links but it ... View Questions/Answers

java  December 29, 2010 at 11:08 AM
i wanna store images on MS ACCESS with java swing what can do? also TextArea cant be accessed in ms access database... ... View Questions/Answers

struts application  December 29, 2010 at 10:54 AM
i want to display name on the browser throgh struts1.2 in java please give me snippet ... View Questions/Answers

core java  December 29, 2010 at 10:14 AM
readLine() function is realated to which class? ... View Questions/Answers

java with html  December 29, 2010 at 8:07 AM
actually we use html code in the java programs........ why we are using like please tell me the reason.. please reply me soon ... View Questions/Answers

ChapterAuonumber Itext  December 29, 2010 at 7:57 AM
I'm new to Itext ,Please provide some example of using ChapterAutonumber in Itext ... View Questions/Answers

how to use web services to access hardware units ?  December 28, 2010 at 11:32 PM
Hi I am suresh raja i am doing a project on electronic meter i have to get meter reading with the help of web services and store it to database is it possible to do ! please help me. ... View Questions/Answers

Regarding connection between sqlserver 2005 and android application  December 28, 2010 at 8:39 PM
hi to all, i want to know how to create webservice to connect sqlserver 2005 and android. can you please help me by providing source code for ref.. thanks anil ... View Questions/Answers

s:a href tag problem with ie 6 and ie 7  December 28, 2010 at 7:46 PM
this code is working fine in mozilla but in ie6 or ie 7 its not working ... View Questions/Answers

On selecting a radio button, it should open a jsp page.  December 28, 2010 at 6:33 PM
Hi, COuld you please tell me how to link a radio button selection to a jsp. My requirement is if I select a radio button then it should open a jsp page. thank you. ... View Questions/Answers

Struts  December 28, 2010 at 6:17 PM
Tell me good struts manual? ... View Questions/Answers

getting db in action class  December 28, 2010 at 5:17 PM
hi, Am usin struts in ma application... n i need to interact with the db .. so i used.. getDataSource(request) but it gives me an error.. java.lang.NoSuchMethodError: LoginAction.getDataSource(Ljavax/servlet/http/HttpServletRequest;)Ljavax/sql/DataSource; ... View Questions/Answers

Hi  December 28, 2010 at 4:41 PM
Hi this is really good example to beginners who is learning struts2.0 thanks... ... View Questions/Answers

java  December 28, 2010 at 3:48 PM
How to attach java script for scrolling image in css? ... View Questions/Answers

Reverse  December 28, 2010 at 3:42 PM
How to reverse two digits in javaprogramming? ... View Questions/Answers

Reverse  December 28, 2010 at 3:42 PM
How to reverse two digits in javaprogramming? ... View Questions/Answers

UIButton custom programmatically  December 28, 2010 at 2:51 PM
Hi, Please tell me how I can create custom UIButton programmatically? Tell me the best code for uibutton custom programmatically. Thanks ... View Questions/Answers

either jsf or jsp?  December 28, 2010 at 2:44 PM
which is better technology to display dynamic data by using either jsf or jsp? ... View Questions/Answers

Inter Thread communications.  December 28, 2010 at 2:08 PM
4 Threads used for searching a strings in 4 different servers. If any of the thread is found that string, then the other threads should be notified to stop searching. wait/notify/notifyall mechanism cant be used here. Then how the threads can communicate with themselves? K... View Questions/Answers

image scrolling  December 28, 2010 at 1:48 PM
A brief description of scrolling image ... View Questions/Answers

JSP parameter passing throught out web app  December 28, 2010 at 1:24 PM
i want to pass one param from page1.jsp page to page4.jsp page but in between this i need to navigate page3.jsp and page2.jsp.Please help me to understand how could i transfer param "firstname" from page1.jsp to page4.jsp? ... View Questions/Answers

UIImage from file  December 28, 2010 at 12:53 PM
Hi, I have added an png image to my project. Now I want to use the image and set it to a UIImageView on my .xib file. Please provide me code for uiimage from file. Thanks ... View Questions/Answers

select query  December 28, 2010 at 12:46 PM
how to write select query with where clause having multiple variables. example: i want to select the data from DB in which i want to check againest two variable in where cluase. String sql = "select * from EXPERIENCE1 where EXPERIENCE1.RESUMEKEY="'"+RESUMEKEY+'" && EXPERIENCE... View Questions/Answers

javabeans  December 28, 2010 at 12:15 PM
how to run java bean program ... View Questions/Answers

servelt -jsp Encryption Decryption Code  December 28, 2010 at 12:11 PM
Encryption code&Decryption code Iam developing a web security application for that reason i need a code of encryption &Decryption in servlet. Can u please send it to me.Its very urgent Because my project delivery date is very near ... View Questions/Answers

home page  December 28, 2010 at 12:08 PM
Develop home page using swings and awt components ... View Questions/Answers

About struts  December 28, 2010 at 12:07 PM
How will we configure the struts? ... View Questions/Answers

Drop down menu  December 28, 2010 at 12:01 PM
I have created a drop down list of links which links to a table but if i click the link the table display in the other page i want to display it in the same page.Please tell me the solution. ... View Questions/Answers

drop down  December 28, 2010 at 11:36 AM
how can i add data from choice/dropdown component of java awt to myaql table ... View Questions/Answers

ajax  December 28, 2010 at 11:18 AM
please describe the ajax ... View Questions/Answers

scrolling image  December 28, 2010 at 11:13 AM
How create a scrolling image in java ... View Questions/Answers

Editor  December 28, 2010 at 9:24 AM
sir i want to develop a menu programe in java so sir i want to a file menu which have open dialog and save dialog and in edit menu have find option ... View Questions/Answers

SMS receive and sending throught PC using GSM modem  December 28, 2010 at 7:39 AM
How to send and receive SMS from PC using GSM modem Want code please could some one helpme ... View Questions/Answers

UIScrollView Toolbar problem  December 27, 2010 at 11:22 PM
Hi, I am creating a UINavigation based application in which i already hide the navigation controller and added the toolbar as subview on it. But my problem is ..the ScrollView type and when i am adding labels or buttons on it, it showing certain gap between uitoolbar and my first label. i have mo... View Questions/Answers

Logout?  December 27, 2010 at 11:05 PM
how to logout from a jsp page? ... View Questions/Answers

online shoopping portal  December 27, 2010 at 9:47 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along ... View Questions/Answers

java basic  December 27, 2010 at 6:50 PM
write java program to evaluate 1+x^2+x^3+x^4+............+x^n ... View Questions/Answers

java basic  December 27, 2010 at 6:48 PM
java program for finding LCM and HCF ... View Questions/Answers

testone  December 27, 2010 at 4:43 PM
what is the diffarence between interface and abstract class ? ... View Questions/Answers

java project question  December 27, 2010 at 3:45 PM
how to calculate bill extracting quantity n price from one database table and inserting the result into another in java ... View Questions/Answers

java project question  December 27, 2010 at 3:45 PM
how to calculate bill extracting quantity n price from one database table and inserting the result into another in java ... View Questions/Answers

Drop down menu  December 27, 2010 at 3:43 PM
I have drop down list of some 14 links which links to the table,If i click each link the table should display below the link and again if i click the link the table should not appear. please help me! ... View Questions/Answers

Javascript code  December 27, 2010 at 3:39 PM
Dear Sir, Thank you a lot for your support throughout the process. Here again i am in a doubt.Can you please clarify? I have a page called studentRegd.jsp,which then redirect it to studentDetail.jsp,then it redirects it to Confirm.jsp.My question is how to show th... View Questions/Answers

java  December 27, 2010 at 2:43 PM
which one is purely based on oops 1)java 2)c++ ... View Questions/Answers

string  December 27, 2010 at 12:16 PM
program for String reverse and replace in c,c++,java e.g.Input:10,20,hello output:hello;20;10 ... View Questions/Answers

string  December 27, 2010 at 12:12 PM
read a sentence and replacing character with immediate preeceding character ex: input:Be careful output:Ad bzqdetk ... View Questions/Answers

Multiple Inheritance  December 27, 2010 at 12:03 PM
Why Java Doesn't have Multiple Inheritance It is Advantage or Disadvantage......... ... View Questions/Answers

submit a form  December 27, 2010 at 11:58 AM
How can we submit a form without a submit button? ... View Questions/Answers

__sleep and __wakeup  December 27, 2010 at 11:57 AM
What?s the special meaning of _sleep and _wakeup? ... View Questions/Answers

types of errors in php  December 27, 2010 at 11:56 AM
What are the different types of errors in php? ... View Questions/Answers

call a constructor  December 27, 2010 at 11:54 AM
How do you call a constructor for a parent class? ... View Questions/Answers

GET and POST methods  December 27, 2010 at 11:53 AM
What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods? ... View Questions/Answers

DROP a table and TRUNCATE  December 27, 2010 at 11:52 AM
What are the differences between DROP a table and TRUNCATE a table? ... View Questions/Answers

by value or by reference  December 27, 2010 at 11:50 AM
Are objects passed by value or by reference? ... View Questions/Answers

Protect Special Characters.  December 27, 2010 at 11:49 AM
How To Protect Special Characters in Query String? ... View Questions/Answers

the value of $$b  December 27, 2010 at 11:47 AM
If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b? ... View Questions/Answers

extensions: frm, myd, and myi.  December 27, 2010 at 11:46 AM
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain? ... View Questions/Answers

the number of parameters  December 27, 2010 at 11:45 AM
How do I find out the number of parameters passed into function(). ? ... View Questions/Answers

ereg_replace() and eregi_replace().  December 27, 2010 at 11:43 AM
What is the difference between eregreplace() and eregireplace()? ... View Questions/Answers

send mail using JavaScript  December 27, 2010 at 11:41 AM
How can we send mail using JavaScript? ... View Questions/Answers