Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

solve this  March 30, 2013 at 10:37 AM
Create a student class. The student object should have studentid, studentname, subject and marks as properties. Also generate the getter and setter methods. Create 5 objects of this class and populate values into them. a. Store the five objects into an array. Retrieve and print all detail... View Questions/Answers

Eclipse current project(Workspace) path  March 30, 2013 at 10:09 AM
Hello, I want to use a path of current WebContent folder where my jsp files are already stored. How i get it ??? I use getServletContext.getRealPath() but it gives me path of deployed project means ".metadata.plugins\org.eclipse.wst.server.core\tmp4\wtpwebapps\" path.. Please tell me how... View Questions/Answers

Count instances of each word  March 30, 2013 at 8:24 AM
I am working on a Java Project that reads a text file from the command line and outputs an alphabetical listing of the words preceded by the occurrence count. My program compiles and runs, but it displays duplicate listings of the words and they are not in the correct order. I have searched onlin... View Questions/Answers

Show a hidden frame previously from another from  March 30, 2013 at 6:09 AM
How can i show a hidden frame previously by this code: jframe_name.hide(); and make it visible from another frame i'm waiting for the answer, and i'll be thankfull. ... View Questions/Answers

Java- Save Image into project folder in web application  March 29, 2013 at 7:53 PM
I have a requirement of saving the image into project folder .. which is a web application. I am not able to figure out how to find the absolute path of my folder which I want to save the image..when I am trying to create empty folder and get the absolute path of that I am getting eclipse path...... View Questions/Answers

Bioinformatics  March 29, 2013 at 6:48 PM
**How to read big DNA files of size 1G line by line using java? I have tried using bufferedReader but the whole file which consists of 95000 lines is not being read. Thanks** ... View Questions/Answers

web interface  March 29, 2013 at 6:29 PM
hii sir, i want to develop a project name web GU interface for oracle like 10g can anyone help me plz how to develop using jsp and servelets provide code for WOI ... View Questions/Answers

java programme  March 29, 2013 at 5:57 PM
i have to write a java programe that calculates the average of 10 students in Test 1 ,Test 2 and Test 3....Values of the marks in all the test for a student should be hardcore.Ialso have to tell the maixmum and minimum values for the hard core values of the test...i also have to print a histogram... View Questions/Answers

how to access element added via javascript dynamically using jsp code  March 29, 2013 at 5:12 PM
Urgent..Anyone please Assist how to access data from the elements added via javascript dynamically using the jsp code. i am adding empty records on .jsp page using javascript (by calling a below function on click event of button) as :- var cell1 = row.insertCell(0); ... View Questions/Answers

hi  March 29, 2013 at 5:10 PM
Please develop an javascript code for below task: Create a drop down list with name â??Accountâ??. When we select an account from list, an label must be enable with â??+Click to add another account.â??. There should be bu... View Questions/Answers

How can you handle form in Spring 3.2 MVC?  March 29, 2013 at 4:21 PM
Hi, How can you handle form in Spring 3.2 MVC? Thanks ... View Questions/Answers

How a simple "Hello World" can be displayed using Spring 3.2 MVC?  March 29, 2013 at 3:32 PM
Hi, How a simple "Hello World" can be displayed using Spring 3.2 MVC? Thanks, ... View Questions/Answers

What is Java Client Socket?  March 29, 2013 at 2:49 PM
Hi, What is client socket in Java programming? Please suggest any reference or examples. Thanks, ... View Questions/Answers

Where to learn java programming language  March 29, 2013 at 11:12 AM
I am beginner in Java and want to learn Java and become master of the Java programming language? Where to learn java programming language? Thanks ... View Questions/Answers

is there any possibelities fast read and write file large data file  March 29, 2013 at 9:57 AM
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Hashtable; import java.util.Vector; p... View Questions/Answers

is there any possibelities fast read and write file large data file  March 29, 2013 at 9:57 AM
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Hashtable; import java.util.Vector; p... View Questions/Answers

is there any possibelities fast read and write file large data file  March 29, 2013 at 9:57 AM
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Hashtable; import java.util.Vector; p... View Questions/Answers

Object with different data types  March 29, 2013 at 5:01 AM
Hello, I need to build a "patient" object that can contain String "name", String "ID", double "weight" and Date "birthDate". Then that object is referenced to the linked list. I know how to use linked list. The problem is I don't know how to create patient object. Can someone help me?... View Questions/Answers

i want image upload and download useing STRUTS 1.2 version example..  March 28, 2013 at 5:32 PM
i am fresher of the developer..i want code for above title topic(i want image upload and download useing STRUTS 1.2 version example..)..plz send me code for my mail id- ... View Questions/Answers

secure password  March 28, 2013 at 3:50 PM
Respected Sir We need to write a function which accepts a given password and returns â??ACCEPTEDâ?? or â??REJECTEDâ?? based on the following rules: Passwords must consist of a mixture of lowercase letters and numerical digits only, with at least one of each.<... View Questions/Answers

secure password  March 28, 2013 at 3:50 PM
Respected Sir We need to write a function which accepts a given password and returns â??ACCEPTEDâ?? or â??REJECTEDâ?? based on the following rules: Passwords must consist of a mixture of lowercase letters and numerical digits only, with at least one of each.<... View Questions/Answers

org.apache.jasper.JasperException: java.lang.NumberFormatException:  March 28, 2013 at 3:44 PM
Hello, I have created a login form which contains validations for each field. When i click on submit button function validation() will be invoked to validate all the fields and after successful validation it will redirect to another jsp page where all the details will be inserted in to the Oracle... View Questions/Answers

org.apache.jasper.JasperException: java.lang.NumberFormatException: null  March 28, 2013 at 3:35 PM
Hello, I have created a login form which contains validations for each field. When i click on submit button function validation() will be invoked to validate all the fields and after successful validation it will redirect to another jsp page where all the details will be inserted in to the Oracl... View Questions/Answers

how to display or retrive an image in jsp whose path is stored in oracle database  March 28, 2013 at 3:31 PM
how to display or retrive an image in jsp whose path is stored in oracle database and the image is stored in my pictures folder ... View Questions/Answers

how to get the values to dropdownlist from oracle database  March 28, 2013 at 3:25 PM
</script> </head> <body> <select name='countryname' onchange="showState(this.value)"> <option value="none">Select</option> <% Class.forName("oracle.jdbc.driver.OracleDriver").ne... View Questions/Answers

What is the Locale class?  March 28, 2013 at 12:26 PM
What do you understand about locale class in java program. thanks, ... View Questions/Answers

preview and saving an application form  March 28, 2013 at 12:08 PM
i have developed an application form, which is to be filled by the user.That application form is big in size so i have splitted that application form in 6 different forms ie, in first jsp page i got general details from users,in 2nd page i got family details,in 3rd page i got contact details and ... View Questions/Answers

preview and saving an application form  March 28, 2013 at 12:07 PM
i have developed an application form, which is to be filled by the user.That application form is big in size so i have splitted that application form in 6 different forms ie, in first jsp page i got general details from users,in 2nd page i got family details,in 3rd page i got contact details and ... View Questions/Answers

DMCA.com