Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

program  October 21, 2011 at 10:54 AM
i want help to making a project in check current date using c language ... View Questions/Answers

program  October 21, 2011 at 10:54 AM
i want help to making a project in check current date using c language ... View Questions/Answers

java Programming  October 21, 2011 at 7:45 AM
Based on the following algorithm, write a Java Program Start defining the MyClass class. Declare the class?s myField data field. Initialize the data field. Start defining the SetField() method. Set the data field to the value passed to SetField(). Start defining the GetField() metho... View Questions/Answers

Advertisement

q2  October 21, 2011 at 7:37 AM
provide me a java coding based on the following algoritm start defining the MyClass Declare the class's myField data field Initilize the data field Start defining the SetField() method set the data field to the value passed to SetField() Start defining the GetField() method Return the value of th... View Questions/Answers

c# (ado.net)  October 20, 2011 at 8:15 PM
i am preparing a 180 query questions. how to make a groupbox that include 3 radio buttons named (YES, NO, CANCEL)when i select YES then, the YES is stored in the sql,when i select NO then, the NO is stored in the sql,when i select CANCEL then, the CANCEL is stored in the sql.AND also if i am sel... View Questions/Answers

Struts2 Spring Hibernate integration  October 20, 2011 at 7:27 PM
How to integrate Struts2 Spring2.5 and Hibernate3 in a web application project?Could anyone give some example? ... View Questions/Answers

Jtree connection with Jlist  October 20, 2011 at 7:26 PM
I have a Jtree which contain different folders having files but the jtree will show only the folders. Now I want when I click a folder then its contained file will be shown in jList .How it is possible in java. ... View Questions/Answers

Jtree connection with Jlist  October 20, 2011 at 7:26 PM
I have a Jtree which contain different folders having files but the jtree will show only the folders. Now I want when I click a folder then its contained file will be shown in jList .How it is possible in java. ... View Questions/Answers

JDBC CONNECTIVITY  October 20, 2011 at 5:33 PM
How do i connect my database to java. I have the connector file and i place it in lib of jdk folder and installed the jdbc driver. I think i didnt complete the process. Is there anything like path to set jar file in environment variable. ... View Questions/Answers

JDBC CONNECTIVITY  October 20, 2011 at 5:30 PM
import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.sql.SQLException; // User: USER // Datetime: Thu Oct 20 15:19:38 IST 2011 // File name: Document [1].java /** * This class is gen... View Questions/Answers

Export SQL database schema from SQL server management studion express2005 into MS excel file  October 20, 2011 at 3:25 PM
HI I need to export Database Schema from SQL Server anagement studio express 2005 into MSExcel? generate script is giving me the script. but i need to have Excel file contains database schema. how can i do with SQL server management studio express 2005? ... View Questions/Answers

Java swing  October 20, 2011 at 1:17 PM
how to create simple addition program using java swing? ... View Questions/Answers

php  October 20, 2011 at 12:51 PM
my problem is when i display data like this $_POST["combo1"] it will show vlaue . suppose i select INDIA it shows "1" , but i want "INDIA", and i use if condition for each value and display by using "echo" but it difficult check all combinations for each country with corresponding states is it an... View Questions/Answers

RADIO FROM JSP TO ACTION.  October 20, 2011 at 12:33 PM
Hi frds, how to get the selected multiple radio button values from jsp to action. ... View Questions/Answers

Java Swing  October 20, 2011 at 11:46 AM
Write an applet program to transfer the content of the text field into the listbox component on clicking a button code project ... View Questions/Answers

nested selected tag ihave display selected item  October 20, 2011 at 11:33 AM
i have two combo boxes combo1 combo1 in first combo box i taken as follows select name="combo1"> option value="0">-select- option value="1">INDIA option value="2">UK etc in other combo box display all states relate first combo box, ok it can be done by c... View Questions/Answers

create method getConstructor and getInfo?  October 20, 2011 at 11:31 AM
How to create method getConstructor and getInfo? ... View Questions/Answers

create method getConstructor and getInfo?  October 20, 2011 at 11:31 AM
How to create method getConstructor and getInfo? ... View Questions/Answers

how to build a colorful clock in JSP without using Flash.  October 20, 2011 at 11:19 AM
I have to make a colorful clock using java programming or some API in a JSP page. Please send me a code for it as soon as possible. ... View Questions/Answers

how to install jfreechart in netbeans.  October 20, 2011 at 11:15 AM
I have successfully installed jfreechart in eclipse IDE.but I am unable to install the same in netbeansIDE 6.7.1 .There is some error regarding the ant folder.Please tell the step by step procedure to install it in netbeans 6.7.1 Please reply asap.Its urgent. ... View Questions/Answers

how to generate a bar chart on a JSP PAGE using the arraylist object passed form the servlet.(using jfreechart)  October 20, 2011 at 11:08 AM
I have created a servlet.In this,i have retrieved a record from MS Access database in an arraylist i.e. my arraylist contains only one object(rollno,name,marks1,marks2,marks3,marks4) from the database.now i have to pass this arraylist object to a jsp page and on that jsp page i have to display a ... View Questions/Answers

displaying data  October 20, 2011 at 10:29 AM
how to display data from database on jsp using struts2 ... View Questions/Answers

struts  October 20, 2011 at 10:28 AM
how to display data from database on jsp using struts1.0 ... View Questions/Answers

Java  October 20, 2011 at 1:45 AM
Write a program to calculate the area of a rectangular. You need to define following method in the Rectangular class: public void calculateArea(double l, double h) public double findLength() public double findHeight() public void setLength(double l) public... View Questions/Answers

Java  October 20, 2011 at 1:45 AM
Write a program to calculate the area of a rectangular. You need to define following method in the Rectangular class: public void calculateArea(double l, double h) public double findLength() public double findHeight() public void setLength(double l) public... View Questions/Answers

Compile time error  October 20, 2011 at 12:41 AM
Hi, When i compile my simple program in cmd am getting a error like "Javac is not a recognized as an internal or external command, operable program or batch file" How to resolve this problem ???? ... View Questions/Answers

how to do gui  October 19, 2011 at 9:38 PM
import java.util.Scanner; import javax.swing.JFrame; import javax.swing.JOptionPane; public class ShippingCost { public static void main(String[] args){ Scanner sc = new Scanner(System.in); JFrame frame = new JFrame(); String itemName = ""; ... View Questions/Answers

Dynamically display values in dropdown box and then show the selected values as selected by the user which is already stored in the DB  October 19, 2011 at 9:20 PM
Hello, This is for Updating. I had two SQL queries one for only selected values the user has choosen before and the second SQL query to show all the values. Iwas trying to display multiple selection selected from the list of all the values in the list box. Somehow I can just show on... View Questions/Answers

How to get the data from the database using Servlet or JSP program  October 19, 2011 at 7:42 PM
hello My Netizen friend has given the answer to retrieve data from the database by using servlet or jsp program by typing the output as like this below ReusltSet rs=statement.executeQuery("select * from Table1) while(rs.next()) { out.println(rs.getInt(1)); out.println(rs.getString(2)); out.printl... View Questions/Answers

easy way to make a JCombobox look like a JTextField?  October 19, 2011 at 7:22 PM
Is there a good(and easy) way to make a JCombobox look like a JTextField? By this I mean there should not be a dropdown button, but when the user enters something it should show multible results. Basically the same way google, youtube, facebook etc. works ... View Questions/Answers

java  October 19, 2011 at 7:15 PM
Write a program that will read a line of text as input and then display the line with the first word moved to the end of the line and after the code execute it will change the string to UPPERCASE. For example : Enter a line of text (No punctuation please): Saya sangat lapar I have rephrased that ... View Questions/Answers

askquestion java  October 19, 2011 at 6:40 PM
Write a program that will read a line of text as input and then display the line with the first word moved to the end of the line and after the code execute it will change the string to UPPERCASE. For example : Enter a line of text (No punctuation please): Saya sangat lapar I have rephrased that ... View Questions/Answers

Steps to log4j configuration in Struts2  October 19, 2011 at 6:30 PM
Hi... any tel me each step for configure log4j in struts2 application.. ... View Questions/Answers

save list of objects in Spring and hibernate  October 19, 2011 at 6:14 PM
I use a javascript which add dynamic rows with values in jsp. Now i want to save these multiple values using spring and hibernate. Thanks for help ... View Questions/Answers

dropdown vlaue changes based on input given in textbox uisng AJAX  October 19, 2011 at 6:13 PM
hi, In my app i need one textbox based on textbox data, values in dropdown list have to change and dropdown data retreive data from database thanks KK ... View Questions/Answers

< problem in XSL formatting  October 19, 2011 at 5:58 PM
I am using one Data Template to generate the output in XML format. but the data is having HTML formatting. So i am using an xsl file to format the xml ouput data. The problem here is my data is having < but it is replacing with < but i want ... View Questions/Answers

find the factorial  October 19, 2011 at 5:55 PM
how to find the factorial through the while loop? ... View Questions/Answers

display data in php  October 19, 2011 at 5:42 PM
i want data validation in javascript for my form data and it will display in php. my fields are name,emailid,address,country combobox,state combo box, i want only php page,can u wxplain process how it come to phppage. ... View Questions/Answers

oracle problem  October 19, 2011 at 5:14 PM
Hi I have installed oracleXE on my system and for reasons i've uninstalled them and am not able to stop oracle xe services and i could'nt reinstall it. I couldnt reinstall my os for this as it is in my office. ... View Questions/Answers

How to pass the value from controller to jsp page ?  October 19, 2011 at 4:46 PM
HI I need to pass the value from controller to jsp. I use the way like this Controller request.setAttribute("msg", "Successfully Login"); In jsp ${msg} and then i didn't see the message . then i changed the jsp as <%= request.getAttribut... View Questions/Answers

Radio Button Problem in jsp.  October 19, 2011 at 4:08 PM
I have a small doubt in my application, my requirement is to get a "single selectible row", I generated a radio button for each row as i got data from the database using iterator tag,but when i select any row the it is going to bind the last iterated value, please can anyone clear my doubt.and di... View Questions/Answers

i want validation for one text field and text area,email,combobox, in that email will validte by useing regular expressions?  October 19, 2011 at 3:38 PM
i want validation for one text field and text area,email,combobox, in that email will validte by useing regular expressions? ... View Questions/Answers

classes in c++  October 19, 2011 at 3:25 PM
1- design and implement a class datatype that implement the day of the week in the program.the class datatype should store the day, such as sun for sunday. the programe should be able to perform the following operations on an object of type datatype set the day / print the day /return the day/ret... View Questions/Answers

javascript validation  October 19, 2011 at 3:11 PM
my problem is following code is my form i want validation and for email field it will check formate useing regularexpressions. <html> <script src="combovalidate1.js" type="text/javascript" language="javascript"> </script> <body&g... View Questions/Answers

HASHMAP  October 19, 2011 at 12:38 PM
HI CAN WE ADD PRIMITIVE DATA TYPE IN HASHMAP IN JAVA 1.5 VERSION . THANKS KALINS NAIK ... View Questions/Answers

jsp  October 19, 2011 at 12:35 PM
Hi How can we display sqlException in a jsp page? How can we mantain session in jsp? Thanks Kalins Naik ... View Questions/Answers

nested select tag  October 19, 2011 at 11:33 AM
My requirement is as follows suppose combobox to select country whenever i select a country it will show corresponding states in another combo box. ... View Questions/Answers

Setter injection in Spring  October 19, 2011 at 11:05 AM
What is Setter injection in Spring ? ... View Questions/Answers

uiwebview open url in safari  October 19, 2011 at 11:03 AM
How to open outgoing URL like ffacebook or twitter in iPhone/iPad? ... View Questions/Answers

check youtube iframe code  October 18, 2011 at 10:37 PM
I have a piece of code that checks the youtube embed code in this format: My PHP code looks like this now: //Check Embed Code $embedCode = $postData['embedCode']; /*if(isset($matches[1])) {*/ ... View Questions/Answers

XML DTD  October 18, 2011 at 5:05 PM
What is DTD in xml file ? ... View Questions/Answers

Java Project Deployment  October 18, 2011 at 4:58 PM
Hi I have created a website using servlet and JSP. There are three type of users on the website namely administrator, student and teacher. Now I need to install this website on all the systems but the database has to be the same. Now how I should I distribute this website on all the systems. Plz ... View Questions/Answers

ajax  October 18, 2011 at 3:28 PM
HI, In my application using ajax if i type a managername in the textbox it should display all the employees under the that manager in a dropdown from database and when i select the empname in dropdwon list and when i click on search button it should display the employee details from database pls ... View Questions/Answers

How to Extract SQL schema into .xsl file  October 18, 2011 at 2:27 PM
how to extract SQL schema from databse into excel(.xsl) file. i need to do it in java... ... View Questions/Answers

mysql  October 18, 2011 at 1:35 PM
How can install My sql drivers using a jar File ... View Questions/Answers

How to convert a swing form to PDF  October 18, 2011 at 1:10 PM
Sir, I want to know about how convert a swing form containing textbox,JTable,JPanel,JLabel, Seperator etc swing menus to a PDF file using java code ... View Questions/Answers

Please help me to create this coding for pizza order application using a handheld computer.....  October 18, 2011 at 12:33 PM
You work as a programmer for IT-Tech a small software house which specialises in writing software for restaurants and hotels. They have recently won a contract from restaurant chain ?PIZZA WORLD? to supply software which will allow waiters to take orders from tables using a hand held computer. ... View Questions/Answers

How to read PDF files created from Java thru VB Script  October 18, 2011 at 12:29 PM
We have created the PDF file thru APache FOP but when we are unable to read the data thru QTP(it's an HP Automation tool). Do u have any addin's to install with QTP to read the FOP pdf? Is their any tool which convert the Apache FOP to Adobe PDF file? ... View Questions/Answers

spring web  October 18, 2011 at 12:17 PM
Hi can you explain the flow of spring web programatically......... ... View Questions/Answers

java  October 18, 2011 at 12:00 PM
how to create student details using applets ... View Questions/Answers

java  October 18, 2011 at 12:00 PM
how to create student details using applets ... View Questions/Answers

illegal start type, HELP!  October 18, 2011 at 8:44 AM
import java.util.Scanner; public class Lab6ex9 { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); System.out.print("Please type the total number of books: "); int books = keyboard.nextInt(); Syst... View Questions/Answers

java programming  October 18, 2011 at 8:28 AM
Write a Java program that prompt user to input a number of students in a class. Then, prompt user to input the student??s programming mark. Determine how many student get A+ and A for their grade and how many students get D and E based on the following table: Mark Grade 85 -100 A+ 80 - 8... View Questions/Answers

Java Programming  October 18, 2011 at 8:26 AM
Write a Java program that prompt user to input a number of students in a class. Then, prompt user to input the student?¢â??¬â??¢s programming mark. Determine how many student get A+ and A for their grade and how many students get D and E based on the following table: Mark Grade 85... View Questions/Answers

After Logout Back Button Should not work again  October 17, 2011 at 9:07 PM
Hi deepak,, I am doing Login Page,.. IN That If Logout Then When I Click Logout Button It Should not work.. For That what is the logic And what Concept I have To Use.. Please Kindly Help me... your regards, Prudvi raj. ... View Questions/Answers

javaprograms  October 17, 2011 at 8:27 PM
s=(1+2)/(1x2)+(1+2+3)/(1x2x3+)+.......+(1+2+3+......n terms)/(1x2x3x..........n terms) ... View Questions/Answers

javaprograms  October 17, 2011 at 8:22 PM
s=1/(1+2)+1/(1+2+3)+1/(1+2+3+4)+.....+1/(1+2+3+....n terms) ... View Questions/Answers

javaprograms  October 17, 2011 at 8:18 PM
s=(1+2)+(1+2+3)+(1+2+3+4)+.................+(1+2+3+4+......10) ... View Questions/Answers

javaprograms  October 17, 2011 at 8:15 PM
s=1x2x3x4+2x3x4x5+3x4x5x6+4x5x6x7+5x6x7x8 ... View Questions/Answers

javaprograms  October 17, 2011 at 8:11 PM
3,8,15,24,............n terms ... View Questions/Answers

javaprograms  October 17, 2011 at 8:09 PM
3,8,15,24,............n terms ... View Questions/Answers

javaprograms  October 17, 2011 at 7:58 PM
write a program to display the 45th term of the Fibonacci series ... View Questions/Answers

javaprograms  October 17, 2011 at 7:55 PM
s=135.............17 (mul of 1 to 17 odd numbers) ... View Questions/Answers

javaprograms  October 17, 2011 at 7:52 PM
compute the following series s=1+12+123+1234+............+123....n terms ... View Questions/Answers

javaprograms  October 17, 2011 at 7:49 PM
compute the following series s=5+55+555+5555+.........n terms ... View Questions/Answers

servlets  October 17, 2011 at 7:08 PM
PrintWriter cannot be resolved to a type why is it occured ... View Questions/Answers

jsp question?  October 17, 2011 at 6:30 PM
see you all know about including file in a jsp... i want to know is... see i have 2 files one.jsp two.jsp in two.jsp i have below given code Long something = 0; in one.jsp code is <%@include file='two.jsp'%> <%@include file='two.jsp'%> i have included same fi... View Questions/Answers

xml version comparison  October 17, 2011 at 5:39 PM
I have already one xml file, but I get another one xml file in internet,so how to compare the both xml version help to any one ... View Questions/Answers

java  October 17, 2011 at 4:18 PM
provide me a coding which is write a java program that prompt user to input a number of student in a class.then prompt user to input the student's programming mark.Determine how many student get A+ and A for their grade and how many student get D and E. ... View Questions/Answers

Java application that uses the classes and  October 17, 2011 at 3:18 PM
i have this class diagram with three classes: Curriculum, Course, and Lecture. Your class diagram should reflect all the following design decisions: ï??§ A course is composed of zero or more lectures. ï??§ A curriculum contains (or consists of) one or more courses. All the courses of a curr... View Questions/Answers

Disable next month at every first 3rd days Calendar.  October 17, 2011 at 3:17 PM
Hi all, may I know how to fix my calendar. I want it to disable next month at every first 3rd days This is my code. now = new Date() myForm = document.form1.tarikhmula.value inputDate = new Date() inputDate.setDate(myForm.substrin... View Questions/Answers

Max()  October 17, 2011 at 12:02 PM
How to find maximum values A101,A107,A108 from a table in sql ... View Questions/Answers

Max()  October 17, 2011 at 12:01 PM
How to find maximum values A101,A107,A108 from a table in sql ... View Questions/Answers

Sql  October 17, 2011 at 11:58 AM
how to find maximum of a101,a102,a103 from a table in sql ... View Questions/Answers

Java application Help?  October 17, 2011 at 6:01 AM
Write an application that can hold five doubles in an array. Display the doubles from first to last, and then display the doubles from last to first. Save the file as DblArray.java. Use the logic for a BubbleSort to sort and display your array in sequence ... View Questions/Answers

html input passing to jsp method  October 17, 2011 at 12:40 AM
i want code in which jsp method takes html input value which is in same page...... <html> <head> <%!public void method1() { **???how to read pid value here???** }%> </head> <body> <table> <t... View Questions/Answers

codes for banking databases  October 16, 2011 at 11:47 PM
sir PLZ give me codes for banking database using java ... View Questions/Answers

codes for banking databases  October 16, 2011 at 11:45 PM
sir plz give me codes for creating a banking database using java ... View Questions/Answers

codes for banking databases  October 16, 2011 at 11:44 PM
sir plz give me codes for creating a banking database using netbeans as back end and java as front end.. ... View Questions/Answers

Array  October 16, 2011 at 10:23 PM
Write an application to assign seats on the cinema theater?s only showroom (capacity: 10 seats). Your application should display the following alternatives: Please type 1 for Twin Seat and Please type 2 for Normal Seat. If the user types 1, your application should assign a Twin Seat n... View Questions/Answers

Passing parameters in JSP using forward.  October 16, 2011 at 8:58 PM
If a page is forwarded to another page using jsp:forward, is it necessary that the page should be already created? Or will the compiler create one? ... View Questions/Answers

reports creation  October 16, 2011 at 7:43 PM
hi................. how to create tabular format report in java swings????????????? ... View Questions/Answers

Click event  October 16, 2011 at 7:40 PM
hi............ how to put a click event on a particular image, so that it can allow to open another form or allow to display result in tabular form????????/ can u tell me how to do that????????/ using java swings. ... View Questions/Answers

Pie chart  October 16, 2011 at 7:36 PM
hi................. In my project i want to create a pie-chart by taking values at run time. As want to display it in pie chart form the result. Can u tell me the code for it. I am using 4 my project Java swings. ... View Questions/Answers

java  October 16, 2011 at 7:02 PM
is java not purely object oriented language? ... View Questions/Answers

audible note code  October 16, 2011 at 6:03 PM
what is the code for producing a audible note with in a pc speaker ... View Questions/Answers

JAVA Web project deployment  October 16, 2011 at 5:21 PM
Hi friends, I have created a website using servlet and JSP with SQL server on the backend. Now I have to deploy the project so that I can open the project and someone can work on it without installing the entire Netbeans IDE 2008. Is there a way I can do this by just installing a server. ... View Questions/Answers

java  October 16, 2011 at 5:05 PM
Using for loop write a program to print the table of a given number on the screen ... View Questions/Answers

web.xml  October 16, 2011 at 2:18 PM
what is web.xml file..? explain its types..? ... View Questions/Answers

loop  October 16, 2011 at 1:05 PM
what is the difference b/w do while,while and for loop..with example.. ... View Questions/Answers

DMCA.com