Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

File not found  January 4, 2011 at 11:28 AM
byte[] buffer = new byte[totalBytesRead]; try{ FileOutputStream fos = new FileOutputStream(destFolder+emp_code+".zip"); ZipOutputStream zos = new ZipOutputStream(fos); ZipEntry ze= new ZipEntry(destFolder+emp_code+".doc"); zos.put... View Questions/Answers

File not found  January 4, 2011 at 11:14 AM
byte[] buffer = new byte[totalBytesRead]; try{ FileOutputStream fos = new FileOutputStream(destFolder+emp_code+".zip"); ZipOutputStream zos = new ZipOutputStream(fos); ZipEntry ze= new ZipEntry(destFolder+emp_code+".doc"); zos.put... View Questions/Answers

File not found  January 4, 2011 at 11:13 AM
byte[] buffer = new byte[totalBytesRead]; try{ FileOutputStream fos = new FileOutputStream(destFolder+emp_code+".zip"); ZipOutputStream zos = new ZipOutputStream(fos); ZipEntry ze= new ZipEntry(destFolder+emp_code+".doc"); z... View Questions/Answers

Advertisement

File not found  January 4, 2011 at 11:13 AM
byte[] buffer = new byte[totalBytesRead]; try{ FileOutputStream fos = new FileOutputStream(destFolder+emp_code+".zip"); ZipOutputStream zos = new ZipOutputStream(fos); ZipEntry ze= new ZipEntry(destFolder+emp_code+".doc"); z... View Questions/Answers

Problem in uploading java application  January 4, 2011 at 11:02 AM
I have uploaded my java application (folder created under webapps) using Filezilla FtpClient.Application is running in local machine properly.But while trying to access the hosted application it is showing javax.servlet.ServletException: Parse Error in JSP page. The page directive on line 1 has a... View Questions/Answers

swing sms  January 4, 2011 at 9:23 AM
HOW TO SEND SMS MESSAGE FROM SWING USING SQL DATABASE... ... View Questions/Answers

strings123  January 4, 2011 at 8:32 AM
How can I count total chars out of an input string in java or in objective-c? ... View Questions/Answers

iPhone and iPad universal app  January 4, 2011 at 12:01 AM
I am writing a universal application in iPhone and iPad that is not working in iPhone simulator. Though i have tested it in the iPad successfully. On running the application in the device it returns error as given below.. dyld: Symbol not found: _OBJC_CLASS_$_UISplit... View Questions/Answers

Login form and registration  January 3, 2011 at 11:28 PM
I need a complete code for ligin and new user registration form and validation ... View Questions/Answers

WRITE AND TEST  January 3, 2011 at 7:57 PM
WRITE AND TEST PROGRAM TO ACCEPT A STRING? 1).WHICH STARTS WITH 'S' OR 's' 2).ENDS WITH "nd" 3) THE LENGTH OF THE STRING SHOULD BE 10 OR LESS ... View Questions/Answers

Object Oriented  January 3, 2011 at 7:06 PM
C++ is Purely object oriented or not .Then why java called purely object oriented. ... View Questions/Answers

what is the correct format of charAt() function?  January 3, 2011 at 6:59 PM
class prog{ String a[]={"manu is a good girl"}; int count=0; public void cal1(String search){ int i; // String s=search; for(i=0;i<=14;i++){ if(charAt(i)=='a'){ count++; } ... View Questions/Answers

serial port communication using bluetooth in j2me  January 3, 2011 at 6:58 PM
how to make serial port communication using bluetooth in j2me ? what r prerequisites for that? ... View Questions/Answers

serial port communication using bluetooth in j2me  January 3, 2011 at 6:58 PM
how to make serial port communication using bluetooth in j2me ? what r prerequisites for that? ... View Questions/Answers

Creating SDO and SCA Application in eclipse  January 3, 2011 at 6:28 PM
Hello Can u plz suggest me some step by step tutorials to create SDO and SDA applications in eclipse.. and also some introduction about apache tuscany and sample applications using eclipse Thanks in advance Regards Dinesh ... View Questions/Answers

delete multiple row using checkbox  January 3, 2011 at 6:18 PM
how to delete multiple row in a table which is connected to database using checkbox ... View Questions/Answers

delete multiple row using checkbox  January 3, 2011 at 6:18 PM
how to delete multiple row in a table which is connected to database using checkbox ... View Questions/Answers

datbase(sql)  January 3, 2011 at 5:16 PM
EMP EMP_NO NOT NULL NUMBER(4) EMP_NAME VARCHAR(25) DESIGNATION CHAR(4) JOINING_DATE DATE SALARY NUMBER(7,2) DEPT_NO NUMBER(2) DEPT DEPT_NO NOT NULL NUMBER(2) DEPT_NAME VAR... View Questions/Answers

UITabbar height  January 3, 2011 at 5:10 PM
Hi, What is the height of UITabbar? Thanks ... View Questions/Answers

UINavigationController hide navigation bar  January 3, 2011 at 4:19 PM
HI, How to hide the navigation bar of UINavigationController? I have to hide navigation bar of UINavigationController on the click of a button. Thanks ... View Questions/Answers

UIToolBar background image  January 3, 2011 at 3:18 PM
Hi, How to set background image of UIToolBar? Give me code for adding UIToolBar's background image. Thanks ... View Questions/Answers

preparedstmt  January 3, 2011 at 2:53 PM
i declared preparedstatement ps1 as its object and used ps1 while setting data to mysql database but getting an error like "variable ps1 mightnot have been intialised"..give me a solution ... View Questions/Answers

arry based problem  January 3, 2011 at 2:52 PM
{modify this proram in such a way so that it can take input int and char both .and also modify so that input can be given at run time.} public class Insertion{ public static void main(String a[]){ int i; int array[]={17,12,3,6,4,19,200}; System.out.println... View Questions/Answers

arry based problem  January 3, 2011 at 2:51 PM
{modify this proram in such a way so that it can take input int and char both .and also modify so that input can be given at run time.} public class Insertion{ public static void main(String a[]){ int i; int array[]={17,12,3,6,4,19,200}; System.out.println... View Questions/Answers

arry based problem  January 3, 2011 at 2:50 PM
{modify this proram in such a way so that it can take input int and char both .and also modify so that input can be given at run time.} public class Insertion{ public static void main(String a[]){ int i; int array[]={17,12,3,6,4,19,200}; System.out.println... View Questions/Answers

arry based problem  January 3, 2011 at 2:50 PM
{modify this proram in such a way so that it can take input int and char both .and also modify so that input can be given at run time.} public class Insertion{ public static void main(String a[]){ int i; int array[]={17,12,3,6,4,19,200}; System.out.println... View Questions/Answers

arry based problem  January 3, 2011 at 2:43 PM
how to put char type & int types variable in same array.and also what the procedure for giving input to those array at run time. ... View Questions/Answers

arry based problem  January 3, 2011 at 2:43 PM
how to put char type & int types variable in same array.and also what the procedure for giving input to those array at run time. ... View Questions/Answers

using type-2 and type-3 drivers  January 3, 2011 at 2:37 PM
hi friends, If any body knows how to use type-2 driver and type-3 driver please give me code how to use it. thanks in advance. ... View Questions/Answers

Get value in Russian language form .propeties in struts 2.0  January 3, 2011 at 2:31 PM
how to get the Russian language value form BaseAction_ru.properties where key value in russian language and set in utf-8 use struts 2.0 tag. ... View Questions/Answers

how to use Excel Templet to write excel file using java.  January 3, 2011 at 1:59 PM
how to use Excel Templet to write excel file using java. ... View Questions/Answers

java  January 3, 2011 at 1:43 PM
explanation of usage of args in main method ... View Questions/Answers

J2ME  January 3, 2011 at 1:28 PM
how to change the color of the selected date using J2ME. i.e. if i press select by taking the cursor on the date ,the color of that digit should change. ... View Questions/Answers

jdbc-jsp  January 3, 2011 at 11:35 AM
<html> <head> <title>your info mail</title> </head> <body bgcolor=#FAEBD7> <center><u><font color=#1f2e3c>your info mail</font></u></center> <form action="/Insertinfo" method="post"&g... View Questions/Answers

super keyword  January 3, 2011 at 11:12 AM
super keyword explain? ... View Questions/Answers

file download  January 3, 2011 at 9:37 AM
I uploaded a file and saved the path in database. Now i want to download it can u plz provide code ... View Questions/Answers

Can we instantiate abstract class in Java?  January 2, 2011 at 11:32 PM
HI, Can we instantiate abstract class in Java? Thanks ... View Questions/Answers

Excpetion handling for this situation  January 2, 2011 at 11:11 PM
if i have search program and if the search for a particular string fails the method should return an exception or error message. Basically user defined exception, how do i do that? ... View Questions/Answers

nsstring to nsinteger  January 2, 2011 at 10:52 PM
Hi, How to convert nsstring to nsinteger? Thanks ... View Questions/Answers

Integrate tomcat5.5 and JWSDP2.0  January 2, 2011 at 9:24 PM
how do I integrate jwsdp2.0 and tomcat5.5 ... View Questions/Answers

NSString to float conversion  January 2, 2011 at 7:48 PM
HI, I my iPhone and iPad application I have to convert NSString to float. Provide me example of NSString to float conversion. Thanks ... View Questions/Answers

NSString to float conversion  January 2, 2011 at 7:48 PM
HI, I my iPhone and iPad application I have to convert NSString to float. Provide me example of NSString to float conversion. Thanks ... View Questions/Answers

UIWebview javascript callback  January 2, 2011 at 7:07 PM
HI, In my iPhone application I am loading a web page in UIWebView. There is a button on my web page. On button click I want to call the objective c method in my application. Give me good example of uiwebview javascript callback. Thanks ... View Questions/Answers

List of Computer Software  January 2, 2011 at 6:50 PM
Hi, I am looking for the list of Computer programming languages. Provide me the list of Computer Software used these days. Thanks ... View Questions/Answers

intranet mailing system  January 2, 2011 at 6:43 PM
i have a doubt in my mini project i.e., Intranet mailing system. whats the need of this system if we have socket programming using that also we can send messages or information and in UNIX also we have write command to send messages then what is the need of this Intranet mailing ayatem........ pl... View Questions/Answers

loop program  January 2, 2011 at 6:38 PM
please tell me the code for the output 1 2 3foo 4 5bar 6foo 7baz 8 9foo 10 11 12foo 13 14baz 15foo bar 16 17 18foo . .......till 50 ... View Questions/Answers

DBMS  January 2, 2011 at 4:58 PM
Create tables EMP, and DEPT, Write SQL queries for the following : 1. Display each employeeâ??s name and date of joining. 2. Display employees earning more than Rs.5,000. Label the column name â??Emp... View Questions/Answers

java  January 2, 2011 at 4:56 PM
Write a function Model-of-Category for a Tata motor dealers, which accepts category of car customer is looking for and returns the car Model available in that category. the function should accept the following categories "SUV", "SEDAN", "ECONOMY", and "MINI" which in turn returns "TATA SAFARI" , ... View Questions/Answers

Why application server is important?  January 2, 2011 at 3:28 PM
Hi, I have to select the good application server for running my Java based web applications. Which application server or tomcat container is good to run the application. On my website there will be large number of users. Mostly they will be viewing the pages. But they my also provide comm... View Questions/Answers

how do i solve this problem?  January 2, 2011 at 2:29 PM
Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

How can I change UIButton title color?  January 2, 2011 at 2:28 PM
Hi, I have a button in my iPhone/iPad application. I want to change the color of the text when user clicks on it making it selected. Provide me good example code. Thanks ... View Questions/Answers

please help me?  January 2, 2011 at 2:25 PM
Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

pleasa help me?  January 2, 2011 at 2:15 PM
Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

help please?  January 2, 2011 at 2:09 PM
Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

help please?  January 2, 2011 at 2:08 PM
Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

help please?  January 2, 2011 at 2:06 PM
Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

help please?  January 2, 2011 at 2:05 PM
Define a class named Circle with the following properties: List item ? An integer data field named radius with protected access modifier, and a String data field named colour with private... View Questions/Answers

help please?  January 2, 2011 at 1:50 PM
Define a class named Circle with the following properties: ? An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both data fields specify the radius and the colour of the Circle object respectively. Set th... View Questions/Answers

Send email as html with embedded images as background  January 2, 2011 at 12:39 AM
Hi, I am developing a PHP mailing application. I have to send image in the email as attachment. Give me solution for sending image in the email data. Thanks ... View Questions/Answers

Conflict with jQuery scripts  January 2, 2011 at 12:34 AM
Hi, How to avoid Conflict with jQuery scripts while using jQuery with other libraries? Thanks ... View Questions/Answers

Read and write file  January 2, 2011 at 12:28 AM
HI, How to read and write file from Java program? Thanks ... View Questions/Answers

Spring3 integration with Struts2  January 2, 2011 at 12:25 AM
Hi, How I can Integrate Spring3 with Struts2? Give me full code or a running project. Thanks ... View Questions/Answers

HTML5 examples  January 2, 2011 at 12:18 AM
Hello, I am learning HTML 5. I am looking for HTML5 examples to learn in detail with the help of many examples. Please provide me the urls of HTML5 examples. Thanks ... View Questions/Answers

HTML5 audio reference  January 2, 2011 at 12:14 AM
Hi, Tell me the best url to learn HTML5 audio tags with examples. Thanks ... View Questions/Answers

Rest  January 2, 2011 at 12:11 AM
Hi, What is RESTful web services? Thanks ... View Questions/Answers

Thread concept  January 1, 2011 at 11:41 PM
Everytime when i run a multithread program it gives different output: my means of executing the threads in various manners here i have one, two , three threads. At one time it runs one, two , three and on other it runs two, three, one and so on why this happens? can anyone help me thx in advance... View Questions/Answers

Login Project  January 1, 2011 at 11:06 PM
why should get the following compile error LoginForm log=(LoginForm)form. this will get when compile LoginAction class please give suggestion byee ... View Questions/Answers

Loginform  January 1, 2011 at 11:01 PM
hi, why should get the following compile error LoginForm log=(LoginForm)form. this will get when compile LoginAction class please give suggestion byee ... View Questions/Answers

Strange JVM behaviour  January 1, 2011 at 10:11 PM
hi I'm running a java application that is supposed to process a batch of files through some decisioning module. I need to process the batch for about 50 hrs. The problem I'm facing is that the process runs fine for about an hour and then starts to idle. So, I did this - I run the JVM for ... View Questions/Answers

how do i solve this question?  January 1, 2011 at 8:44 PM
1.Define a class named Circle with the following properties: a) An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both data fields specify the radius and the colour of the Circle object respectively. Set ... View Questions/Answers

Creating Exception  January 1, 2011 at 4:50 PM
class Myexception extends Exception{ private int detail; Myexecption(int a){ detail=a; } public String toString(){ return "Myexception["+detail+"]"; } } class Exceptiondemo{ static void Compute(int a) throws Myexception{ System.out.println("Called compute("+a+")"); if(a>... View Questions/Answers

remove all objects from NSMutablearray  January 1, 2011 at 2:54 PM
Hi, How to remove all objects from nsmutablearray? Thanks ... View Questions/Answers

database connectivity  January 1, 2011 at 11:27 AM
how to create database connectivity between HTML and sql server2005? ... View Questions/Answers

iphone artwork size  December 31, 2010 at 10:26 PM
Hi, What is the size of iphone artwork image? Thanks ... View Questions/Answers

please i want someone to answer me pleeeeeeeeeeeeease...  December 31, 2010 at 9:39 PM
Write a JAVA program using 2D array to auto-grade exams. For a class of N students, your program should read letter answers (A, B, C, D) for each student. Assume there are 5 questions in the test. Your program should finally print the grade percentage (out of 100%) of each student, and also... View Questions/Answers

UIButton.frame iPhone  December 31, 2010 at 6:28 PM
please suggest how to set UIButton.frame programmatically ..also how can i add UIButton to UIScrollView dynamically. Thanks for any Help! ... View Questions/Answers

Spring JdbcTemplate and ResultSet is too slow..  December 31, 2010 at 6:25 PM
Hi.. I am using spring jdbctemplate to fetch the records from oracle database. But it is taking too long time to execute a simple select query. The query which is having 400 records is taking around 12 to 15 seconds. I am using json to retrieve that data. But if i exec... View Questions/Answers

in php What the code is to be written for Authentication with Session Control  December 31, 2010 at 6:17 PM
in php What the code is to be written for Authentication with Session Control ... View Questions/Answers

UIButton text color  December 31, 2010 at 5:51 PM
Hi, I have to change the text color of UIButton to black. Give me best code for changing UIButton text color to black. Thanks ... View Questions/Answers

objective c is kind of  December 31, 2010 at 5:43 PM
Hi, Provide me code of objective c is kind of method in objective c. I have to find if a view is kind of UIButton. Thanks ... View Questions/Answers

UIButton selector  December 31, 2010 at 5:26 PM
Hi, How to add selector to perform something when UIButton is clicked? Thanks ... View Questions/Answers

UIButton Highlighted  December 31, 2010 at 5:22 PM
Hi, I am writing an iPhone application. I have to show UIButton Highlighted form my code. Tell me how to make an UIButton Highlighted from Objective C code? Thanks ... View Questions/Answers

UIWebView Zoom in and out  December 31, 2010 at 5:19 PM
Hi, Can anyone give me the example of tap and zoom in and out the pdf loaded on uiwebview?? Thanks! ... View Questions/Answers

using 2D Array  December 31, 2010 at 4:57 PM
Write a JAVA program using 2D Array to auto-grade exams. For a class of N students, your program should read letter answers (A, B, C, D) for each student. Assume there are 5 questions in the test. Your program should finally print the grade percentage (out of 100%) of each student, and also the c... View Questions/Answers

database  December 31, 2010 at 4:10 PM
Create tables EMP, and DEPT, Write SQL queries for the following : Display each employee??s name and date of joining. Display employees earning more than Rs.5,000. Label the column name ??Employee??. Display all employee names and employee numb... View Questions/Answers

dateformat  December 31, 2010 at 4:10 PM
how can we format date using simpledateformat in java ... View Questions/Answers

database(sql)  December 31, 2010 at 4:09 PM
Write SQL queries for the following : Display each employee??s name and date of joining. Display employees earning more than Rs.5,000. Label the column name ??Employee??. Display all employee names and employee numbers in the alphabetical order ... View Questions/Answers

calender applet  December 31, 2010 at 3:08 PM
here is my code im getting errors in 23,37,49lines like cant find symbols constructor,methods e.tc is it the code for calender beside textfield in a java awt.... import java.applet.*; import java.awt.*; import java.awt.event.*; import java.util.*; /* ... View Questions/Answers

J2me AddCommands and Dialog problems  December 31, 2010 at 2:19 PM
can u explain why "back" command is on left side? since it is added after "screen" and its priority is less than screen, and can u tell me "if i had only on command and that command i want to place in right side, how to place it?" one more question "how to stop a dialog from dispose on any softke... View Questions/Answers

Binary Search Tree  December 31, 2010 at 2:09 PM
Question-1 ) Modify the BinarySearchTree class so that the iterators are fail-fast.Test your class with amain method ? Question-2 ) Modify the BinarySearchTree class so that the BinarySearchTree objects are serializable.Test your class with a project that serializable a BinarySearchTree object, ... View Questions/Answers

Select tag to fetch data from oracle database  December 31, 2010 at 1:33 PM
I created a select box having more than one menus in the select box such as regnno, address and name of a student and when regnno is selected from the drop down list by a user then one box will appear where user has to type the regnno, then the user can view the student name and addr... View Questions/Answers

Excel Column change  December 31, 2010 at 12:50 PM
How to change sequence of columns in Excel sheet through Java?? ... View Questions/Answers

update excel sheet using jsp::  December 31, 2010 at 12:45 PM
Hi Sir,... I have a excel sheet for employee details "i retrieve particular datas from given excel sheet and display it into another excel sheet using jsp" ... View Questions/Answers

File Download in jsp  December 31, 2010 at 11:24 AM
file upload code is working can u plz provide me file download ... View Questions/Answers

Use Ordered List In JSP  December 31, 2010 at 8:45 AM
I created a Sting that contains ... . This string is generated dynamically from the db. When I place the string in the jsp, it does not create the ordered list. I can paste that string in the jsp and it works fine. How can I get the string to display properly? ... View Questions/Answers

Pass value of rasio button from jsp page to action class(not conventional problem)  December 31, 2010 at 2:32 AM
Hi, I have a jsp page that has code which goes ike this: <table border="1"> <tbody> <s:iterator value="scheduleList" status="stat" id="id"> <tr> <td><s:radio theme=... View Questions/Answers

using 2D Array  December 31, 2010 at 2:16 AM
Write a JAVA program using 2D Array to auto-grade exams. For a class of N students, your program should read letter answers (A, B, C, D) for each student. Assume there are 5 questions in the test. Your program should finally print the grade percentage (out of 100%) of each student, and also the c... View Questions/Answers

how to send mail to many recipients using jsp,apache  December 30, 2010 at 11:48 PM
hello i am reading and displaying the excel sheet with the help of jsp,apache(poi).now i want to send this jsp page content (web page content which consists of this excel sheet content with some more information that is by adding backgrounds)in body but not as attachment.can we do this .....the l... View Questions/Answers

UIKeyboardBoundsUserInfoKey is deprecated  December 30, 2010 at 9:54 PM
On running my application i am getting a warning as given below... " UIKeyboardBoundsUserInfoKey is deprecated " What is the cause of it?? and what should i use instead of UIKeyboardBoundsUserInfoKey. As i guess it's a older version. Thanks! ... View Questions/Answers

util  December 30, 2010 at 8:27 PM
Write a programe such as whenever any user enter the name of a country it displays the current date and time and ist also? ... View Questions/Answers

DMCA.com