Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Ads

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

Format  October 16, 2011 at 1:04 PM
give one example for system.out.format()..? ... View Questions/Answers

Scanner  October 16, 2011 at 12:55 PM
In java,while connectig keyboard through java.util.scanner class..it does not throws IOException..why..? ... View Questions/Answers

logic for c language  October 16, 2011 at 11:12 AM
01 02 03 04 05 06 20 21 22 23 24 07 19 32 33 34 25 08 18 31 36 35 26 09 17 30 29 28 27 10 16 15 14 13 12 11 ... View Questions/Answers

java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.  October 15, 2011 at 11:55 PM
String sql = "UPDATE emp_details SET empEname = ?, emailId = ?, guid =?, proximityCard =?, managerEmailId = ?, reviewerEmailId =?, clientEmailId = ?, iRaceRole = ?, iRaceBand = ?, projectCode = ?, location = ?, track = ?, domain = ?, cmpDOJ = ?, clientDOJ = ?, primarySkillSets = ?, secondarySkill... View Questions/Answers

HOSTING IN LOCALHOST  October 15, 2011 at 10:23 PM
HI I HAVE DEVELOPED JSP PROJECT WITH MY SQL AS BACK END IN GLASSFISH SERVER V2...HOW CAN I DEPLOY MY PROJECT IN LOCALHOST. ACTUALLY I NEED MY PROJECT TO RUN WHEN TYPING ADDRESS IN BROWSER WITHOUT NETBEANS WHAT CAN I DO PLZ HELP ME WITH NECESSARY STEPS.PLZ PLZ HELP ME ... View Questions/Answers

Advanced java  October 15, 2011 at 9:16 PM
I need to add a functionality in my project : when attendance of a student comes to a min allowed limit a message is automatically sent to his/her parent mobile no. please help or provide me the code if possible. ... View Questions/Answers

javaprograms  October 15, 2011 at 8:33 PM
wrire a hospital program in java ... View Questions/Answers

How to find java jobs at any where in india  October 15, 2011 at 8:27 PM
Hi, I want information about java related jobs in india.where can i find that details. ... View Questions/Answers

inheritance  October 15, 2011 at 4:35 PM
hi.. pleaseeeeee i need a quick help(answer) in creating aprogrm in java by using inheritance for car in such away that .... Car is parent class and both of Private and Public Car extends it then both of Bus and Truck extends public car pleassssssse help me ????????? ... View Questions/Answers

Dumps related to weblogic certification  October 15, 2011 at 3:25 PM
I want to perform the weblogic certification exam code 1z0-110. Can anybody please provide me the dumps related to 1z0-110 Thanks in advance. ... View Questions/Answers

How to Retrieve Excel data into mysql using type 2 JDBC-ODBC driver  October 15, 2011 at 12:45 PM
Can any please help it is very urgent. I tried to read excel sheet using ODBC type 1 driver and i have done successfully.but disadvantage is when i create a executabloe jar for this .it is working in my system only .since the odbc coneecction is their in my system only.if i want to work i... View Questions/Answers

store  October 15, 2011 at 10:32 AM
hi i want store some information in my program and use them in other method. what shoud i do? ... View Questions/Answers

while loop handling  October 15, 2011 at 8:40 AM
Dear deepak, thanks for your response yesterday.. I am doing a project on travelling domain.. in that initially i searched all the avilable trains on a particular day.. it will display all the trains..if there are more than one train is available when i am clicking the book ticket option ... View Questions/Answers

Calculator  October 15, 2011 at 12:11 AM
need a simple java program to degin a CALCULATOR without using ADVANCED JAVA.... ... View Questions/Answers

javaprograms  October 14, 2011 at 8:46 PM
write a program to check whether a given number is prime number or not ,if the given number is not a prime number then print the prime factors of that number ... View Questions/Answers

post method in PHP  October 14, 2011 at 7:42 PM
Write an example of the post method in PHP to send the data to another page or simply update the database. ... View Questions/Answers

need solution to get file name from path which should give by user  October 14, 2011 at 4:26 PM
how do i write a program in java that i should get file path from arguments.currently this code creates the file at d:\ but i need to get this file name as a argument how do i do it???am using netbeans for this. StringWriter sw = new StringWriter(); StreamR... View Questions/Answers

creating inheritance of cars  October 14, 2011 at 4:09 PM
hi ... please help me in creating inheritance between some types of cars like car that is parent and both of private car and public car are extends it then bus and truck extends public car ????? ... View Questions/Answers

javaprograms  October 14, 2011 at 3:32 PM
s=2+4/3!+6/5!+8/7!+........n+2/(n+1)! ... View Questions/Answers

javaprograms  October 14, 2011 at 3:25 PM
s=1/1!+2/2!+3/3!+4/4!+.............n/n! ... View Questions/Answers

Program to check whether two given words pronouncing same or not?  October 14, 2011 at 3:24 PM
Program to check whether two given words pronouncing same or not? example: raju and rajoo pronouncing same please help me out ... View Questions/Answers

how to improve knowledge in java  October 14, 2011 at 2:18 PM
netbeans ... View Questions/Answers

javaprograms  October 14, 2011 at 1:29 PM
a message is to be conveyed by adding 5 to the ASCII code of characters in the statement given below.write a program to print any given string in the coded form sample inpu: SANIA MIRZA IS A SENSATIONAL TENNIS STAR. SAMPLE OUTPUT: ORIGINAL TEXT: SANIA MIRZA IS A ... View Questions/Answers

javaprograms  October 14, 2011 at 1:22 PM
write a menu driven program to find the frequency of "and","the","to" or any input word in a string of text ... View Questions/Answers

spring standard tag libraries  October 14, 2011 at 12:58 PM
hello sir please tell me how to write the jsp in Spring frame work using spring standard tag libraries ... View Questions/Answers

Eclipse hibernate problem  October 14, 2011 at 12:54 PM
hie..i've just started a basic hibernate application using eclipse helios.I have added the jars,configured the xml files and created a pojo class. I have created HibernateUtil class but I'm getting an error saying "import org.hibernate.* cannot be resolved" ,mport org.hibernate.SessionFactory can... View Questions/Answers

class odject in list  October 14, 2011 at 12:46 PM
I have three class. In first class i have get and set methods, in second class i have a list of objects of first class then after main class i want to read the objects values but it will shows only the memory allocation by the object not given the class object values. my classes is like that--->... View Questions/Answers

php  October 14, 2011 at 12:01 PM
what is php ... View Questions/Answers

DMCA.com