Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

Access specifiers  December 7, 2010 at 1:10 PM
Why we are giving "public static void main"? How many times declared the main()? ... View Questions/Answers

java  December 7, 2010 at 12:14 PM
what is awt ... View Questions/Answers

Can anybody tell me how to use #parameters in struts 2 ?  December 7, 2010 at 11:56 AM
I have a login page, And by using struts.xml and #parameters I want to display error message if there is any error in login. Ex : struts.xml welcomePage.tiles /jsp... View Questions/Answers

validation for drop down list  December 7, 2010 at 11:43 AM
Hi all I have a form, it contain 12 drop down list. Each drop down has 1 to 5 values,i need to validate this form. the following condition should be true. 1.you can choose only 3 times 5 value. 2. you have to give 1,2 minimum 4 times 3.you can give remain value any times. Please p... View Questions/Answers

JTable values are not gettiing properly  December 7, 2010 at 8:48 AM
Sir, I created one JTable with two columns and one row i have given two values,but i getting only one value .That is a[1][1] is String array. if i have given 8,9 then i got 8 only but not 9.i.e a[0][0]=8 a[0][1]= (nothing printed) Please go through my code import java.util.*; ... View Questions/Answers

Sort  December 7, 2010 at 6:37 AM
program to sort a list of numbers in decendimg order ... View Questions/Answers

Connected Limited Device Configuration  December 7, 2010 at 1:50 AM
(Q) One of the most common configurations used when developing applications for a Java based device within the J2ME, is the Connected Limited Device Configuration. What type of device is this most suitable for, what are main limitations of this configuration and what implications does this have f... View Questions/Answers

how to pass input from radio button to jsp page  December 7, 2010 at 1:49 AM
hi.. the code below here there are list of radio buttons here in jsp page when the values are matched from database. I want to pass the selected value in Struts Action FormBean and then retrive data to perform operation in execute() method in Struts Action please help me... View Questions/Answers

how to pass input from radio button to jsp page  December 7, 2010 at 1:49 AM
hi.. the code below here there are list of radio buttons here in jsp page when the values are matched from database. I want to pass the selected value in Struts Action FormBean and then retrive data to perform operation in execute() method in Struts Action please help me... View Questions/Answers

how to pass input from radio button to jsp page  December 7, 2010 at 1:49 AM
hi.. the code below here there are list of radio buttons here in jsp page when the values are matched from database. I want to pass the selected value in Struts Action FormBean and then retrive data to perform operation in execute() method in Struts Action please help me... View Questions/Answers

pro  December 6, 2010 at 11:57 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 ... View Questions/Answers

validation web page  December 6, 2010 at 11:01 PM
vivek i want to crate a webpage with specfic email id and password to that webpage . using jsp & servlets ... View Questions/Answers

give the code for this ques///  December 6, 2010 at 10:12 PM
write a program in java in which there is a clss readline. the functionality of this class is to read a string from the console and display it on the console .A point that should be keep in mind is that ,your program must get and after displaying the string of inputted . you can use some symbol/c... View Questions/Answers

Compression of rolled-over files using log4j  December 6, 2010 at 10:12 PM
How can I use log4j to rollover the log files on hourly basis and compress the rolled over files? ... View Questions/Answers

palindrome  December 6, 2010 at 10:08 PM
program to find the given string is palindrome or not ... View Questions/Answers

auto resize  December 6, 2010 at 8:46 PM
Dear Sir, I have a table with 60 coloumns and 90 rows.If i give the print option it s not comin in one page.Can you please tell me the javascript code for auto resizing it into one window or fit to the window while taking the print. Regards Debasis ... View Questions/Answers

Object Creations  December 6, 2010 at 8:36 PM
String a[][]=new String[10][20]; The above line how many objects are created. ... View Questions/Answers

Polymorphism  December 6, 2010 at 8:07 PM
If I have a class A and method m1(int a) and another class B that extends A and also having method m1(int y,int x)... Which method is to be called is decided at what time(run time or compile time) when we write in main { B obj = new B(); obj.m1(2,2); } ... View Questions/Answers

sql query to get data from two tables  December 6, 2010 at 8:02 PM
how can i get the data from two different tables? ... View Questions/Answers

Advance DBMS  December 6, 2010 at 7:35 PM
What are views? Explain its various types? ... View Questions/Answers

Junit Test Suite  December 6, 2010 at 5:45 PM
Hi Sir I am a beginner to JUnit. I have created these three test classes - CounterTest,MyClassTest & PetTest. I want to run these all with a Test Suite. Please mention code with your answer. Best regards ... View Questions/Answers

Stub or Mock in JUnit  December 6, 2010 at 5:31 PM
What is stub and Mock in JUnit? Please give one real time example so that i can understand easily. ... View Questions/Answers

How to calculating time difference bewteen two countries using country name?  December 6, 2010 at 5:24 PM
How to calculate the time difference between two countries. Example if i pass India and America, then the program should return the time difference bewteen two countries. ... View Questions/Answers

JunitEE  December 6, 2010 at 5:22 PM
hi sir What is JunitEE ? Is it comes with the JUnit SetUp ? ... View Questions/Answers

optional parameter of Test annotattion  December 6, 2010 at 4:50 PM
What are two optional parameters of @Test annotation ? ... View Questions/Answers

optional parameter of Test annotattion  December 6, 2010 at 4:48 PM
The Test annotation supports two optional parameters. The first, expected, declares that a test method should throw an exception. If it doesn't throw an exception or if it throws a different exception than the one declared, the test fails. For example, the following test succeeds : ... View Questions/Answers

Junit @Test annotation  December 6, 2010 at 4:32 PM
What is the Application of @Test Annotation in JUnit ? ... View Questions/Answers

Difference between getting a document using DOMParser & DocumentBuilderFactory !!!  December 6, 2010 at 4:17 PM
Hi, In DOM tutorials, on one page a document is formed using DocumentBuilderFactory and on the other page, document is formed using DOMParser. I could not understand the difference between these 2 methods.. Can anyone please explain. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

reminder  December 6, 2010 at 4:13 PM
hi friends i want to set reminder on web page using java servlet. so please give me code or procedure how to set reminder. reminder should b like pop up window at the right bottom corner after checking given date with system date. ... View Questions/Answers

JUnit Uninstallation  December 6, 2010 at 3:20 PM
Hi Sir, How can we uninstall JUnit completely from our system ? ... View Questions/Answers

merge two war files  December 6, 2010 at 2:44 PM
how to merge two war files using maven ... View Questions/Answers

Running JUnit  December 6, 2010 at 2:43 PM
Hi sir How can we run JUnit or Run test case Using JUnit using command prompt or CMD? Is there any alternate way of running test cases? ... View Questions/Answers

Running JUnit  December 6, 2010 at 2:43 PM
Hi sir How can we run JUnit or Run test case Using JUnit using command prompt or CMD? Is there any alternate way of running test cases? ... View Questions/Answers

difference between touch screen and non touch screen  December 6, 2010 at 2:32 PM
what is a difference between touch screen and non touch screen in J2ME (code wise) ... View Questions/Answers

difference between touch screen and non touch screen  December 6, 2010 at 2:29 PM
code wise ,what is a difference between touch screen and non touch screen in J2ME. ... View Questions/Answers

telephone directory  December 6, 2010 at 2:18 PM
how to make a telephone directory using arrays? ... View Questions/Answers

buzz number  December 6, 2010 at 2:17 PM
buzz number ... View Questions/Answers

How to find the exact PHP template I need?  December 6, 2010 at 2:06 PM
Hi! I'm a PHP Pro?I think I am one?, but this is the first time for me to try a PHP template, so I have no clue on how to choose one. Do you have some tips to help me choose the/a right PHP template? Needs... View Questions/Answers

automorphic numbers  December 6, 2010 at 1:58 PM
how to find automorphic number in java ... View Questions/Answers

Custom tags in Jetty  December 6, 2010 at 1:25 PM
Any one knows about Jetty 6.1.22 Server Supported TLD File Version????If so could you please provide an sample TLD file??? ... View Questions/Answers

Junit download & installation.  December 6, 2010 at 12:23 PM
Hello sir I want to know from which site i can download JUnit & How can i install JUnit? If there is any class path setting plz mention it. Plz reply ASAP. ... View Questions/Answers

how to take system date in java servlet?????  December 6, 2010 at 12:05 PM
how to take system date in java servlet????? ... View Questions/Answers

Need of JUnit  December 6, 2010 at 11:51 AM
Hi sir, What makes JUnit better than other testing tools for Java Unit testing? ... View Questions/Answers

jsp  December 6, 2010 at 11:43 AM
Hi all..I am new in jsp. I have a question. I want develope a jsp page it contain two part for two different user group. i want to hide some information from user1 group and same as user2 group. can i do this in single jsp page to do it. Thanks Yogi ... View Questions/Answers

Junit  December 6, 2010 at 11:30 AM
Hi sir My question to you is - What is JUnit? ... View Questions/Answers

thread.interrupted()  December 6, 2010 at 11:22 AM
show me a example to write thread.interrupted() method in a java programme? ... View Questions/Answers

thread.interrupt()  December 6, 2010 at 11:20 AM
show me a example for thread.interrupt() method in a java programme? ... View Questions/Answers

how to set value of dropdown list  December 6, 2010 at 11:18 AM
Hello Sir, I'd solved the earlier problems somehow but now this time another problem arised when I want to pass the value from a link to a dropdown list. I want to set the dropdown list selected according to link. CODE: <% String hr = request.getParameter("hour... View Questions/Answers

thread.isInterrupted()  December 6, 2010 at 11:18 AM
show me a example how to write thread.isInterrupted() method in java programme? ... View Questions/Answers

how to set value of dropdown list  December 6, 2010 at 11:15 AM
Hello Sir, I'd solved the earlier problems somehow but now this time another problem arised when I want to pass the value from a link to a dropdown list. I want to set the dropdown list selected according to link. CODE: print(" Blockquote <% ... View Questions/Answers

random number  December 6, 2010 at 10:12 AM
Please How do I generate a program that gives me random integer from 115 to 250? Using java.util.random. Thank you very much! ... View Questions/Answers

Example  December 6, 2010 at 2:04 AM
JDBC in Servlet examples. ... View Questions/Answers

insert  December 6, 2010 at 1:57 AM
insert data in database from servlet through JDBC ... View Questions/Answers

insert and delete data in database  December 6, 2010 at 1:50 AM
insert and delete data in database from servlets through JDBC ... View Questions/Answers

About java  December 6, 2010 at 12:49 AM
how we insert our database data into the jTable in java or how we show database content into the JTable in java ... View Questions/Answers

query  December 6, 2010 at 12:03 AM
if i want to insert 1labelbox,1textbox,1button in 1st row and in second row 1label box and a text box ly how can i align it? ... View Questions/Answers

uinavigationcontroller back button action  December 5, 2010 at 9:57 PM
Hi, Tell me how to back to my root or main view in my uinavigationcontroller based application. I will display the back view on click of a button in my iPhone and iPad based application. Give me any code for uinavigationcontroller back button action method. Thanks for your kind he... View Questions/Answers

iPhone php session  December 5, 2010 at 9:54 PM
Hi, I am developing an application for iPhone. In my application user validated with a php file on server. Now I don't know how to send the user session details in next request to the apache server. Give me code for session management in iPhone application backed with PHP server code.... View Questions/Answers

NSData to NSString  December 5, 2010 at 9:16 PM
Hi, I am posting some data on server using HTTP. My response is returned in the form of NSData. I want to convert NSData into NSString object. Provide me any good code example of converting NSData to NSString. Thanks ... View Questions/Answers

UIButton sender type cast  December 5, 2010 at 8:34 PM
Hi, I want to type cast sender object into UIButton. Please provide me code. Thanks ... View Questions/Answers

UItextfield blank  December 5, 2010 at 8:07 PM
Hi, How I can check if UITextfield is blank and then display error to the user? Thanks ... View Questions/Answers

iPhone resignfirstresponder  December 5, 2010 at 7:39 PM
Hi, Provide me a good example of iPhone resignfirstresponder. I need a code to hide keyboard when use clicks outside the text box. Thanks ... View Questions/Answers

information  December 5, 2010 at 6:21 PM
hello sir i installed java1.5 s/w but java editor not displaying. i wants to create a desktop icon for this application.without notepad i wants to write code in code window like c,cpp.plz help me. replay to venkatesh.sirikonda1@gmai.com thank u sir ... View Questions/Answers

TheBeginner'sQuestion  December 5, 2010 at 4:30 PM
0+2+4+6+8+.............+n ... View Questions/Answers

window addsubview remove in iPhone  December 5, 2010 at 2:57 PM
Hi, How to add a splash screen or some other view and then remove it and add new view. I want program for iPhone and iPad. Thank you. ... View Questions/Answers

DMCA.com