Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

what is the difference between annonationa xml anf xml file  November 22, 2011 at 9:18 PM
what is the difference between annonationa xml anf xml file... View Questions/Answers

method inside the method??  November 22, 2011 at 8:06 PM
can't we declare a method inside a method in java?? for eg: public class One { public static void main(String[] args) { One obj=new One(); One.add(); private static void add() { System.out.println("hiii..."); } } } ... View Questions/Answers

prog. using radio buttons for simple calculator  November 22, 2011 at 6:39 PM
import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class Calculator extends JFrame { private final Font BIGGER_FONT = new Font("monspaced", Font.PLAIN, 20); private JTextField textfield; private boolean number = true; pr... View Questions/Answers

Advertisement

prog. using radio buttons for simple calculator  November 22, 2011 at 6:34 PM
import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class Calculator extends JFrame { private final Font BIGGER_FONT = new Font("monspaced", Font.PLAIN, 20); private JTextField textfield; private boolean number = true; pr... View Questions/Answers

uiactionsheet in iphone  November 22, 2011 at 5:32 PM
Dynamically adding action sheet to UIViewController. ... View Questions/Answers

Jmagick  November 22, 2011 at 4:18 PM
can any one help me out ...how to use jmagick with servlets and jsp and its installation process also............ its very urgent....... thanx ina adv... ... View Questions/Answers

how to reduce width of jbutton ?  November 22, 2011 at 3:10 PM
how to reduce width of jbutton ? thanks in advancwe ... View Questions/Answers

print numbers  November 22, 2011 at 12:41 PM
1234 123 12 1234 ... View Questions/Answers

How to insert dynamic textbox values into database using Java?  November 22, 2011 at 11:52 AM
Hi I am trying to insert dynamic textbox values to database, my jsp form have 2 textboxes...Name, Address with an add button, if you click add button new set of dynamic textboxes with Name and Address will display....Now I want to Insert these dynamic textbox values to database(Oracle 11... View Questions/Answers

Java/PHP Developer  November 22, 2011 at 10:54 AM
Hi, how to create radio buttons on one pannel and should change when pressed ok... can u help me htrough this sooner... THANK U... ... View Questions/Answers

measuring Qos parameters  November 22, 2011 at 3:16 AM
Hi, is there a tool for measuring the quality of service (Qos) of an web services. Thanks. ... View Questions/Answers

measuring Qos parameters  November 22, 2011 at 3:15 AM
Hi, is there a tool for measuring the quality of service (Qos) of an web services. Thanks. ... View Questions/Answers

php mysql  November 21, 2011 at 11:46 PM
automatically insert a value in the month field at the last date of current month in mysql database. ... View Questions/Answers

php mysql  November 21, 2011 at 11:46 PM
automatically insert a value in the month field at the last date of current month in mysql database. ... View Questions/Answers

java program to convert decimal in words  November 21, 2011 at 10:35 PM
write a java program to convert a decimal no. in words.Ex: give input as 12 output must be twelve. ... View Questions/Answers

which package imported by the java compiler by default?  November 21, 2011 at 10:17 PM
which package imported by java by default? ... View Questions/Answers

what are indices?  November 21, 2011 at 10:13 PM
what are indices? ... View Questions/Answers

class loaders  November 21, 2011 at 9:11 PM
Explain static and dynamic class loaders? ... View Questions/Answers

ConcurrentModificationException  November 21, 2011 at 9:10 PM
Why do you get a concurrent modification exception when using an iterator? ... View Questions/Answers

Is session depend on cookie ???  November 21, 2011 at 5:48 PM
Since I created one session & as we say that session store at server side that means if I clear browser cookie thereafter it should show me my login use as logged in but when i cleared the cookie then my user logged out that means there is something behind session with cookie so please tell m... View Questions/Answers

Pontoon  November 21, 2011 at 5:32 PM
I have this code.. To play a game of Pontoon (Blackjack) i want to be able to reach the number of 21 and then stop. This does not. This carries on. Of course if the user wants to drop out then they can press n for no. import java.util.Scanner; public class Pontoon { ... View Questions/Answers

password validation with special character  November 21, 2011 at 4:08 PM
how to validate password with special character using java script? ... View Questions/Answers

java  November 21, 2011 at 3:58 PM
Write a program that draws the following figures one above the other. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ... View Questions/Answers

connect sql server 2005 using php  November 21, 2011 at 3:01 PM
how to connect sql server 2005 using php program. how mssql_connect will work ... View Questions/Answers

Java/PHP Developer  November 21, 2011 at 2:33 PM
how to remove and add a new contentpane on same frame do we have any methods for that... ... View Questions/Answers

setting php session variable by ajax  November 21, 2011 at 2:16 PM
Hello folks, i developing a php website where the content of the section load dynamically from database by AJAX. I need to set session variable on click on the content of that section. i tried to use AJAX to call another PHP script to set the session variable But it is not vi... View Questions/Answers

Asp.net  November 21, 2011 at 2:10 PM
how to show an output of an Asp.net project work on a mobile phone? ... View Questions/Answers

Object class in java  November 21, 2011 at 1:16 PM
want an example and with an explaination about equals() method in object class? Is equals() is similar to == ? ... View Questions/Answers

flogin button  November 21, 2011 at 12:31 PM
how to pass redirctt url for flogin button...and to retrieve parameters that are passed in that url..to store in our database... ... View Questions/Answers

Merging Two Arrays Of Different Lengths  November 21, 2011 at 9:50 AM
I have two arrays of different lengths and wants to have merged values into third. The only condition is, I want unique values in it(third array). Thanks In Advance. ... View Questions/Answers

Loops  November 21, 2011 at 12:25 AM
Write code that uses nested loops to print the following patterns: Pattern1: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 Pattern 2: 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 ... View Questions/Answers

Loops  November 21, 2011 at 12:19 AM
Write code that uses nested loops to print the following patterns: Pattern1: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 Pattern 2: 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 ... View Questions/Answers

Loops  November 21, 2011 at 12:17 AM
Write code that ask user to insert an integer (n) and prints out the factorial (n!) of this number. n! = n (n-1)(n-2)(n-3)...1 , n > 0 ... View Questions/Answers

Loops  November 20, 2011 at 11:58 PM
by using drjava q1.Write code that uses nested loops to print the following patterns: Pattern1: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 Pattern 2: 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 q2.Write code that ask user to insert an integ... View Questions/Answers

SQL in dot net  November 20, 2011 at 10:53 PM
write a code in dot net which connects to a database, retrieves the data and allows to input a valid phone number. ... View Questions/Answers

sorting  November 19, 2011 at 7:58 PM
how to do sorting without using bubble sort,selection sort ... View Questions/Answers

Java/PHP Developer  November 19, 2011 at 12:35 PM
Hi, can u please help me with this, I have a text file with 3 sentences separated by delimiters and i want to get each sentence in different JFrames when press ok button on first frame it should close and second frame should open likewise. ... View Questions/Answers

Guys Help me with this Application(when you put the name of the website it will return the IP of the web)  November 19, 2011 at 12:17 PM
import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; public class MyApp extends Frame implements ActionListener { TextField url; Button ok; MyApp(){ La... View Questions/Answers

Guys Help me with this Application(when you put the name of the website it will return the IP of the web)  November 19, 2011 at 12:17 PM
import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; public class MyApp extends Frame implements ActionListener { TextField url; Button ok; MyApp(){ La... View Questions/Answers

Java/PHP Developer  November 19, 2011 at 11:57 AM
how can we get words seperated by delimeters in text file can be imported in jframe like one word for one line. ... View Questions/Answers

I am not able to display the selected value of my combobox  November 19, 2011 at 11:31 AM
<?php echo "<select name=\"hello\">\n"; echo "<option value=\"NULL\">Select Value</option>\n"; $strQuery = "select unitcode,unitname from units order by unitcode"; $rsrcResult = mysql_query($strQuery); $i=1; $select='<select s... View Questions/Answers

Sequence number to generate daily starting with 1  November 19, 2011 at 11:15 AM
Sir, I am creating a bill report Application..I want to generate a sequence number for bill that is starting from 1.and if date changes the sequence number again starts with 1. help me sir, prudvui raju ... View Questions/Answers

array  November 19, 2011 at 10:57 AM
how to delete an element from 1-d arrray ... View Questions/Answers

forums creation using spring with hibernate?  November 19, 2011 at 10:11 AM
how to write mandatory fields with validations in forms using spring with hibernate? give me detailed example? ... View Questions/Answers

file class  November 19, 2011 at 7:05 AM
Hi Friend, I have a file class it lets me extract all the data from a csv file but I need to align the data properely, seperating into the proper rows and columns, as I said my code only allows me to extract all data but I need to use it. My Code: import java.util.Scanner; import ... View Questions/Answers

Java Date Class  November 19, 2011 at 6:58 AM
Hi Friend, I need to have a code to get the days between specific dates. Such if I enter 19 September 2011 to 21 September 2011, the days would be saturday, sunday and monday, the code I gave simply get one day, but i need to able to enter few dates and the output should be the the days, please l... View Questions/Answers

Cascade Issue  November 19, 2011 at 3:28 AM
I have 3 tables: user, stuffperuser (pk: FKuser & FKstuff), stuff. When I don't use cascading, I get an error: "Cannot add or update a child row: a foreign key constraint fails" The mapping files are correct. I need some sort of cascading. It works when I add cascading in the... View Questions/Answers

test case  November 19, 2011 at 12:57 AM
Hi Can you explain me how to write test case in java. regards kennedy ... View Questions/Answers

Retrieve a list of words from a website and show a word count plus a specified number of most frequently occurring words  November 19, 2011 at 12:55 AM
I have to: 1.Retrieve the document text from the web (provided by utility class) 2.Filter the desired "words" form the document, and one by one, store each word as a key into a Map<String,Integer> object where the value is the number of occurrences of the word 3. Read the (word, num_occurrence... View Questions/Answers

connection pooling with jbos4.0  November 19, 2011 at 12:55 AM
How to create connection pooling in jboss 4.0? please explain me step by steps from beginning. ... View Questions/Answers

report making in asp  November 18, 2011 at 5:22 PM
Hi sir, Please give some example report making code for jsp and mysql. ... View Questions/Answers

retrieve related data from database using jsp and mysql  November 18, 2011 at 5:20 PM
Hi sir, please give some example of jsp code for retrieving mysql database values in multiple dropdown list. if we change a value in a dropdown its related value must be shown in the adjacent text field. Regards banajit ... View Questions/Answers

schema extraction from mysql  November 18, 2011 at 4:34 PM
hi i am completely new to MySql. i need export the data base schema to a text file so that i can use it further. i want to type commands for these mysql> mysqldump ............. this command is not working. there is no username. 1)how do i findout username(its not assigned) and password?... View Questions/Answers

HTML table layout  November 18, 2011 at 3:17 PM
i have table layout in that i have menu in td(column) ,when i click menu item ,the page will be open in that table right side td(column) ,plz give me code and give me useful layout examples,because my requirement is layout using table, ... View Questions/Answers

Java/PHP Developer  November 18, 2011 at 2:59 PM
Hi, I have a textfile(notepad1.txt) with 1 question and another textfile(notepad2.txt) with answers(4 options like multiple choice),question is imported from first text file to jframe and 4 options with check boxs to the same frame panel, when i select the option and press ok button that answer s... View Questions/Answers

ATG  November 18, 2011 at 2:54 PM
IS art technology group is using in ur project development? ... View Questions/Answers

context menu overlapped in IE8  November 18, 2011 at 2:30 PM
I developed a contex menu in XHTML while opening it is overlapped in border of IE8 browser. even i have tried change the zaxis in css. I am using like below ... View Questions/Answers

Problem With Combo Box Editable Property  November 18, 2011 at 12:22 PM
Hi I am new To Flex i had set Combo Box Editable Property as true. But I didn't get the property filtering in the combo box like when you enter text "S" in the combo box then the names Started with "S" will Automatically Display as Combo Box Items. So will you please give me some idea about thi... View Questions/Answers

open pdf file in same jsp page and the pdf file should retrieved from database  November 18, 2011 at 12:15 PM
Hai all, I need code to open a pdf file in same jsp page(browser) while click on hyperlink And the file was located in database table. Can any one help me Regards, Divya ... View Questions/Answers

Java swing  November 18, 2011 at 11:03 AM
Design an appliaction for with details such as name,age,DOB,address,qualification and finaly when we click the view details button all types details should be displayed in another View in TextView's..I need the sample code.. ... View Questions/Answers

Java/PHP Developer  November 18, 2011 at 10:44 AM
Hi, can u help me with, question from a text file and answers from another text file with check box..... like a text file containing questions and another text file containing answer of 3 r 4 options,each one with checkboxes and an ok button, when 'ok' pressed should store the checked val... View Questions/Answers

Java if else condition  November 18, 2011 at 10:28 AM
its there any similar condition for (X<=5 || y<=10) please post the answer as soon as possible.... TQ ... View Questions/Answers

how to call servlet from html page at anchor tag ?  November 18, 2011 at 10:27 AM
I have a very different problem as i am using netbeans ide 6.9 ml to make a website in java and my website is running on it but after uploading it on server it is not working properly. I split and merge template. In the header part of my page i use buttons image and for referrence i use... View Questions/Answers

JSP textbox autopopulation on basis of SQL table values  November 18, 2011 at 10:07 AM
Hi, I need to achieve the following on J2EE platform Could you please help? The following table is created in MySQL DB: Problem type Status Responsible LEGAL CONTROL NEW ABC LEGAL Dept PENDING PQR There are 2 list box on JSP , one is to select... View Questions/Answers

Jkmegamenu drop downs moving left when window is resized in Chrome  November 18, 2011 at 7:43 AM
I'm using the JKmegamenu plugin to implement a megamenu on a website I'm working on. It works and looks nice, however when the web browser(Chrome) window is resized the drop down divs move left. I got the JavaScript code from this link. You can check in Chrome: Please try to h... View Questions/Answers

<identifier> expected error  November 18, 2011 at 7:17 AM
expected error print(" import java.util.*; public class Person{ Queue<Person> busQ = new LinkedList<Person>(); busQ.addLast(homer); busQ.addLast(marge); busQ.addLast(maggie); busQ.addLast(lisa); busQ.addLast(bart... View Questions/Answers

how to find the nth prime number in java  November 17, 2011 at 10:25 PM
strong texthow to find the nth prime number in java ... View Questions/Answers

Unable to use JMXMP with Knopflerfish?  November 17, 2011 at 8:38 PM
I have a bundle which runs properly with Eclipse, then I generate the jar file and try to use it with Knopflerfish, then I get the following exception java.net.MalformedURLException: Unsupported protocol: jmxmp at javax.management.remote.JMXConnectorServerFactor... View Questions/Answers

Java/PHP Developer  November 17, 2011 at 6:46 PM
Hi, can u help me with, question from a text file and answers from another text file with check box..... like a text file containing questions and another text file containing answer of 3 r 4 options,each one with checkboxes and an ok button, when 'ok' pressed should store the checked val... View Questions/Answers

Convert the excel sheet data into oracle table through java or jsp  November 17, 2011 at 6:26 PM
Hi Friends, Let me help this issue i am phasing Convert the excel sheet data into oracle table through java or jsp. ... View Questions/Answers

view data from jTextArea to jtable  November 17, 2011 at 6:11 PM
good night Please help senior java all, I want to make a brief program of reading data in the text area and then on the show to the j table. I created a new scrip like below but it does not enter into the j table. but his condition only in the println in netbeans. String str; ... View Questions/Answers

EJB3.0,web-service,websphere using eclipse  November 17, 2011 at 6:10 PM
I have to make an ejb3.0 application a web-service using websphere6.1 and eclipse.Can I do it configuring websphere server with eclipse,and develope the application in eclipse itself,then deploy on the server,then convert it into web-service?Any Idea/help will be of great use.I am running out of ... View Questions/Answers

Shopping_Beauty  November 17, 2011 at 5:06 PM
**Deleted by Admin** - BH Cosmetics, BHCosmetics is the best place on the web for 120 eyeshadow palette, 88 eyeshadow palette, eye shadow cosmetics and professional make up palettes. ... View Questions/Answers

Java/PHP Developer  November 17, 2011 at 4:39 PM
Hi, can u help me with, question from a text file and answers from another text file with check box..... ... View Questions/Answers

i have one textfield and 2 buttons named as find and clear.when i entered some text in text filed it should return some rows.when i clicked on clear button the returned rows should not be displayed  November 17, 2011 at 4:11 PM
i have one textfield and 2 buttons named as find and clear.when i entered some text in text filed it should return some rows.when i clicked on clear button the returned rows should not be displayed .i need code for this thanks in advance ... View Questions/Answers

Driver  November 17, 2011 at 3:54 PM
can u send type4 jdbc driver class name and url for microsoft sql server 2008....? ... View Questions/Answers

ERP  November 17, 2011 at 3:29 PM
what is ERP of project? ... View Questions/Answers

autocomplete  November 17, 2011 at 3:18 PM
I used autocomplete from roseindida.net.. i am getting the autocomplete is coming the retrieved values of database in the list..but when i select the value it is not displaying on the field.. and again i need to write that. please tell me what modification i need to do.to display the value on th... View Questions/Answers

binary tree  November 17, 2011 at 2:46 PM
how to count no. of nodes in a binary tree for mlm if it complet tree or incomplet tree in php using mysql db? ... View Questions/Answers

browser back button  November 17, 2011 at 1:09 PM
hi...i created one page in JSF.that page had three form division.in first form one add button is there.if i click that button move to second form,then i click browser back button ,it moves on another page.so how can i control.please any one know the ans plz let me know. ... View Questions/Answers

Getting the last inserted id using jsp  November 17, 2011 at 12:47 PM
Pls how can i retrieve the last inserted id after submitting a form to mysql using jsp ... View Questions/Answers

Java/PHP Developer  November 17, 2011 at 12:23 PM
please help me to bring cell values of jtable to a text file.................... ... View Questions/Answers

format  November 17, 2011 at 10:33 AM
Abcdcba Abc cba Ab ba A a Ab ba Abc cba Abcdcba ... View Questions/Answers

print a form of *  November 17, 2011 at 10:30 AM
* *** ***** ******* ********* ******* ***** *** * ... View Questions/Answers

jsp.....  November 17, 2011 at 9:26 AM
1..login screen->user-id and password will be entered and save has to be validated against database corresponding table.on successful validation,detail like client ip and type of browser has to captured and then stored in the database.After successful login main page/secondary page will appear.Se... View Questions/Answers

Interactive map  November 16, 2011 at 6:12 PM
hi........ i require map to be zoom in and enlarge the area and show its detail. Can anyone tel me how can this be done using java swings .... plz help........................... ... View Questions/Answers

image display  November 16, 2011 at 5:19 PM
Hai Friends..... Actually I uploaded filepath into database and image into a folder. Now i want to show that image as my profile photo. How it is?...Friends Can you help me? Thanks in advance to take time for spending me ... View Questions/Answers

image display  November 16, 2011 at 5:19 PM
Hai Friends..... Actually I uploaded filepath into database and image into a folder. Now i want to show that image as my profile photo. How it is?...Friends Can you help me? Thanks in advance to take time for spending me ... View Questions/Answers

How i write a function/method in jsp?  November 16, 2011 at 4:49 PM
How write the function/method in jsp? Using that method i can retrieve the value coming from database. give me example plz. Actually i want to show the list of user detail. And the details come from different table and id is store in use... View Questions/Answers

i have one txt field and one button.when i entere any test in testfield then only button should be enabled. .when i cleared the test,at that time butoon should be disabled. i need code for this  November 16, 2011 at 4:24 PM
i have one txt field and one button.when i entere any test in testfield then only button should be enabled. .when i cleared the test,at that time butoon should be disabled. i need code for this thanks in advance ... View Questions/Answers

i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this  November 16, 2011 at 4:22 PM
i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this i need for this ... View Questions/Answers

Java  November 16, 2011 at 3:22 PM
HI, I need a button with action to import data from jtable to text(notepad) file.. ... View Questions/Answers

jsp pages  November 16, 2011 at 1:25 PM
I am using 3 jsp pages in an application.. 1.login.jsp 2.checkuser.jsp:is connected to databse..from this page im giving path to search.jsp 3.search.jsp:Here we need fetch data from data base..do u want to connect to database from this page,again or checkuser.jsp database connection available to ... View Questions/Answers

dropdown list in jsp  November 16, 2011 at 1:08 PM
hai, i have static dropdown list.. i want to get the selected value in string variable without jsp regards asha ... View Questions/Answers

Java/PHP Developer  November 16, 2011 at 12:44 PM
help me with passing data from jframe to text file please. ... View Questions/Answers

Java Beginner  November 16, 2011 at 11:53 AM
can we declare a class inside an interface? where this type of declaration required? give one example ... View Questions/Answers

Java  November 16, 2011 at 10:27 AM
This program uses a class named DrivingLicense to keep track of two driving licenses, including the driver?s name, and the number of speeding tickets they have received. You may not modify the DLTest code, but should write the DrivingLicense class, and test it using the DLTest.java program to e... View Questions/Answers

Swing  November 16, 2011 at 10:07 AM
Hi, I need a program to read text from a text file to Jframe directly without browsing. Thank u ... View Questions/Answers

Java  November 16, 2011 at 9:44 AM
This program uses a class named DrivingLicense to keep track of two driving licenses, including the driver?s name, and the number of speeding tickets they have received. You may not modify the DLTest code, but should write the DrivingLicense class, and test it using the DLTest.java program to en... View Questions/Answers

DMCA.com