Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Latitude and Longitude of Saint Lucia  August 1, 2011 at 6:27 PM
Hi, What is the Latitude and Longitude on Saint Lucia? Thanks ... View Questions/Answers

Latitude and Longitude of Saint Kitts and Nevis  August 1, 2011 at 6:25 PM
Hi, What is the Latitude and Longitude on Saint Kitts and Nevis? Thanks ... View Questions/Answers

ajax  August 1, 2011 at 5:59 PM
I am facing following problem, I am using ajax to get the data continousely without refreshing. Here i have devided a web page into 3 parts(top,left and right) using table in jsp. On the left part i am displaying some links. whenever user clicks on this link the output must be displayed... View Questions/Answers

Advertisement

java  August 1, 2011 at 3:14 PM
Can you please fill this case 2 and case 3? import java.util.ArrayList; import java.util.Scanner; class Person { String name; String address; String email; Person(String name, String address, String email) { this.name = name; this.addr... View Questions/Answers

how to insert data in database using html+jsp  August 1, 2011 at 3:08 PM
anyone know what is wrong with my code? print("<% /* Create string of connection url within specified format with machine name, port number and database name. Here machine name id localhost and database name is student... View Questions/Answers

java  August 1, 2011 at 2:35 PM
Can you please fill this case 2 and case 3? import java.util.ArrayList; import java.util.Scanner; class Person { String name; String address; String email; Person(String name, String address, String email) { this.name = name; ... View Questions/Answers

java program on recursive method  August 1, 2011 at 2:24 PM
in how many ways can you make change for one dollar(100 cents) using pennies(1-cent coins), nickels(5 cents), dimes(10 cents),and quarter(25 cents)? the coins must add up to the exact total, and you may assume that you have as many coins as necessary of each value. the order in which coins are se... View Questions/Answers

Image display in pdf  August 1, 2011 at 1:44 PM
i am trying to display a image in pdf using xsl fo but " [ERROR] Error while creating area : Error with image URL: images\distilloginmedia\distillogo.png (The system cannot find the path specified) and no base URL is specified " error is displayed.Please help me...... ... View Questions/Answers

grouping similar data of array  August 1, 2011 at 1:09 PM
I have sorted array of integer . how can I define new arrays with similar data . indeed I want to grouping similar data of array . example: input : int num[] = {20,21,21,24,26,26,26,30}; output : A={20} B={21,21} C={24} D={26,26,26} E={30} thanks ... View Questions/Answers

json  August 1, 2011 at 12:55 PM
wat is the difference between Ajax and JASON? ... View Questions/Answers

java  August 1, 2011 at 10:56 AM
My program is about age calculation. It is running successfully, but once i get the output its not go to the next, its just come out from the running condition. what will i do for this. I pasted my program below. import java.util.*; import java.io.*; ... View Questions/Answers

java  August 1, 2011 at 10:56 AM
My program is about age calculation. It is running successfully, but once i get the output its not go to the next, its just come out from the running condition. what will i do for this. I pasted my program below. import java.util.*; import java.io.*; ... View Questions/Answers

Java  August 1, 2011 at 9:50 AM
What is the condition for updating and deleting the person details in java without using database, as my last question. ... View Questions/Answers

Help on this java code for online library search  July 31, 2011 at 11:14 PM
I have written the following java code for simple library book search. but its having some errors ... please help me on this code. import java.sql.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.table.*; public class... View Questions/Answers

how to write to java program to get the particular data from the website  July 31, 2011 at 10:10 PM
i have to get the particular data by selecting the just numbers.. from the site .. how to get the ful details from the website by clicking the number ... View Questions/Answers

write a program that demonstrates exception handling.you are required to create your own exception class.make use of the keywords throws and throw.  July 31, 2011 at 8:15 PM
write a program that demonstrates exception handling.you are required to create your own exception class.make use of the keywords throws and throw. ... View Questions/Answers

java  July 31, 2011 at 8:10 PM
write a program that demonstrates exception handling.you are reguired to create your own exception class.make use of the keywords throws and throw. ... View Questions/Answers

To print initials  July 31, 2011 at 7:28 PM
import java.util.Scanner; class initials { String a ; int e ; char f ; int b ; int c ; char d; Scanner sc = new Scanner(System.in); void main() { System.out.println("Please enter your name"); a = sc.nextLin... View Questions/Answers

How to create and execute Hibernate project with out Myeclipse ide ?  July 31, 2011 at 1:55 PM
Hi, I am new to Hibernate programming please provide me rough design for creating and executing Hibernate project. Thank you. ... View Questions/Answers

Retrieve data using Criteria api  July 31, 2011 at 10:34 AM
import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Query; import org.hibernate.Criteria; import org.hibernate.criterion.Restrictions; import org.hibernate.cfg.Configuration; import java.util.*; class ReadApplication { public static void main(String ar... View Questions/Answers

How to embed a Javascript in your wordpress website?  July 30, 2011 at 10:28 PM
Hi, I own a wordpress website that offers a wide range of premium accounts of allmajor File Downloading sites like Rapidshare, FileSonic, Wupload, Alldebrid, Uploading, Megaupload, etc. And now I want to insert a javascript into my wordpress website, but i dont know how. Please assist me ... View Questions/Answers

WEB SITE  July 30, 2011 at 10:04 PM
can any one plzz give me some suggestions that i can implement in my site..(Some latest technology) like theme selection in orkut like forgot password feature.. or any more features ... View Questions/Answers

what is separate request processor per module in struts1  July 30, 2011 at 6:46 PM
what is separae request processor per module in struts1.x? ... View Questions/Answers

what is separate request processor per module in struts1  July 30, 2011 at 6:46 PM
what is separae request processor per module in struts1.x? ... View Questions/Answers

struts  July 30, 2011 at 6:39 PM
what is separate request processor per module in struts1? ... View Questions/Answers

Latitude and Longitude of Qatar  July 30, 2011 at 6:37 PM
Hi, What is the Latitude and Longitude on Qatar? Thanks ... View Questions/Answers

Latitude and Longitude of Romania  July 30, 2011 at 6:36 PM
Hi, Give me some information on the Latitude and Longitude on Romania? Thanks ... View Questions/Answers

Latitude and Longitude of Saint Helena  July 30, 2011 at 6:35 PM
Hi, What is the Latitude and Longitude on Saint Helena? Thanks ... View Questions/Answers

Bookmarklet Toolbar  July 30, 2011 at 5:46 PM
I Have to add a toolbar which will work as bookmarklet(bookmarklet toolbar) for the site we r developing.I have listed the req. for clear understanding: 1.whenever a user goes to the site,a link is displayed 'add as bookmark', 2.when user clicks on this, the site url gets added to the toolbar of ... View Questions/Answers

question  July 30, 2011 at 4:13 PM
how to list images from a file and how to display that images as four different images in each row using jsp / javascript ... View Questions/Answers

java  July 30, 2011 at 3:58 PM
there is a class which is implementing the method from one of interface or it may from jar file. if i want to search method defination in the interface the method is defined? Then how we can achieve? ... View Questions/Answers

Jasperreport  July 30, 2011 at 11:10 AM
Hai sir, Here am getting NoClassDefFoundError error,but i already included itext.jar to my class path. JRExporter exporter = new JRPdfExporter(); ErrorDetails: run: Exception in thread "main" java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException ... View Questions/Answers

java.sql.SQLException: Network error IOException: No buffer space available (maximum connections reached?): connect  July 30, 2011 at 10:42 AM
Once in a while i am facing following problem. I am using timesten database. Please help me in resolving this problem. DriverManager.getConnection() is raising this exception. java.sql.SQLException: Network error IOException: No buffer space available (maximum connections reached?): conne... View Questions/Answers

Query on radio button  July 30, 2011 at 9:48 AM
I am having a multiple row in jsp page.They are dynamically coming. For each row there is one radio button. I want to select one row only, i.e I want to fetch the value of row and on submitting the page, the values should got to a ActionClass. My query is that how do i send all the value of a par... View Questions/Answers

read XML file and display it using java servlets  July 29, 2011 at 11:54 PM
sir, i can't access Xml which is present in my d drive plz can u should go through my code n tell me the things where i went wrong java servlet program protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletExcep... View Questions/Answers

log 4j  July 29, 2011 at 11:00 PM
what is log4j? can you give me clear information about log4j? ... View Questions/Answers

session management  July 29, 2011 at 10:33 PM
i close my browser without doing logout now when i open my project in the browser i didn't get the same page. what would u suggest me? ... View Questions/Answers

Programming  July 29, 2011 at 6:59 PM
Given a number n, write a programming to determine its square root if it is possible, in the contraly case print an appropriate massege on the screen. ... View Questions/Answers

Latitude and Longitude of Poland  July 29, 2011 at 6:48 PM
Hi, Give me some information on the Latitude and Longitude on Poland? Thanks ... View Questions/Answers

Displatying java script form submitted elements in another page  July 29, 2011 at 6:47 PM
hi I want java script and html code for displaying the values in other pager after submitting the registration form. I want to get the values after submitting the form. ... View Questions/Answers

Latitude and Longitude of Portugal  July 29, 2011 at 6:46 PM
Hi, What is the Latitude and Longitude on Portugal? Thanks ... View Questions/Answers

Latitude and Longitude of Rwanda  July 29, 2011 at 6:45 PM
Hi, What is the Latitude and Longitude on Rwanda? Thanks ... View Questions/Answers

Latitude and Longitude of Puerto Rico  July 29, 2011 at 6:42 PM
Hi, What is the Latitude and Longitude on Puerto Rico? Thanks ... View Questions/Answers

Latitude and Longitude of Reunion  July 29, 2011 at 6:41 PM
Hi, What is the Latitude and Longitude on Reunion? Thanks ... View Questions/Answers

Latitude and Longitude of Philippines  July 29, 2011 at 6:40 PM
Hi, What is the Latitude and Longitude on Philippines? Thanks ... View Questions/Answers

type mismatch  July 29, 2011 at 6:31 PM
Statement s= con.createStatement(); this line gives error of "type mismatch" I am using eclips nd new to servlet nd JDBC, Please help me, Thank you.... ... View Questions/Answers

question  July 29, 2011 at 5:27 PM
Sir, please give me a simple jsp code to upload images to a folder ... View Questions/Answers

PHP Auto schedule and run php scripts  July 29, 2011 at 2:50 PM
Hi... This is vinay.. I am trying to schedule the execution of php scripts and run them... But I dont want to use cronJobs which are available in hosting servers.. I have to implement that php which automatically runs the scheduled work.. But I am not getting how it can be... View Questions/Answers

when the user fills the login form we need to authenicate the username and password for the database for proper login of the user i want code regarding this.  July 29, 2011 at 2:40 PM
when the user fills the login form we need to authenicate the username and password for the database for proper login of the user i want code regarding this. ... View Questions/Answers

How to display all the rows in JSP ,MySQL select condition statement IN dept_table  July 29, 2011 at 2:09 PM
I iam unable to display all the rows in JSP select statement from MYSQL DB.i have used the below code:only first row that satisfy the condition is displayed.@select * from department where dept_no=10;My display code in JSP is as follows.Plz help me to display all the rows that satisfy the conditi... View Questions/Answers

Passing java variables from JSP to Servlet - return null values  July 29, 2011 at 1:49 PM
I want to pass some variables from a JSP page to a servlet. These variables are from the java code of my JSP. In JSP page I did, String msg="hello"; request.getSession().setAttribute("msg",msg); String strViewPage="MyServlet"; RequestDispatcher dispatcher = request.getRequestDispa... View Questions/Answers

how to devide a web page into parts and setting the targets like frames but without using frames  July 29, 2011 at 1:45 PM
Here is my requirement, I have to devide a web page into 3 parts(top,left and right). top part contains logo and name of company some text below the logo. left and right parts must be below the top part.left part contains some links. Whenever user clicks on these links, the output must ... View Questions/Answers

How to display all the Select values from the MySQL database table in where condition= In JSP?  July 29, 2011 at 1:45 PM
**Hi in jsp,SQL select statement,i am unable to display all the select values from MySQL DB** only first value is displayed in the jsp file. @select * from table dept where dept_no=10;" jsp code i have used is: ----------------- <TABLE BORDER="1"> ... View Questions/Answers

javascript  July 29, 2011 at 1:13 PM
Hi deepak, how to write form validation on javascript ... View Questions/Answers

About Web-Logic  July 29, 2011 at 12:49 PM
Hello I have asked for how to deploy and run the Web-Logic with Tomcat 5.0 version in Console. Somebody has suggested to see the webpage (they had given the link).But when i installed the Web-Logic i culdn't find META-INF directory . So Kindly tell me where Will be the META-INF folder in ... View Questions/Answers

upload a file into database and progrm should support excel and text and csv file formats  July 29, 2011 at 12:02 PM
Hai all, I need a program to upload a file into database table... and the program should support .excel ,.txt ,.csv file formats. can any one help me please... Regards P.SriDivya ... View Questions/Answers

J2ee Crystal report integration  July 29, 2011 at 10:09 AM
Hai Sir, I am familiar with crystal report and vb6 and sql server 2005.Now i want to integrate crystal report with java web application.Right now i am using jsp to create reports.Developer cost is very high when making report in jsp(Handling dynamic sql queries,page ... View Questions/Answers

i want to save image on server folder. and i want to save URL of this folder and name of image in database  July 29, 2011 at 10:06 AM
hi i want to save image on server folder. and i want to save URL of this folder and name of image in database.on click of a link it retrieves the image data from server folder according to URL and File name stored in database. how can i do this please suggest me.. I am using Struts 1.2... please ... View Questions/Answers

hahmap  July 29, 2011 at 9:47 AM
how to write HashMap program in java ... View Questions/Answers

Ask about java  July 29, 2011 at 9:27 AM
Create a java program for add and remove the details of a person, which is not using by database, a simply java program. If possible, please wil it in switch case. ... View Questions/Answers

retrieving query data  July 28, 2011 at 9:50 PM
Blockquote I am new to java or hibernate... Trying to get data from database...it does not pick up the data... Authentication.java public List<String> domains() { Query query... View Questions/Answers

Adding A Primary Key to an Existing Table  July 28, 2011 at 8:14 PM
Been trying to add a primary key to a MySQL table using Java for two days with no success. I'm new to Java and JDBC so bear patience with me. It connects to the database without problem so I know that's not the issue..so I suspect my statment syntax but have been unable to find a good example.... View Questions/Answers

open taps CRM  July 28, 2011 at 7:31 PM
hi Plese guide to me how to forecase in Java Ofbiz Opentaps CRM Module Thanks hasim ... View Questions/Answers

Latitude and Longitude of Norway  July 28, 2011 at 6:30 PM
Hi, What is the Latitude and Longitude on Norway? Give me some more insight into this beautiful and stunning country. Thanks ... View Questions/Answers

Latitude and Longitude of Peru  July 28, 2011 at 6:27 PM
Hi, What is the Latitude and Longitude on Peru? also tell me something more about the country. Thanks ... View Questions/Answers

Latitude and Longitude of Paraguay  July 28, 2011 at 6:26 PM
Hi, What is the Latitude and Longitude on Paraguay? Thanks ... View Questions/Answers

JSP:select image for db and display in image tag  July 28, 2011 at 6:25 PM
Hi, i am new to this forum. My query is that, i am trying to display image in image tag but i am not getting, how to do this by using this code. plz help me. if(rs1.next()) { int len = imgLen.length(); byte [] rb = new byte[len]; InputStream readImg = rs1.getBinaryStream(1... View Questions/Answers

Latitude and Longitude of Papua New Guinea  July 28, 2011 at 6:24 PM
Hi, What is the Latitude and Longitude on Papua New Guinea? Thanks ... View Questions/Answers

JSP:select image for db and display in image tag  July 28, 2011 at 6:23 PM
Hi, i am new to this forum. My query is that, i am trying to display image in tag but i am not getting, how to do this by using this code. plz help me. if(rs1.next()) { int len = imgLen.length(); byte [] rb = new byte[len]; InputStream readImg = rs1.getBinaryS... View Questions/Answers

Latitude and Longitude of Panama  July 28, 2011 at 6:22 PM
Hi, Give me some information on the Latitude and Longitude on Panama? Thanks ... View Questions/Answers

Latitude and Longitude of Palau  July 28, 2011 at 6:21 PM
Hi, What is the Latitude and Longitude on Palau? Thanks ... View Questions/Answers

Latitude and Longitude of Pakistan  July 28, 2011 at 6:19 PM
Hi, What is the Latitude and Longitude on Pakistan? Thanks ... View Questions/Answers

Latitude and Longitude of Oman  July 28, 2011 at 6:17 PM
Hi, What is the Latitude and Longitude on Oman? Thanks ... View Questions/Answers

JSP:select image for db and display in image tag  July 28, 2011 at 6:06 PM
Hi, i am new to this forum. My query is that, i am trying to display image in tag but i am not getting, how to do this by using this code. plz help me. if(rs1.next()) { int len = imgLen.length(); byte [] rb = new byte[len]; InputStream readImg = rs1.getBinaryS... View Questions/Answers

Web Services  July 28, 2011 at 4:35 PM
How to develop a hello world example using jax-ws 2.1 with web service and client. give me detailed process . I am using web sphere application server 7.0 ... View Questions/Answers

Java Chatting  July 28, 2011 at 3:26 PM
Hai Sir, Give me some idea about how to do chatting program in java.I am familiar with java web applications.Pleaes help me sir.I have one web application developed myself where user can login and visit their homepage.But now i want to give chatting facility to my user with admins.Kindl... View Questions/Answers

How to link an excel file with the application software using java swing  July 28, 2011 at 2:48 PM
I have to link an excel file with a application software which I am developing.The excel file will contain questionnaire for surveys.I have this code which is only able to open a Jpanel to select the file.After I select the file nothing is happening.I wanted to be able to generate a template base... View Questions/Answers

How to link a excel file with a application software using java swing  July 28, 2011 at 2:46 PM
I have to link an excel file with a application software which I am developing.The excel file will contain questionnaire for surveys.I have this code which is only able to open a Jpanel to select the file.After I select the file nothing is happening.I wanted to be able to generate a template base... View Questions/Answers

How to link a excel file with a application software using java swing  July 28, 2011 at 2:46 PM
I have to link an excel file with a application software which I am developing.The excel file will contain questionnaire for surveys.I have this code which is only able to open a Jpanel to select the file.After I select the file nothing is happening.I wanted to be able to generate a template base... View Questions/Answers

Java  July 28, 2011 at 2:40 PM
Sir/Madam, I am Fresher. I have learned some Java. But i am not perfect. Can i become to perfect in Java in 3 Months to 6 Months? Can i become eligible for Jobs in Java. If it is possible, Kindly tell me. Thank you.... View Questions/Answers

qunit  July 28, 2011 at 2:26 PM
hi, how to test form validation in javascript by using qunit test? ... View Questions/Answers

javascript  July 28, 2011 at 1:00 PM
Hi deepak, sample example on javascript form validation ... View Questions/Answers

qunit  July 28, 2011 at 12:59 PM
hi deepak, sample example on javascript validation by using Qunit test. ... View Questions/Answers

jsp  July 28, 2011 at 12:52 PM
how can I insert values to the database through the jsp pages ... View Questions/Answers

displaying data for a single column from Mysql database in the list box in php form  July 28, 2011 at 12:42 PM
I have a form in php.want to display data from a single column in an listbox in php.thanks.. ... View Questions/Answers

spring3 mvc appliation bean definition not found error  July 28, 2011 at 12:09 PM
hi deepak I executed the spring3 registration validation example from rose india. when I execute it shows index page, when I click on link it shows the following error Error creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0': Invoca... View Questions/Answers

Database fetching problem  July 28, 2011 at 10:53 AM
I have multiple database table and want to get all records in one object how can i do this.Pls guide. ... View Questions/Answers

question  July 28, 2011 at 10:01 AM
Good morning sir , we employ the following support formula, which is inspired by the well-known problem of finding frequent item sets in data mining [7], to measure the interestingness of a particular keyword/phrase ci extracted from the web-snippets arising from q: interestingness of a p... View Questions/Answers

Linking an Excel File with the Application tool  July 28, 2011 at 10:01 AM
I have to link an excel file with a application software which I am developing.I have this code which is only able to open a Jpanel to select the file.After I select the file nothing is happening.I wanted to be able to generate a template based on the questions that are in the excel file like ext... View Questions/Answers

java  July 28, 2011 at 12:12 AM
Write a program that does the following: a. Declare the following variables: num1, num2, and newNum as type int. b. Prompt the user to input two integers, store the first number into num1 and the second number into num2. c. Display the value of num1 and num2, indicating which is num1 and wh... View Questions/Answers

XII STD RECURSION WITHOUT SCANNER  July 27, 2011 at 8:57 PM
the recursive function gives a stack overflow error. I want to calculate the GDC ie the greatest Integer function for two input numbers. the code of my program is as follows and the error comes in the function gcd_func in the last condition giving stack overflow null. .I do not wish to use the sc... View Questions/Answers

method overriding in java  July 27, 2011 at 7:49 PM
program to compute area of square,rectangle,triangle,circle and volume of sphere,cylinder and perimeter of a cube using method overriding** ... View Questions/Answers

method overriding in java  July 27, 2011 at 7:49 PM
program to compute area of square,rectangle,triangle,circle and volume of sphere,cylinder and perimeter of a cube using method overriding** ... View Questions/Answers

JList  July 27, 2011 at 7:13 PM
pls tell me about the concept the JList in corejava? and tell me a suitable example. ... View Questions/Answers

Latitude and Longitude of New Zealand  July 27, 2011 at 6:47 PM
Hi, What is the Latitude and Longitude on New Zealand? Also give me an insight into this beautiful country Thanks ... View Questions/Answers

Latitude and Longitude of Northern Marianas Islands  July 27, 2011 at 6:45 PM
Hi, What is the Latitude and Longitude on Northern Marianas Islands? Thanks ... View Questions/Answers

how to remove the column from a java web page  July 27, 2011 at 6:31 PM
i have a web page with account#, qtr, year if i want to remove the year column which is a drop down list from my jsp what should i do and what is the process please give a brief view as soon as possible. thank you. ... View Questions/Answers

Latitude and Longitude of Norfolk Island  July 27, 2011 at 6:20 PM
Hi, What is the Latitude and Longitude on Norfolk Island? Thanks ... View Questions/Answers

Latitude and Longitude of Niue  July 27, 2011 at 6:18 PM
Hi, Give me some information on the Latitude and Longitude on Niue? Thanks ... View Questions/Answers

Latitude and Longitude of Nigeria  July 27, 2011 at 6:17 PM
Hi, What is the Latitude and Longitude on Nigeria? Thanks ... View Questions/Answers

DMCA.com