Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

bitwise operators  May 31, 2013 at 9:35 PM
include<stdio.h> int main(){ short x; x=3 | 5; printf("%d \n",x); return 0; } why this program give the answer as 7... View Questions/Answers

creating dropdown lists in jsp  May 31, 2013 at 5:06 PM
i want to create two dropdown list which are dependent that is the first box choice have to evaluate the second boxs options ... View Questions/Answers

About downloading Tomcat 7.x version  May 31, 2013 at 4:39 PM
Hi Kindly tell me from which website i can download Tomcat 7.x version ... View Questions/Answers

Advertisement

Find the files that has been modified before run the program  May 30, 2013 at 9:02 AM
Hi. I have a code that can find the latest modified file in the directory. //store the file to the list List<File> list = new ArrayList<File>(Arrays.asList(store)); //combine all the file at main folder and sub folder Object[] com... View Questions/Answers

Find the files that has been modified before run the program  May 30, 2013 at 9:02 AM
Hi. I have a code that can find the latest modified file in the directory. //store the file to the list List<File> list = new ArrayList<File>(Arrays.asList(store)); //combine all the file at main folder and sub folder Object[] com... View Questions/Answers

Find the files that has been modified before run the program  May 30, 2013 at 8:58 AM
Hi. I have a code that can find the latest modified file in the directory. ` //store the file to the list List<File> list = new ArrayList<File>(Arrays.asList(store)); //combine all the file at main folder and sub folder Object[] combine = list.toArray()... View Questions/Answers

how to backup files and folder with Java  May 30, 2013 at 5:59 AM
Does anyone know to create a backup with java?. backup files and folders from my computer to an external drive. ... View Questions/Answers

TFS-equivalent for Java  May 29, 2013 at 5:42 PM
I need TFS ie Team Foundation Server for java. Microsoft product TFS exists for .Net visual studio applications. I need information regarding is there any OPEN SOURCE TFS-equivalent for Java. I need to specifically do the following : Java (Source Code Control + Unit Testing + Code Metrics + Code ... View Questions/Answers

stored procedure  May 29, 2013 at 5:18 PM
on storing values to database using stored procedure it throws an error lyk ADODB.Command error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /exam/company.asp, line 32 and my code is Dim conn... View Questions/Answers

c programming  May 28, 2013 at 4:00 PM
how can i get the ouput in the format of a a b a b c ... View Questions/Answers

c programming  May 28, 2013 at 4:00 PM
how can i get the ouput in the format of a a b a b c ... View Questions/Answers

c programming  May 28, 2013 at 4:00 PM
how can i get the ouput in the format of a a b a b c ... View Questions/Answers

jsp pagination  May 28, 2013 at 12:59 PM
I want to implement pagination on jsp page Each jsp page having some radio buttons, on click of next previous page selected radio buttons are reset. I want to maintain state of selected radio buttons on previous page ... View Questions/Answers

Spring 3 MVC Login Form Example with Database MySql  May 28, 2013 at 11:04 AM
Sir i have checked your project of Spring 3 MVC Login Form Example But Sir Not able to do It with database Mysql. Can you Provide code for login with database. Thanks In Advance..... View Questions/Answers

Java backup pst file  May 28, 2013 at 4:10 AM
Hello!! i need some help please. Im new in Java. How can i create a java program to backup any files and folders (like PST files)in my computer at a specific time? ... View Questions/Answers

Sending emails and insert into trable  May 27, 2013 at 10:48 PM
I have created a form, once people submit it should go to the email and insert to table also, the second part is working, but it's not getting to configured email. the code is below, I'm I doing anything wrong? I'm not getting any error by the way. <?php include... View Questions/Answers

Tomcat 6.  May 27, 2013 at 9:28 PM
hi......I have problem like windows could not start the Apache Tomcat 6 on Local Computer. for more information ,review theSystem Event Log. If this is a non-Microsoft service,contact the service vendor, and refer to service-specific error code 0. my system config....win7 64,tomcat 6.0... View Questions/Answers

Javascript Question about converting Celcius to Fahrenheit  May 27, 2013 at 12:34 AM
How to create a program to ask the user to enter a temperature in degrees celcius it convert it to fahrenheit using the following formula: f = (c*9/5)+32; It then displays the following table |Celcius: | 30 | |Fahrenheit | 56? | I r... View Questions/Answers

Fetching database field from servlet to jsp page ?  May 25, 2013 at 10:46 PM
Hello Java Developers. I am facing problem please help me. I am new in this web development field. I wanted to pass some of the database field from servlet to jsp... (i am opening my database in servlet init() method ) how to pass rs.getString(8) field to j... View Questions/Answers

Time schedular for multiple batch file execution in java  May 25, 2013 at 1:46 PM
Hello All, i have a task in which i have to design a time schedular in java in which i can automate the batch file execution for the wholw day. For example i should have a GUI in which i can see the like calander and assign the time slot 07:00 to 9:00 for batch1.bat execution. 09:... View Questions/Answers

buzz no.  May 24, 2013 at 8:06 PM
buzz no. or not ... View Questions/Answers

converting Json data into rows of DTO in java  May 24, 2013 at 7:06 PM
I am using jqxgrid, and I am able to access the json data in JAVA controller. But now my requirement is to fetch every row of the grid and insert into the database. I have tried 'N' number of ways to convert this JSON data into rows of DTO. I have used all methods like JSONObject, JSONArray, JSON... View Questions/Answers

Tutorial college Student Admission System  May 24, 2013 at 12:19 PM
I want PHP Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way..... please send me synopsis ... View Questions/Answers

How to export chart(graph) generated by jsp into a excel?  May 23, 2013 at 4:26 PM
How to export chart(graph) generated by jsp into a excel? I have a jsp page which generates charts . Now I need those charts to be exported into an excel.please help ... View Questions/Answers

Gallery Photo  May 22, 2013 at 8:57 PM
I need to display a photo gallery with the path stored in oracle with the possibility of their supprission (photo management) (with jsf or with jsp) ... View Questions/Answers

Java Word Processor  May 22, 2013 at 6:35 PM
Problem: Design and implement a class called WordProcessor. This class is used to: ? hold a line of text that can be manipulated in various ways ? perform various manipulations and modify the text ? return a string with a list of all the palindromes in the text... View Questions/Answers

i want to display where i entered values to same page  May 22, 2013 at 6:23 PM
hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format. ... View Questions/Answers

i want to display where i entered values to same page  May 22, 2013 at 6:22 PM
hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format. ... View Questions/Answers

i want to display where i entered values to same page  May 22, 2013 at 6:22 PM
hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format. ... View Questions/Answers

Extracting table from Access Database to Servlet  May 22, 2013 at 5:41 PM
Sir, I have a table with 4 field deptid, headid, normalexpend and projectexpend. Now I have to display a consolidated data where sum of normal_expend under particular head for all depts need to be displayed. For ex. dept d1 has spend 400 under head h1. dept d2 has spend 500 und... View Questions/Answers

write a program in java to read a text file and write the output to an excel file using filereader and filewriter?  May 22, 2013 at 3:42 PM
write a program in java to read a text file and write the output to an excel file using filereader and filewriter? ... View Questions/Answers

ArrayList get attribute  May 22, 2013 at 11:52 AM
<%ArrayList a= (ArrayList)request.getAttribute("my"); ArrayList b=new ArrayList();%> <table> <tr><th>id</th><th>Name</th><th>Address</th></tr> <%for(int i=0;i... View Questions/Answers

java Ajax  May 22, 2013 at 11:50 AM
Connection con = null; Statement stmt = null; ResultSet rs=null; PrintWriter out = response.getWriter(); ArrayList<ArrayList> a=new ArrayList(); try { Class.forName("com.mysql.jdbc.Driver"); ... View Questions/Answers

register servlet vibhu  May 22, 2013 at 11:27 AM
how to make register servlet? ... View Questions/Answers

connectiondetails from vibhu  May 22, 2013 at 11:22 AM
how to create connection? ... View Questions/Answers

save data DAO  May 22, 2013 at 11:20 AM
how to save data in db ... View Questions/Answers

how to featch data form db?  May 22, 2013 at 9:25 AM
how to featch data form db? ... View Questions/Answers

loginDAO and Loginservlet  May 22, 2013 at 9:21 AM
how to make loginDAO and loginServlet? ... View Questions/Answers

ConnectionManager  May 22, 2013 at 9:17 AM
how to make connection manager? ... View Questions/Answers

registrationDAO& registrationservlet  May 22, 2013 at 9:13 AM
how to make registrationDAO and registration servlet? ... View Questions/Answers

how to fetch data from servlet ????  May 22, 2013 at 8:32 AM
how to fetch data from servlet ???? ... View Questions/Answers

android connection to database oracle 10g  May 22, 2013 at 7:14 AM
Hello, How i can connect my android application to my oracle 10g database ... View Questions/Answers

Pharmacy Management System  May 22, 2013 at 6:35 AM
hi all i wanna Pharmacy management system in java or vb.net or web application >> << thx all ... View Questions/Answers

how to retrieve data from database ?????/  May 22, 2013 at 12:43 AM
how to retrieve data from database ????? ... View Questions/Answers

how to retrieve data from database ?????/  May 22, 2013 at 12:43 AM
how to retrieve data from database ????? ... View Questions/Answers

how to retrieve data from database ?????/  May 22, 2013 at 12:43 AM
how to retrieve data from database ????? ... View Questions/Answers

how to retrieve data from database ?????/  May 22, 2013 at 12:43 AM
how to retrieve data from database ????? ... View Questions/Answers

hit and view java  May 21, 2013 at 11:05 PM
Q:hit and view servlet ... View Questions/Answers

view.jsp  May 21, 2013 at 10:58 PM
Q:view data from database ... View Questions/Answers

view.jsp  May 21, 2013 at 10:58 PM
Q:view data from database ... View Questions/Answers

jsp  May 21, 2013 at 10:51 PM
ques: how to insert data into database using mysql ... View Questions/Answers

jsp  May 21, 2013 at 10:51 PM
ques: how to insert data into database using mysql ... View Questions/Answers

jsp  May 21, 2013 at 10:51 PM
ques: how to insert data into database using mysql ... View Questions/Answers

jsp  May 21, 2013 at 10:51 PM
ques: how to insert data into database using mysql ... View Questions/Answers

jsp  May 21, 2013 at 10:51 PM
ques: how to insert data into database using mysql ... View Questions/Answers

jdbc connection  May 21, 2013 at 8:23 PM
How to Submit data???? ... View Questions/Answers

How to connect with database  May 21, 2013 at 8:10 PM
jdbc connection ... View Questions/Answers

mew 333  May 21, 2013 at 7:53 PM
print("code @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <ti... View Questions/Answers

jsp page  May 21, 2013 at 7:34 PM
<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Location</title> </head> ... View Questions/Answers

new 2  May 21, 2013 at 7:28 PM
<%@page import="java.util.ArrayList"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <% ArrayList<String> arr1=(ArrayList<String>)request.getAttribute("fname"); ArrayList<String> arr2=(ArrayL... View Questions/Answers

new  May 21, 2013 at 7:26 PM
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Location... View Questions/Answers

cvjgjgjgjgg  May 21, 2013 at 7:22 PM
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Location... View Questions/Answers

data insertion and fetch 1  May 21, 2013 at 7:20 PM
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Location... View Questions/Answers

my answer  May 21, 2013 at 5:00 PM
import com.mysql.jdbc.Connection; import com.mysql.jdbc.Statement; import java.io.IOException; import java.io.PrintWriter; import java.sql.DriverManager; import java.sql.ResultSet; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.ServletResponse;... View Questions/Answers

mysql-java  May 19, 2013 at 10:17 PM
i try to execute this code stmt1.executeUpdate("insert into linktable values('"+rs1+"','"+title+"',"+link2+"','"+date+"')"); and it shows the following error Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax;... View Questions/Answers

pie chart flex and sum from hql request  May 19, 2013 at 2:53 PM
hi, i work with flex and j2ee project.i have to make a function wich return list of value: print("public List Statistiqueordinateur() { return template.template.find("select d.intituleDeleg,SUM(s.usagePedag ),ROUND((((SUM(s.usagePedag ))/(SUM(s.ordidispo)))*100),0),... View Questions/Answers

jsp netbeans javascript  May 19, 2013 at 2:51 AM
hi to all; I'm debutante in JSP netbeans, please help me to realize my application I have some difficulties: 1 - page modifier.jsp (recovery fields to edit it works well but I press button update nothing is changed.) 2-how iserer date in oracle 10g database via JSP netb... View Questions/Answers

how to put php in javascript  May 18, 2013 at 2:44 PM
How to write a javascript code inside php block? ... View Questions/Answers

JSP data base validation  May 17, 2013 at 11:23 PM
please explain how to validate form input string with database n also how its notify that entered data exists already .please reply soon ... View Questions/Answers

how to execute jsp and servlets with eclipse  May 17, 2013 at 8:17 PM
hi kindly tell me how to execute jsp or servlets with the help of eclipse with some small program ... View Questions/Answers

how to execute jsp and servlets with eclipse  May 17, 2013 at 8:17 PM
hi kindly tell me how to execute jsp or servlets with the help of eclipse with some small program ... View Questions/Answers

what is an ajax call?  May 17, 2013 at 5:54 PM
can u please explain the correct usage of an ajax call in jsps and java script. ... View Questions/Answers

what is an ajax call?  May 17, 2013 at 5:54 PM
can u please explain the correct usage of an ajax call in jsps and java script. ... View Questions/Answers

Logos on mail inbox.  May 17, 2013 at 5:47 PM
What is the use of word "GOOGLE" , placed in the left corner of mail in box. Is there any functionality included to the word. It is showing some action when we are clicking the word, can u please explain. alt text ... View Questions/Answers

illegal start of type  May 17, 2013 at 3:18 PM
Hi, This is my code i m getting illegal start of type as error when i m compiling it,can anyone pls help me to correct this error. public class WriteByteArrayToFile { public static void main(String[] args) { String strFilePath = "C://Program Files/J... View Questions/Answers

Find the date of the file before the file has been modified  May 17, 2013 at 2:04 PM
Hi, may i know is it possible to find the date of the file before the file has been modified? ... View Questions/Answers

problem in setting the values from database  May 17, 2013 at 11:30 AM
hello friends, can anyone help me?? I am facing this problem for past one week. I could't set the values from database. here is the code: private JTextField getJTextField1() { if(text == null) { text = new JTextField(); } ... View Questions/Answers

how to display records from database  May 17, 2013 at 9:50 AM
I want to display records from database in tables, the database is having 2000 records and i want to display 20 records at a time and to use next and previous link buttons to show the remaining records if i click the previous button it should show the previous 20 records as like next button using... View Questions/Answers

Html Software Question  May 17, 2013 at 4:31 AM
I am searching for a software that would save html codes for easy insertion. I really don't know much about html at all. I am a freelance writer who has to add links to text. I have so many different links and inserting them all by hand is very time consuming. Any info would be great! ... View Questions/Answers

div align left css  May 16, 2013 at 9:23 PM
Hi, How to align the div to left using the css in HTML page. Thanks ... View Questions/Answers

reached end of file while parsing and while expected  May 16, 2013 at 7:43 PM
import java.io.*; public class temperature{ public static void main(String []args)throws IOException{ BufferedReader steffi = new BufferedReader (new InputStreamReader (System.in)); double temp=0.0; char input2; String input1; double degre... View Questions/Answers

Fetching data from excel file on other website and display in interactive graph form  May 16, 2013 at 5:18 PM
Hello, I am making a website using HTML and CSS, I am done with the layout, I have to generate ineractive graphs like stock market's, Can you tell me how will it be possible? Do I need java script? I have a website which have zip files and excel files and they get updated everyd... View Questions/Answers

changes in netbeans/ browser so that each application run opens in a new window of browser  May 15, 2013 at 11:44 PM
hieeee... I want to change netbeans setting. So that each time i run an application it opens up in a new window rather than a new tab.. Do i have to make changes in netbeans or browser? and what changes need to be made ? Please help me out... ... View Questions/Answers

set cookieless session variables in jsp  May 15, 2013 at 11:39 PM
I want to know how to set cookieless session variables in jsp, because when I run my application multiple times, multiple tabs get open and the session variable is shared among them(because these session variables internally make use of cookie). But I don't want that . So, please tell is it possi... View Questions/Answers

Loginservlet not being called  May 15, 2013 at 12:27 PM
Hi, I have created a simple login page using jsp,on submit it calls the loginservlet,Everything was working fine when I run the jsp in eclipse,on clickin the submit button login servlet was called and it redirected to another page as required. But I would like to know how can I run this page outs... View Questions/Answers

HTML-JAVASCRIPT  May 14, 2013 at 12:44 PM
There are two radio button and one text area. The values should be generated on the text area based on the selection of radio buttons. Hardcoding is also allowed. ... View Questions/Answers

I have one small doubt , does this code read Microsoft Office suit file format data such as .doc , .docx etc ?  May 14, 2013 at 12:44 PM
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ReadFileExample { public static void main(String[] args) { BufferedReader objReader = null; try { String strCurrentLine; objReader = ... View Questions/Answers

HTML-JAVASCRIPT  May 14, 2013 at 12:34 PM
There are two radio buttons. On clicking a radio button, a text area must be created. If a first radio button is clicked, a text area is created. When the second button is clickHTed, a new text area must be created hiding the previous text area which is created on clicking the first radio button ... View Questions/Answers

retrieve the records from one table to another table by using cursors  May 14, 2013 at 10:15 AM
Hi I'm fresher to backend(mysql),my requirement is retrieve the records from one table to another table by using cursors.The following is my procedure and tables.After execution it insert one extra record to another table. empproc procedure: create procedure empproc() begin declare ena... View Questions/Answers

java  May 14, 2013 at 5:17 AM
how can use sleep in java ... View Questions/Answers

Adding a Reports tap in table pool  May 14, 2013 at 2:46 AM
strong textHow to write a code to create a report in java using eclipse and link that report in jsp file that is written in jsf. I have to edit a jsp file that is written jsf there is a table there and I have to include Reports tap in tha... View Questions/Answers

3 queries on java class  May 13, 2013 at 6:22 PM
Hey. I need to do 3 queries on same class ( JAVA) One is to populate the combobox, the another one to populate tje jlist and the last one to use on button to open a file from database (BLOB) Can some one help me? thanks :) ... View Questions/Answers

C#  May 13, 2013 at 3:14 PM
i need a code that will make program perform the basic operations upon the data Listview save, update and cancel ... View Questions/Answers

Updating using AngularJS  May 13, 2013 at 12:49 PM
Shopping.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta> <title>S... View Questions/Answers

age calculator  May 13, 2013 at 11:46 AM
sir , actually m working on a project where i want the user to enter his date of birth in a jtextfield .and on doing so his age should b displayed in the next textfield automatically....plz help ... View Questions/Answers

date  May 13, 2013 at 11:23 AM
i want difference between the date entered in a jtextfield and the system date in java ... View Questions/Answers

Create Array ??  May 13, 2013 at 11:20 AM
Question in e-clips program: Part 1. Array Implementation -Create a class called ‚??PhoneEntry‚?? which can be used to store the name and number of ONE client. -Create a class called ‚??MyArrayList‚?? which stores list of ‚??PhoneEntry‚?? objects. Use an array of size (MAXSIZE = 1000) to... View Questions/Answers

Java and MySQL  May 13, 2013 at 10:44 AM
I am doing a project on an accounting system. I need to know to things: How do I write reports using information in an MySQL database . How get multiple MySQL database rows and assign them to variables r an array in java. Please help!!! ... View Questions/Answers

how to copy file from one directory to another in java with examples  May 12, 2013 at 11:29 AM
how to copy file from one directory to another in java with examples? I want a java with example code Thanks ... View Questions/Answers

code java réseau de neurone  May 11, 2013 at 6:03 PM
SVP je veux le code source java de réseau de neurone ... View Questions/Answers

DMCA.com