Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

JSp session time out  September 13, 2012 at 4:33 PM
Consider a case where we are working on a java application.After few hours of continuous work ,my application gets logged out in the middle. I would like to know what statement/keyword is responsible for it?? ... View Questions/Answers

to learn java  September 13, 2012 at 2:47 PM
I am b.com graduate. Can l able to learn java platform without knowing any basics software language. ... View Questions/Answers

how call ireports in jsp  September 13, 2012 at 12:32 PM
please send me code any one for calling ireports in servlet-jsp program i am trying to call the ireports in servlet and jsp error is occurred exception: javax.servlet.ServletException: java.lang.UnsupportedClassVersionError: Bad version number in .class fil... View Questions/Answers

Advertisement

JDBC Connection and Registration  September 13, 2012 at 11:17 AM
How to create a JDBC connection to MSAccess. How to create a table in MSAccess Manually, like going and opening MSAccess and creating column names. How to store data into the above manually created database from Servlets program. how to retrieve user data, which i... View Questions/Answers

java script unable to connect to oracle database and insert data  September 13, 2012 at 10:21 AM
Hello Everyone, I am new to jsp and servers.. my first project given to me is to insert data from jsp to oracle database 8, so i create a table in oracle departments and two coloum name depaermentname and departmentid, i found this below jsp coding in rose india for sql and i c... View Questions/Answers

YUI  September 13, 2012 at 9:54 AM
What is YUI concept ... View Questions/Answers

decrement  September 13, 2012 at 5:54 AM
how do we start a program with C++.....a program that decrements from 225 to 0!!!! ... View Questions/Answers

How to install Hibernate-3 and jars required for eclipse environment. And is jboss jars are necessary..?  September 13, 2012 at 12:55 AM
Dear Friends, I have a lot of doubts in Hibernate. Please guide me. I have Eclipse Platform Version: 3.3.1.1, Apache tomcate-6.0 and jdk7 environment. and woking with web applications. Now I need to add the HiberNate-3 to this above Environment. so my doubt is 1) What are the jars requir... View Questions/Answers

interfaces,exceptions,threads  September 12, 2012 at 11:27 PM
SIR,IAM JAVA BEGINER,I WANT KNOW THE COMPLETE CONEPTS OF INTERFACES,EXCEPTIONS,THREADS ... View Questions/Answers

MultiThreading  September 12, 2012 at 7:24 PM
In MultiThreading....I'm using Hashmap ....Is there any deadlock occurs? ... View Questions/Answers

Threads  September 12, 2012 at 7:19 PM
Extends Thread or Implementing Runnable Interface.....(MultiThreading)which is the best way to increase the application perfomance? ... View Questions/Answers

how to develope a struts application using hibernate?  September 12, 2012 at 7:17 PM
Hi Folks, I am very new to hibernate.I want to develope a login page in struts their username and password should validate against database using hibernate framework. thanks in advance.... View Questions/Answers

Context binding  September 12, 2012 at 7:17 PM
What is meant by Context binding? ... View Questions/Answers

Interface and Abstract class  September 12, 2012 at 7:16 PM
Difference between Interface and Abstract class? Give some example ... View Questions/Answers

iOS View  September 12, 2012 at 6:30 PM
What is the Difference between View's bounds and frame in iOS? ... View Questions/Answers

Retriving zip file stored in database into my own filesystem  September 12, 2012 at 4:43 PM
Hi all, I have a table named tempdb with tempid and zipfile as two column.Currently I am using sybase db. create table tempdb(tempid int,zipfile image) i have several zip file stored in this table now I want to retrieve it and put it in an directo... View Questions/Answers

how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?  September 12, 2012 at 1:56 PM
how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?... View Questions/Answers

conversion from decimal to hexadecimal and vice versa  September 12, 2012 at 1:30 PM
can i get the code for converting decimal to hexadecimal ... View Questions/Answers

EXT JS  September 12, 2012 at 12:19 PM
Hi, how to start coding Extjs with netbeans. Please help me doing that with steps and sample coding ... View Questions/Answers

Spring and Oracle Database  September 12, 2012 at 12:11 PM
I need example for Batch update process using oracle database and spring framework with full explanation. ... View Questions/Answers

basic login and registration web page using jsp and servlet without using bean .....  September 12, 2012 at 10:55 AM
Hello Folks please i m totally beginner so guys please help me with very simple solution..... thnx.. ... View Questions/Answers

Date Picker  September 12, 2012 at 10:39 AM
"I want to set default calendar date when using datepicker. This date means auto-loaded date when the calendar appears. The default date is the current date. I want to change it. How could I do? ... View Questions/Answers

structures  September 12, 2012 at 10:24 AM
what will be the size in 64 bits of this structure struct{ int i; char c; }node; ... View Questions/Answers

memory allocation  September 12, 2012 at 10:22 AM
If we assign memory malloc(5) and access more than the assigned memory then what will happen? 1.segmentation error 2.memory leak 3.program will not compile 4.Your view? ... View Questions/Answers

Structures and unions  September 12, 2012 at 10:17 AM
union{ struct{ int i1; char c1; }s1; struct{ int i2; char c2; }s2; }u1; what will be the value of (int)u1.s1.i1-(int)u1.s2.i2 and (int)&u1.s1-(char)u1.s1.c2? ... View Questions/Answers

calling webservices that return complexTypes in android using ksoap2  September 12, 2012 at 10:16 AM
Here's my code for android application,to call aweb service method and return a complexType object from it. package com.example.gramaniladharidetails; import java.util.Vector; import org.ksoap2.SoapEnvelope; import org.ksoap2.SoapFault; import org.k... View Questions/Answers

I/O Java  September 12, 2012 at 1:44 AM
import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner; public class Concat { public boolean accept(File file) { //if the file extension is .txt ... View Questions/Answers

Dialling from computer with other phone via modem card  September 11, 2012 at 10:37 PM
Hello everyone I would like to create a c# desktop application that has ability to call a phone number through a modem connected in the computer. During research I ended up in TAPI. For now I wish not to use TAPI rather I would prefer coding form scratch. It would be helpful if anyone pas... View Questions/Answers

printing series in java  September 11, 2012 at 10:35 PM
1 123 12345 1234567 12345 123 1 ... View Questions/Answers

printing java series  September 11, 2012 at 10:34 PM
* *** ***** ******** ***** *** * ... View Questions/Answers

JAVA PROGRAMMING  September 11, 2012 at 10:27 PM
Write an OVERLOADED FUNCTION in java that swaps(interchanges) 2 user given numbers.(one integer and one float value) and displays the result after swapping. Invoke the function in a class. ... View Questions/Answers

java programming  September 11, 2012 at 10:20 PM
WAP to accept 10 strings from the user and find out the string with maximum length and print the same. ... View Questions/Answers

java programming  September 11, 2012 at 10:18 PM
WAP to find the longest word from a user given string. ... View Questions/Answers

calling servlet from jsp in netbeans ide  September 11, 2012 at 6:49 PM
I have tried to call servlet from jsp code in netbeans for checking the database values . but while running it showing the error that the resource not available. i dono wat mistake i did. can anyone help me ? ... View Questions/Answers

float validation for jTextField  September 11, 2012 at 6:27 PM
Hi; I try that users enter only float number into jtextfield but I can not handle it. I try regex in keylistener but I couldn't be successful. Can you help me please? ... View Questions/Answers

Java REGEX  September 11, 2012 at 6:23 PM
I have a String {"name":"ashish","surname":"singh"} I have to check whether each word is surrounded by the " (double quotes) or not using the java regex. without using Json lib. Kindly help ... View Questions/Answers

How to store user registration details into database(MS Access database), and how to validate the username and password, If again the same person logins.  September 11, 2012 at 4:16 PM
Please help me, My Question is - How to store user registration details into database(MS Access database), and how to validate the username and password, If again the same person logins. Please write the programs in Servlets,JavaBeans and jsp. ... View Questions/Answers

how send nsnotification to forward class  September 11, 2012 at 4:11 PM
how to send nsnotification to a forward class? i am sending a nsnotification to a class which is not loaded yet. example,there is a class A,where i am creating a dictionary and posting it to class C ,and class C will be loaded after class B loads.the flow is class A loads firsts,then class B and ... View Questions/Answers

java question  September 11, 2012 at 3:11 PM
I am converting a .net website into java one. Can you help me how to code things step by step. project name - src -java -main -webapp - common - jsp - css - images - javascripts I have all these files. I am trying to make header.jsp, footer.jsp, me... View Questions/Answers

create html form as follows  September 11, 2012 at 2:06 PM
a form that contains two textboxes;one for your name and another for telephone number.telephone number should have exactly 10 digits starting with the digit '9' and name should not be left blank.add a submit button also,when it is clicked name and telephone number would be dislayed on the screen.... View Questions/Answers

create html form as follows  September 11, 2012 at 2:06 PM
a form that contains two textboxes;one for your name and another for telephone number.telephone number should have exactly 10 digits starting with the digit '9' and name should not be left blank.add a submit button also,when it is clicked name and telephone number would be dislayed on the screen.... View Questions/Answers

spring hibernate  September 11, 2012 at 12:25 PM
i need to display many fields( fields are in different tables) in a jsp page....how to implement this using spring hibernate ... View Questions/Answers

Please tell me the code to generate the below structure  September 11, 2012 at 9:44 AM
1 2 3 4 5 6 7 8 9 1 2 3 4 6 7 8 9 1 2 3 7 8 9 1 2 8 9 1 9 1 2 8 9 1 2 3 7 8 9 1 2 3 4 6 7 8 9 1 2 3 4 5 6 7 8 9 ... View Questions/Answers

webpage which client can enter his or her name  September 11, 2012 at 4:23 AM
1.if client has entered name he must click on submit button,new webpage should appear which welcome him or her with either one of following messages: "good morning,[name]!","good afternoon,[name]!".greeting should depend on the current time. ... View Questions/Answers

webpage which client can enter his or her name  September 11, 2012 at 4:23 AM
1.if client has entered name he must click on submit button,new webpage should appear which welcome him or her with either one of following messages: "good morning,[name]!","good afternoon,[name]!".greeting should depend on the current time. ... View Questions/Answers

Database named studentinfo  September 11, 2012 at 4:18 AM
1.create design of studentinfo using swing component 2.Create a database named student info. 3.create a table that stores all the details from the form,application of basic Normalization is required. 4.write code that creates a connection to the database using Access Database. 5.Write code that ... View Questions/Answers

Database named studentinfo  September 11, 2012 at 4:18 AM
1.create design of studentinfo using swing component 2.Create a database named student info. 3.create a table that stores all the details from the form,application of basic Normalization is required. 4.write code that creates a connection to the database using Access Database. 5.Write code that ... View Questions/Answers

Database named studentinfo  September 11, 2012 at 4:18 AM
1.create design of studentinfo using swing component 2.Create a database named student info. 3.create a table that stores all the details from the form,application of basic Normalization is required. 4.write code that creates a connection to the database using Access Database. 5.Write code t... View Questions/Answers

JAVA Keywords Highlighting Puzzles IN JAVA  September 11, 2012 at 1:54 AM
Syntax Highlighting SCENERIO 1 When given a set of keywords we need to identify the occurrences of keywords in given input text and mark them with [blue] color attribute Sample Keywords: as if and then when Sample Input: If we write a program and compile it, then w... View Questions/Answers

java  September 11, 2012 at 1:10 AM
Hi 1) in arraylist i have sorted salary ,id last , first then how can i display last name, and id. in java 2)how to restrict multiple submission in struts framework. ... View Questions/Answers

Java I/O  September 10, 2012 at 9:55 PM
how to write different type of arrays like string,int,double etc into a file using DataOutputStream ???? ... View Questions/Answers

swing question  September 10, 2012 at 6:56 PM
please provide me a program with oracle conectivity in which it consist of a log in page. and when i clicked login it takes data from table(which contain username and password) and matches and give msg for login suceed and denied ... View Questions/Answers

logical operators in objective c  September 10, 2012 at 6:51 PM
logical operators in objective c ... View Questions/Answers

code  September 10, 2012 at 6:27 PM
hi I need help in creating a java code that reminds user on a particular date about their festival. i have no clue of how to do it.. am looking forward to seek help from you. ... View Questions/Answers

calling webservices that return complexTypes in android using ksoap2  September 10, 2012 at 4:51 PM
Can anyone direct me to a site or show me an example ,on how to call a webservice which returns a complexType as the result, in an android app. ... View Questions/Answers

string  September 10, 2012 at 4:20 PM
How to count a particular character in a given sentence and also displaying that contain word? Like I want to find "a" in the string "This is example of java Programme" and also display word that contain "a" character. ... View Questions/Answers

how to pass string array from action class to jsp page? pls reply me.  September 10, 2012 at 4:09 PM
how to pass string array from action class to jsp page? pls reply me. ... View Questions/Answers

How to pass Array of string from action class to jsp page  September 10, 2012 at 4:05 PM
this is my action class package login.ipm; import java.sql.*; import java.util.ArrayList; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apac... View Questions/Answers

hello world program. EXT JS  September 10, 2012 at 2:48 PM
Hi, i need to do extjs coding. but i don't know even hello world program. please teach me with step be step procedure for doing extjs coding ... View Questions/Answers

Java Program  September 10, 2012 at 1:32 PM
Java program for beginners ... View Questions/Answers

how to create a jsp page like gmail inbox page  September 10, 2012 at 1:16 PM
in my struts project i need to create a page like gmail inbox page..........how can i create this? help me some one........ ... View Questions/Answers

how to prevent from navigating Back after logout or session expire in jsp  September 10, 2012 at 1:00 PM
Hii Sir, I am making a web app in which after logout one can go to back pages from the browsers back button which i dont want in my app. Plz sir give me the desired code to solve this issue and plz specify where to use it either in every page of in login page or at log... View Questions/Answers

java pages run  September 10, 2012 at 8:54 AM
how do we run jsp file in the browser. do we need to install server. could it be run on the xamp server ... View Questions/Answers

how to calculate EMI of the loan  September 10, 2012 at 2:40 AM
package carloanapp; import java.io.FileWriter; import java.io.IOException; public class CarLoan { Customer gObjCustomer = null; double gDbRequestedLoanAmount = 0; double gDbInterestRate = 0; String gStrLoanRiskLevel = null; String Calculate... View Questions/Answers

initialising a checkers board  September 9, 2012 at 8:52 AM
Hi there I am new to java and i am trying to place checkers pieces into a checker board which is set up as an array. What i have done so far is create an array and fill it with nothing. I have then created a copy and now want to place the appropriate pieces into the array He... View Questions/Answers

initialising a checkers board  September 9, 2012 at 8:52 AM
Hi there I am new to java and i am trying to place checkers pieces into a checker board which is set up as an array. What i have done so far is create an array and fill it with nothing. I have then created a copy and now want to place the appropriate pieces into the array He... View Questions/Answers

plz tell me  September 8, 2012 at 11:52 PM
how to get no. of times the 'button' is pressed ... View Questions/Answers

Date Picker  September 8, 2012 at 9:26 PM
Hi Java Developers ! I came across the coding for date picker in this site which was almost similar to the coding done by our team. But our requirement is a little different one . After the start date is selected in the calendar( by using date picker ) it needs to get updated/highlighted in the f... View Questions/Answers

Login Password Validation iPhone / iPAD  September 8, 2012 at 9:25 PM
HOW TO WRITE A TEST CASE TO SET THE VALIDATION FOR LOGIN AND PASSWORD FIELD IN OBJECTIVE C, IOS. ... View Questions/Answers

Good Looking Java Charts and Graphs  September 8, 2012 at 7:30 PM
Is there a java chart library that will generate charts and graphs with the quality of visifire or fusion charts? The JFreeChart graph quality is not professional looking. Unless it can be extended to use better looking graphics it is not an option for us. Thank you in advance... View Questions/Answers

using function  September 8, 2012 at 7:29 PM
using a function to find the value of v from the foiiowing expression 1v=1u+1*f ... View Questions/Answers

using function  September 8, 2012 at 7:18 PM
write a program using function overloading to accept any sentence and print vowels and consonants sepratly ... View Questions/Answers

SEND + MORE = MONEY  September 8, 2012 at 6:18 PM
Problem Description Write a program to solve a set of magic formula. A magic formula is obtained by transforming an ordinary formula like 120 + 456 = 576 into ZAD + REC = EFC. The transformation is done by setting 1 to Z, 2 to A, 0 to D, 4 to R, 5 to E, 6 to C, and 7 to F. Now giv... View Questions/Answers

how do i allow users to download a xls file in html?  September 8, 2012 at 1:45 PM
can anyone help me to allow users to download a xls file in html? i tried with href="path/filename.xls"click here but it works in chrome but not in mozilla. ... View Questions/Answers

shoping items billng source code  September 8, 2012 at 11:40 AM
Hi, I am doing a project on invoice making, I am unable to make code for the billing, I have a n jsp page "invc.jsp", here in this page i need to get the items from the data base with respect to the item code, I am taking item code in a drop down list, and the item codes should be sorted by the m... View Questions/Answers

shoping items billng source code  September 8, 2012 at 11:40 AM
Hi, I am doing a project on invoice making, I am unable to make code for the billing, I have a n jsp page "invc.jsp", here in this page i need to get the items from the data base with respect to the item code, I am taking item code in a drop down list, and the item codes should be sorted by the m... View Questions/Answers

shoping items billng source code  September 8, 2012 at 11:40 AM
Hi, I am doing a project on invoice making, I am unable to make code for the billing, I have a n jsp page "invc.jsp", here in this page i need to get the items from the data base with respect to the item code, I am taking item code in a drop down list, and the item codes should be sorted by the m... View Questions/Answers

shoping items billng source code  September 8, 2012 at 11:40 AM
Hi, I am doing a project on invoice making, I am unable to make code for the billing, I have a n jsp page "invc.jsp", here in this page i need to get the items from the data base with respect to the item code, I am taking item code in a drop down list, and the item codes should be sorted by the m... View Questions/Answers

shoping items billng source code  September 8, 2012 at 11:40 AM
Hi, I am doing a project on invoice making, I am unable to make code for the billing, I have a n jsp page "invc.jsp", here in this page i need to get the items from the data base with respect to the item code, I am taking item code in a drop down list, and the item codes should be sorted by the m... View Questions/Answers

Web Page Transaction  September 8, 2012 at 10:54 AM
Hello sir, i want to add an Effective page transaction when i go to my home page to other page in js...plllzzz help me...rppy soon.. ... View Questions/Answers

Try it Editor  September 8, 2012 at 10:50 AM
Hello sir...actually i want to add an html,css & js editor like in w3 school try it editor 1.5....can you tell me how i can add it..pllz plzzz rppy soon. ... View Questions/Answers

Why we should use string args[] in main method in java?  September 8, 2012 at 1:02 AM
we use only string in the main method not any other one.. specify the reason... and tell me each and every meaning of public static void main(String args[])... ... View Questions/Answers

loag already in use atomikos  September 7, 2012 at 9:26 PM
I am facing an issue only on live server with atomikos, on my local server it works perfectly. the issue i am facng on the server is Error in init(): Log already in use? complete exception stack trace java.lang.RuntimeExc... View Questions/Answers

garbage collector  September 7, 2012 at 8:48 PM
Hi what is the adventage using system.gc() method ? what is the adventage f annotation in java ? how can we loads the spring context file ? what is advantage of spring framework? what is the bean definatin in spring? what is earger loading and lazy... View Questions/Answers

Difference between error and exception ?  September 7, 2012 at 5:44 PM
Can we handle a error in java if yes than give an code of an example? Difference between error and exception handling....... ... View Questions/Answers

Difference between Normal Insert and BLOB insert  September 7, 2012 at 4:33 PM
I have sql database with table Images, in that table there are 2 Columns ID (identity), DisplayImage (image). Table has 2 rows for first row i have written insert into Image values(1,'Libraries\Pictures\Lotus.jpg') and 2nd row as INSERT INTO [db... View Questions/Answers

REQ for connection b/w jdbc and oracle database  September 7, 2012 at 3:15 PM
REQ for connection b/w jdbc and oracle database ... View Questions/Answers

Xml append node problem  September 7, 2012 at 11:45 AM
print("code sample");Question: I create a XML which looks like this: <cwMin>31</cwMin> The code used in generating this XML is : XMLOutputFactory xof = XMLOutputFactory.newInstance(); XMLStreamWriter xtw = null; ... View Questions/Answers

sql query to get name,age,phone,address from tables t1,t2,t3,t4,t5 ..  September 7, 2012 at 11:22 AM
this is for single table : query ="SELECT name , age , pwd , phone , address FROM t1 order by name"; this is for 2 tables : query ="SELECT t.name , t.age , tt.pwd , tt.phone , t.address FROM t1 t t2 tt where t.age=tt.age order by name"; i want for 12 tables :... View Questions/Answers

advance java  September 7, 2012 at 10:04 AM
i want to refer advanced java book can u plz suggest me auther name ... View Questions/Answers

Numbers pyramid  September 7, 2012 at 6:31 AM
Hi sir, Can you please tell me how to output this using nested for loops? 1 2, 1 1, 2, 3 4, 3, 2, 1 1, 2, 3, 4, 5 6, 5, 4, 3, 2, 1 1, 2, 3, 4, 5, 6, 7 8, 7, 6, 5, 4, 3, 2, 1 1, 2, 3, 4, 5, 6, 7, 8, 9 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 ... View Questions/Answers

About BufferedReader  September 7, 2012 at 2:45 AM
I have created FileInputStream fstream = new FileInputStream("E:\\TE MODULE\\Main Workspace\\OS PHASE 1\\input.txt"); DataInputStream in = new DataInputStream(fstream); BufferedReader bfr = new BufferedReader(new InputStreamReader(in)); for(int i=0;i<... View Questions/Answers

need query  September 6, 2012 at 9:13 PM
hi sir , i am beginner to sql.i need a query so that it can be helpful to my project. i have four tables each containing different fruits with different amounts. i need a query in such a way that when i say some amount say 100 it should display all the possible solutions such that i get single... View Questions/Answers

JSP Page Error  September 6, 2012 at 7:31 PM
Hello Sir. I m using Oracle 10g as a database n tomcat server DSN name : NB Username NB Password EBS Table name consumer When i run jsp page on the browser it only shows the code nothing else.. I have made two files which are as follows 1)New.jsp ... View Questions/Answers

JSP Page Error  September 6, 2012 at 7:31 PM
Hello Sir. I m using Oracle 10g as a database n tomcat server DSN name : NB Username NB Password EBS Table name consumer When i run jsp page on the browser it only shows the code nothing else.. I have made two files which are as follows 1)New.jsp ... View Questions/Answers

JSP Page Error  September 6, 2012 at 7:31 PM
Hello Sir. I m using Oracle 10g as a database n tomcat server DSN name : NB Username NB Password EBS Table name consumer When i run jsp page on the browser it only shows the code nothing else.. I have made two files which are as follows 1)New.jsp ... View Questions/Answers

How to make the single click as double click in java  September 6, 2012 at 7:07 PM
How to make the single click as double click in java... By clicking on a tab, the tab should respond as clicked twice i.e (double click on the tab/button)... Its very urgent for my work... pls respond me!!!! Tks in advance... ... View Questions/Answers

i want to create invoice report editable. values should be taken from dabase and editable .. help out asap  September 6, 2012 at 6:23 PM
i want to create invoice report editable. values should be taken from dabase and editable .. help out asap ... View Questions/Answers

hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it .. .. am not getting how it works ... from were to start .. thank you  September 6, 2012 at 6:02 PM
hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it .. .. am not getting how it works ... from were to start .. thank you ... View Questions/Answers

DMCA.com