Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Servlet error  March 9, 2010 at 7:22 PM
Can't we place the java files instead of class files in classes folder of our application in webapps..so that there's no need to compile the java files separately and then place the class files in classes folder..?? ... View Questions/Answers

Servlet error  March 9, 2010 at 7:03 PM
I installed Jdk and tomcat successfully and all the examples provided by the tomcat are running successfully...But i'm unable to run my own servlet program..The error i'm facing is...exceptionjavax.servlet.ServletException: Wrapper cannot find servlet class Ex1 or... View Questions/Answers

struts  March 9, 2010 at 4:46 PM
Tag libs in struts ... View Questions/Answers

Advertisement

Jsp  March 9, 2010 at 4:08 PM
Hi,if i declare <%!string="a"%> in declaration & same in <%string="a"%> scriptlets, then can anybody please tell me what is the difference between these two??, why should i make use of declaration tag if i can declare variable in scriptlets tag??... View Questions/Answers

swings  March 9, 2010 at 2:28 PM
i want to display a window while pressing a button, the window contains only ok,cancel buttons ... View Questions/Answers

e-mail engine pregamming  March 9, 2010 at 1:39 PM
Hi guysam a 4th year student at University of Namibia (doing computer science major and IT minor), i would love to ask anyone to tell me what should i do and what language is best to use in my 4th year project. i want to program an e-mail system for our department.. to conclude, what do ... View Questions/Answers

swings  March 9, 2010 at 10:39 AM
i want to display a texture in a particular polygon......... ... View Questions/Answers

How to use find method in Java  March 9, 2010 at 10:34 AM
Hello,I want to write a class that gets a web page, parses it, and tries to find an object with certain properties. How can I do this?I was thinking, maybe get child objects of the browser class, then somehow parse through the class's objects/sub-objects, and use find().... View Questions/Answers

Java - search/find a word in a text file  March 9, 2010 at 10:27 AM
Hello,I would like to know how to find from a list of lets say 10 but could be more, .txt files, how to search them for a word. The word will be PASS or it can be FAIL.If PASS I want to do nothing, if FAIL, I want to record in 1 master output file, the name of the file that ... View Questions/Answers

swings  March 9, 2010 at 10:14 AM
i want to display a window while pressing a button .In that window i want to add images, by selecting the image it will display on the jpannel.how can i do this........ ... View Questions/Answers

how i can add an horizontal scrollbar at my PdfAnnotation ?  March 9, 2010 at 9:47 AM
How to add the an horizontal scrollbar at my PdfAnnotation ?for exampledocument d=new document(0.document.open();...... ... View Questions/Answers

how to add the scrollbar to the pdf page when generating the pdf file from jsp  March 9, 2010 at 8:50 AM
I am not able to see all the columns when i generated the pdf file from jsp.i have 12 colums so how to add the scrollbar ? ... View Questions/Answers

Java with OOP assignment (Eclipse)  March 9, 2010 at 4:16 AM
"THREE Ts GAME"*Description*A "tic-tac-toe" game is a two player's board game where the game board is made of 3 X 3 grids. The two players, one being assigned with 'O' and the other with 'X', where each if the two players take turns marking the spaces in a... View Questions/Answers

spring  March 9, 2010 at 12:15 AM
Hi sir how compile spring application on jboss5.1.0 server how run spring application on jboss5.1.0 serverthanks ... View Questions/Answers

java code  March 8, 2010 at 11:17 PM
This program generates a list of repeat permutation result. For example, ifgiven a string "abc", the program prints all the possible permutations like:aaaaabaacabaabbabcacaacbaccbaababbac....tot... View Questions/Answers

Java Program  March 8, 2010 at 10:05 PM
Write a Program that display JFileChooser that open a JPG Image and After Loading it Saves that Image using JFileChooser ... View Questions/Answers

threads  March 8, 2010 at 9:29 PM
how one thread will know that another thread is being processing ... View Questions/Answers

java code  March 8, 2010 at 9:27 PM
write a program for immutable class ... View Questions/Answers

Java Code  March 8, 2010 at 7:20 PM
Write a Program using Swings to Display JFileChooser that Display the Naem of Selected File and Also opens that File ... View Questions/Answers

java  March 8, 2010 at 5:45 PM
why we use classpath.? ... View Questions/Answers

swings  March 8, 2010 at 4:24 PM
i want to display a background pattern in mappannel, which we can change the color . i dont have background patterns too.how can i get the background patterns, is there any inbuilt background patterns in java and how can i display it in a shape(polygon).. ... View Questions/Answers

java programming  March 8, 2010 at 4:01 PM
asking for the java code for solving mathematical equation with two unknown .thnx ahead.. ... View Questions/Answers

swings  March 8, 2010 at 3:35 PM
I know how to add an image in a Panel with Netbeans but I want to add a background pattern with Netbeans in a Panel - you just have to provide the pattern and the background is filled with it whatever the dimensions of the Panel. ... View Questions/Answers

java run time error  March 8, 2010 at 3:23 PM
when i compile my program it didnt show any error in my program.but i cant run my program, if i run my program means it will show error like as followingException in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at Armstrong.main(Armstrong.java:22)Java ... View Questions/Answers

swings  March 8, 2010 at 2:56 PM
how to add different patterns in java ... View Questions/Answers

Tree Grid using JSF  March 8, 2010 at 2:40 PM
Hi All,I am using Trinidad TLD for JSF.I have implemented simple table, but having problem with Tree grid using same.I have read all document on Trinidad site for Tree grid, but they didn't mention about how we can fill data in tree grid by using Backing Bean.Next I dow... View Questions/Answers

swings  March 8, 2010 at 2:33 PM
hii am using jcolorchooser in my application, in that there are no patterns and it have swatches,hsb,rgb options, just i want to add some different style patterns for back ground appearence. If any inbuilt patterns are there in java please send me the information........... ... View Questions/Answers

jsp code problem  March 8, 2010 at 12:35 PM
hi, I am going to execute the following code which has been given your jsp tutorial.retrive_image.jsp:<%@ page import="java.sql.*" %><%@ page import="java.io.*" %><% // declare a connection by using Connection interface... View Questions/Answers

Travelling Sales MAn Using GA  March 8, 2010 at 11:50 AM
travelling sales man problem using gafirst i have randomly select few cities which will be called population sizeex 10 cities are there then all the possible combination will be 10!,that will be too time consumin so let say 4 wii be population sizeafet that 1 selection: i had... View Questions/Answers

dbms  March 8, 2010 at 11:20 AM
what is the process of creating new user in sql?tell me the process... ... View Questions/Answers

java beginners  March 8, 2010 at 10:10 AM
thanks for the suggestion so I am sending the patteren in place of dots i want blank spaceaaaaaaaaaaaaaaaa a............a a........a a.....a a...a athanks regards ... View Questions/Answers

caading  March 8, 2010 at 5:22 AM
how i create a soft ware wit Java code. can u please give me an example. ... View Questions/Answers

Java interval problem  March 8, 2010 at 2:26 AM
I want to create a problem that finds the common interval of some periods of hours.For example if i have the time period: 10.00-12.00 and i have the time period: 11.00-13.00, i want to find the common interval of these two (which in the example is 11.00-12.00).Which is the best way to do... View Questions/Answers

C program  March 7, 2010 at 7:54 PM
Thanks!!!!!!!!!!Please reply me some programs for DATA STRUCTURES (LINKED LISTS,ETC) ... View Questions/Answers

jsp  March 7, 2010 at 6:27 PM
hi.. how to check the employee status in an organisation using the login and logout concepts in jsp. ... View Questions/Answers

jsp  March 7, 2010 at 6:24 PM
hi.. get me the coding for logout in session while login. ... View Questions/Answers

java  March 7, 2010 at 3:05 PM
I have one xls sheet. i want to read this xls sheet in java and print this o/p.i have one xls sheet.and i downloaded jxl jar file. how to compile the Java program and how to set class path to run this java file. and where i put this jxl jar file and how to set cla... View Questions/Answers

Java  March 7, 2010 at 3:03 PM
I have one xls sheet. i want to read this xls sheet in java and print this o/p.i have one xls sheet.and i downloaded jxl jar file. how to compile the Java program and how to set class path to run this java file. and where i put this jxl jar file and how to set cla... View Questions/Answers

How to Validate JRadioButton and How to Save data from JRadioButton to MS Access Database  March 7, 2010 at 11:21 AM
Hello Sir I want Store Corse Type that contains Two JRadioButton I want StoreInformation from JRadioButton to MS Access Database,and I want Select any One JRadioButton At a Time out of Two.plz Give Me Code Sir. ... View Questions/Answers

I need your help  March 7, 2010 at 10:43 AM
For this one I need to create delivery class for a delivery service .however, this class should contain (delivery number which contains eight digits. The first four digits represent the year; the last four represent the area. E.g, the 76th delivery in 2010 has a complete delivery number of 20100076... View Questions/Answers

server problem  March 7, 2010 at 1:35 AM
dear sir please give me best soloution how run hibernate and spring application on jboss and weblogic10.1.0 sever and compilethanks.. ... View Questions/Answers

server problem  March 7, 2010 at 1:28 AM
Dear sir please give me full deatil how intall jboss5.1.0 and how compile application -ejb,hibernate,spring for admestration consoleand how intall jboss5.1.0GA server and i not found ant(compiler)thanks.. ... View Questions/Answers

java code  March 6, 2010 at 8:28 PM
i m doing aproject on tspcan you provide me the entire source code for the problem in javafor 10 cities ... View Questions/Answers

loading value into combo box by selecting value from other combo box  March 6, 2010 at 6:19 PM
I am doing the project "server management in online voting system".I create table "state" it contains state and code.each state table contain districts and code;each district table contain constituency and code.MY problem is that as i select st... View Questions/Answers

C program  March 6, 2010 at 3:25 PM
Thank You .Write some C programs using pointers .Write some C programs using files.Please reply me . ... View Questions/Answers

dynamic method dispatch  March 6, 2010 at 3:22 PM
can you give a good example for dynamic method dispatch (run time polymorphism) ... View Questions/Answers

JDBC 4.0  March 6, 2010 at 3:16 PM
Dear sir can you give me the connection string of oracle8.0 databaseand i know that we need of set classpath for classes12.zip for oracle 9ibut i dont know for oracle 8.0 whaich jar or zip i need to set?similarly can you give me code to connect microsoft sql server usi... View Questions/Answers

core java  March 6, 2010 at 3:09 PM
why sun soft people introduced wrapper classes?do we have any other means to achieve the functionality of what a Wrapper class provides. ... View Questions/Answers

swings  March 6, 2010 at 2:14 PM
how can i use the inbuilt color palette in java ... View Questions/Answers

swings  March 6, 2010 at 12:38 PM
hii am using jcolorchooser in my application, in that there are no palettes and it have swatches,hsb,rgb options, just i want to add some palettes in my application. If any inbuilt palettes are there in java please send me the information........... ... View Questions/Answers

java file upload in struts  March 6, 2010 at 12:34 PM
i need code for upload and download file using struts in flex.plese help me ... View Questions/Answers

java  March 6, 2010 at 12:13 PM
hi guys can any help me regarding-creating theams using java,plz give me some idea regarding this or any example code how to create or any site where i can get all this stuf,thank u very much in advance,i hope some one will going to help me reagarding this. ... View Questions/Answers

java programming  March 6, 2010 at 11:58 AM
asking for the java code that will view added information.. ... View Questions/Answers

java programming  March 6, 2010 at 11:48 AM
asking for the java code for adding delete information.thank you ahead.. ... View Questions/Answers

reading data from a text box with the same name using servlets  March 6, 2010 at 11:27 AM
Hello sir, i want to get the values from four textboxes having the same namelikea=<input type=text name="t1"><br>b=<input type=text name="t1">c=<input type=text name="t1">using servlet i want to print ... View Questions/Answers

javax.swing  March 6, 2010 at 10:10 AM
how to add or remove component at run time ( while execution) not compile time? ... View Questions/Answers

java  March 5, 2010 at 6:30 PM
dear sir, plz give me a java code where we copy a files from a folder and paste in a single file by zip, and again open the all files in a single file. from ... View Questions/Answers

Color Wheel  March 5, 2010 at 5:43 PM
Hai to all... Just want to need some code about the GUI, were using the java.lang and java.awt.. Were making a color wheel program..Thank'z to all who help me...GOD bless!!!^_^ ... View Questions/Answers

swings  March 5, 2010 at 5:30 PM
hi friends,Just i want to use different types of palettes(which are in inbuilt) in java.I have a color chooser window.In that i have a hsb, rgb. In this place i want to add different palette , how can i acheive this...... ... View Questions/Answers

C program  March 5, 2010 at 3:50 PM
write a C program to print multiplication table using pointers. ... View Questions/Answers

hi  March 5, 2010 at 3:22 PM
i am declare the final for jtextfieldspackage Welcome;import java.awt.*;import javax.swing.*;import java.awt.event.*;import java.sql.*;public class OLD extends JPanel{ public OLD() { setLayout(null); JLabel cus,fa... View Questions/Answers

hi  March 5, 2010 at 2:45 PM
local variable cname is accessed from within inner class; needs to be declared final i want to be use this variable in another class,what i am do sir,plz tell me.if i am declare a variable is a final,then there is no way to change this,plz tell me for my problem ... View Questions/Answers

java  March 5, 2010 at 10:20 AM
i am unable to read unicode characters from the html file,can u give the sample code how to read the unicode characters from the html file ... View Questions/Answers

Doubel value round upto 2 decimal places  March 5, 2010 at 8:22 AM
Dear Sir/Madam,My requirement is round up the double value upto 2 decimal points.eg. double d=2;result =2.00And finally i have to return double value only.Please post some example code as per my requirement.Your help is apprecia... View Questions/Answers

java  March 5, 2010 at 12:04 AM
hi, give some material site to help me for study it, now i am pursuing mca4th sem , and give some expert id ... View Questions/Answers

java packge program  March 4, 2010 at 7:46 PM
my question ishow to compile and run java package program in the linux OS ... View Questions/Answers

Problem facing in SAX Parsing  March 4, 2010 at 5:46 PM
I have facing the issue in SAX Parsing like i have got the xml and the xml structure is like below.<?xml version="1.0" encoding="UTF-8" ?> - <Customers>- <Customer> <CustName>M.T.C ALUPACK <CustName> <CustId&... View Questions/Answers

How to populate an HTML table using jstl code  March 4, 2010 at 4:16 PM
HiI want to populate an HTML table using jstl code.I am using Hasp map.For 1 column its okay it works fine.But if I am suppose to populate 2 or 3 columns from the database than I am having problem to display them.Please helpThis is my Code :String tabvalue,tab1;j... View Questions/Answers

Problem facing in SAX Parsing  March 4, 2010 at 2:43 PM
I have facing the issue in SAX Parsing like i have got the xml and the xml structure is like below.<?xml version="1.0" encoding="UTF-8" ?> - <Customers>- <Customer>  <CustName>M.T.C ALUPACK(MOHAMED ALTURK & CO)</CustNam... View Questions/Answers

Java Compilation  March 4, 2010 at 1:24 PM
I want to write a Java program that asks the user for the names of 3 files. I want the first file to be opened for reading and the other two files to be opened for writing.I want the program to read the contents of the first file, change all characters to upper case, and store the result... View Questions/Answers

java beginners  March 4, 2010 at 12:31 PM
the patteren u received is not the actual patteren which i need the program i don't know why the patteren does not reach in proper formate to you . it was in upside down triangle form . at the top a a a a a aand then from left 'a' will be moving towa... View Questions/Answers

about java swing  March 4, 2010 at 11:55 AM
How to upload the pictures and photo on the panel in java swing ,plz helpthank a lot. ... View Questions/Answers

hi  March 4, 2010 at 10:11 AM
hi sir,i want to copy the mysql prompt queries to one text file,how to achieve this ,plz tell meThanq ... View Questions/Answers

IVR Programming  March 4, 2010 at 9:31 AM
Hi There,I want to start IVR programming. Pls tell me the way to go for self-study. My background is in .Net.Thanks for you help. ... View Questions/Answers

java beginners  March 4, 2010 at 8:14 AM
pl. tell me in System.out.print() what is System , what is out , print is method name .is System is a package of class name thanks ... View Questions/Answers

java beginners  March 4, 2010 at 8:07 AM
pl. let me know the java program to get the following patteren pl. can i I get it today itself . thank you regargd a a a a a a a a a a a a a... View Questions/Answers

JTable  March 4, 2010 at 8:01 AM
can we merge two cells of one row in jtable? ... View Questions/Answers

java  March 4, 2010 at 12:58 AM
what is the difference between hibernate and spring frameworks in usage?which of the two is efficient and more advantageous? ... View Questions/Answers

Problem dispalying Country, City, State in JSP using Ajax in Struts Framework  March 3, 2010 at 10:35 PM
Hi,In my JSP page, I have used one div that adds some rows dynamically. Inside this div, there are drop downs to select Country, State and City values. On the baisi of country selected, its corresponding state should come nd corresponding city should comeon basis of state selected. ... View Questions/Answers

Problem in updating query in Hibernate  March 3, 2010 at 10:27 PM
Hi,I have used a query to update the existing columns of one table. The query updates the records in the main table but it does not update the tables that are mapped from the main table. The child table(mapped from main table) is in the form of 'Set' Collection. Bean class is created fo... View Questions/Answers

Probability Vs. Number of people table  March 3, 2010 at 9:33 PM
The probability that at least two people in the group of 5 people will have the same birthday is:1 - 365/365 x 364/365 x 363/365 x 362/365 x 361/365 = 0.027, which is1 - (365 - 0)*(365 - 1)*(365 - 2)*(365 - 3)*(365 - 4) / 365^5 = 0.027 The probability that at least two people... View Questions/Answers

How to read yahoo mail using java mail api  March 3, 2010 at 8:45 PM
Hi there .... i wanted to know how to read mail from yahoo using pure java code. Is there any one who can help me regarding this, please if possible show me the exact way as well as provide me some code so that i can understand it....i will be very thank full ... View Questions/Answers

compilation error  March 3, 2010 at 4:45 PM
i 'm not able to compile a program :prblem is there is one package in which 2 class person & dog reside. both classes r public still i'm not able to make object of Dog clss in Person class!!plezz help ... View Questions/Answers

java  March 3, 2010 at 3:25 PM
how to configure the servlet ... View Questions/Answers

java  March 3, 2010 at 3:20 PM
urgent sir plz send quicklyfirst screen maintain db connection.two select box is there.one select box display the text of sequencial order that is a clicks "a" will be display and so on z and 0-9. if we select the first select box items click arrow that selected da... View Questions/Answers

java programming  March 3, 2010 at 2:27 PM
i'm asking for the java code for adding , viewing ,delete, edit and printing information...how can i make this...can you give me a code..help me plzz ... View Questions/Answers

swings  March 3, 2010 at 12:30 PM
I want to add images(.jpeg,.gif) to a combobox list items.How can i acheive this.....Just now i send the above question.I got the below code fro you.I just change the image addresses in the Img[] string and the remaining code is same has u given.While i am trying to execute this co... View Questions/Answers

swings  March 3, 2010 at 12:12 PM
I want to add images(.jpeg,.gif) to a combobox list items.How can i acheive this.....Just now i send the above question.I got the below code fro you.I just change the image addresses in the Img[] string and the remaining code is same has u given.While i am trying... View Questions/Answers

login page  March 3, 2010 at 11:55 AM
I have one login page in jsp that is login.jsp.Now i have validate user from database by another page validate.jsp.but if the user feeded wrong information then i want to print error massege on the first page that is login.jsp not in any other page.So what i have to use.plzzzz tell... View Questions/Answers

JSF using Tomcat 6.0  March 3, 2010 at 11:49 AM
Hai i have a problem during deployement time.Actually this is my first example.I have already run one jsf application, that also be not run.Actually right now i am learning stage. so please give me brief details.The problem is paste on here.=================... View Questions/Answers

why it is very slow when I am using the backend as microsoft access file for running the java webapplication  March 3, 2010 at 11:35 AM
I am using the backend as microsoft access file for running the java webapplication.it is very slow when twoor mor users are logon the project.How to handle the above problem.is it solve by the sqlserver as a backend ... View Questions/Answers

swings  March 3, 2010 at 11:33 AM
I want to add images(.jpeg,.gif) to a combobox list items.How can i acheive this..... ... View Questions/Answers

how to close the connection object,statement object,resultssetobject when using the microsoft access a database  March 3, 2010 at 9:45 AM
Hi Friend,I am developing the webapplication using the jsp(business logice-jsp).backend is microsoft access file. How to close the conection objects,resultset object.objects are increaseing when accessing the jsp page. ... View Questions/Answers

Closing Statement and ResultSet Objects  March 3, 2010 at 9:32 AM
I Friend.i am getting the closing the objects problem.i am using the business logic in jsp now.it is having the two or more statements objects and results set objects ,how to close the objects.My code is selectQuery="select no_of_ho... View Questions/Answers

hi  March 3, 2010 at 9:21 AM
hi sir,i want to copy the sql prompt queries to one text file,how to achieve this ,plz tell me Thanq ... View Questions/Answers

why tomcat is shoutdown when access the jsp page  March 3, 2010 at 8:58 AM
I have a menu.when i click on menutitem(jsp page),some time tomcat is shoutdown and sometimes it is working fine ... View Questions/Answers

problem with main  March 3, 2010 at 4:14 AM
import javax.swing.*;import java.awt.*;public class YellowFace extends JApplet{ public static final int FACE_DIAMETER = 200; public static final int X_FACE = 100; public static final int Y_FACE = 50; public static final int EYE_... View Questions/Answers

java programme  March 2, 2010 at 7:33 PM
Write a complete program, which prints all Fibonacci numbers that are less than 1600. ... View Questions/Answers

I need your help  March 2, 2010 at 7:15 PM
What is the purpose of garbage collection in Java, and when is it used? ... View Questions/Answers

Applet program for drawing picture and graph  March 2, 2010 at 6:45 PM
Please send me the program(code) of drawing picture and graph in Applet. ... View Questions/Answers

DMCA.com