Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

jsp problem  March 11, 2010 at 12:24 AM
here is a code for Retrieving image from mysql database through jsp.but i cann't set size of image when it was display so what should i do??when the image retrieve from the database i want to set its size to how can and if one can set size of photo before store into database then also t... View Questions/Answers

jsp problem  March 11, 2010 at 12:10 AM
here is a code for Retrieving image from mysql database through jsp.but i cann't set size of image when it was display so what should i do??when the image retrieve from the database i want to set its size to how can and if one can set size of photo before store into database then also t... View Questions/Answers

regarding-update the Jsp page itself  March 10, 2010 at 11:09 PM
Joined: Aug 17, 2009Messages: 12 [Post New]posted Today 10:39:52 PMQuote Edit [Up]I have two Jsp pages named bestschool.jsp and schoolnames.jsp.I am calling schoolnames.jsp from bestschool.jsp.I want when I click the link on INDUS Sch... View Questions/Answers

Ads

creating a java bean application  March 10, 2010 at 8:07 PM
hi,i want to create a java bean using BDK. please tell me all the steps for creating a simple java bean application.i have also a confusion about the properties of java bean.please explain me the properties of java bean in detail with a suitable example.please help me to solv... View Questions/Answers

java and oracle  March 10, 2010 at 5:46 PM
hai i am doing a project in which i have stored some data (think as 50 records) in database. Now i want to retrive the data from the database(20 records at each time but should be different for each time)..........please help me for this.............. ... View Questions/Answers

IO File  March 10, 2010 at 5:09 PM
Write a java program which will read an input file & will produce an output file which will extract errors & warnings. It shall exclude the standard errors & warnings. The standard errors & warnings you can find out from the log file.This is the task ass... View Questions/Answers

Synchronization  March 10, 2010 at 3:43 PM
If in a class a method is synchronised then the accessing thread is going to get the object lock to the whole class or lock is given only on the synchronized method ... View Questions/Answers

Multiline graphs in java  March 10, 2010 at 3:39 PM
How to draw a multiline graph in java, One will b constant straight line and the other is changing ... View Questions/Answers

servlet code problem  March 10, 2010 at 3:11 PM
This is my JSP code index.jsp<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Sync Data</title></head><body><h1>Sync Data</h1><... View Questions/Answers

servlet code problem  March 10, 2010 at 2:45 PM
This is my JSP code index.jsp<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Sync Data</title></head><body><h1>Sync Data</h1><... View Questions/Answers

swings  March 10, 2010 at 2:03 PM
i created one button in jframe. i want to call a method when i am pressing the button how can i do this............. ... View Questions/Answers

Java Compilation error  March 10, 2010 at 1:55 PM
hi i m vipul chauhan , i having a problem with this package i download package from the location http://commons.apache.org/downloads/download_fileupload.cgi and i got file commons-fileupload-1.2.1-bin.zip and when i extract it i got file folder lib,site then i to into the lib folder an... View Questions/Answers

ftp  March 10, 2010 at 1:27 PM
Hello Friends, I got image upload coding from rose india at the url http://www.roseindia.net/jsp/file_upload/Sinle_upload.xhtml.shtmlMy doubt is weather it requires ftp for uploading or it sends image only in data format. Help me. Thanks. ... View Questions/Answers

Spring MyEclipse Code  March 10, 2010 at 11:47 AM
How To Configure Spring in MyEclipse ? ... View Questions/Answers

java swing  March 10, 2010 at 11:39 AM
How to set the rang validation on textfield, compare validation textfields , and also if we create a groupbutton like male female, if we want to send the selected item in database , how to send , plz help .........thanx a lot ... View Questions/Answers

Missing output from associative array  March 10, 2010 at 11:19 AM
the following foreach loop does not print all of the keys from the array, any ideas as to why?<?php $Salespeople = array( "Hiroshi Morninaga"=>57, "Judith Stein"=>44, "Jose Martinez"=>26, "... View Questions/Answers

java programming  March 10, 2010 at 11:14 AM
asking for java code, solving three unknowns in three equations..I need the thx ahed ... View Questions/Answers

swings  March 10, 2010 at 11:00 AM
i created one jframe, in that i added ok button. i want to add some images with name in that frame .By selecting the image and press ok button it will display on the jpannel, how can i do this.......... ... View Questions/Answers

Remote System OS name in JAVA  March 10, 2010 at 10:26 AM
I need to print the different os names of the all computers in my local network. I know that with System.getProperty("os.name"), I get the os name of my computer but for the other computers, I have no idea.Could you help me please ?Do you have any idea ? ... View Questions/Answers

Multi line graph  March 10, 2010 at 9:53 AM
Hi,I want a multi line graph on a single chart using jfree in java....Can you please let me know the code...thanks in advance ... View Questions/Answers

how to generate the pdf file with scroolbar from jsp age  March 10, 2010 at 9:35 AM
How to generate the pdf file with scroolbar from jsp.i am not able to see the all the columns in pdf file now .it is very urgent for me plz help ... View Questions/Answers

Struts + HTML:Button not workin  March 9, 2010 at 11:00 PM
Hi,I am new to struts. So pls bare with me if my question is fundamental.I am trying to add 2 Submit buttons in same JSP page.As a start, i want to display a message when my actionclass is called.JSP code --------<td><html:submit property=&quo... View Questions/Answers

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

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

DMCA.com