Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Spring JdbcTemplate and ResultSet is too slow..  December 31, 2010 at 6:25 PM
Hi.. I am using spring jdbctemplate to fetch the records from oracle database. But it is taking too long time to execute a simple select query. The query which is having 400 records is taking around 12 to 15 seconds. I am using json to retrieve that data. But if i exec... View Questions/Answers

in php What the code is to be written for Authentication with Session Control  December 31, 2010 at 6:17 PM
in php What the code is to be written for Authentication with Session Control ... View Questions/Answers

UIButton text color  December 31, 2010 at 5:51 PM
Hi, I have to change the text color of UIButton to black. Give me best code for changing UIButton text color to black. Thanks ... View Questions/Answers


objective c is kind of  December 31, 2010 at 5:43 PM
Hi, Provide me code of objective c is kind of method in objective c. I have to find if a view is kind of UIButton. Thanks ... View Questions/Answers

UIButton selector  December 31, 2010 at 5:26 PM
Hi, How to add selector to perform something when UIButton is clicked? Thanks ... View Questions/Answers

UIButton Highlighted  December 31, 2010 at 5:22 PM
Hi, I am writing an iPhone application. I have to show UIButton Highlighted form my code. Tell me how to make an UIButton Highlighted from Objective C code? Thanks ... View Questions/Answers

UIWebView Zoom in and out  December 31, 2010 at 5:19 PM
Hi, Can anyone give me the example of tap and zoom in and out the pdf loaded on uiwebview?? Thanks! ... View Questions/Answers

using 2D Array  December 31, 2010 at 4:57 PM
Write a JAVA program using 2D Array 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 c... View Questions/Answers

database  December 31, 2010 at 4:10 PM
Create tables EMP, and DEPT, Write SQL queries for the following : Display each employee‚??s name and date of joining. Display employees earning more than Rs.5,000. Label the column name ‚??Employee‚??. Display all employee names and employee numb... View Questions/Answers

dateformat  December 31, 2010 at 4:10 PM
how can we format date using simpledateformat in java ... View Questions/Answers

database(sql)  December 31, 2010 at 4:09 PM
Write SQL queries for the following : Display each employee‚??s name and date of joining. Display employees earning more than Rs.5,000. Label the column name ‚??Employee‚??. Display all employee names and employee numbers in the alphabetical order ... View Questions/Answers

calender applet  December 31, 2010 at 3:08 PM
here is my code im getting errors in 23,37,49lines like cant find symbols constructor,methods e.tc is it the code for calender beside textfield in a java awt.... import java.applet.*; import java.awt.*; import java.awt.event.*; import java.util.*; /* ... View Questions/Answers

J2me AddCommands and Dialog problems  December 31, 2010 at 2:19 PM
can u explain why "back" command is on left side? since it is added after "screen" and its priority is less than screen, and can u tell me "if i had only on command and that command i want to place in right side, how to place it?" one more question "how to stop a dialog from dispose on any softke... View Questions/Answers

Binary Search Tree  December 31, 2010 at 2:09 PM
Question-1 ) Modify the BinarySearchTree class so that the iterators are fail-fast.Test your class with amain method ? Question-2 ) Modify the BinarySearchTree class so that the BinarySearchTree objects are serializable.Test your class with a project that serializable a BinarySearchTree object, ... View Questions/Answers

Select tag to fetch data from oracle database  December 31, 2010 at 1:33 PM
I created a select box having more than one menus in the select box such as regnno, address and name of a student and when regnno is selected from the drop down list by a user then one box will appear where user has to type the regnno, then the user can view the student name and addr... View Questions/Answers

Excel Column change  December 31, 2010 at 12:50 PM
How to change sequence of columns in Excel sheet through Java?? ... View Questions/Answers

update excel sheet using jsp::  December 31, 2010 at 12:45 PM
Hi Sir,... I have a excel sheet for employee details "i retrieve particular datas from given excel sheet and display it into another excel sheet using jsp" ... View Questions/Answers

File Download in jsp  December 31, 2010 at 11:24 AM
file upload code is working can u plz provide me file download ... View Questions/Answers

Use Ordered List In JSP  December 31, 2010 at 8:45 AM
I created a Sting that contains ... . This string is generated dynamically from the db. When I place the string in the jsp, it does not create the ordered list. I can paste that string in the jsp and it works fine. How can I get the string to display properly? ... View Questions/Answers

Pass value of rasio button from jsp page to action class(not conventional problem)  December 31, 2010 at 2:32 AM
Hi, I have a jsp page that has code which goes ike this: <table border="1"> <tbody> <s:iterator value="scheduleList" status="stat" id="id"> <tr> <td><s:radio theme=... View Questions/Answers

using 2D Array  December 31, 2010 at 2:16 AM
Write a JAVA program using 2D Array 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 c... View Questions/Answers

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:[email protected] 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