Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Vertical news slider using jquery  October 14, 2012 at 3:09 PM
how to creatw vertical news slider using jquery Sorry for wrong category but i cant get my jquery category.... ... View Questions/Answers

to know my answer  October 14, 2012 at 1:32 PM
hi, this is pinki, i can't solve my question "how to change rupee to dollar,pound and viceversa using wrapper class in java." will u help me? ... View Questions/Answers

How to get the correct value by calculating double values....  October 14, 2012 at 12:49 PM
Hello Sir, I have a method in which i am getting getting wrong datavalues calculated from the function ...here is my code for this task.... try { double min = 60; double cost = 0; double quotient = duration / min; dou... View Questions/Answers

Advertisement

How to get the correct value by calculating double values....  October 14, 2012 at 12:48 PM
Hello Sir, I have a method in which i am getting getting wrong datavalues calculated from the function ...here is my code for this task.... try { //DecimalFormat df = new DecimalFormat("#.##"); double min = 60; double cost = ... View Questions/Answers

CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP  October 13, 2012 at 6:47 PM
The Task Write a class whose objects will represent students. The class should have three fields for representing a student‚??s name, this student‚??s coursework mark (out of 100 )and this student‚??s exam mark (out of 100). ... View Questions/Answers

CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP  October 13, 2012 at 6:44 PM
Write a class whose objects will represent students.The class should have three fields for representing a student√Ę‚?¨‚?Ęs name, this student√Ę‚?¨‚?Ęs coursework mark (out of 100)and this student√Ę‚?¨‚?Ęs exam mark (out of 100). The marks will be a positive integer and should initially... View Questions/Answers

iphone  October 13, 2012 at 5:22 PM
How to create more than one custom alert view ... and i want to use table view in alert view but where will be to write all delegate and datasource method... will be to write code in alert view method scope or out side of this scope..... ... View Questions/Answers

how to send email list of email address through in database table list  October 13, 2012 at 4:16 PM
package com.com; import java.io.IOException; import java.io.PrintWriter; import java.sql.PreparedStatement; import java.sql.ResultSet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.h... View Questions/Answers

JSP - Problem of displaying result at webpage  October 13, 2012 at 12:02 PM
Can anyone please help to solve my problem below. My webpage has problem in displaying result position. The result should be display below my title. How do i solve it? Thank you so much! <html> <head> <link rel="StyleSheet" typ... View Questions/Answers

next and previous record in php  October 13, 2012 at 11:14 AM
How to display next and previous records in PHP? ... View Questions/Answers

javascript  October 12, 2012 at 8:52 PM
write a program to display implement about browsers using javascript? ... View Questions/Answers

cONDITIONAL STATEMENT  October 12, 2012 at 6:56 PM
Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10% Discount Two-installment (2) 5% Discount Three-Installment (3) 10% Interest The target user must use th... View Questions/Answers

Conditional Statement in Turbo C  October 12, 2012 at 6:54 PM
Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10% Discount Two-installment (2) 5% Discount Three-Installment (3) 10% Interest The target user must use th... View Questions/Answers

Conditional Statement in Turbo C  October 12, 2012 at 6:54 PM
Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10% Discount Two-installment (2) 5% Discount Three-Installment (3) 10% Interest The target user must use th... View Questions/Answers

Reading .doc file using swing  October 12, 2012 at 2:48 PM
Sir, Could U Please Tell me the Way To Read .doc file in java using swing,with code ... View Questions/Answers

c file compilation  October 12, 2012 at 1:20 PM
how to run and give input to the following program? /* convert cvs data to libsvm/svm-light format */ include include include char buf[10000000]; float feature[100000]; int main(int argc, char **argv) { FILE *fp; if(ar... View Questions/Answers

Java Web Services  October 12, 2012 at 1:15 PM
what is web services in Java explain? ... View Questions/Answers

want help regarding a project  October 12, 2012 at 11:55 AM
hiii this is hemangi and I want guidance that I am working on a project of hospital management system so I want guidance that how can i implement that in swings or with other frame work? and any inbuilt report and all facility available in java or not ? ... View Questions/Answers

urgent need  October 12, 2012 at 11:29 AM
Input a line. Count the number of words that start with a capital letter. ... View Questions/Answers

login module program  October 12, 2012 at 8:56 AM
hello friends i want to develop the web service using .net pls send the login ejb module .net program to my mail id ... View Questions/Answers

login module program  October 12, 2012 at 8:56 AM
hello friends i want to develop the web service using .net pls send the login ejb module .net program to my mail id ** ... View Questions/Answers

Finding smallest value, then the next etc  October 12, 2012 at 8:11 AM
hi, I know how to search for the smallest value index in an unsorted array so far with this: double currentValue = dist[0]; int smallestIndex = 0; for (int j=1; j < dist.length; j++) { if (dist[j] < currentValu... View Questions/Answers

spring basic example  October 11, 2012 at 5:04 PM
hi,, i cannot understand the flow of the spring mvc example. can you explain execution flow of the spring example project?? thanks. ... View Questions/Answers

jtable query compare with date  October 11, 2012 at 4:00 PM
how to transfer daytable data to monthtable when complete a month Hello Sir, I am developing a desktop application in which i have to display database records in jtable .now I want to transfer particular data which month is over to another jtable. plz sir give me the code.... ... View Questions/Answers

jtable query compare with date  October 11, 2012 at 4:00 PM
how to transfer daytable data to monthtable when complete a month Hello Sir, I am developing a desktop application in which i have to display database records in jtable .now I want to transfer particular data which month is over to another jtable. plz sir give me the code.... ... View Questions/Answers

jtable query compare with date  October 11, 2012 at 4:00 PM
how to transfer daytable data to monthtable when complete a month Hello Sir, I am developing a desktop application in which i have to display database records in jtable .now I want to transfer particular data which month is over to another jtable. plz sir give me the code.... ... View Questions/Answers

jtable query compare with date  October 11, 2012 at 3:56 PM
how to transfer daytable data to monthtable when complete a month ... View Questions/Answers

Compiler errors in java  October 11, 2012 at 2:50 PM
Hi, I used GenerateRDF java file. Am getting errors when i run this code. I used command prompt only. getting errors as no package exist. i followed your instructions properly. Please help me out. ... View Questions/Answers

help me about to solve my qustion  October 11, 2012 at 12:38 PM
An employee receives 15 SR per hour for the first 8 hours of week. After 8 hours (overtime) his rate becomes 20 SR per hour . Write a java class that ask a user to enter the number of hours he work for day . Compute and display his salary for that day ? ... View Questions/Answers

How to insert new line after every space in java  October 11, 2012 at 11:57 AM
Hii Sir, I have a string with values 69 17 17 16 2 1 1 26 26 56 like this .Now as per my need i have to put all these values into new lines on getting space. ....PLz sir guide me...Thank you Sir.. ... View Questions/Answers

java applet  October 11, 2012 at 10:47 AM
why java applet programs doesn't contain main method? ... View Questions/Answers

java applet  October 11, 2012 at 10:47 AM
why java applet programs doesn't contain main method? ... View Questions/Answers

class  October 11, 2012 at 8:34 AM
can any body give me idea how to write code for Country.java is a class to represent a country in medal tally. It has an attribute of country name, and attributes to record the numbers of gold, silver, bronze, and total medals. In this class, you should also define constructors, and asses... View Questions/Answers

Bad URL for SVN Eclipse plugin  October 10, 2012 at 9:22 PM
I am trying to install the SVN Eclipse plugin On this page: http://www.roseindia.net/projectmanagement/continuousintegration/subeclipse/subversion-eclipse.shtml both URLs are invalid Name: Subclipse 1.2.x (Eclipse 3.2+) URL: http://subclipse.tigris.org... View Questions/Answers

jpa one-to-many persist children with its ID by EntityListeners  October 10, 2012 at 3:52 PM
jpa one-to-many persist children with its ID by EntityListeners ... View Questions/Answers

How to update table column from the values of Arraylist in java  October 10, 2012 at 3:37 PM
Hii Sir, I have an arraylist containing these values [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 3, 3, 1, 1, 1] .Now As per my need i have to add these values into differ... View Questions/Answers

jpa one-to-many persist children with its ID  October 10, 2012 at 3:26 PM
I have two tables like Organization and region ,both table having one to many relationship.when i persist the organization table it also persist to region . Here i Wont manually persist the region table how? any one help me? ... View Questions/Answers

autocompletion in textfield fetching from database in jsp  October 10, 2012 at 2:57 PM
hi i want to retrieve country name from mysql db to textfield.. maeans if anyone type first letter of the name it should show the corresponding names in the list.. like autocomplete.. ihave tried coding in this forum but its has some difficulties i caant able to select particular name to textf... View Questions/Answers

How to pass parameter through drop down list using session management in jsp??  October 10, 2012 at 1:53 PM
How to pass parameter through drop down list in the URL and access it on same jsp page using session management..? ... View Questions/Answers

Data is not inserting correctly in mysql database.  October 10, 2012 at 12:56 PM
Hello Sir, below is my code to insert data into database by list iteration through for loop but it is not getting inserted ..it is taking only one value for each data cloumn ..at the time of end of the query... PLz see my code and point my mistake. Thank you Sir... ... View Questions/Answers

jpa one-to-many persist children with its ID  October 10, 2012 at 12:08 PM
@Entity public class Item { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column private Long id; @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "item") private List<Feature> features= new ArrayList<Feature... View Questions/Answers

Core Java  October 10, 2012 at 9:35 AM
Hi, Can any one please share the code for Binary search in java without using builtin function?? ... View Questions/Answers

palindrome array problem  October 10, 2012 at 8:23 AM
I'm having trouble figuring this assignment out. Can someone please help me? Generate (write the code) and save in an array Palidrome[250][5] all the 5 letter words using {a, b, c} Write the code and show the execution for: a.) Count the number of palindromes in this se... View Questions/Answers

write those 3 questions (class)  October 10, 2012 at 4:54 AM
1) write a function minE which takes an array of distinct integers and returns the smallest number. (If this is too easy return the 2nd smallest element.) (If this is still too easy, also pass an int k to minE and return the k smallest element.) 2) write a function rev which takes an array of int... View Questions/Answers

java: implement a class queue  October 10, 2012 at 4:52 AM
Implement a class Queue which supports the following operations: boolean isEmpty() Returns true if the queue is empty, and false otherwise. int peak() Returns the value at the front of a non-empty queue without deleting it. int pop() Removes the ite... View Questions/Answers

swing application to import a object in a excel  October 10, 2012 at 12:07 AM
Hi sir, I want to make a swing application where I can import a object in a cell of a excel by clicking a button. I am using Apache POI for this. after a long try I am not able to do it. please help. The details of the excel operation which i want to do by one click: in excel its ... View Questions/Answers

Import object in Excel using java swing  October 10, 2012 at 12:03 AM
Hi sir, I want to make a swing application where I can import a object by clicking a button. I am using Apache POI for this. after a long try I am not able to do it. please help. The details of the excel operation which i want to do by one click: in excel its in 'Insert' rib... View Questions/Answers

Count number of "*"  October 9, 2012 at 11:18 PM
I have this code to count the number of * from a string entered. but I need to find it from an text file. Any idea? import java.lang.String; import java.io.*; import java.util.*; public class CountVowels { public static void main(Strin... View Questions/Answers

mouse events  October 9, 2012 at 8:21 PM
When i click a button i want to retrieve image and audio from database and play it. how can i do dis. I m using Netbeans IDE and mysql for database. pls do hel[p me ... View Questions/Answers

java.sql.SQLException: Operation not allowed after ResultSet closed  October 9, 2012 at 8:17 PM
package processing; import java.io.; import java.math.BigDecimal; import java.sql.; import java.util.*; public class Processing { public static void main(String[] args) { String str = "9035"; try { Con... View Questions/Answers

java/jsp  October 9, 2012 at 7:07 PM
In a JSP program called books.jsp, the Java code out.print(request.getParameter(‚??number‚??)); displays "1111111‚??. What are the possible ways for the parameter number to have got its value? ... View Questions/Answers

JSP-parameters possible ways  October 9, 2012 at 6:48 PM
In a JSP program called books.jsp, the Java code out.print(request.getParameter(‚??number‚??)); displays ‚??1111111‚??. What are the ways for the parameter number to have got its value? ... View Questions/Answers

JSP-parameters possible ways  October 9, 2012 at 6:48 PM
In a JSP program called books.jsp, the Java code out.print(request.getParameter(‚??number‚??)); displays ‚??1111111‚??. What are the ways for the parameter number to have got its value? ... View Questions/Answers

operating system  October 9, 2012 at 4:33 PM
write a programe in java that print system information like which process are in running state and those process used which resourses ... View Questions/Answers

ajax  October 9, 2012 at 3:36 PM
how to connect ajax with mysql without using php,asp or any other scripting language. please answer soon ... View Questions/Answers

conflicting databases  October 9, 2012 at 1:12 PM
i recently installed xampp including apache and mysql. i need to study php in dreamweaver. bt i already installed mysql for jsp project in netbeans. now mysql in xampp showing this result. 1:10:05 PM [mysql] MySQL Service detected with wrong path 1:10:05 PM [mysql] Change XAMPP ... View Questions/Answers

conflicting databases  October 9, 2012 at 1:12 PM
i recently installed xampp including apache and mysql. i need to study php in dreamweaver. bt i already installed mysql for jsp project in netbeans. now mysql in xampp showing this result. 1:10:05 PM [mysql] MySQL Service detected with wrong path 1:10:05 PM [mysql] Change XAMPP ... View Questions/Answers

mithunreddy  October 9, 2012 at 12:15 PM
Blockquote Is it better to choose Java web services..... Can you please tell me about career in Java web services. Blockquote ... View Questions/Answers

How to get country locale from a http request  October 9, 2012 at 11:41 AM
Hi, I Have a requirement like , i need to get the country locale(from whcih country he is logged in) when user login to a web application. Based on that country locale i am going to implement business logic. Can anyone help me out to get this done. any help would be highly... View Questions/Answers

Java program problem  October 9, 2012 at 7:16 AM
Hi, I took the chance to login here in your educational page due to my questions in mind about my java programming assignment. Please help me. I provided below the program assignment. Thanks in advance. Create program that: Will search through two directory structures and produce... View Questions/Answers

java technologies list  October 9, 2012 at 2:31 AM
Please provide me the java technologies list...... View Questions/Answers

new java technologies 2011  October 9, 2012 at 2:31 AM
what are the new java technologies in 2011... View Questions/Answers

latest java technologies  October 9, 2012 at 2:31 AM
latest java technologies...... View Questions/Answers

new java technologies 2012  October 9, 2012 at 2:31 AM
new java technologies 2012... View Questions/Answers

java persistence example  October 9, 2012 at 2:31 AM
java persistence example..... View Questions/Answers

java serialization  October 9, 2012 at 2:31 AM
java serialization...... View Questions/Answers

java serializable default constructor  October 9, 2012 at 2:31 AM
java serializable default constructor...... View Questions/Answers

java technologies in demand  October 9, 2012 at 2:31 AM
java technologies in demand... View Questions/Answers

java technologies overview  October 9, 2012 at 2:31 AM
java technologies overview... View Questions/Answers

java technologies stack  October 9, 2012 at 2:30 AM
java technologies stack...... View Questions/Answers

File structures and indexes  October 8, 2012 at 11:02 PM
for the following BCNF relations that describe departments in a company and employees Dept(did,dname,location,managerid) Emp(eid,sal) Now for this system the following queries are important: List the names and ids of managers for each department in a user-specified location and in... View Questions/Answers

convert the following Pseudocode to java if/else structure  October 8, 2012 at 8:27 PM
dirfrom=D:/processimagessoftware/software/images dirto=D:/processimagessoftware/software/processed/ dirto=D:/imagevideodb/ author=3 country=100 state=34 folder=/images/dvd41 dburl=192.168.10.211 database=imagevideodb user=imagevideodb... View Questions/Answers

help for java  October 8, 2012 at 8:24 PM
1.convert the following Pseudo code to java if/else structure if student?s grade is greater than or equal to 90 Print ?A? else if student?s grade is greater than or equal to 80 Print ?B? else if student?s grade is greater than or equal to 70 ... View Questions/Answers

How to perform CRUD operations using gwt on Restlet server 2.0  October 8, 2012 at 6:25 PM
I want to perform CRUD operation using gwt on restlet server 2.0. The CRUD operations are like create, read, update, delete operations.Any generic code will be really helpful.... ... View Questions/Answers

Java Hash table  October 8, 2012 at 4:11 PM
Hi I have to create code to allow the insertion of a sequence of numbers into a hash table,using a fixed size hash table. Then i must... Implement two collision resolution policies:(this is where I am confused) i) Next free space ii) Chaining Finally randomly generate a s... View Questions/Answers

EJB  October 8, 2012 at 2:05 PM
Hi, can any one please share the Document of EJB. I want to learn EJB from basic. Thanks a lot in advance!! ... View Questions/Answers

click on check box  October 8, 2012 at 10:09 AM
I create a check box in HTML and when i click on my check box relative information in page store in database ... View Questions/Answers

check box realtive information in page store in database  October 8, 2012 at 9:58 AM
check box relative information in page store in database... View Questions/Answers

how to store and retrieve image using struts2 and hibernate integration  October 7, 2012 at 11:52 PM
how to store and retrieve image using struts2 and hibernate integration? plz help !! thanks in advance ! ... View Questions/Answers

Imge upload  October 7, 2012 at 6:29 PM
how to upload image in jsp.I am using Glassfish server.. ... View Questions/Answers

problem  October 7, 2012 at 12:53 PM
import java.io.*; class ranveer { public static void main(String args[])throws IOException { BufferedReader in =new BufferedReader(new InputStreamReader(System.in)); int m=Integer.parseInt(in.readLine()); int n=Integer.parseInt(in.readLine()); int a[]=new in... View Questions/Answers

Database backup  October 7, 2012 at 10:07 AM
I am developing c# application in which i am using Microsoft Access database (OLEdb connections). I want to take backup of database programaticaly. Or as i can tae it in sqlserver 2008 r2(.bak) file. How can i tae it? ... View Questions/Answers

How can I do it? .click();  October 6, 2012 at 10:03 PM
I have a very unusual problem. I want to make a script like this: <script> x = document.getElementById("a"); x.click(); </script> So it's click on an element witch one Id's is "a", but I want that it make mouseup in this element. How can... View Questions/Answers

count occourance no of time no between 0 to 9 given by user in java  October 6, 2012 at 5:13 PM
import java.io.*; class count_no { public static void main(String args[]) { try { int [] size=new int[9]; int i,temp=0; DataInputStream dis=new DataInputStream(System.in); for... View Questions/Answers

servlet  October 6, 2012 at 3:35 PM
import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class priti1 extends HttpServlet{ int counter = 0; public void doGet(HttpServletRequest request, HttpServletResponse response)throws Servlet... View Questions/Answers

servlet  October 6, 2012 at 3:31 PM
here is my code.it doesn't work plz help me import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class priti1 extends HttpServlet{ int counter = 0; public void doGet(HttpServletRequest request, HttpServletResponse respons... View Questions/Answers

swing  October 6, 2012 at 12:23 PM
i wanted to create a gui desktop application .that can take the database name and mysql password from text box, and after the click of a button it should show connection status,and go for next from there on button click we can execute my query,on any other operation ... View Questions/Answers

iphone  October 6, 2012 at 11:35 AM
how to combine multiple images into one image..help me with code ... View Questions/Answers

DropDown list  October 6, 2012 at 10:38 AM
how to get mysql database values into dropdown usign java servlet and ajax? ... View Questions/Answers

Jdbc MS-Access question  October 5, 2012 at 11:21 PM
How to delete records from the three table in MS-Access? They are in relationship with each other regarding to data field. ... View Questions/Answers

Jdbc MS-Access question  October 5, 2012 at 11:21 PM
How to delete records from the three table in MS-Access? They are in relationship with each other regarding to data field. ... View Questions/Answers

How to create a loan website?  October 5, 2012 at 6:31 PM
How to create a loan website in Java. ... View Questions/Answers

without using built-in functions  October 5, 2012 at 6:13 PM
Hai sir... Please help me to solve this... Findout occurances of each string in every another string (built - in functions are not at all allowed) all, and, sand, falling wall and sand ... View Questions/Answers

Getting an error :(  October 5, 2012 at 4:13 PM
I implemented the same code as above.. But getting this error in console... Console Oct 5, 2012 10:18:14 AM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.se... View Questions/Answers

Map  October 5, 2012 at 1:50 PM
If I have an object implementing the Map interface in Java and I wish to iterate over every pair contained within it, what is the most efficient way of going through the map either iterator or for each loop or for loop ... View Questions/Answers

javascript:getElementByClassname:Is it possible to collect all the elements with same classname  October 5, 2012 at 12:35 PM
Is it possible to collect all the elements with same classname in a array n display the array by using getElementByClassname()? like a a1 now i want to take a and a1 n put in single array. can any1 help me ... View Questions/Answers

Dynamic web pages  October 5, 2012 at 11:55 AM
hi, i am just creating a web page using html and javascript. i want to give it a eye catching look using javascript. I just want to know how could i make it happen using javascript functions,like zoom in & zoom out, image loading from database etc. please guide me & help me, so... View Questions/Answers

Count characters from text file in Java  October 5, 2012 at 3:28 AM
At the "Count chracters fro mtext file in Java". I tried to run the code, but the error at the line have the directory of the text file ("C:\text.txt"). I use Eclipse to run this code. I copied the text.txt into the same folder of src of the file, and put my directory is ("C:\users\john\study\tex... View Questions/Answers

compute the average of degrees  October 5, 2012 at 12:21 AM
using c++ language , write a program to do the following 1 enter three degrees of a student by the user . 2 compute the average of his degrees . ... View Questions/Answers

print square of any number  October 5, 2012 at 12:13 AM
using c++ language, write aprogram to print the square of any number entered by the user ... View Questions/Answers

DMCA.com