Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

blank space in input field  April 2, 2010 at 3:43 PM
I retrieved the fields from my mysql table...If the field contains null value i want to display a blank space in input field(text box)..but i am displaying null how to overcome this..u r help is highly appreciated. ... View Questions/Answers

Re: base the value of first combo box, how i display the second combox  April 2, 2010 at 1:12 PM
Dear Sir,in this program when i click on submit button, the corrosponding value of combo box should be sent. but when i clicked to submit button, it do nothing.please review this code:<%if((school.equals("indus"))||(school.equals("dps"))||(s... View Questions/Answers

How to change backgroundcolor and foreground color of JLabel in Java  April 2, 2010 at 10:42 AM
How to change backgroundcolor and foreground color of JLabel in Java ... View Questions/Answers

Advertisement

javascript code  April 2, 2010 at 4:31 AM
Hi,thanks for ur slideshow coding which is very user interactive and attractive.but in this we r explicitely specifying each image file name one by one. Can we make it in a while loop which will read all the files in a image folder and display it. Kindly clarify my doubt. ... View Questions/Answers

conversion  April 1, 2010 at 7:54 PM
how to convertor .xl to .pdf and .pdf to .xl and .mp4 to .mp3 ... View Questions/Answers

Connecting JTable to database  April 1, 2010 at 7:28 PM
Hi..I am doing a project on Project Management System for which i created the user interfaces..I have a user interface in which i have used JTables..Now my problem is I dont know how to how to store this JTable content in my database table..This is a very important table of m... View Questions/Answers

how to link differnt modules  April 1, 2010 at 7:11 PM
i am doing my final year project which is based on steganography.we hide the secret msg in the spaces between the words and paragraphs.we have around 4 modules.all the modules are running fine individually.the prob is how can i link all the 4 modules so that they work in a step by step manner.... View Questions/Answers

Struts  April 1, 2010 at 6:59 PM
Hi, I am doing a reverse engineering in a project based on struts 1.1,after seeing the log file, i encounter some lines that are written by applicatoin, following are the lines in log related to strtus while actionservelt is doing his task.****************************o... View Questions/Answers

Wireless communication  April 1, 2010 at 6:33 PM
I want to send and receive data(message/data) between 2 lappys which are connected in wireless lan. can u plz expalin how to start the JAVA source code?? ... View Questions/Answers

Remote Location Handeling  April 1, 2010 at 5:32 PM
I have application where I want main control from one location and have to connect two more locations remotly and have to handle it.So what should I use in my application Server/RMI or web application?Also help me to connect me to the remote locations having main control with my location ... View Questions/Answers

Re: base the value of first combo box, how i display the second combox  April 1, 2010 at 3:55 PM
thanks for your reply.i want to know suppose the second combo box appear only when i select the class 11th or 12th.please review.your answer:<html><h2>ComboBox</h2><script language="javascript">... View Questions/Answers

datagrid search  April 1, 2010 at 3:11 PM
Hi friend, i have displayed a datagrid using jsp but i need a search option in that which is used to display and sort it in a alphabetical order....pls help me...Thanks in advance... ... View Questions/Answers

Retrieve Value from Table  April 1, 2010 at 3:05 PM
Hai friend,I need help, How can i retrieve values From database using hibernate in web Application. As I new to hibernate I couldn't find solution for this problem.. Can anyone help please.. ... View Questions/Answers

Html / Java Script  April 1, 2010 at 2:15 PM
Hi There,in my form there are ten text boxes. my requirement is that when i click checkbox,the values of first five textbox has to copy to next five. I need jscript for that ... View Questions/Answers

base the value of first combo box, how i display the second combox  April 1, 2010 at 1:25 PM
i have a combo box for classes. my requirement is when i select the class, if class is 11 or 12 the second combo box of subject should be appear.please let me how i implement this in JSP.<%! int i=1; %><tr><td>Class</td><td><selec... View Questions/Answers

java Exception handling  April 1, 2010 at 12:44 PM
what is the difference between throw and throws keywords ... View Questions/Answers

java Exception handling  April 1, 2010 at 12:42 PM
what is the difference between throw and throws keywords ... View Questions/Answers

Paging or pagination  April 1, 2010 at 10:34 AM
1.how to do paging or pagination in jsp using servlets?I have a 20 records ,i have to show them in 2 pages like pages 1 2...i done this but i m geting starting 10 records correctly but i m unable to get a next 10 records it is showing a starting 10 records only please help me... View Questions/Answers

jsp  March 31, 2010 at 11:35 PM
How to creat table in jsp which show single containt tha is employee nameWhen u enter the employee name and submit.then another box will display which show the every detail of the employee of the same name from data base if of employee dose not existing in same name then another box will disp... View Questions/Answers

Encryption In Swing  March 31, 2010 at 9:43 PM
Hi sir i have a JFrame Containing User Name and Password is there any way to encrypt password and how can we store the encrypted passwaord to MS ACCESS ... View Questions/Answers

javascript code  March 31, 2010 at 9:00 PM
hi,i want to display all the image files in a folder one by one like a slidshow on my website using javascript. Will you please help me for this??? ... View Questions/Answers

SWING  March 31, 2010 at 7:48 PM
how to insert image and components such as JLabel,JButton,JTextfield in JFrame in swing? ... View Questions/Answers

enable users to enter names  March 31, 2010 at 6:51 PM
this is the code for tic tac toe game, i want users can save their name as player X and player O, but I do not know how? can you give me some tips?package threeTsGame;import java.awt.*;import java.awt.event.*;import javax.swing.*;publ... View Questions/Answers

core Java  March 31, 2010 at 6:04 PM
how is it possible to create object before calling main() in Java? ... View Questions/Answers

Keep servlet session alive  March 31, 2010 at 3:40 PM
Hi,I am developing an application in java swing and servlet. Database is kept on server. I am using HttpClient for swing servlet communication.I want to send heartbeat message from client to server after every specific time interval so that servlet will not invalidate session... View Questions/Answers

exporting data to excel sheet  March 31, 2010 at 3:25 PM
Sir i have already send request about this problem sir.Sir i want code for below applicationSir whenever execute query in java swing program,i want to print the result about the query in excel sheet.Sir plz help me sir. ... View Questions/Answers

java  March 31, 2010 at 3:06 PM
siri have 2 tables namely FEES(Fileno,Stname,Totalfee,Feepaid,Balance) and INSTALMENT(Fileno,Stname,Totalfee,Balance,Instalmentpaid,Balancetobepaid) i am retreiving Fileno , Stname , Totalfee ,Balance into INSTALMENT table from FEES table , my Balance value is not updated onc... View Questions/Answers

server-jsp  March 31, 2010 at 2:01 PM
how can we implement a simple database(ms access) for storing information about the HTTP requests sent to a web server(database)? ... View Questions/Answers

EJB JNDI LOOK UP PROBLEM  March 31, 2010 at 12:53 PM
Hi, I am using jboss4.2 and created a sessionbean<stateless> using EJB3 but while running client code I am finding NoInitialContextException claname not set in enviornment properties... Thankx. ... View Questions/Answers

java  March 31, 2010 at 12:28 PM
just by removing the package name???? ... View Questions/Answers

swings  March 31, 2010 at 12:27 PM
hi i want to fill a polygon with a pattern. for this i am trying to use the HSSFCellStyle.FINE_DOTS, but it gives a error like cannot find the variable HSSFCellStyle.how can i use the all hsscfill patterns give me a small example for this.......... ... View Questions/Answers

java  March 31, 2010 at 12:07 PM
bank acoount progamclass as account+account(initbalance:double)methods+getBalance():double+deposit(amt:double):void+withdraw(amt:double):void ... View Questions/Answers

java  March 31, 2010 at 12:06 PM
bank acoount progamclass as account+account(initbalance:double)methods+getBalance():double+deposit(amt:double):void+withdraw(amt:double):void ... View Questions/Answers

what is diffrence between the spring and ejb which is better for small application  March 31, 2010 at 11:15 AM
what is diffrence between the spring and ejb which is better for small application. and why do we need to use sping or ejb for web appplication.what is diffrence between the struts with spring application and struts without spring application ... View Questions/Answers

java beginners  March 31, 2010 at 10:18 AM
Q. 1 How is class related to data abstraction?Q. 2 what is the relationship between a class and an object? thanks ... View Questions/Answers

Calendar window is not showing the textbox values for the Dynamic rows in html page  March 31, 2010 at 9:22 AM
My code is here now.When i click on calendar ,value is not showing in textbox please help to me it is very urgent for me <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <script type="text/javascript"... View Questions/Answers

Calendar window is not coming for the Dynamic rows in html page  March 31, 2010 at 8:59 AM
Calendar window is not coming for the Dynamic rows in html page.I have 3 textboxes. one column is having the date textbox .I need to add the calendar icon to the date textbox. ... View Questions/Answers

java beginners  March 31, 2010 at 8:45 AM
what are real constant? give some example of real constant. which of the following is the valid real constant.2.0, -16.0, +15/2, 1.9E, 189.E4, 0.67E3.6 ... View Questions/Answers

java beginners  March 31, 2010 at 8:42 AM
pl. give few example program of signed and unsigned integerbye ... View Questions/Answers

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

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

DMCA.com