Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

What are local variables?  April 10, 2013 at 4:50 PM
hi, What are local variables? thanks ... View Questions/Answers

What is difference between Path and Classpath?  April 10, 2013 at 4:49 PM
hi What is difference between Path and Classpath? thanks ... View Questions/Answers

Are arrays primitive data types?  April 10, 2013 at 4:48 PM
Hi, Are arrays primitive data types? thanks ... View Questions/Answers

Advertisement

Is Java a pure object oriented language?  April 10, 2013 at 4:48 PM
Hi, Is Java a pure object oriented language? thanks ... View Questions/Answers

Does Java support multiple inheritance?  April 10, 2013 at 4:47 PM
Hi, Does Java support multiple inheritance? thanks ... View Questions/Answers

What is the base class of all classes?  April 10, 2013 at 3:54 PM
Hi, What is the base class of all classes? thanks ... View Questions/Answers

Solve my code  April 10, 2013 at 3:54 PM
import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import java.io.*; public class ChangeDetails extends HttpServlet{ public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOExcepti... View Questions/Answers

What is a pointer and does Java support pointers?  April 10, 2013 at 3:44 PM
Hi, What is a pointer and does Java support pointers? Thanks ... View Questions/Answers

What is the difference between a JDK and a JVM?  April 10, 2013 at 3:33 PM
Hi, What is the difference between a JDK and a JVM? Thanks, ... View Questions/Answers

Are JVM's platform independent?  April 10, 2013 at 1:17 PM
Hi, Are JVM's platform independent? ... View Questions/Answers

What do you mean by platform independence?  April 10, 2013 at 1:06 PM
Hi, What do you mean by platform independence? Thanks ... View Questions/Answers

What is most important features of Java  April 10, 2013 at 12:58 PM
Hi, What is the most important features of Java? Thanks ... View Questions/Answers

sms/mail alert for dynamic web application  April 10, 2013 at 1:58 AM
hi friends, how can i integrate sms/mail alert with my dynamic web application created using servlet? can anyone give me any idea for this related coding ... View Questions/Answers

Adding button to each row for the table and adding row to another table  April 9, 2013 at 8:01 PM
Hi I need to add button to each line in the table(Table data is retrived form database) and need to add that column data which we click in the specified row of the table ... View Questions/Answers

Can I have multiple main() methods in the same class?  April 9, 2013 at 3:20 PM
Hi, Can I have multiple main() methods in the same class? ... View Questions/Answers

how to convert image file to text file?  April 9, 2013 at 2:53 PM
hi, can anybody tell how to convert image file to text file? plz help me. ... View Questions/Answers

What is the first argument of the String array in main() method?  April 9, 2013 at 2:44 PM
Hi, What is the first argument of the String array in main() method? Thanks, ... View Questions/Answers

What happen when we write static public void instead of public static void?  April 9, 2013 at 1:29 PM
Hi, What happen when we write static public void instead of public static void? Thanks ... View Questions/Answers

What if the main() method is declared as private?  April 9, 2013 at 1:05 PM
Hi, What if the main() method is declared as private? Thanks ... View Questions/Answers

What is final class?  April 9, 2013 at 12:46 PM
Hi, What is final class? thanks ... View Questions/Answers

What is an Iterator?  April 9, 2013 at 12:14 PM
Hi, What is an Iterator? Please help me. Thanks ... View Questions/Answers

How to Explain different way of using thread?  April 9, 2013 at 11:47 AM
Hi, How to explain how to using different thread in Java program........ ... View Questions/Answers

How to Explain different way of using thread?  April 9, 2013 at 11:46 AM
Hi, How to explain how to using different thread in Java program........ ... View Questions/Answers

Describe synchronization in respect to multithreading.  April 9, 2013 at 11:37 AM
Hi, Describe synchronization in respect to multithreading. thanks, ... View Questions/Answers

What is the purpose of garbage collection in Java, and when is it used?  April 9, 2013 at 11:25 AM
Hi, What is the purpose of garbage collection in Java, and when is it used? ... View Questions/Answers

What is the difference between a constructor and a method?  April 9, 2013 at 11:20 AM
Hi, What is the difference between a constructor and a method? ... View Questions/Answers

servlet filters  April 8, 2013 at 7:01 PM
Hi Any body please tell me how to work with servlet filters and can u post smple application to search webpage based on input values? ... View Questions/Answers

nour  April 8, 2013 at 4:35 PM
write a java program to five students have three different constructor each student two mark and object Array. please answer... ... View Questions/Answers

convert excel into pdf  April 8, 2013 at 2:39 PM
How to convert excel into pdf files?... View Questions/Answers

TYBsc IT final project (MOBILE BASED SMS SEARCH ENGIN)  April 8, 2013 at 12:11 PM
How to send and receive a msg from jsp servlet program to mobile phone using gsm vodafone modem? Pls give me fast reply becoz my porject(TYBsc IT)final has not been completed. so i requested to you pls answer my question. My project name is MOBILE BASED SMS SEARCH ENGIN. ... View Questions/Answers

uploading of image showing exception when size increases.  April 8, 2013 at 12:07 PM
Hi . I have a project in which the user can upload images. it works properly, but when the image size increases to arnd 1 MB or more it shows exception. I am using tomcat as my server. Plz help ... ... View Questions/Answers

help me  April 8, 2013 at 10:36 AM
pls... xplain dis code:- function go() { window.location.replace("logout.jsp",'window','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1'); self.close() } ... View Questions/Answers

tech. interview  April 8, 2013 at 3:01 AM
java support round robin algo. if yes why? and if no why? ... View Questions/Answers

update a particular of mysql table using servlet  April 8, 2013 at 1:16 AM
how to update a particular column for the entire table by taking requests from html form and update the particular column with out affecting other attribute values in the tuple ... View Questions/Answers

What is the equivalent method in Java which is equivalent to clrscr() in c/c++ . The code should help to clear the output screen ?  April 7, 2013 at 10:43 PM
Hello to all, I have searched the net to know that is there any equivalent method for clrscr() which is used in c/c++. In some sites i found using the Runtime.xxxx.xxx(command here); But this doesn't worked for me, Can any one help to find answer... Thanks to every... View Questions/Answers

How to Unlock Excel Password  April 7, 2013 at 6:19 PM
anyone help me how to recover lost Excel file password .............. ... View Questions/Answers

servlet question  April 7, 2013 at 5:31 PM
I have a jsp page m_box.jsp in SchoolProject/Student/ folder. now from here we click a button and go to servlet which is at com.edao package but it always go SchoolProject/Student/Inbox where Inbox is servlet name. ... View Questions/Answers

assignment  April 6, 2013 at 8:26 PM
Write a Java program that reads a file and prints the amount of palindromes contained within the file. ... View Questions/Answers

how to write file from FileInputStream  April 6, 2013 at 3:54 PM
Hi, How to Write a file from FileInputStream. Please feel free to suggest or any reference website. Thanks, ... View Questions/Answers

how to write to file from string in Java  April 6, 2013 at 3:49 PM
Hi, Please any one help me for how to write to file from string in Java. I am beginner in Java programming. Thanks, ... View Questions/Answers

how to write to file at the end of the line  April 6, 2013 at 3:37 PM
Hi, Where do i learn how to write to file at the end of the line using Java program. Plz suggest references. Thanks, ... View Questions/Answers

How to write file from inputstream in java  April 6, 2013 at 3:30 PM
Hi, how to write file from inputstream in java program. Plz suggest an example or suggested link for this. Thanks, ... View Questions/Answers

how to add a file in GZIP  April 6, 2013 at 3:26 PM
Hi, how to add a file in GZIP using Java. ... View Questions/Answers

loop statements  April 6, 2013 at 3:14 PM
write a program that reads from input an interger n and prints the factorial of all numbers between 1 and n ... View Questions/Answers

javaScript+Html  April 6, 2013 at 1:57 PM
print("code sample");(Use ExtJS 3 or 4) and create following (HTML, Javascript,ExtJS) a. Create a single page application divided into 4 sections - Top Header, Footer,Left Navigation (Tree), Center Panel (TabPanel) b. In Tree - Show three options - G... View Questions/Answers

javaScript  April 6, 2013 at 1:29 PM
How to open a browser window that cannot be resized? (HTML + Javascript); ... View Questions/Answers

How to save image after edit in php  April 6, 2013 at 1:19 PM
Hello, I have create a simple image editor with the effected of brightness, contrast, and desaturat etc. I have used for this pixastic functions from www.pixastic.com. function working successfully but i don't know how to replace orignal image with the effects. please give me answer for t... View Questions/Answers

java  April 6, 2013 at 12:43 PM
hi I want to fetch data from databse and then display it on the jsp page in a table after clicking on the button(radio button will b used to select the different conditions) After displaying it on the jsp page i want to use "paging" to view all the data from the database.Thank you Kindly... View Questions/Answers

javaScript  April 6, 2013 at 11:47 AM
. Print a table like below in JAVASCRIPT 5 x 1 = 5 5 x 2 = 10 ���. 5 x 20 = 100 ... View Questions/Answers

Textpad  April 6, 2013 at 12:34 AM
How i'm getting the text in colors when java program is opened through the textpad ... View Questions/Answers

TextPad  April 6, 2013 at 12:32 AM
how can i getting the text in different colors when a java program is opend through the textpad ... View Questions/Answers

Browsing in java  April 5, 2013 at 8:40 PM
how to browse particular type of file in java (say).jpg using browse button ? ... View Questions/Answers

Joining tables using criteria  April 5, 2013 at 5:48 PM
How do i join more than three tables and retrieve one column from parent table and count of unique values in a single column from child table,the joined tables must be maintain primary key relationship.please give examples and describe. ... View Questions/Answers

Using criteria for multiple tables  April 5, 2013 at 3:32 PM
How to join more than three tables,those tables must be maintain primary key relation ship using Hql criteria & projections. ... View Questions/Answers

Using criteria for multiple tables  April 5, 2013 at 3:31 PM
How to join more than three tables,those tables must be maintain primary key relation ship using Hql criteria & projections. ... View Questions/Answers

CONVERT VALUE MONEY TO WORDS IN SQL?  April 5, 2013 at 8:25 AM
i want to covert money or varchar value (like 7500000 ) in words like (75 lacs) then how to convert this value in this words . please give me solution for this ... View Questions/Answers

What is the best way to write to file in Java?  April 4, 2013 at 6:58 PM
I am creating a program in Java which writes into a text file. What can be the be best method to write to a text file in Java? Since my program will continuously write the data into text file, So, I need the high performance Java program. Thanks ... View Questions/Answers

How to convert XML file to database ?  April 4, 2013 at 1:44 PM
How to convert XML file to database ? ... View Questions/Answers

converting an xml file in relational database objects  April 4, 2013 at 1:32 PM
converting an xml file in relational database objects ... View Questions/Answers

calculating time difference for manually entered in-time and out-time in hours and min for dynamically generated rows in jsp and display in third textfield.  April 4, 2013 at 11:01 AM
calculating time difference for manually entered in-time and out-time in hours and min for dynamically generated rows in jsp and display in third textfield. ... View Questions/Answers

SQLException:Column not found? (help me:(  April 4, 2013 at 7:54 AM
import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; public class Mini2 extends JFrame implements ActionListener { String userid="data",password="1234"; String url="jdbc:odbc:miniprojek"; Statement stmt; Connection con; JLa... View Questions/Answers

Java code help  April 4, 2013 at 3:07 AM
Write a java program that will ask the user to input any number from 5 to 9 and then print the following structure depending on the user input. E.g. If the user input is 5, then print the following structure 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ... View Questions/Answers

java servlet  April 3, 2013 at 6:49 PM
im using ubuntu 12.04 and ialready installed eclipse but i dont know how to run the servlet programs please give brief procedure to run the servlet program in eclipse......... ... View Questions/Answers

create the SQL tables from an XML schema  April 3, 2013 at 5:25 PM
I'm using Eclipse, Please let me know if anyone developped an application that would automatically create the SQL tables from an XML schema ... View Questions/Answers

linked list  April 3, 2013 at 4:25 PM
Data Structures An English institute has a different number of students register each semester. You are required to write a Java program to manage the registration details for the institute. 1. Use a linked list to manage the details of all registered students. a. Create your own linked l... View Questions/Answers

p  April 3, 2013 at 11:50 AM
what is meaning of 2)Applets run over the browser whearas servlets run over the server ... View Questions/Answers

java  April 3, 2013 at 11:41 AM
have a delete button in jsp page when clicked particular data on database has to change pls give code ... View Questions/Answers

Accessing Jqxgrid data in Controller layer using JSP  April 3, 2013 at 10:49 AM
I am using Keyboard Navigation jqxgrid. I am able to bind the grid by passing data from controller layer using JAVA. What i actually require is to fetch the data which is displaying in the jqxgrid, may be in some JSON format from JSP and to insert it into the database. On click of some button, th... View Questions/Answers

for php beginner  April 3, 2013 at 12:10 AM
write a program to find out a greatest number of n numbers using loop ... View Questions/Answers

How to capture output from console into textarea in java?  April 2, 2013 at 11:02 PM
Hi, I would like to know how can we display the result of a program in java into a textarea instead of displaying it on console. Thanks ... View Questions/Answers

write the result into excelsheet  April 2, 2013 at 1:32 PM
package reader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Vector; import org... View Questions/Answers

How to implement ajax in struts2 to operate on select box in jsp  April 2, 2013 at 12:58 PM
I am doing a project on struts2 in which i have a jsp page which has 2 select boxes like <s:form action=""> <s:select id="d" name="dist" onchange="block();" list="dist_list" label="District" headerKey="-1" headerValue="--Please Select--"></s:selec... View Questions/Answers

how to implement ajax in struts2 to operate on selectbox in jsp  April 2, 2013 at 12:55 PM
I am doing a project on struts2 in which i have a jsp page which has 2 select boxes like ... View Questions/Answers

how to operate on select box using ajax in struts2?  April 2, 2013 at 12:46 PM
I am doing a project on struts2 in which i have a jsp page which has two select boxes like <s:form action=""> <s:select id="d" name="dist" onchange="block();" list="dist_list" label="District" headerKey="-1" headerValue="--Please Select--"></s:sele... View Questions/Answers

how to operate on select box using ajax in struts2?  April 2, 2013 at 12:43 PM
I am doing a project on struts2 in which i have a jsp page which has two select boxes like ... View Questions/Answers

applet dought  April 1, 2013 at 11:40 PM
life cycle of an applet is init start and destroy but applets are executed by java enabled browsers like iexpl,so with out an object how these methods of an applet are executed . ... View Questions/Answers

Large File reading through Axis2 Web service  April 1, 2013 at 7:35 PM
This is Vinay Rai. This is regarding the web service help which i am looking for. I am currently working on axis2 web service and i am very new to this. so need your help in resolving one of the problem statement which i have come across. Requirement is.. I have to write a web s... View Questions/Answers

java program  April 1, 2013 at 6:41 PM
Hi, I got interview question like this.Coding should be in java. String input: TTSAAS Step 1: Reduce the consecutive same word SAAS Step 2: SS Step 3: -1 ... View Questions/Answers

JSTL  April 1, 2013 at 6:31 PM
How to remove element from list one by one in jsp using jstl tag? My requirement is, i want to remove a element from selectlist, that element should not appear in the next followed select list, which is hided, and it will show with new list. ... View Questions/Answers

Whar are the features of Spring Framework  April 1, 2013 at 5:42 PM
Whar are the features of Spring Framework ... View Questions/Answers

What is the structure of Spring framework?  April 1, 2013 at 5:09 PM
What is the structure of Spring framework? ... View Questions/Answers

send answer  April 1, 2013 at 2:45 PM
For online exam project,i want single question on single page and on that page there are three buttons previous,submit,next.If i click on next button it show next question from database. ... View Questions/Answers

Auto Search box using ajax  April 1, 2013 at 12:59 PM
Hi , i want to implement auto search box functionality like google and linkedin using ajax,jsp,servlet, javascript etc.when the value appears on the textbox then we should also be able to select that value.I have seen so many of examples in jquery,php,.NET but how this is possible in java. rahul... View Questions/Answers

How to Display next Record from Database "On the Click of Next Button" USING ARRAYLIST  April 1, 2013 at 12:26 PM
How to Display next Record from Database "On the Click of Next Button" USING ARRAYLIST,please send answer as soo as possible... View Questions/Answers

code for timer in java netbeans for online test series countdown timer  April 1, 2013 at 12:07 PM
code for timer in java netbeans for online test series countdown timer ... View Questions/Answers

project  March 31, 2013 at 8:02 PM
Write a program to find the result of N students by accepting 5-subject marks from a Mark class and calculate the total and average mark. Display the result of all students in ascending order of rank from Result class (which is a subclass of Mark class). The result should consist of following inf... View Questions/Answers

Sending error code to access log of tomcat server from Action class  March 31, 2013 at 3:26 PM
How to send an error code (500) to access log file when we get null value in an if condition in Action class? Is anyone aware of this! Thanks. ... View Questions/Answers

ffmpeg audio from video  March 31, 2013 at 2:13 PM
Hi, How to extract audio from a video file? Thanks ... View Questions/Answers

HOW TO DISPLAY ID IN TEXTBOX BASED ON COMBOBOX SELECTION IN A SAME PAGE  March 31, 2013 at 9:14 AM
Dear sir, Am having one table called rolemaster. In that there are 2 fields Roleid and Role_name. and values are Roleid Role_name 1 SystemAdmin 2 Office Bearer Am loading this Rolename into one page called createuser.jsp. There am loading ... View Questions/Answers

Dependant Dropdown Lists  March 31, 2013 at 7:36 AM
Hello, I'm trying to create 2 dropdown lists. When the visitor chooses one option from the 1st list it will automatically update the 2nd dropdown. Ive already found some code which i edited but still it's not working. ... View Questions/Answers

how to insert values from jsp into ms access  March 31, 2013 at 1:38 AM
how to insert values using jsp into ms access database ... View Questions/Answers

link list in c++  March 30, 2013 at 6:05 PM
What is hash table in java,what is use? and how to use it ? ... View Questions/Answers

JSP  March 30, 2013 at 4:43 PM
How to disbled the combobox until checkbox value is true ... View Questions/Answers

Java  March 30, 2013 at 4:42 PM
How to disbled the combobox until checkbox value is true ... View Questions/Answers

mobile app  March 30, 2013 at 3:27 PM
what is kvm support? ... View Questions/Answers

Setting source port on a Java Socket?  March 30, 2013 at 2:25 PM
Is it possible to explicitly set the the source port on a Java Socket? ... View Questions/Answers

what is a thread initial state? how to implement it?  March 30, 2013 at 2:20 PM
what is a thread initial state? how to implement it? ... View Questions/Answers

Switch case in Jsp page  March 30, 2013 at 1:38 PM
<table> <tr><td>Enter Distance :</td> <td><input type="text" name="dis"/></td> </tr> <tr> <td>Enter Weight :</td> <td><input type="text" name="weight"/></td> </tr> <... View Questions/Answers

jfreechart  March 30, 2013 at 1:27 PM
i have added to libraries both of them jcommon-1.0.16.jar and jfreechart-1.0.13 But after adding the code to create bar chart error is coming-package org.jfree.chart does not exist.. what should i do? please help me... i need to get a bar chart done in my project.. ... View Questions/Answers

project..  March 30, 2013 at 10:58 AM
Write a program to find the result of N students by accepting 5-subject marks from a Mark class and calculate the total and average mark. Display the result of all students in ascending order of rank from Result class (which is a subclass of Mark class). The result should consist of following inf... View Questions/Answers

DMCA.com