Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

libxml2.2.dylib iphone  December 5, 2010 at 2:29 PM
Hi, I added the libxml2.2.dylib in iPhone application, still its not able to compile the XML processing code. What to do? Thanks ... View Questions/Answers

provide me the program for that ques.  December 5, 2010 at 2:09 PM
wtite a program in java there is a class readchar.the functionality of this class is to read a string from the console and display the characters of that string on the console. ... View Questions/Answers

UIAlertView Example  December 5, 2010 at 1:39 PM
Hi, Provide me good example of UIAlertView. What is the code of UIAlertView that I can use to display message to the user? Thanks ... View Questions/Answers

java jdbc  December 5, 2010 at 12:06 PM
what is a prepared statement? ... View Questions/Answers

multithreading  December 5, 2010 at 11:18 AM
is multithreading is inbuilt in java? if yes then why we implement thread seperately? ... View Questions/Answers

hi  December 5, 2010 at 11:05 AM
int A[]=new int{2,5,4,1,3}; what is the error in declaration of this ... View Questions/Answers

error  December 5, 2010 at 10:48 AM
import java.io.*; public class sereies { public static void main(String args[])throws IOException { BufferedReader keyin=new BufferedReader(new InputStreamReader(System.in)); int n; double sum=0, m=1,s=1; System.out.println("enter the ... View Questions/Answers

Struts Action Classes  December 5, 2010 at 10:15 AM
1) Is necessary to create an ActionForm to LookupDispatchAction. If not the program will not executed. 2) What is the beauty of Mapping Dispatch Action. ... View Questions/Answers

Change the name of the grades  December 5, 2010 at 10:03 AM
Hi, i'm developing with polar chart and i want to change the name of the grades, for example: add("variable name",5) insted of add(20, 5). Somebody know how to do it? Tanks ... View Questions/Answers

mapping between java class and more than 2 tables  December 5, 2010 at 9:57 AM
Association mapping of table in hibernate ... View Questions/Answers

String  December 5, 2010 at 9:19 AM
how to add spaces with string functions.? ... View Questions/Answers

Array  December 5, 2010 at 6:52 AM
What if i will not declare the limit index of an array, how will I declare an array and store values with it using loop? ... View Questions/Answers

url validation in struts2  December 5, 2010 at 6:32 AM
Hi in strts2 urlValidation Application,the validation xml file (urlVaLidatiohatnAction-validation.xml) can not be reading,it con not show validation, can u please whre i have to put that file in which directry,im using eclipse 6.0,my dirctry structure is C:\Struts2URLValidation\src\struts.xml,C:\... View Questions/Answers

Java stack help  December 5, 2010 at 4:21 AM
How would I use stacks in java to do a calculation like: 4*((3+3)/(5-3)) ? ... View Questions/Answers

C++  December 5, 2010 at 12:12 AM
Describe the principle advantages of deploying a linked list versus a static array when implementing a Queue or a Stack. ... View Questions/Answers

wt are the collections in java  December 4, 2010 at 11:48 PM
plese send me the reply ... View Questions/Answers

wt are the futures in jdk 1.5 with clear ex  December 4, 2010 at 11:42 PM
plese send me the correce ex ... View Questions/Answers

question for "get method"  December 4, 2010 at 11:41 PM
when I want make method "get" for name or any char or string ..how I can write the syntax ? and what does it return ? ... View Questions/Answers

code for jsp to db connection using jdbc  December 4, 2010 at 11:39 PM
please send me the code ... View Questions/Answers

HTML code to servlet to database using jdbc  December 4, 2010 at 11:33 PM
pls send me the code related to the title ... View Questions/Answers

Help with Temperature program  December 4, 2010 at 8:36 PM
I need help to write a GUI program to calculate the temperature. and here is the format Application that converts temperature between 3 different scales: Fahrenheit, Celsius and Kelvin. ΓΆβ?¬ΒΆ The application should allow the user to make conversions between any two scales. ΓΆβ?¬ΒΆ The input tem... View Questions/Answers

JQuery-What is Connect?  December 4, 2010 at 6:27 PM
What is Connect in JQuery and how can i use it? ... View Questions/Answers

how to disable browser back button  December 4, 2010 at 6:09 PM
Am doing a web application in that how to disable browser back button using java script? ... View Questions/Answers

JQuery-event working new element  December 4, 2010 at 6:06 PM
I want to know- why not an event(in JQuery) works on my created element through jQuery ? ... View Questions/Answers

JQuery-check/uncheck radio button in jQuery  December 4, 2010 at 5:52 PM
Hi Sir, I want to know how can i check/uncheck input or radio button? ... View Questions/Answers

JQuery-Disabling element in JQuery.  December 4, 2010 at 5:42 PM
How can we enable/disable an element in JQuery ? ... View Questions/Answers

JQuery-confirming exsistance of an element.  December 4, 2010 at 5:26 PM
Hi there, How do I test whether an element exists in jQuery? ... View Questions/Answers

JQuery-Selecting class or ID  December 4, 2010 at 5:07 PM
Hi Guys, I am new to JQuery. I am getting little trouble in selecting an item using class or ID in jQuery? ... View Questions/Answers

JQuery-Selecting class or ID  December 4, 2010 at 5:07 PM
Hi Guys, I am new to JQuery. I am getting little trouble in selecting an item using class or ID in jQuery? ... View Questions/Answers

JQuery  December 4, 2010 at 4:35 PM
hi there, I am just beginner for jQuery and i want to know-what is jQuery ? How it is better than JavaScript ? ... View Questions/Answers

how to set values from parent page to iframe in javascript  December 4, 2010 at 4:09 PM
how to set values from parent page to iframe in javascript pls reply me as possible as I am in great trouble ... View Questions/Answers

DMCA.com