Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

XML base64 ecoding  March 31, 2010 at 2:57 AM
Hello..I have this code which is in the JSP page and generates XML...I want this to have base64 encoding..I have no idea how to do that..can anyone help me thanks<?xml version="1.0" encoding="utf-8"?><%@ page contentType="te... View Questions/Answers

task 2  March 31, 2010 at 12:24 AM
Write a time server that follows the time protocol outlined in RFC 868.When a client connects, the server sends a 4-byte, big-endian, unsigned integer specifying the number of seconds that have passed since 12:00 A.M., January 1, 1970 GMT (the epoch). ... View Questions/Answers

java compilation error  March 30, 2010 at 10:16 PM
/* *Project:employee.java *Date:April 04,2007. *Purpose:To All Java Developers **/ package employee; import javax.swing.*; import java.awt.*; import javax.swing.border.*; import java.awt.event.*; import java.sql.*... View Questions/Answers

Advertisement

jsp  March 30, 2010 at 10:14 PM
how can i creat a login havin 3 column,1st user type,2nd user name,3rd userid.if all 3 containt is corract then display the log in page successfully and in this log in page another button will display named login reportbwhen we click in this button it display the time of login and time duration ... View Questions/Answers

task 1  March 30, 2010 at 10:02 PM
Please write a Java client that send a small letters string to a Java server which convert it to uppercase letters and send it back to the client. Please submit both the client and server programs ... View Questions/Answers

programming  March 30, 2010 at 9:26 PM
I need a source code,using collections,I/O files. The aim of the project is to create a Dictionary solution. The solution will provide a menu based option to the user to add words, meanings, semantics (noun, adverb, etc), examples, pronunciation, etc to the dictionary. The menu will also provide opt... View Questions/Answers

Struts  March 30, 2010 at 9:03 PM
=========================Exception i am getting as=========================exceptionorg.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean under name statelist2 org.apache.jasper.servlet.JspServletWrappe... View Questions/Answers

java  March 30, 2010 at 8:36 PM
How can I write a java program to do the following:-1. Switch the values of two variables using a method2. Print the switched values onto the screenthanks my homey ... View Questions/Answers

java swing  March 30, 2010 at 8:10 PM
how i can insert in JFrame in swing? ... View Questions/Answers

Java  March 30, 2010 at 7:51 PM
How can insert image folder in mysql database + creating a new database through Jframe? ... View Questions/Answers

java applets  March 30, 2010 at 7:26 PM
hiiiii... i need ur help in usage of java code for navigation of one applet window to other...?? can you plz respond to me ... View Questions/Answers

Schedular starting problem  March 30, 2010 at 7:09 PM
Hello,I have a schedular called Billing schedular which suppose to run everyday at 2:15 AM (Created in servelt, multi threading and using quartz.jar API). This was running fine. But since last 7 days it is not running..The application is running on tomcat 5.0.Can any on... View Questions/Answers

resize dynamic image in jsp  March 30, 2010 at 6:58 PM
Sir,I am saving the images in mysql database with Blob. An I am retrieving the images with this code:-<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %><%@ page import="servlets.MySqlConnect" %> <%... View Questions/Answers

Java JTextField Validation  March 30, 2010 at 5:17 PM
Hello Sir ,How I can Validate JTextField In Java,when I enter Any Character value in JTextField ,I want To Display MsgBox ("Enter only Numeric Value") for Id Field ,How I can Validate that plz Help Me ... View Questions/Answers

date problem in sql server  March 30, 2010 at 5:16 PM
select count(*) from xxxx_tbl where emplid="+emplid+" and work_dt=#"+work_date+"#"; work_date is in string ,Backend is sql server 2000.i am getting the date problem when using in jsp page. ... View Questions/Answers

JSP  March 30, 2010 at 4:37 PM
How to maintain a session in jsp? If a user logs out I want to make the back button of browser inactive or to kill the session.How is it possible? Please help me with the code. ... View Questions/Answers

javadoc  March 30, 2010 at 4:32 PM
Can anyone please tell me how to generate javadoc for a user defined class in netbeans.Thanks in advance ... View Questions/Answers

java  March 30, 2010 at 3:04 PM
What is the difference between Wrapper Class and Vector Class? ... View Questions/Answers

java  March 30, 2010 at 2:59 PM
What is the difference between Wrapper Class and Vector Class? ... View Questions/Answers

java inner class  March 30, 2010 at 2:58 PM
What is the difference between the nested class and inner class? Explain with suitable example. ... View Questions/Answers

java  March 30, 2010 at 2:53 PM
what is java spread model? ... View Questions/Answers

servlets  March 30, 2010 at 12:04 PM
Hi AllI have written a servlet by extending HttpServlet.I have overrriden the init() method and doGet() method .When I try to execute the Servlet, the init () method is not getting executed. Only doGet() method is getting executed. Can Any one tell me the reason.ThanX ... View Questions/Answers

on collection mapping  March 30, 2010 at 11:42 AM
differences b/w collection mappings tagslist,set,bag ... View Questions/Answers

java code  March 30, 2010 at 11:29 AM
how can we convert an RGB image into its grayscale representation? ... View Questions/Answers

java code  March 30, 2010 at 11:27 AM
how to insert more than images into a mysql database through a frame? ... View Questions/Answers

JAVA program  March 30, 2010 at 11:16 AM
Write a JAVA program to accept a number and find whether it is a magic number or not ... View Questions/Answers

JAVA program  March 30, 2010 at 11:15 AM
Write a JAVA program to accept a number and find whether it is a magic number or not ... View Questions/Answers

what is the difference between the eclipse and myeclipse  March 30, 2010 at 11:00 AM
what is the difference between the eclipse and myeclipse ... View Questions/Answers

java beginners  March 30, 2010 at 10:00 AM
please let me know what is the difference between signed and unsigned integerthanks regards bhavna ... View Questions/Answers

sql  March 30, 2010 at 8:06 AM
write a dyamic sql program to display the name of a employee whose salary is <5000 ... View Questions/Answers

spring MVC  March 29, 2010 at 10:52 PM
what is the use of applicationcontext.xml,[servelt-name]-servlet.xml,properties file in spring MVC module? ... View Questions/Answers

How to append a request parameter in a jsp page  March 29, 2010 at 7:19 PM
i have a jsp page which have a some school names link. when i click to link of a school name, school name are appended to a link that will go to a second page.in this second page have same item which i will use same for all school. i want to know how to attach a request parameter in a li... View Questions/Answers

java  March 29, 2010 at 6:58 PM
siri have a frame of fees which includesFILENO,STDNAME,TOTFEES,BALANCE.i am saving this details in FEES table.Another Frame i have which is of INSTALLMENT.i am retrieving all those fields from fees table and adding installment pay in this frame.whenever one... View Questions/Answers

java  March 29, 2010 at 6:49 PM
sirthe code which u gave for retrieving data from a database into jtable is showing only frame but i want to show table and data in it please let me know how to do . i am sending the code below which u send.import java.awt.*;import java.sql.*;import java.util.*;... View Questions/Answers

what is difreence between javabeans and enterprise beans  March 29, 2010 at 4:48 PM
what is difreence between javabeans and enterprise beans ... View Questions/Answers

using database  March 29, 2010 at 4:45 PM
i want to ask f we developed off line application then which database will be best for those application? ... View Questions/Answers

creating hyperlinks in applet  March 29, 2010 at 3:49 PM
Dear sir,how can i move from one applet to another applet and how can i use previous applet input data in anotherapplet(just like session tracking)thanks.. ... View Questions/Answers

develop code  March 29, 2010 at 3:11 PM
i want to develop a program that search a file in a directory and its subdirectories and rename that file with name of directory ... View Questions/Answers

ArrayList  March 29, 2010 at 2:56 PM
import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.util.*;public class ArrayTest extends JFrame{ JTextField txtAdd=new JTextField(35); JButton btnAdd=new JButton("Add"); JButton btnSize=new JButton("Si... View Questions/Answers

autonumber  March 29, 2010 at 1:18 PM
sir many many thanks for my previous answer .i am facing a problem in my project.i am initializing text field with 7001 and whenever i click save button it should be saved in database and incremented new value 7002 should be display. please tell me how to do this.... View Questions/Answers

java programe  March 29, 2010 at 1:10 PM
Write a java program that does the following:1. Switch the values of two variables using a method2. Print the switched values onto the screen ... View Questions/Answers

getting java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem; exception  March 29, 2010 at 10:57 AM
I am getting 11:12:26,578 ERROR [STDERR] java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;11:12:26,578 ERROR [STDERR] at org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompile... View Questions/Answers

Encode 5 digit zip code  March 28, 2010 at 7:51 PM
I have an assignment to read in a 5 digit zip code, sum the digits, and come up with the check digit. I then need to convert this to encode into a five digit bar code plus the check digit. In our book, we have completed arrays and this assignment comes from "designing classes." Can some... View Questions/Answers

java  March 28, 2010 at 4:55 PM
sirmany thanks for the answer of my previous question .please answer this question as it will complete major part of project1) how to retrieve data from database into a jtable . here backend is Ms-Access.waitng for ur answer ... View Questions/Answers

SMS Send and Recieve  March 28, 2010 at 4:20 PM
How can i embedded SMS service to send and receive SMS from mobile to my application. ... View Questions/Answers

Time Calculation  March 28, 2010 at 4:15 PM
I am using Time data type to store the start and end time of a clientand i want to generate a appointment schedule for him.i stored start and end time and also the interval the client will attend the customer.i am trying to show the slot time to the customer to make an ... View Questions/Answers

Hello Sir I Have problem with My Java Project  March 28, 2010 at 8:25 AM
Hello Sir I want Ur Mail Id To send U details and Project Source Code,plz Give Me Ur Mail Id. ... View Questions/Answers

java code  March 27, 2010 at 9:20 PM
sir i want to connect all m pages as i make a start button in swing and i want whn we click on start my login page is come next how we link the pages..plzz send me the code ... View Questions/Answers

java code  March 27, 2010 at 9:10 PM
sir i want to connect all m pages as i make a start button in swing and i want whn we click on start my login page is come next how we link the pages..plzz send me the code ... View Questions/Answers

javascript error in IE  March 27, 2010 at 8:36 PM
Please Help me,I have an urgent requirement i.e. JavaScript prompt box is not working in IE. It Works firefox,safari,--- etc.********Actually my requirement is without changing setting in the Internet Options->customlevel changes.How to do displayin the prompt ... View Questions/Answers

plz help me today plz plz  March 27, 2010 at 8:02 PM
2.) Suppose list is an array of six elements of type int. What is stored in list after the following java code executes?.for (i = 0; i < 5; i++){ list[i] = 2 * i + 5; if (i % 2 == 0) ... View Questions/Answers

JSP  March 27, 2010 at 7:18 PM
now i retrieve table data from database. that table contain 100 rows.i want to display first 10 rows in a page.and i will put one next button. whenever i press next button the page will go refresh and display next 10 rows means 11 to 20 and cont...send me code..... View Questions/Answers

j2ee  March 27, 2010 at 5:21 PM
What is session? ... View Questions/Answers

animation in applet  March 27, 2010 at 11:14 AM
Hello sir,your code is okbut what happend to this code can you modify this an tell me problem pleasecode:import java.applet.*;import java.awt.*;import java.net.*;/*<applet code="Moveplane.class" height=600 width=800></app... View Questions/Answers

Problem with Link To website with my Java Appliaction  March 27, 2010 at 11:10 AM
Hello Sir Here is Main Menu Form,I want to open website on Visit US Button ClickPlz Give Me Source Code,I have Completed Follownig Code,plz add Visit US Button Code in that Form.//MAIN MENU FORMimport java.io.*;import java.awt.*;import javax.swing.*;import java.aw... View Questions/Answers

J2ME HELP  March 27, 2010 at 11:03 AM
hi Sir,I am working in J2ME environment using net beansActually My task is to developing mobile application that is,1. Reading xml file from any one server in internet2. Parsing that xml file.3. Displaying the content of the xml file into the mobile Device.<... View Questions/Answers

java  March 27, 2010 at 10:21 AM
what are the uses of applicationContext.xml,[servletname]-servlet.xml and properties file? ... View Questions/Answers

Problem with JRadioButton and Access Database  March 27, 2010 at 7:53 AM
Hello sir ,Here I have write following code to save text on JradioButton but this is not saved in Access Databse,I want to store course type in to database and also other fields value .plz help Me.import java.io.*;import java.awt.*;import javax.swing.*;import java... View Questions/Answers

Swing  March 27, 2010 at 1:07 AM
hi sir i have a code like this:import java.awt.BorderLayout;import java.awt.Color;import java.awt.Container;import java.awt.Font;import java.awt.FontMetrics;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.GridLayout;impo... View Questions/Answers

Swing and AWT Problem  March 26, 2010 at 10:22 PM
hi sir i have a problem i know from one Jframe we can send values to another Jframe.so in my project i have one fame containing three textfieldsCODE:String a=TNa.getText().toString();String b=TCo.getText().toString();String c=TCl.getText().toString(); ... View Questions/Answers

JFrame components printing  March 26, 2010 at 1:01 PM
hi sirthanks a lot for your reply...but i go through the link that you have specifiedhttp://www.roseindia.net/java/example/java/swing/Print.shtmland downloaded the codes and compiled it got errorsand i removed that error and i executed programwhen i press pr... View Questions/Answers

JFrame components printing  March 26, 2010 at 1:00 PM
hi sirthanks a lot for your reply...but i go through the link that you have specifiedhttp://www.roseindia.net/java/example/java/swing/Print.shtmland downloaded the codes and compiled it got errorsand i removed that error and i executed programwhen i press pr... View Questions/Answers

upload and download all kinds of files in jsp  March 26, 2010 at 10:01 AM
how to upload and download all kinds of files ex: image file,pdf,.xls in jsp.your help is highly appreciated. ... View Questions/Answers

JFrame Components Printing  March 26, 2010 at 2:07 AM
hi sirthanks a lot for your reply...but i go through the link that you have specifiedhttp://www.roseindia.net/java/example/java/swing/Print.shtmland downloaded the codes and compiled it got errorsand i removed that error and i executed programwhen i press pr... View Questions/Answers

jquery  March 25, 2010 at 4:58 PM
Hi,I need validation script for jquery.I have username,password,port number and directory fields.I need to validate these fields using jquery with jsp.Please send the code for me immediately.Regards,Valarmathi ... View Questions/Answers

java  March 25, 2010 at 4:20 PM
how to include crystel report to a java web project.I am using eclipse ide,my friend give some files(.js files) to me ,but don't know how to use it.can any one help me. ... View Questions/Answers

upload and download a file  March 25, 2010 at 4:01 PM
how to upload a file into project folder in eclipse and how to download the same using jsp ... View Questions/Answers

hi  March 25, 2010 at 2:58 PM
hi sir, i am entering the 2 dates in the jtable,i want to difference between that dates,plz provide the suitable example sir ... View Questions/Answers

Synchronization  March 25, 2010 at 1:24 PM
Dear Sir my doubt isIf we cannot use synchronization for a class then how a vector class is called as synchronized? ... View Questions/Answers

Animation in Applets  March 25, 2010 at 1:16 PM
Hello sir,I have a code for you .this code is for moving a plane in an applet,but unfortunatlythis code is not working .can you kindly help me out to solve this problem.code:import java.applet.*;import java.awt.*;import java.net.*;/*<ap... View Questions/Answers

file upload in jsp  March 25, 2010 at 12:33 PM
how to upload a file in jsp and store it in my project directory ... View Questions/Answers

Add Items in JComboBox from Access Database  March 25, 2010 at 11:44 AM
Heelo Sir I want To add ittem in JComboBox which is stored in Access Database.plz Help Me SirDatabase Column name -CourseItems -MBA,MCA,MBA IT,MBA FINANCEI want Load Database records in to my JComboBox. ... View Questions/Answers

oopengl on3d using c/c++  March 25, 2010 at 11:43 AM
sir i want a programs on opengl in 3d using c/c++ language give me new one sir. ... View Questions/Answers

file upload in jsp  March 25, 2010 at 11:07 AM
how to upload a file using jsp. my operating system is linux. ... View Questions/Answers

java 2d graphics  March 25, 2010 at 10:51 AM
Hello AllI need to use 2d graphics in java to build up a map from the given geographic coordinates. What i am not getting is how to scale down these geographic coordinates to device coordinates. I would highly appreciate for some sueful suggestions. Thanx. ... View Questions/Answers

Alphabetical order  March 24, 2010 at 4:33 PM
Hi..I've a swings application about adding a record into a file and displaying it in text area.It contains the fields... ID, name, age notesIts working well to display the files in text area when i clicked the view buttonNow i want to display the records present in the ... View Questions/Answers

pagination problem  March 24, 2010 at 4:32 PM
Thanks sir for posting the answer.But i have 2 problems1.i have created one employee class in that i use getter and setter methods,i created another class in that i wrote the methods like modify(),delete(),insert() methods using or importing employee class.finally i created a class using... View Questions/Answers

java Using net beans  March 24, 2010 at 2:49 PM
Dear Sir,I just like to ask why i cant add a data to the answer you have given me last time where i have to pick the data of the student like id , name , class , age & address using netbeans jframe then i have to store these data into my package so that i can edit it as well as delete some... View Questions/Answers

java Using net beans  March 24, 2010 at 2:48 PM
Dear Sir,I just like to ask why i cant add a data to the answer you have given me last time where i have to pick the data of the student like id , name , class , age & address using netbeans jframe then i have to store these data into my package so that i can edit it as well as delete some... View Questions/Answers

java Using net beans  March 24, 2010 at 2:48 PM
Dear Sir,I just like to ask why i cant add a data to the answer you have given me last time where i have to pick the data of the student like id , name , class , age & address using netbeans jframe then i have to store these data into my package so that i can edit it as well as delete some... View Questions/Answers

swings  March 24, 2010 at 2:23 PM
how to get a buffered image from image ... View Questions/Answers

java  March 24, 2010 at 11:42 AM
how to play audio song in java? ... View Questions/Answers

design patterns  March 24, 2010 at 10:46 AM
what is singleton design pattern? ... View Questions/Answers

swings  March 24, 2010 at 10:22 AM
hi friends how can i know the rgb value of a color ...bi.setRGB(1, 1, 0xff0000ff);in the above example they mentioned the rgb value for blue color but i dont know the rgb value of all colors , how can i know this Thanks ... View Questions/Answers

pagination problem  March 24, 2010 at 9:19 AM
Thanks sir for posting the answer.But i have 2 problems1.i have created one employee class in that i use getter and setter methods,i created another class in that i wrote the methods like modify(),delete(),insert() methods using or importing employee class.finally i created a class usin... View Questions/Answers

validation on dates  March 24, 2010 at 9:03 AM
how to find difference in days between two dates in java. ... View Questions/Answers

core java  March 23, 2010 at 8:31 PM
question1:- what is default members? ... View Questions/Answers

Overloaded methods  March 23, 2010 at 7:50 PM
Write two overloaded methods that return the average of an array with the following headers: a) public static int average(int[] array)b) public static double average(double[] array) ... View Questions/Answers

Save JRadioButton Text in to database  March 23, 2010 at 5:17 PM
Hello Sir I have Two JaradioButtons 1)Semwise Course2)Yearwise Course I want To Save Text from JRadioBuuton in to Access Databseand Access Databse. with user can select any one option from that two RadioButtons.plz Help Me Sir. ... View Questions/Answers

servlet code  March 23, 2010 at 4:44 PM
how to implement paging or pagination in java code using servlets. ... View Questions/Answers

Code Works  March 23, 2010 at 3:54 PM
Hi The code provided is working fine along with the pagination . i edited the queries and that makes difference..here is the code.Thank youRegardsEswaramoorthy<%@ page language="java" %><%@ page im... View Questions/Answers

java byte stream array  March 23, 2010 at 3:36 PM
I have a byte array that contains hexadecimal data for eg byte[] testMessage = {0x02, // STX 0x31,0x32,0x10,0x02,0x33, // Data 31 32 02 33 0x03, // ETX 0x31^0x32^0x02^0x33^0x03}; // LRC cal... View Questions/Answers

Open website on Button Click  March 23, 2010 at 3:21 PM
Hello sir I want to open website on button click using java swingplz help me sir.in my swing application one "VISIT US BUTTON"i want to open my website on Button CLick ... View Questions/Answers

probliem in pagiation  March 23, 2010 at 2:58 PM
Hithe code provided for displaying editable datagrid in jsp works fine. but there is some pagination problem.when my sql data are more then 5 record,the link for 2 nd page doesn't work.RegardsEswaramoortyhere is the provided codehttp://www.rosein... View Questions/Answers

data are not display in JSP from database  March 23, 2010 at 2:19 PM
i want to finding some data through a SQL query from SQL server database to a JSP page based on some condition which i specfied in parameters. but it is not going in while loop.one.jsp<%String school=request.getParameter("school");out.println(school... View Questions/Answers

JSF  March 23, 2010 at 2:19 PM
Hi, I am getting class not found exception java.lang.ClassNotFoundException: org.apache.commons.collections.map.LazyMap in JSF even I added the commons-collections-3.2.1.jar file to my project ... View Questions/Answers

Java  March 23, 2010 at 2:13 PM
Sir , please let me know the exact usage of DAO design pattern ... View Questions/Answers

connection  March 23, 2010 at 11:50 AM
how can i establish connection between netbean_ide6.9 with mysql or oracle ... View Questions/Answers

javascript  March 23, 2010 at 11:17 AM
HI,Greetings....I want to call javascript file i.e. ".js" from xml file. If it is possible tell me how to do that. and i want to know how to call javascript function from xml...Please help me in this regard...Thanks in advance.... ... View Questions/Answers

Re:Need Help for Editable Display table  March 23, 2010 at 11:00 AM
Hi Geniusi need a help in jsp to display editable display tag.I able to show the datagrid in jsp but i cant edit in that.My backend is with Mysql.I need to fetch the data and edit it in the same grid..Thanks in advanceEswaramoorthy ... View Questions/Answers

DMCA.com