Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

hash map  September 29, 2011 at 9:54 AM
how to add object of test class in a hashmap test class is as follows class test{ String str1; String str2; String str3; int i1; int i2; } values of instance variable is coming from different database tables; ... View Questions/Answers

how can u reduce the size of textfield?  September 29, 2011 at 9:03 AM
how can u reduce the size of textfield? thanks in advance ... View Questions/Answers

jdbc  September 28, 2011 at 11:48 PM
how can i store the image file and retrive the images from the database using java with querys also ... View Questions/Answers

Advertisement

How to make a CRUD without using SQL Server? by just using your GUI? (CRUD = Creating, Register, Update, Delete)  September 28, 2011 at 5:30 PM
well I got a Program that can Register Update and delete a account to SQL Server. from now on we have to make a CRUD again without using SQL Server. how to make it? please help ... View Questions/Answers

Program to find no of metrics in a file ----- Java code  September 28, 2011 at 4:45 PM
Hi Friends, I got a task to calculate the metrics of a program, like to find the no of SELECT and INSERT statement is a program. With that I have to even calculate the tablewise no of SELECT and INSERT statements, I have written the code for finding the no of SELECT and INSERT statements ... View Questions/Answers

jtable  September 28, 2011 at 4:38 PM
hi Sir i am working netbeans IDE,I have a jtable when i insert values in jtable then i am unable to print all inserted values,For eg if i insert 1,2,3,4,5,6,7,8 values then , i am getting output 1,2,3,4,5,6,7,null. why it is not print 8 in ... View Questions/Answers

two select queries shouldn't depend on each other  September 28, 2011 at 4:11 PM
i want to write two select queries such that both queries shouldn't depends on each other .or how can i re-write this query? can i write this without using where, where in, where exist? or can i use AND to this query? SELECT link_id, COUNT(*) FROM ... View Questions/Answers

problem in using getKeyCode()  September 28, 2011 at 1:50 PM
i am working with the jlist...while i was trying to use the arrow keys in the keyboard to select the values in the list it is not working properly...the code which i used is given below.... if (evt.getKeyCode() == KeyEvent.VK_DOWN) { // Do stuff. if (jList.getSelectedInd... View Questions/Answers

turbo C prog.  September 28, 2011 at 1:30 PM
Is is possible print ASCII value of a alphabets using turbo C prog. ... View Questions/Answers

package:  September 28, 2011 at 8:33 AM
i hv created created a package and save it into D directive and also set permanent path when i compile it ,it compile successfully but it can't run with following command: java mypackage.classname what's problem ? ... View Questions/Answers

package:  September 28, 2011 at 8:33 AM
i hv created created a package and save it into D directive and also set permanent path when i compile it ,it compile successfully but it can't run with following command: java mypackage.classname what's problem ? ... View Questions/Answers

How to extend spring entity objects and be able to cast.  September 28, 2011 at 12:19 AM
How do I extend an existing spring 3 entity object without throwing casting exceptions? I need to add a method to a base class The existing object is: @RooJavaBean @RooToString @RooEntity public class A { and the child is: public class ASub extends A { Currently I get:... View Questions/Answers

How to generate XML from XSD?  September 27, 2011 at 6:51 PM
Hi Experts, I have a xsd with me. I want to generate XML files based on the XSD with fields filled out from the database tables. Please Help me out?? ... View Questions/Answers

java jsp  September 27, 2011 at 4:56 PM
it is : javax.servlet.jsp only but getting error wt is reason? ... View Questions/Answers

i have got error while compiling simple tag handler  September 27, 2011 at 4:30 PM
javac.servlet.jsp not found! tell me what are the jar files required to run simple tag handler class ... View Questions/Answers

length of etag  September 27, 2011 at 3:30 PM
etag header in http - Does the HTTP protocol specify a max length for the ETag? ... View Questions/Answers

How to Generate XML files from the data in DB tables?  September 27, 2011 at 3:05 PM
HI Experts, I have a doubt. I have a table say Pest. My task is to generate XML file with all the fields in table and store it to database.Please help me.I am new to XML. Is there any tools to generate xml files? ... View Questions/Answers

replace special characters in html  September 27, 2011 at 2:54 PM
How can i replace the special characters in HTML? ... View Questions/Answers

javaprograms  September 27, 2011 at 2:37 PM
define class employee with following specification data members : name,empno,basic, da,hra,gross,tax 1) write a parameterized constructor to inintialise the data members 2) to accept details of an employee 3) compute annual salary,if salary exceeds 180000 they " income tax to be paid " ... View Questions/Answers

javaprogr  September 27, 2011 at 2:29 PM
write a menu driven program to accept from the user and check wheter it is a composite number and a duck number ... View Questions/Answers

javaprograms  September 27, 2011 at 2:26 PM
write GCD program in java ... View Questions/Answers

javaprograms  September 27, 2011 at 2:26 PM
write GCD program in java ... View Questions/Answers

javaprograms  September 27, 2011 at 2:21 PM
write a program given string is unique string or not ... View Questions/Answers

javaprograms  September 27, 2011 at 2:21 PM
write a program given string is unique string or not ... View Questions/Answers

javaprograms  September 27, 2011 at 2:20 PM
check given number is duck number or not in java program ... View Questions/Answers

how to write store procedure in sql  September 27, 2011 at 12:54 PM
How to write a store procedure in SQL Server? ... View Questions/Answers

How to create dynamic array in C?  September 27, 2011 at 11:34 AM
How to create dynamic array in c programming language? ... View Questions/Answers

linking php page to other php pages  September 27, 2011 at 11:32 AM
How to link the PHP Page to other PHP page? ... View Questions/Answers

how to send sms on mobile  September 27, 2011 at 11:24 AM
send sms on mobile by using struts + spring ... View Questions/Answers

Java Util Zip. Zip files/folders inside a folder, without zipping the original source folder.  September 27, 2011 at 12:59 AM
import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public class FolderZipper { public static void main() throws Exception { zipFolder("Temp", "Final... View Questions/Answers

server status  September 26, 2011 at 11:49 PM
How to check the apache server status in unix machine ... View Questions/Answers

How to store an image in database  September 26, 2011 at 8:56 PM
Hi........... How to store an image in postgresql using a query. I mean tell me the way to store an image using datatype. I am using the datatype bytea but tell me how to insert the image? plz help........................ ... View Questions/Answers

how to make a label left alignment?  September 26, 2011 at 7:09 PM
how to make a label left alignment? ... View Questions/Answers

How to Store Image using JSF  September 26, 2011 at 5:54 PM
Hi How to upload images in db. using jsf. For jsf photo uploading .. I used this one code for upload image.. But this code haven't option to upload an... View Questions/Answers

online voting  September 26, 2011 at 5:17 PM
can i have the code for online voting in java ... View Questions/Answers

online voting  September 26, 2011 at 5:16 PM
can i have the code for online voting in java ... View Questions/Answers

hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.  September 26, 2011 at 4:28 PM
ConnectionProvider.java import java.util.*; import java.io.*; import java.sql.*; class ConnectionProvider { static Properties prop; static { prop=new Properties(); try { prop.load(new FileInputStream("db.Properties")); }catch(Exception e) { System.out.println(e); } } pub... View Questions/Answers

dijo  September 26, 2011 at 4:21 PM
Hi I m having a script using dojo which generate the child fields dynamically whenever i click a button.Now i have to fetch the data inside that page dynamically...can anyone help me in this?? Thanks in advance ... View Questions/Answers

Event listener in JavaScript with example  September 26, 2011 at 3:52 PM
What is event listener in JavaScript? Can anyone please post an example of Event listener?? Thanks in Advance!! ... View Questions/Answers

How to convert entity character to html character  September 26, 2011 at 2:47 PM
How to convert entity character to html character? ... View Questions/Answers

Algorithms  September 26, 2011 at 12:59 PM
Java has default sort method(Collection.sort), Then why we still use various sorting algorithms? ... View Questions/Answers

Values to listbox  September 26, 2011 at 12:54 PM
I have two textboxes by the name street and city.I have an add button and a name listbox. When I enter street and city and press the add button ,all the names of the people residing there are listed in listbox. Plz help me out with the coding in java script...plz.... ... View Questions/Answers

Infinite loop in c  September 26, 2011 at 12:39 PM
When i type my variable as a uint32_t, it returns the infinite loop why? uint32_t i; ... View Questions/Answers

How to compile & get output for JSP  September 26, 2011 at 12:39 PM
HI My Roseindia friend has given the answer as RUN the JSP How to run the JSP Program? But what i mean is that i created a small jsp program in HTML and saved as Hello.jsp. And next i opened the Browser and got the necessary path and i clicked on it but it gave me nothing.I should get "Hello" in ... View Questions/Answers

apache cxf+hibernate+spring  September 26, 2011 at 12:31 PM
how to connect to the database(here am using hibernate+spring)from apache cxf(contract-last).pls provide directory structure? ... View Questions/Answers

cxf example  September 26, 2011 at 12:29 PM
how to develop apache cxf contract-first application in eclipse with out using mavin tool(pls provide step by step procedure) ... View Questions/Answers

javascript prompt alert  September 26, 2011 at 11:05 AM
Sending a prompt alert using a JavaScript function.. ... View Questions/Answers

javascript timer countdown  September 26, 2011 at 10:35 AM
How to disable/enable the javascript timer countdown? ... View Questions/Answers

i need a java code for finding typemismatch in an editor.  September 26, 2011 at 9:26 AM
hi im sriram, i need a java code in such a way that typemismatch code is embedded with the simple java editor. the sample output is shown below !... View Questions/Answers

how to make a button left justification which is at right end  September 26, 2011 at 8:25 AM
how to make a button left justification which is at right end thanks in advance ... View Questions/Answers

check box left justification  September 26, 2011 at 8:04 AM
how to make a check box left justification which is at right end? thanks in advance ... View Questions/Answers

JSP help  September 26, 2011 at 3:02 AM
Hi i am using jsp,html and mysql. I am displaying one question & their 4 options per page. For that i have one label for question & radiobuttonlist for their answers.There is next button. after clicking next button i want to display another record. so i want first record to be display in ... View Questions/Answers

java  September 26, 2011 at 1:31 AM
what is the difference between abstract and interface ? ... View Questions/Answers

Retrive the data from the table in data base using jdbc  September 26, 2011 at 12:50 AM
Retrive the data from the table in data base using jdbc ... View Questions/Answers

We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only  September 25, 2011 at 11:50 PM
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only ... View Questions/Answers

We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only  September 25, 2011 at 11:50 PM
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only ... View Questions/Answers

How to retrieve image from database  September 25, 2011 at 9:36 PM
hi........ How to retrieve image from database when it is stored. I have stored image in postgresql and want to retrieve in java form. Can u tel me hw to do? I am trying n able to do also but it retrieves as a string and not complete image can u tel me the conversi... View Questions/Answers

Database  September 25, 2011 at 5:16 PM
hi i don't know any thing about database please help me and explain it for me . thank you ... View Questions/Answers

Airbrush Tattoos  September 24, 2011 at 5:07 PM
**Deleted by admin **, we are a direct importer and vendor of small business equipment & home goods. Buy at wholesale prices : Aquarium Supplies, Bicycle Motor, Business & Industrial, Exercise Fitness Equipment & much more. ... View Questions/Answers

Led Track Lighting  September 24, 2011 at 4:57 PM
Led Track Lighting **Deleted by admin **, we are a direct importer and vendor of small business equipment & home goods. Buy at wholesale prices : Aquarium Supplies, Bicycle Motor, Business & Industrial, Exercise Fitness Equipment & much more. ... View Questions/Answers

I am new to java applets. When i run this code on applet viewer status is displayed that applet not initialized  September 24, 2011 at 4:45 PM
import java.awt.*; import java.awt.event.*; import java.applet.*; public class Textfields extends Applet implements ActionListener { TextField tname,tpwd; Label lname,lpwd; public void init() { lname =new Label("Username:"); lpwd=new Label... View Questions/Answers

plz help me any one as fast as u can  September 24, 2011 at 4:39 PM
A thief Muthhooswamy planned to escape from **** jail. Muthhooswamy is basically a monkey man and he is able to jump across the wall. He practiced to cross a wall and he is able to jump 'X' meters, but because of slippery wall he fall 'Y' meters after each jump. To escape from jail he has to cros... View Questions/Answers

a java question  September 24, 2011 at 4:36 PM
A thief Muthhooswamy planned to escape from *** jail. Muthhooswamy is basically a monkey man and he is able to jump across the wall. He practiced to cross a wall and he is able to jump 'X' meters, but because of slippery wall he fall 'Y' meters after each jump. To escape from jail he has to cross... View Questions/Answers

java  September 24, 2011 at 2:46 PM
what are JAVA applications development tools? ... View Questions/Answers

java programs  September 24, 2011 at 2:06 PM
i need help in understanding the whole concept of the 13 java programs that i hav...here r de programs.. int i,j,m,n; m=Integer.parseInt(args [0]); n=Integer.parseInt(args [1]); System.out.print("Factorial is:"); for(i=m;i<=n;i++) { int fact=1; ... View Questions/Answers

excel file using JDBC java.?  September 24, 2011 at 12:40 PM
hey, i am a telecomm. engineer , and i am try to develop a tool which reads from a excel file and then appends the same excel file as required. i am writing my code on notepad and have successfully used JDBC ODBC to read from excel file. i am not able to append it using executeupdate query. can y... View Questions/Answers

ftp connection error php  September 24, 2011 at 12:21 PM
Getting a ftp connection error in php.. ... View Questions/Answers

session update in php  September 24, 2011 at 11:59 AM
How to session update in php? ... View Questions/Answers

html menu button drop down  September 24, 2011 at 11:49 AM
How to create a menu button in HTML? ... View Questions/Answers

heat transfer  September 24, 2011 at 10:09 AM
A rectangular plate of size 1 m x 1.5 m has its three sides maintained at 10 ?°C and the forth side maintained at 110 ?°C. Find out the steady state temperature distribution of the plate for a 20x30 mesh using finite difference method. Submit a tabulation of (x, y, Tfd, ) and the c... View Questions/Answers

how to make this pattern???  September 23, 2011 at 9:58 PM
how to make following pattern in javascript? ** * ** ... View Questions/Answers

hibernate  September 23, 2011 at 8:37 PM
how to execute a sequence(in database) from Hibernate program or java program ... View Questions/Answers

how to make a field left justification  September 23, 2011 at 4:41 PM
how to make a field left justification.need code.thanks in advance ... View Questions/Answers

Create xsd files from database tables  September 23, 2011 at 4:28 PM
Hi, I work on a Java JEE project. We have now introduced the creation of DTOs from xsd files with JAXB. At the moment we write the xsd files representing a database table structure by hand. Does anyone knows of a tool that can create xsd automatically from given database tables ? ... View Questions/Answers

Blocking a web site using java program  September 23, 2011 at 3:56 PM
How to block a url typed in browser using java program? ... View Questions/Answers

On line examination project  September 23, 2011 at 3:37 PM
Hi, I am doing project in jsp,nam eis online examination project. I am facing some problems. In my database several questions. There should be one question in one page. And 2 button previous and next. If i m click on next next question should come. And click on previous then previous question com... View Questions/Answers

upload and download video  September 23, 2011 at 2:59 PM
how to upload and download video in mysql databse using jsp? plz give me demo of this with table... ... View Questions/Answers

GXT Grid moving right side after right alighnment  September 23, 2011 at 12:32 PM
I have created one gxt grid.there are 7 column and last column align as RIGHT .so grid width is moving right side 2px. so how can i fix that? ... View Questions/Answers

file  September 23, 2011 at 10:40 AM
Hi,how can delet some of the information of the file? ... View Questions/Answers

javascript questions on date  September 23, 2011 at 10:28 AM
how to add some days to an existing date? ... View Questions/Answers

to store data entered in html page  September 22, 2011 at 11:20 PM
i want to a job site, in this site user can registered by a form.. in this form there are his information... i use two forms for it 1)for user name,password, submit button 2)for text field,reset and submit botton in form 1 after entering username and password by clicking submit we have to move to... View Questions/Answers

ajay  September 22, 2011 at 8:56 PM
can anyone tell me how intrusion detection system works. and how it can be developed by using java ... View Questions/Answers

java  September 22, 2011 at 7:25 PM
why java does not support inheritance? ... View Questions/Answers

MYSql with struts  September 22, 2011 at 7:04 PM
How to write insert and update query in struts by using mysql database? ... View Questions/Answers

download excel  September 22, 2011 at 5:58 PM
hi i create an excel file but i don't i know how to give download link to that excel file please give me any code or steps to give download link ... View Questions/Answers

I have doubt in jsp file.  September 22, 2011 at 5:43 PM
I have doubt in jsp file. In a jsp file, there should be two buttons. One is start and other is stop. When we click on start then only stop should be enabled. Other wise it should be disabled. When we click on start button, stop should be enabled and start should be disabl... View Questions/Answers

how to get values for same column name from two different tables in SQL  September 22, 2011 at 4:27 PM
how to get values for same column name from two different tables in SQL???? column name is emp_id loacated in these two tables company,employee ... View Questions/Answers

How to compile and run the JSP  September 22, 2011 at 3:59 PM
Hi Kindly tell me how to run and compile JSP small Program using Tomcat as webserver. I created small program HELLO JSP in HTML and compile the program but it is saying Class o r interface should be there.SO what is the problem and pl rectify the problem ... View Questions/Answers

Waltido  September 22, 2011 at 3:48 PM
How do i create background images for web page? ... View Questions/Answers

how to make a program on array  September 22, 2011 at 2:14 PM
When you make a program on array that the element will move downward and upward and when you input twice 0 then thats the time that it will not move. pls. give me a formula...tnx:) ... View Questions/Answers

Struts  September 22, 2011 at 12:25 PM
I want to create tiles programme using struts1.3.8 but i got jasper exception help me out. ... View Questions/Answers

Displaying error on the Same form  September 22, 2011 at 10:37 AM
I want to display the errors on the same form(Top of the form) after validation. I am used Div element and Table to display the error messages. It is working properly. But those error messages overlapping the existing contents which developed by the designer. There is a root Div ... View Questions/Answers

I need to display parts of my own website on another website in an iframe  September 22, 2011 at 9:38 AM
I need to display parts of my own website on another website in an iframe. please refer me how do i do this ... View Questions/Answers

file  September 22, 2011 at 8:36 AM
Hi,what can delet some of the information of the file? ... View Questions/Answers

PLZ Need some help JAVA...HELP !!  September 22, 2011 at 5:07 AM
Create a class names Purchase Each purchase contains an invoice number, amount of sale and amount of sales tax. Include set methods for the invoice number and sale amount. Within the set() method for the sale amount, calculate the sales tax as 5% of the sale amount. also include a display method ... View Questions/Answers

PLZ Need some help on the 2nd part of this question...Someone please help !!!!  September 22, 2011 at 3:56 AM
write an application that displays a menue of three items in a restaurant as follows: 1.Cheeseburger 4.99 2.Pepsi 2.00 3.Chips 0.75 prompt the user to choose an item using the number (1,2,or 3) that corresponds to the item, or to enter 0 to quit the application.after the user makes the first sele... View Questions/Answers

coding in java  September 21, 2011 at 8:29 PM
write a code to calculate the product of odd integers from 1-15 ... View Questions/Answers

3D PASSWORD  September 21, 2011 at 6:58 PM
HI i would like to know abt where the 3d password in india used and also few info about the 3d password pls rply some1 as soon as possible ... View Questions/Answers

How to move a value in array?  September 21, 2011 at 6:51 PM
Enter value at the End: 5 Display Array Elements Index at [0]0 Index at [1]0 Index at [2]0 Index at [3]5 Enter value at the End again 8 Display Array Elements Index at [0]0 Index at [1]0 Index at [2]5 Index at [3]8 Enter value at the beginning: 7 Index at [0]7 Inde... View Questions/Answers

How to move a value in array?  September 21, 2011 at 6:51 PM
Enter value at the End: 5 Display Array Elements Index at [0]0 Index at [1]0 Index at [2]0 Index at [3]5 Enter value at the End again 8 Display Array Elements Index at [0]0 Index at [1]0 Index at [2]5 Index at [3]8 Enter value at the beginning: 7 Index at [0]7 Inde... View Questions/Answers

DMCA.com