Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

Re:Need Help for Editable Display table  March 23, 2010 at 10:56 AM
Hi Genius ... View Questions/Answers

Correct errors  March 23, 2010 at 7:55 AM
Identify and correct the errors in the following program: public java Method { public static method1(int n, m){n += m;xMethod(3. 4);}public static int xMethod(int n){if (n > 0) return 1;else if (n == 0) return 0;else if (n &l... View Questions/Answers

JFrame Components Printing  March 23, 2010 at 2:16 AM
hi sir i am doing a project so i am working in netbeans i have to print a JFrame it contains Labels and few textboxfields so i want to take the whole JFrame contents for printing so would you specify how can we do it please ... View Questions/Answers

What are the different types of interfaces in java?  March 22, 2010 at 10:54 PM
Hi, Is it correct question.I faced this in one interview.If yes can u tell me please.thankschandu ... View Questions/Answers

Caterer Company  March 22, 2010 at 8:28 PM
Local Caterer?s Company operates a small catering service. They ask you to write an application for them to schedule their catering events. They mostly cater special events, but they occasionally cater corporate, private and nonprofit events as well. All catered events have an event minimum r... View Questions/Answers

Perfect Numbers  March 22, 2010 at 8:26 PM
The number 6 is said to be a perfect number because it is equal to the sum of all its exact divisors (other than itself). 6 = 1 + 2 + 3Write a java program that finds and prints the three smallest perfect numbers. Use methods ... View Questions/Answers

calender devlopment  March 22, 2010 at 3:57 PM
Sir i need help sir.Sir how to develop calender by using JAVA SWING.Here conditions are one textbox and one small button are needed for this application.whenever i click on small button small calender window will be open and select on perticlar date the selected data will be sent t... View Questions/Answers

java  March 22, 2010 at 3:50 PM
Thank you for your reply and effort to answer my question. The program you've sent was almost what I need program. Can you please help me more. because what you had send isn't what I need. Because it just deduct whole numbers from the given..example when I widhtra... View Questions/Answers

Graphs using JFreeChart  March 22, 2010 at 3:27 PM
Hi Friend, I need to draw a graph of the powerconsumed by a consumer in specific dates with a const line showing the max power can be consumed.Now My data is like this15-12-2009 15016-12-2009 200Max power ------400How can i do thisAny help... View Questions/Answers

core java  March 22, 2010 at 1:16 PM
what is object serialization ?with an example ... View Questions/Answers

Servlet doubt2  March 22, 2010 at 1:14 PM
Dear sir,thanks for your response?my question is how can i develop a chatting application using servlets?like can we use socket programming in servlets?can you give me an example? ... View Questions/Answers

java code(API calls)  March 22, 2010 at 1:07 PM
How to insert an image into Word document?????????can any one tell the API call for inserting an image or picture into word document............using JAVA(APACHE POI PACKAGE (Word-HWPF))plzzzzzzzz...........In power point there is a call namely "addPicture" to insert an image..........In w... View Questions/Answers

ATM IN JAVA RMI  March 22, 2010 at 1:03 PM
How to write code for ATM using Java RMI? ... View Questions/Answers

FILEOUTPUTSTREAM and FILEINPUTSTREAM  March 22, 2010 at 12:56 PM
Using FILEOUTPUTSTREAM and FILEINPUTSTREAM provide code that will write bytes to file and read them back. ... View Questions/Answers

Tracing unexpected closing of awindow...  March 22, 2010 at 12:33 PM
Hello friends,How can we track unexpectedly closing a window when a jsp project running with session concept. And this tracking should update the log in status in data base. ... View Questions/Answers

path setting  March 22, 2010 at 12:31 PM
Hello friends,I download file uploading coding from the following url:http://www.roseindia.net/jsp/file_upload/Sinle_upload.xhtml.shtml. And i changed the file saving path into a different folder. While setting this path i need to give the full path from drive name, instead o... View Questions/Answers

Using a image for Browse button instead of normal html Browse button for Uploading files from a JSP  March 22, 2010 at 11:36 AM
I am using the following code snippet :<input type=file name=browse style="display: none;"> <input type=text name=file style="font-style:veranda; font-size:12px; width:600px; text-align:center;" ><input type="image" name="sele... View Questions/Answers

About jsp and Servlet  March 22, 2010 at 10:42 AM
Servlets are directly using java technologies. It is used in HTTP,FTP..etc, But Jsp only used in HTTP. Servlets are running fastly... Then why we moved from Servlet to JSP.. Pl Tell me the reasons... ... View Questions/Answers

Business logic vs Presentation logic  March 22, 2010 at 10:38 AM
what is the difference between Business logic and Presentation logic?. ... View Questions/Answers

how to create a jar file for my packages classs  March 22, 2010 at 9:57 AM
how to create a jar file for my packages classs in struts application .we don't want to see the see the classes other persons ... View Questions/Answers

Java Binary data file  March 22, 2010 at 9:55 AM
Hi,I have a binary data file(binfile.data) and the file has what is commonly referred to as variable length records.Specifically the format of the file is:HEADER SECTION//RECORD--------------------------------------------DATA SECTIONS//RECORDS... View Questions/Answers

servlet doubt  March 22, 2010 at 9:45 AM
How do I read and output a text file from a Servlet?How can I invoke a servlet from JavaScript? ... View Questions/Answers

How can I Define a JFrame subclass that has four vertically positioned buttons.  March 22, 2010 at 8:16 AM
How can I Define a JFrame subclass that has four vertically positioned buttons. The labels for the four buttons are Senior, Junior, Sophomore, and Freshman. When a button is clicked, display a message that identifies which button is clicked, using JOptionPane. ... View Questions/Answers

DMCA.com