Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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....saifjunaid@gmail.com ... 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

wt is the advantage of myeclipse ide compare to others  December 8, 2010 at 9:49 AM
plz give me the reply ... View Questions/Answers

why to use hibernet as a dataacces layer  December 8, 2010 at 9:47 AM
plz give me the reply ... View Questions/Answers

wt are the components in the hibernet  December 8, 2010 at 9:44 AM
plz give me the reply ... View Questions/Answers

why to use hibernet vs jdbc  December 8, 2010 at 9:39 AM
plz send me the reply ... View Questions/Answers

reverse  December 8, 2010 at 7:22 AM
program to read a string and print the reverse string ... View Questions/Answers

Netbeans program  December 8, 2010 at 5:29 AM
I need to write a program that does the following... The TicTacToe class contains a 3x3 two-dimensional array of integers. The constructor should initialize the empty board to all zeros. It should have a method playerMove that accepts two integers as parameters, the first is the player (1... View Questions/Answers

Netbeans Question.  December 8, 2010 at 5:05 AM
Ok here is my code- * * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Random; /** * */ public class ContinueRollDie { * @param args the command line arguments */ public static void main(String[] args) {... View Questions/Answers

java  December 7, 2010 at 8:50 PM
i want program to create package for basic mathematical operations such as addition, subtract, division, multiply? ... View Questions/Answers

how to run servlet  December 7, 2010 at 8:16 PM
Servlet run procedure for J2EE Software ... View Questions/Answers

give the code for this ques///  December 7, 2010 at 8:13 PM
write a program in java which contains a class simple. this class contains 4 members variables namely a,b,c,and d. This class also contains 3 constructors of 2,3 and 4 arguments and a function show().Now in main() ,create a object which calls a constructors of 4 arguments ,a 4 argument construct... View Questions/Answers

How can i draw a line using java swings  December 7, 2010 at 7:00 PM
Sir my program contains different components i am using JFrame. I want to draw a straight line between components(Jtextfeilds, Jlabels).So could you help me for it. Thank You ... View Questions/Answers

How can i draw a line using java swings  December 7, 2010 at 7:00 PM
Sir my program contains different components i am using JFrame. I want to draw a straight line between components(Jtextfeilds, Jlabels).So could you help me for it. Thank You ... View Questions/Answers

hospital Management System  December 7, 2010 at 6:47 PM
hello sir i want hospital management system Source code in java swing Back-end Oracle 9i. i want these type of model 1. Username and password 2. staff details i. Doctor details ii. nurse details iii. Compounder details iv. Lab technician details v. Wardboy detai... View Questions/Answers

share your answer to this question  December 7, 2010 at 6:06 PM
i need to know what is the TELERIK CONTROL? what is the map suite? what is dunda chart? Also i have to know what are the websites available which give infor regarding this. Let me know how to search for the above mentioned topics and where i can get relevant information. ... View Questions/Answers

Query on StringTokenizer  December 7, 2010 at 5:24 PM
Sir,I kept my some data in backend using ms-access. for Example my data is like this vijayawada is good city.india is my country.i am raja. when i retrieve this data from backend and keep it in a String .i want to add this String in JLabel like this JLabel o=new JLabel(st); My question is... View Questions/Answers

Netbeans Array help  December 7, 2010 at 5:07 PM
Ok here is my code- * * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Random; /** * */ public class ContinueRollDie { * @param args the command line arguments */ public static void main(String[]... View Questions/Answers

StringToenizer Problem  December 7, 2010 at 4:49 PM
Sir, can i convert StringTokenizer into String don't use String array because i want to add to JLabel component. Please give answer to me. ... View Questions/Answers

Can iadd StringTokenizer into JLabel componenet  December 7, 2010 at 4:43 PM
l24="india.cricket.java.dotnet.oracle" String mn=l24; StringTokenizer mn1=new StringTokenizer(l24,". "); String mn3=(String)mn1; nowon=new JLabel(mn3);//label nowon.setBounds(3,280,1580,600); nowon.setBackground(Color.cyan); sir i want to add StringTokenizer element in JLabel component is... View Questions/Answers

Extjs DatePicker  December 7, 2010 at 4:23 PM
In Date Picker we select from date more than today date and select to date is today date in that today date is selected.How to deselect the Today Date.how to solve this problem in ExtJs. Thanks, Padmavathi. ... View Questions/Answers

Extjs Table Sorting  December 7, 2010 at 4:17 PM
how is it possible to do the table sort in extjs ... View Questions/Answers

How to handle traversing in CustomItem of J2ME in a mobile phone which does not support traversing?  December 7, 2010 at 4:02 PM
Hi, How to handle traversing in CustomItem of J2ME in a mobile phone which does not support traversing? Im doing a mobile application using J2ME - MIDP 2.0.In my application i draw the table using javax.microedition.lcdui.CustomItem.I also implement the traverse method.But in ... View Questions/Answers

without scanner  December 7, 2010 at 3:34 PM
a company need a system to store the data about the employees , the number of employees is dynamic , you need to store the following attributes : name , age , salary and note that we need to solve it using array and class and didn't use the scanner . ... View Questions/Answers

How to generate xml file using xpath  December 7, 2010 at 3:17 PM
Hi, I have a requirement in whixh I have x path of all the nodes with its corresponding values and I need to make a xml using that,. It would be great is you can help me out with how to make a xml using xpath. Thanks in Advance, Sanjay ... View Questions/Answers

DMCA.com