Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Calender code  December 11, 2010 at 12:01 PM
hi, this is my script, where do i add your script below to? var Calendar = Class.create(); //------------------------------------------------------------------------------ // Constants //-----------------------------------------------------------------------------... View Questions/Answers

Difference between jQuery UI widget and plugin  December 11, 2010 at 11:07 AM
JQuery UI widgets and plugin are included in the same way in html page. They work like the same way as seems to me .Why their names are different ? What are differences between them ? Please explain clearly. ... View Questions/Answers

Ajax in jQuery  December 11, 2010 at 10:47 AM
How ajax can be use in JQuery? ... View Questions/Answers


how to deal with exceptions in servlet  December 11, 2010 at 10:29 AM
plz give me the reply ... View Questions/Answers

java  December 11, 2010 at 10:09 AM
WAP to calculate commison earned by a agency on the following tour pacages. trip to goa-15% trip to mumbai-25% ... View Questions/Answers

java  December 11, 2010 at 9:56 AM
WAP a program to fcalculate commisson earned by a travel agency on the following tour pacages trip to goa-15% trip to mumbai-25% ... View Questions/Answers

Sum of seris  December 11, 2010 at 9:42 AM
Program to find the sum of the following series using a function declaration. sum=x-(xxx)/3!+(xxxxx)/5!-(xxxxxxx)/7!+.....(xx....x)/n!. Where n and x are entered from the keyboard. ... View Questions/Answers

fibonacci series  December 11, 2010 at 9:27 AM
Program to print the first n fibonacci numbers using function.the program must use InputStreamReader and BufferedReader. ... View Questions/Answers

Header file  December 11, 2010 at 8:47 AM
when we use, Scanner input=new Scanner(System.in); this statement in a java program,which header filemust be imported to the program? ... View Questions/Answers

Calender code  December 11, 2010 at 12:53 AM
how can i add 3 days to current date ? i am using a script from jotform which has a calender field. the system shows the current date, but i want to add 3 days to the current date for the purpose that the client is only able to select dates 3 days after the current date. eg. if today is ... View Questions/Answers

Please help in drawing Flowchart  December 10, 2010 at 11:42 PM
we found that the student names with marks in a text file the marks decreases significantly. when exams conducted fast 4 times.THe first column is the student name and the second column is marks in tests.What we need to find is which student marks decreases most often that is 3 times or 4 times. ... View Questions/Answers

NSUserDefaults Example  December 10, 2010 at 10:56 PM
Hi, Give me code of NSUserDefaults to store and retrieve the some data. Thanks ... View Questions/Answers

MPVolumeView Example code  December 10, 2010 at 10:52 PM
Hi, Please let's know how I can add MPVolumeView control in my iPhone application? Thanks ... View Questions/Answers

Interface  December 10, 2010 at 7:59 PM
In JDBC , where are the source code of methods which are the member of recordset and other interfaces of JDBC packege. ... View Questions/Answers

JSP Project  December 10, 2010 at 7:56 PM
I want to get a code for login page with user interface in JSP for my web application. Please help me. ... View Questions/Answers

java  December 10, 2010 at 7:32 PM
where i write java programme and how do i execute the programme ... View Questions/Answers

how formBackingObject() method will work.  December 10, 2010 at 7:26 PM
How the formBackingObject method will behave ? ... View Questions/Answers

Inheritance, abstract classes  December 10, 2010 at 6:43 PM
Hi. I wish to thank you for answering my last question, but I had figured it out, but the GUI was very helpful. I could use someones help again with abstracts & a demo account. I know you will be thinking how could I write the code but not get the simplest part.I'm getting a little lost with ... View Questions/Answers

checkbox custom tag creation in jsf  December 10, 2010 at 5:32 PM
how to create check box custom tags with the following functionality: 1.there must be two checkboxes 2.when the first box is checked it must populate the names of bikes,when the second is checked names of cars must be populated in the same list 3.when both are checked names of bikes as we... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 5:12 PM
hi thank you for your reply.With this code i can insert the data successfully into database but In ajax.jsp once i give the name;;;age and city are not automatically fetched......instead sumthing get filled in dose textfields....can u help me?????? Name: Ram I entered dtls of ram into da... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 4:38 PM
I have a jsp page called page1.jsp with 3 text fields name,phone ,city.i populated these datas into a database table through servlet (page1servlet.java) and bean(page1bean.java).I have another jsp page(display.jsp) with 4 fields name, city ,phone.Once the user enter the name, city and phone shoul... View Questions/Answers

sql express connection  December 10, 2010 at 4:27 PM
Sir, I am using ms-SQL server 2005 as database. i have .mdf file and .ldf database base files with me. How to connect to these files in my web application. I am using type-4 drivers... Please let me know.... thanks, Regards, VASU. ... View Questions/Answers

Read data from Excel and insert in to DB and export data from DB to Excel  December 10, 2010 at 4:23 PM
Read data from Excel and insert in to DB and export data from DB to Excel Hi, I need to read the data from excel and I need to insert the same in to DB (vice versa). I have an Excel sheet contains 10 Telephone numbers, I have customer database in which I have stored all customer i... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 4:22 PM
hi thank you for your reply.With this code i can insert the data successfully into database but once i give submit button in insert.jsp it should be forwarded to ajax.jsp.In ajax.jsp once i give the name;;;age and city are not automatically fetched......can u help me?????? And can u send ... View Questions/Answers

java code  December 10, 2010 at 2:01 PM
hi any one please tell me the java code to access any link i mean which method of which class is used to open any link in java program. ... View Questions/Answers

java  December 10, 2010 at 1:35 PM
hi im new to java plz suggest me how to master java....[email protected] ... View Questions/Answers

JFreeChart- Display coordinate value .  December 10, 2010 at 12:06 PM
How to Mark Coordinte value on top of the bar ? ... View Questions/Answers

CLLocation latitude longitude  December 10, 2010 at 11:41 AM
Hi, I am developing an location based application. I want to get the current location in the Latitude and Longitude format. Please let's know how to get latitude longitude from CLLocation object? Give me the code example of converting CLLocation object into Latitude and Longitude.... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 11:31 AM
I have a jsp page with 3 text fields name,age ,city.i populated these datas into a database table.I have another jsp page with 4 fields name, city , age and phone.Once the user enter the name, city and age should be automatically populated from database throush servlet..Can u give me the code!!!!... View Questions/Answers

parse a file into primitive binary format  December 10, 2010 at 6:12 AM
Hi, I need help converting an audio file or any other file to its primitive binarty format, and when I read the inputstream I find it some integers and I don't know its binary representation. please I need any help or tip. regards thanks ... View Questions/Answers

Netbeans Question need help desperately!!  December 10, 2010 at 5:02 AM
Ok here is my code- public class RollDie2 { public static void main(String[] args) { Random randomNumber = new Random(); int[][] frequency = new int[9][9]; int die1 = 0; int die2 = 0; for (int roll = 1; roll <= 64000; roll++) { die1 = randomNumber.nextIn... View Questions/Answers

reverse words in a string(words seperated byone or more spaces)  December 10, 2010 at 2:19 AM
reverse words in a string(words separated by one or more spaces) ... View Questions/Answers

static keyword with real example  December 9, 2010 at 10:36 PM
static keyword with real examplestrong text ... View Questions/Answers

cookies  December 9, 2010 at 10:24 PM
hi, i m vishal want a simple example of cookies. ... View Questions/Answers

Matrix multiplication  December 9, 2010 at 9:45 PM
program to read the elements of the given two matrices of order n*n and to perform the matrix multiplication. ... View Questions/Answers

Standard deviation  December 9, 2010 at 9:40 PM
program to calculate the standard deviation of an array of values.the array elements are read from terminal.use function to calculate standard deviation and mean. ... View Questions/Answers

problem in validation  December 9, 2010 at 9:18 PM
sir/madam, i m using struts-1.3.10. i m getting a problem my properties file is not found.... while i hav configuired it in struts-config.xml file, like thanks n regards himanshu ... View Questions/Answers

java  December 9, 2010 at 8:58 PM
code for creating smileys ... View Questions/Answers

Import My Own Package (Automatically)  December 9, 2010 at 7:16 PM
How can I import my own package in every java program ( automatically )....? For example :- java.lang.String... automatically imported, we need not to import it.... ... View Questions/Answers

JBOSS Startup Problem - StandardWrapper.Throwable java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394)  December 9, 2010 at 6:19 PM
Hi Gurus!!!! :D.. I am new to Rose India and also new to JBOSS. I have a problem in JBOSS Starting. I am using JBOSS -4.0.5 version, Java JDK 1.6.0_10 and connecting to Sybase database. i have downloaded the JBOSS war file and extracted in to my loc... View Questions/Answers

array ollection with in script  December 9, 2010 at 5:37 PM
my coding is ... View Questions/Answers

UIImage width and height  December 9, 2010 at 5:23 PM
Hi, How I can find the width and height of UIImage object. Let's know an example code for finding UIImage width and height. Thanks ... View Questions/Answers

iphone handle orientation change  December 9, 2010 at 4:01 PM
How can i handle the orientation change in iPhone / iPad application? Please suggest. Thank in Advance! ... View Questions/Answers

script for data  December 9, 2010 at 3:31 PM
how to write a simple script to display a selected data from list in flex applicatin?. ... View Questions/Answers

multiple file upload at a time like gmail  December 9, 2010 at 3:04 PM
I want to upload multiple files at a time like gmail. is there any possiblity/solution to do that? ... View Questions/Answers

home page  December 9, 2010 at 2:04 PM
Develop home page using applets and swings ... View Questions/Answers

Java question_Naresh  December 9, 2010 at 1:23 PM
hi I have java file and i have extracted all the comment lines present in that file using getcommentlist(AST) function. Now i have read this comment list line by line and search for any executable lines being commented in the code. Can anyone help me out to do this? I am doing all this in Java e... View Questions/Answers

hibernate and struts integration in ECLIPSE  December 9, 2010 at 12:55 PM
hi, I saw the complete tutorial of hibernate in your website... But i found nothing for hibernate and struts integration in ECLIPSE and not using ANT Can any One pls Help.. Thanks in Advance ... View Questions/Answers

how to give validation using javascript in swing  December 9, 2010 at 12:54 PM
how to give validation using javascript in swing....... can somebody give code for username and password validation using javscript and swing ... View Questions/Answers

how to move curosr from one text field to another automatically when the first textfield reaches its maximum length  December 9, 2010 at 12:51 PM
how to move curosr from one text field to another automatically when the first textfield reaches its maximum length ... View Questions/Answers

Need Jar in the JPA examples  December 9, 2010 at 12:49 PM
JPA - tutorial is good, very easy to understand and simple. But to run the examples, the jar/helping files are needed. and how Hibernates are used in the JPA example? Thnaks Abhijit Das ... View Questions/Answers

static  December 9, 2010 at 12:17 PM
when staic memory deleted ... View Questions/Answers

ipad screen resolution pixels  December 9, 2010 at 12:14 PM
Hi! Can you tell the exact size of the iPad in pixels ..including height & width. Thanks Very Much! ... View Questions/Answers

Integration  December 9, 2010 at 12:11 PM
How to integrate struts with spring in MyEeclipse in layer independent manner. Please send the screen shots. How to integrate struts with EJB in MyEeclipse in layer independent manner. Please send the screen shots. How to integrate spring with Hibernate in MyEeclipse in layer i... View Questions/Answers

How to read a log file from server location and send a mail when exception occurs.  December 9, 2010 at 12:03 PM
HI, How can i read the 2GB to 4GB log file from server. and i need to send a mail when exception occurs. Thanks Rajeev ... View Questions/Answers

object of object class  December 9, 2010 at 11:33 AM
what do u mean by "object of object class"....? ... View Questions/Answers

how can you calculate you your age in daies??  December 9, 2010 at 11:15 AM
**hi, I am beginner in java! can any one help me to write programm to calculate age in daies???** ... View Questions/Answers

radar graph in java  December 9, 2010 at 10:58 AM
Hi All I am developing a java application. In this application i need to show a radar grap.when some body assigne rating then each rating should show on x y z axis. please suggest me some good way to do this task. Thanks Yogi ... View Questions/Answers

java question  December 9, 2010 at 10:42 AM
wats dynamic dispatching?? ... View Questions/Answers

Iphone Developmnt  December 9, 2010 at 9:38 AM
i am making an application in ios, for ipad or iphone, what i want to know is that can i provide an option of changing the theme , or can i separate my code from the theme... so that when giving my product to next customer, i can change the look and feel please guide me through Re... View Questions/Answers

Java Leap Year Problem  December 9, 2010 at 3:26 AM
I need help with a writing a program in Java that creates a class Year that contains a data field that holds the number of months in a year and the number of days in a year. It should include a get method that displays the number of days and a constructor that sets the number of months to 12 and ... View Questions/Answers

Exception Handling in java  December 9, 2010 at 12:36 AM
what is advantage to catch smaller exception first and then normal exception. I mean we normally catch SQLException first and then Exception. ... View Questions/Answers

how to get data using dropdownlist, textbox and search button in jsp  December 9, 2010 at 12:08 AM
Hi, I want to display data using jsp,javascript and mysql. My Q. is If i select an entry suppose 'title' from dropdownlist and give a title name 'partial dif' in textbox and click on search button it should show me all the title names that starts with the letters '....par'. Please help me .......... View Questions/Answers

JAVA Game  December 8, 2010 at 11:19 PM
I want to make a JAVA game...in dat game...d player has to input a word in 10 secnds...4 dat m running a delay loop... but the problem is not...i am not getting any way...to make that input field(eg: String str=in.readLine();) valid only till 10 secs...or if i can calculate in any way the time ta... View Questions/Answers

servlet  December 8, 2010 at 11:11 PM
i want to use servlet application on my web page then what should i do. I have already webspace. ... View Questions/Answers

conver byte array to ByteArrayOutputStream  December 8, 2010 at 10:15 PM
Sir Can you please tell me how to convert the byte[] to ByteArrayOutputStream; One of my method will return the byte[] , i have to convert this byte array to ByteArrayOutputStream Thanks Rahul ... View Questions/Answers

Dear Sir I need to join u  December 8, 2010 at 10:04 PM
Dear Sir i am santosh Rai from Saudi Arabia please make me understood how to join u and i have one question i want to working with you what is ur process for working with u please send me document file for all details please Al-Buainain Group Software Engineer Mr. San... View Questions/Answers

Forgot password  December 8, 2010 at 9:24 PM
hi i want to develop a code for when user clicks on forgot password then the next page should be enter his mobile no then the password must be sent to his mobile no...! Thanks in advance Nag Raj ... View Questions/Answers

java swing  December 8, 2010 at 7:27 PM
iam using my project text box, label , combobox and that the same time i want menubar and popmenu. plz give me code for this. i want immediately plz send me that code. ... View Questions/Answers

java swing  December 8, 2010 at 7:27 PM
iam using my project text box, label , combobox and that the same time i want menubar and popmenu. plz give me code for this. i want immediately plz send me that code. ... View Questions/Answers

triangle output  December 8, 2010 at 7:24 PM
program to get the following output: * * ... View Questions/Answers

triangle output  December 8, 2010 at 7:23 PM
program to get the following output: * * ... View Questions/Answers

How to go about struts-2 vaidation framework/annotations with simple ui theme?  December 8, 2010 at 7:22 PM
I have tried annotations and validator.xml to have field validation in my application. But unfortunately there is no result. Server log doesn't show any error too. And with the ui theme as simple in struts.properties file, validation doesn't show any error message. Is this true? I... View Questions/Answers

number sorting  December 8, 2010 at 7:18 PM
program to sort a list of numbers in descending order where the inputs are entered from keyboard in runtime ... View Questions/Answers

help  December 8, 2010 at 6:33 PM
i can't answer this question....state 2 different array processing which use loops. ... View Questions/Answers

Hibernate Training  December 8, 2010 at 6:22 PM
What is the time duration for this training? Am I going to get some certificate after this training? How much is the fees for this? What will be the method - desktop sharing or con call or you will just provide materials? ... View Questions/Answers

JavaScript Defer Attribute  December 8, 2010 at 6:16 PM
defer attribute in javascript ... View Questions/Answers

Spring Restful webservice and client example  December 8, 2010 at 5:54 PM
Hi, I need the Spring Restful webservices generation using dao ,dto and controller format. Then tell me how can i generate the client for the above service. Please send the code immediately.Its urgently need..... Thanks, Valarmathi P ... View Questions/Answers

How do i create the node for target SMO in java..???  December 8, 2010 at 5:41 PM
How do i create the node for target SMO in java..??? or else whats the method for accessing the target SMO?? ... View Questions/Answers

have any one tried ajaxanywhere with jsp/servlet please provide sample  December 8, 2010 at 5:39 PM
hello you can find this app here: http://ajaxanywhere.sourceforge.net it explains how to use this with struts but not with simple jsp servlet(or i am confused ) also in netbeans when i added this jar as said ,it shows me the method name AA... View Questions/Answers

How to convert String double quotos to String double double quotes(  December 8, 2010 at 5:27 PM
Hi How to convert String double quotos to String double double quotes("----->"") By replace? Problem is: String column is "Age is 60" now . whenver displaying the column value in csv ,showing th "Age is 60 now". CSV: probleM:"Age is 60 now". Required :"Age is 60" now. ... View Questions/Answers

java  December 8, 2010 at 5:14 PM
what 2 access modifiers that can encapsulate the attributes of class?? and what is the concept of printf? ... View Questions/Answers

Web Service - Which files we have to give to client and how they will use that  December 8, 2010 at 4:55 PM
Hello, 1) I was created sample web service and i want to expose this web service or want to give it to client , for that which files i have to give. 2) In client side how they will use that, and how they call method from webservice. suppose there is a method getEmployeeDetails(empId) crea... View Questions/Answers

printf and println  December 8, 2010 at 4:17 PM
what is the differences between printf and println? ... View Questions/Answers

Looking for help  December 8, 2010 at 3:12 PM
I am looking for a valid helper to solve flex 4 problems I have found after switching from flex 3. We would work directly on my code with team viewer in the beginning. Thanks for your help Paolo ... View Questions/Answers

Referencing components in flex 4  December 8, 2010 at 3:00 PM
I used to create flex 3 applications using canvas as main components. In this moment I am creating flex 4 applications but components (now based on s:Group) are not referenced inside actionscript the same way. Many times I used the following syntax to capture the web service resul... View Questions/Answers

java  December 8, 2010 at 2:40 PM
can we must define methods in abstract class? ... View Questions/Answers

java  December 8, 2010 at 2:35 PM
can we implement two main class in java? ... View Questions/Answers

java  December 8, 2010 at 1:04 PM
what type of questions will ask in java interview ... View Questions/Answers

java  December 8, 2010 at 1:01 PM
how to learn d java in easy way ... View Questions/Answers

Tiles Plugin  December 8, 2010 at 12:52 PM
I have used tiles plugin in my projects but now I am seeing that each definition is loaded twice tell me the reason of this.This making code written in tiles definition to execute two times and my project may has become slow. ... View Questions/Answers

difference b/w == and equals()  December 8, 2010 at 12:51 PM
what is the difference between == operator and equals() ... View Questions/Answers

Jsf biggener  December 8, 2010 at 12:43 PM
hi friends, am new to jsf,i got an exception while running my application.am using netbeans ide to run my application,below is the exception detail: type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfillin... View Questions/Answers

About Java2  December 8, 2010 at 12:35 PM
sir i want to a develop one text editor but the problem is that i m not able to save our file as text formet or any formet Sir plz guide me ... View Questions/Answers

about java1  December 8, 2010 at 12:32 PM
Sir, i want to know how we develop 3d button ,lable,textfield etc. in java . sir plz give one program as well Thank you ... View Questions/Answers

diff detween jdbc and hibernet  December 8, 2010 at 12:26 PM
plz give me the reply ... View Questions/Answers

i want to find the byte code of a image file ... for my project..plz if anybody help me for java coding i will grateful..  December 8, 2010 at 11:16 AM
i want to convert a image file to its byte code format that help me for the pattern matching in my project.. but i cant convert Image file to its byte code format.. if anybody can plz help me ... View Questions/Answers

To change font in java code  December 8, 2010 at 10:20 AM
I am sending system generated mail through MIME message and Transport. Now i need to change the font.. Can you please help me as how to change the font of string body in java code ... View Questions/Answers