Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

odbc MS EXCEL  November 23, 2011 at 7:38 PM
hey my whole database is stored in MS Excel. so please tell me that can we connect to that database. if yes, how to do that. please help me out i am doing it in netbeans can please tell me the steps. ... View Questions/Answers

test cases problem  November 23, 2011 at 5:46 PM
what to write in the testing phase of my project. My project is a JSP project that generate graphs from the student marks in the database using jfreechart library. i have used apache tomcat and netbeans IDE 6.7.1..please help me with the test cases that could be made out of it. ... View Questions/Answers

Java/PHP Developer  November 23, 2011 at 5:12 PM
Hi, can u help me to embedd time on java frame and it should be independent of operating system time..if we change system time it should'nt be changed.. Thank you sir.. ... View Questions/Answers

Ads

Entity Relationship Diagram 3  November 23, 2011 at 4:34 PM
Task 3 Activities: Identify all entities and attributes from the given scenario. Draw entity relationship diagram of the given from scenario. Determine primary key and foreign keys from given scenario. Scenario: The University i... View Questions/Answers

how can download mobile explorer emulator  November 23, 2011 at 4:19 PM
how can download mobile explorer emulator? ... View Questions/Answers

Entity Relationship Diagram  November 23, 2011 at 3:58 PM
Draw only entity relationship diagrams for the following scenario. Include any attributes you think should be represented. . Each engineer works on a number of projects. For every engineer a record is kept of his number, name title and salary. . For every project a record is kept ... View Questions/Answers

Entity Relationship  November 23, 2011 at 3:50 PM
Draw entity relationship diagram for the following scenario. A university has many departments whereas each department belongs to that particular uni.That uni has also many buildings whereas each building belongs to that particular uni . The uni has also many employees whereas each emplo... View Questions/Answers

form validation  November 23, 2011 at 3:47 PM
<form name="form" method="post" action="process.php" onsubmit="return validate(); "> <table align="center" border="1px" bgcolor="orange" > <tr><td>username:</td><td><input type="text" name="username" /><... View Questions/Answers

invoking exe files on sound  November 23, 2011 at 3:39 PM
how to invoke .exe files on input as sound in java? ... View Questions/Answers

java  November 23, 2011 at 3:24 PM
Class A{ { Class B extends A{ m1(); class c extends B{ m2(); } B b1 = new c(); b1.m1(); b1.m2(); Will this code compile? if not what is the error? ... View Questions/Answers

Java/PHP Developer  November 23, 2011 at 3:07 PM
Hi, I need a cloak embedded in java swing frame or panel..And it should not change when system time is changed ..please ... View Questions/Answers

how to connect SQL Server 2005 using php  November 23, 2011 at 2:02 PM
i need to connect SQL Server 2005 using php. how can i connect . how to use mssql_connect function? ... View Questions/Answers

login page with mysql using jsp  November 23, 2011 at 12:15 PM
pls i need a sample of login page to check username and password in mysql database. thanks ... View Questions/Answers

php loging form connecitivity with mysql  November 23, 2011 at 10:16 AM
my loging form is not connect ... View Questions/Answers

JAVA Compiliation  November 23, 2011 at 3:21 AM
How do I code and compile in the areas that say "IMPLEMENT ME"? import java.util.Scanner; import java.util.Stack; class EvalException extends Exception{ public EvalException(String msg) { super(msg); } interface Expr { ... View Questions/Answers

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

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

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

DMCA.com