Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to generate reports dynamically using ireports tool in a web application  March 12, 2012 at 12:40 PM
Hi all, As part of my web application , i need to generate reports dynamically using ireport tool.. i have installed the tool and its working fine. I have done some sample reports by passing query statically, but i need to generate it dynamically, I mean i have to pass from_ date and to_date f... View Questions/Answers

How to generate reports dynamically using ireports tool in a web application  March 12, 2012 at 12:40 PM
Hi all, As part of my web application , i need to generate reports dynamically using ireport tool.. i have installed the tool and its working fine. I have done some sample reports by passing query statically, but i need to generate it dynamically, I mean i have to pass from_ date and to_date f... View Questions/Answers

How to generate reports dynamically using ireports tool in a web application  March 12, 2012 at 12:40 PM
Hi all, As part of my web application , i need to generate reports dynamically using ireport tool.. i have installed the tool and its working fine. I have done some sample reports by passing query statically, but i need to generate it dynamically, I mean i have to pass from_ date and to_date f... View Questions/Answers

Advertisement

struts2 tiles.xml  March 12, 2012 at 12:17 PM
Hi, I want to use .properties file data in tiles.xml file of struts2(2.1.8) application to display title. sample code I have used: In tiles.xml: <definition name="disastersettingsview_users" extends="baseLayout"> ... View Questions/Answers

AdminStrator handling  March 12, 2012 at 12:08 PM
Hi...Deepak,I want code for adminstrator like adminstrator can handle multiple clients i.e. if adminstrator is adding any file then making it available for all the clients.How to make this availability? Thanks n Regards, Asha ... View Questions/Answers

How to provide timeout condition in my project  March 12, 2012 at 11:57 AM
Hi I am doing online examination system project i want 2 set time for my exam after that system shuld declare timeout how to provide that plz........................................give me solution it's urgent. ... View Questions/Answers

Creating PDF in JAVA  March 12, 2012 at 11:22 AM
How create pdf in java ? Take value from database for particular PDF. ... View Questions/Answers

A program in Java to evaluate APL expressions.  March 11, 2012 at 8:31 PM
APL is a programming language in which arithmetic/mathematical expressions are evaluated right to left For example: 1+23 = 7 but 23+1 =8 4-2-1 = 3 (same as 4 - (2-1)) Portion enclosed in braces evaluated first as in (2*3)+1 which is 7. Wr... View Questions/Answers

how to make a matrix like datagrid in ide in java pls help  March 11, 2012 at 7:14 PM
how to make a datagrid mainly matrix in ajava standalone app ... View Questions/Answers

based on the drop down list selected value of object(object contain contract,totalamount,alloted ,due) if i select a peritcular contract reaming values of same object should assined to text fields  March 11, 2012 at 3:48 PM
based on the drop down list selected value of object(object contain contract,totalamount,alloted ,due) if i select a peritcular contract reaming values of same object should assined to text fields any hep would be appreciated. <html> &l... View Questions/Answers

in this coding even backspace key and enter key should accept....  March 11, 2012 at 3:46 PM
in this coding even backspace key and enter key should accept....plez help me and make changes to which it accept backspace and enter key ....plez plez plez its urgent:-( char ch = evt.getKeyChar(); if(Character.isDigit(ch)){ ... View Questions/Answers

How to find MAC(Hardware address) address of access point  March 11, 2012 at 1:54 PM
How can i find out MAC address of Access Point using java. ... View Questions/Answers

how to load values of html form into an excel table using java servlet?  March 11, 2012 at 11:33 AM
i have written a java servlet program, which has a html form to be filled. after filling the form the servlet generates a receipt and the values should be loaded into an excel table automatically. i have created a dsn for excel table ,but my program is working till generation of receipt and the ... View Questions/Answers

how to update values of a html form into an excel table using java servlets?  March 11, 2012 at 11:29 AM
i have written a java servlet program, which has a html form to be filled. after filling the form the servlet generates a receipt and the values should be loaded into an excel table automatically. i have created a dsn for excel table ,but my program is working till generation of receipt and the v... View Questions/Answers

String Function Program  March 11, 2012 at 9:57 AM
The string function program is just an application of the string manipulation functions in JAVA. The program is designed to count the number of one-letter word, two-letter word, and three-letter words and so on appearing in the text Example: Input a line of text: Tis' the season to be jol... View Questions/Answers

Valid Statment Checker  March 11, 2012 at 9:52 AM
Write a program about valid statement checker. The valid statement checker is a program that checks the validity of a mathematical, logical and boolean(mixed) expression. example: 1. Input a statement: z = x+y Output:INVALID STATEMENT Input a statement: y=(x+y); Output: VALID STA... View Questions/Answers

Java Question  March 10, 2012 at 7:57 PM
-Write a class that contains methods for each of the following using arrays. For each, the input comes from standard input and consists of N real numbers between 0.0 and 1.0. then test each of these methods in the main method of your class. a. Print the maximum element. b. Print the maximum and m... View Questions/Answers

changing of data...  March 10, 2012 at 4:40 PM
hi.... i have created a servlet page using a response.setheader(); method.in the parameter i have given 10 second.but once the database entry is done in the database through this servlet.database is not changing in 10 second...what should i do..?? reply fast.... ... View Questions/Answers

data changing in 10 second  March 10, 2012 at 4:40 PM
hi.... i have created a servlet page using a response.setheader(); method.in the parameter i have given 10 second.but once the database entry is done in the database through this servlet.database is not changing in 10 second...what should i do..?? reply fast.... ... View Questions/Answers

servlet.database is not changing in 10 second  March 10, 2012 at 4:40 PM
hi.... i have created a servlet page using a response.setheader(); method.in the parameter i have given 10 second.but once the database entry is done in the database through this servlet.database is not changing in 10 second...what should i do..?? reply fast.... ... View Questions/Answers

objective c subclassing tutorial  March 10, 2012 at 4:16 PM
objective c subclassing tutorial ... View Questions/Answers

A Manifest  March 10, 2012 at 3:45 PM
How to create a Manifest file in java? ... View Questions/Answers

Calculating current Experience  March 10, 2012 at 3:06 PM
I have 2 dates one is the current date and another is join date f an employee i need to calculate the current experience as in years months and days can any one help me pls ... View Questions/Answers

database connectivity using mysql  March 10, 2012 at 2:31 PM
java file: eg1.java package eg; import java.sql.*; public class eg1 { public static void main(String arg[]) throws SQLException { try { String connectionURL = "jdbc:mysql://loaclhost:1522/mydb"; Connection connection = null; Statement statement = nul... View Questions/Answers

NoughtsAndCrossesGame play button doesn't work  March 10, 2012 at 1:35 PM
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package test; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * * @author 000621812 */ public class NoughtsAndCrossesGamev2 { /** * @param... View Questions/Answers

NoughtsAndCrossesGame play button doesn't work  March 10, 2012 at 1:35 PM
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package test; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * * @author 000621812 */ public class NoughtsAndCrossesGamev2 { /** * @param... View Questions/Answers

java palindrome  March 10, 2012 at 1:32 PM
sir i need java program to print 1)integer palindrome 2)string palindrome ... View Questions/Answers

code for a simple java program which performs basic arithmetic operation addition,subtraction,multiplication,division........  March 10, 2012 at 12:22 PM
code for a simple java program which performs basic arithmetic operation addition,subtraction,multiplication,division ... View Questions/Answers

CSS problem height from top  March 10, 2012 at 12:21 PM
here i wrote a code but can you tell me how to increase height from top <html> <head> <style type="text/css"> .hello img { height : 100px; width :100px; margin-top: 84... View Questions/Answers

add new package java  March 10, 2012 at 11:31 AM
How to add new package in Java ... View Questions/Answers

Encryption Decryption In Scriptlets/Java  March 10, 2012 at 7:21 AM
I have this code in my scriptlet, when I use the Encryption code to encrypt my data it executes successfully, now when I get my encrypted data from my DB, specifically MSSQL.. I traced where the program stopped working and it stopped in the decryption part and I get this error.. "Given Final Bloc... View Questions/Answers

md5 in jsp  March 9, 2012 at 8:01 PM
want code for encryption and decryption of password usind MD5 in jsp ... View Questions/Answers

data tyape  March 9, 2012 at 1:41 PM
please give me data type of Date. ... View Questions/Answers

data type of Date  March 9, 2012 at 1:41 PM
please give me data type of Date. ... View Questions/Answers

data type of date in mysql  March 9, 2012 at 1:41 PM
please give me data type of Date. ... View Questions/Answers

What data tyape a date field req in SQL  March 9, 2012 at 1:41 PM
please give me data type of Date. ... View Questions/Answers

data tyape  March 9, 2012 at 1:41 PM
please give me data type of Date. ... View Questions/Answers

data tyape  March 9, 2012 at 1:41 PM
please give me data type of Date. ... View Questions/Answers

collections2  March 9, 2012 at 9:26 AM
when exactly we go for Comparator and when exactly we go for Comparable while sorting? ... View Questions/Answers

collections  March 9, 2012 at 9:25 AM
could you please explain about WeahHashMap and IdentityHashMap ? For what purpose they have been introduced? ... View Questions/Answers

viewstate in jsp  March 8, 2012 at 8:25 PM
**how to implement viewstate(from asp.net) in jsp? or any other method to retain the state of a jsp page??** ... View Questions/Answers

Unable to connect servet, jsp to oracle 10g database.. Unable to retrieve data..  March 8, 2012 at 7:50 PM
I have a class file AbstractDataAccessObject with the below code. package com.dts.core.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.... View Questions/Answers

javascript  March 8, 2012 at 5:54 PM
Hi, I want to open a new window using window.open()(in ie6 and above),and i want to make the window to stay on top of other windows.I don't want to use showModalDialoge.Is there any way to do this,kindly help me . shyam, thanks in advance ... View Questions/Answers

Running problem with NoughtsAndCrossesGame in blank  March 8, 2012 at 4:58 PM
Hi i was having problem created NoughtsAndCrossesGame in end the it works but i runs the gui in blank. Its another way to solve it /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package test; imp... View Questions/Answers

need project  March 8, 2012 at 4:44 PM
hi im new on this site so dnt knw actual procedure . but i need a project on banking system in java with sql database. which should contain following attributes create new account for new customer retrieve the data of existing customer having two accounts saving and current account deposit and ... View Questions/Answers

clearing text field in spring form  March 8, 2012 at 3:27 PM
hi, I have spring form in that i have security question dropdown field and security answer text field ,when i submitted form with errors the answers text field value should be clear, for this i am using controller at back end and one jsp as front end at backend i am able to clear but in jsp i am ... View Questions/Answers

unreported exception parseException  March 8, 2012 at 3:27 PM
Here is my code import java.io.* ; import java.util.*; import java.text.*; /*class QS1 { String[] buf = new String[50]; // String[]buf={"select * from emp;"}; }*/ class QS2 { String type; String contents; QS2 neste... View Questions/Answers

how to convert doc file into html using java swing  March 8, 2012 at 3:26 PM
i want to convert doc file into html and display it on jtextarea please help me and give the sample code ... View Questions/Answers

code for sending email using j2me  March 8, 2012 at 1:23 PM
could someone tell me why when i try to compile this line using netbeans 7.1 Properties property= System.getProperties(); Sessionsession=session.getdefaultinstance (property); i get an error. What does the smtpclient.java code look like? ive checked to see if all libs a... View Questions/Answers

phonegap  March 8, 2012 at 12:44 PM
How can i retrieve recently dallied call list in phonegap? Thank you so much for your support and answer..... ... View Questions/Answers

Query  March 8, 2012 at 12:13 PM
hw to transfer a file from one client machine to another client machine using java socket programming???? plz rpy soon..want to do project ... View Questions/Answers

java  March 8, 2012 at 11:36 AM
sir it is possible to compile a java program with errors but itcannot be shown.i need all javac commands used to compile java ... View Questions/Answers

audio video conferencing  March 8, 2012 at 11:14 AM
how to develop a chat application in peer to peer setup?? ... View Questions/Answers

How would you read in and add all this into a list?  March 8, 2012 at 9:05 AM
FYI this is all stacked. 0 " " " " " " " " " " 1 "48" "111" "Dallam" "06" "County" 2 "48" "421" "Sherman" "06" "County" 3 "48" "295" "Lipscomb" "06" "County" 4 "48" "357" "Ochiltree" "06" "County" 5 "48" "195" "Hans... View Questions/Answers

xml document parsing  March 8, 2012 at 1:16 AM
Hi Guys, Xml document has been inserted into the database,how do i parse the xml document stored in database,so that xml document can be retrieved on to JSP file using jdbc/odbc connection. Please help me in this regard Madhu ... View Questions/Answers

Flex-Question  March 8, 2012 at 1:01 AM
Hi, i have to take a DOB(date of birth) field and from here i have to calculate age. i am tryin but i am not getting the result......... pls help me ........... ... View Questions/Answers

retrive data from data base and print it in every page until logout  March 8, 2012 at 12:14 AM
suppose that a user login your website through user name & password. now after completion of login he goto home page.inside home page i want to print the USER NAME through retriving from database.suppose from home page he go to next page that page also contain the USER NAME until he logout.... View Questions/Answers

date print  March 7, 2012 at 11:56 PM
how can i print the date in jsp page in the following formate month-date-year. (example. march 8 2012). ... View Questions/Answers

date print  March 7, 2012 at 11:56 PM
how can i print the date in jsp page in the following formate month-date-year. (example. march 8 2012). ... View Questions/Answers

pdf generate from jsp  March 7, 2012 at 11:19 PM
how do i generate a pdf using jsp that should query the data from the database and write it into a pdf and download the same? ... View Questions/Answers

MyQuestion  March 7, 2012 at 9:10 PM
can we add 2 no by using bit wise operators ... View Questions/Answers

directives  March 7, 2012 at 8:59 PM
#include "stdafx.h" #include<conio.h> # define PRODUCT(x)(x*x) int _tmain(int argc, _TCHAR* argv[]) { int i=3,j,k,l; j=PRODUCT(i+1); k=PRODUCT(i++); l=PRODUCT(++i); printf("%d %d %d %d\n",i,j,k,l); getch(); return 0; } Output : 7 7 9 4... View Questions/Answers

How to get Output for a Bean problem  March 7, 2012 at 7:24 PM
Hello Kindly tell me a simple Program on Bean to get the Output using JSP code. ... View Questions/Answers

form to java script conversion  March 7, 2012 at 3:35 PM
I am using a form one more form cotain a piece of code . how to convert it to java script to function it properly? code is shown below <form action="http://www.google.com" id="cse-search-box" target="_blank"> <div> <input type="hi... View Questions/Answers

draw a sine wave using jsp  March 7, 2012 at 12:13 PM
hai frds.. i need to draw a sine wave by using jsp.. the values X and Y co-ordinate is present in database i have fetch those values from that then display the sine wave graph according to the fetched x and y values.. pls help me frds.. this my id sunilkumarbs05@gmail.com ... View Questions/Answers

Program showing Calendar  March 7, 2012 at 11:09 AM
package chapter6; import java.util.Calendar; import java.util.Date; import java.util.Locale; /** * * @author Dell */ public class dateCurr { public static void main(String[] args) { Date d=new Date(1331096367952L); ... View Questions/Answers

java program  March 7, 2012 at 10:29 AM
voter or non voter display ... View Questions/Answers

DOUBT  March 7, 2012 at 7:55 AM
JAVA IS PLATFORM INDEPENDENT BUT U HAVE ALSO WRITTEN THAT JAVA RUN ON ANY JAVA PLATFORM. SO, WHAT DOES THIS ACTUALLY MEAN THAT WHETHER JAVA CAN RUN ANYWHERE OR CAN RUN ANYWHERE WHERE JAVA PLATFORM IS THERE ... View Questions/Answers

How to change the color of a base64-encoded png image JQuery?  March 7, 2012 at 4:42 AM
I am going to change the colors of the pixels of a png image(which is in base64 format). This is my source code: var myImg = new Image(); myImg.src = <...>; //"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAABQklEQVR4nO3bC27CMBAFQ"; myImg.o... View Questions/Answers

How to use AT Commands with J2ME?  March 6, 2012 at 11:22 PM
How to use AT Commands with J2ME? Thank you for your answer.... ... View Questions/Answers

generate pdf using jsp  March 6, 2012 at 8:30 PM
how do i generate a pdf using jsp that should query the data from the database and write it into a pdf and download the same? ... View Questions/Answers

generate pdf in spring  March 6, 2012 at 8:10 PM
HOw do i generate pdf in a spring application, so that my click should query the database and a pdf should be generated and downloaded to the client side ... View Questions/Answers

generate pdf in spring  March 6, 2012 at 8:10 PM
HOw do i generate pdf in a spring application, so that my click should query the database and a pdf should be generated and downloaded to the client side ... View Questions/Answers

calculati marks for objective question set?  March 6, 2012 at 8:03 PM
how to calculate marks for objective question set? ... View Questions/Answers

Moving projects from tomcat-6.0 to jboss 5.0.1 GA  March 6, 2012 at 7:37 PM
Now i am using tomcat server version6.0 for my project. Now i want to change the server from tomcat to jboss 5.0.1 GA. What are the things i have to do for using jboss instead of tomcat? Also while using tomcat i had a pom.xml file. Should i change any thing in that file for going to jbos... View Questions/Answers

supermarket Automation software  March 6, 2012 at 7:25 PM
Hello RoseIndia , I want to build a supermarket Automation software that has the features of stock taking and receipt prniting.i want information about supermarket Automation software,can u help me with this.. ... View Questions/Answers

wifi with java  March 6, 2012 at 4:57 PM
i want to connect wifi\wireless connection with java (not midlet or android) i fount code for android and midlet but not for core java . can anyone help me..plzz ... View Questions/Answers

how to move records from one table to other based on its creation time  March 6, 2012 at 4:40 PM
Hi all,, As part of my requirement ,the records in one table have to move to second table based on the record creation time means the records should not be present in first table after creation of two days,and it has to move to the second table,has to delete from first table.. I am using oracle... View Questions/Answers

Wicket Framework DropDownChoice  March 6, 2012 at 4:23 PM
I am trying to get selected value of dropdownchoice in wicket framework , but i am unable to get it. How can i get selected value of DropDownChoice on the change event of dropdownchoice ??? Thanks. ... View Questions/Answers

forget password  March 6, 2012 at 2:41 PM
codding for forget password using spring framework ... View Questions/Answers

E-Mail header extractor  March 6, 2012 at 2:36 PM
i want to extract email header with using of java so please show the code of email extractor as result all the field show different color and or it extract ip where the email came ... View Questions/Answers

E-Mail header extractor  March 6, 2012 at 2:36 PM
i want to extract email header with using of java so please show the code of email extractor as result all the field show different color and or it extract ip where the email came ... View Questions/Answers

java  March 6, 2012 at 1:35 PM
Declare two (2) dimensional arrays to store a name and grade. The program will not stop in accepting array elements until the user entered ?N?. Sample Run: Enter name: Richard Enter grade: 100 Add new record (Y/N) ? : Y Enter name... View Questions/Answers

java  March 6, 2012 at 1:33 PM
Declare two (2) dimensional arrays to store a name and grade. The program will not stop in accepting array elements until the user entered ?N?. Sample Run: Enter name: Richard Enter grade: 100 Add new record (Y/N) ? : Y Enter name: Mengvi Enter grade: 80 Add new record (Y/N) ? ... View Questions/Answers

jquery href onclick event  March 6, 2012 at 1:20 PM
jquery href onclick event ... View Questions/Answers

convert char to string objective c  March 6, 2012 at 1:05 PM
Converting char to string in objective c ... View Questions/Answers

back button in jquery  March 6, 2012 at 12:36 PM
Creating a back button in JQuery ... View Questions/Answers

setting web page size  March 6, 2012 at 12:29 PM
How to set the webpage size in Java? ... View Questions/Answers

How to store JComboBox item into database  March 6, 2012 at 11:58 AM
import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; import javax.swing.JOptionPane; import javax.swing.JPanel; /* import java.sql.Connection; import java.sql.DriverManager; import java... View Questions/Answers

Enjoying Web Development with Wicket  March 6, 2012 at 10:10 AM
Wanted e book Enjoying Web Development with Wicket 3rd edition ... View Questions/Answers

MySqlQueryBrowser  March 6, 2012 at 9:53 AM
How we can connect MySql QueryBrowser database using java code?????????? Is it like " Class.forName("org.gjt.mm.mysql.Driver"); cn = DriverManager.getConnection("jdbc:mysql://localhost/snackdb", "root", "");" ???? Can u help me????? ... View Questions/Answers

how to create own tld and use it in jspx file  March 5, 2012 at 8:14 PM
I wanted to add fmt as own tag and internationalize add.title=Add. please help me solve the problem. <!-- Document : add Created on : Mar 4, 2012, 7:00:38 PM Author : Administrator --> <... View Questions/Answers

how to create own tld and use it in jspx file  March 5, 2012 at 8:14 PM
I wanted to add fmt as own tag and internationalize add.title=Add. please help me solve the problem. <!-- Document : add Created on : Mar 4, 2012, 7:00:38 PM Author : Administrator --> <... View Questions/Answers

photo uploading  March 5, 2012 at 6:31 PM
i want the code upload the image in oracle database. ... View Questions/Answers

pdf to database  March 5, 2012 at 5:28 PM
Hi, I want to read the data from pdf(pdf file is having 50 fields) which is placed in database file and store that into MySQL database. I want this process untill the rows completed in the database file with automation process Thanx sandeep ... View Questions/Answers

get absolute time java  March 5, 2012 at 5:07 PM
How to get absolute time in java? ... View Questions/Answers

html-jsp  March 5, 2012 at 4:44 PM
If i want to get dynamic value in html textbox or in jsp,then how can I get the value,how the value will be transfered from servlet page to the html textbox.Thanx in advance.....Kindly help me........... ... View Questions/Answers

date example with database  March 5, 2012 at 3:24 PM
i want to insert date in database(oracle) through jsp. thanx in advance... ... View Questions/Answers

ONLINE EXAM CODE SPLIT  March 5, 2012 at 1:39 PM
hi.. im developing online exam for c programming in jsp.. i read the question from database as a string suppose String ques="#include<stdio.h>main(){int i;for(i=0;<100;i++){printf("hai");}}"; i want to print the string in h... View Questions/Answers

Java Inheritance Concept.  March 5, 2012 at 12:35 PM
Yesterday i got confused with following question in an aptitude exam. Question:Class A,B,C have method named doit(). Class B extends Class A,Class C extends Class B.How will you call method doit() in Class A from Class C. ???? Options:1.super.doit()2.super.super.doit()3.A.this.doit()4.this.doit()... View Questions/Answers

DMCA.com