Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

extract data from excel and display it in browser(inthe form of table) with some modifications (by adding heaer and footer) using JSP,ApachePOI  December 27, 2010 at 11:29 AM
Pplease anybody post a jsp program that reads data from microsoft excel and displays it in a table formatin the browser....(using apache tomcat poi) ......my project is that i should enter an excel file name and it should read that file and display in the form of table in webrowser by using jsp,a... View Questions/Answers

with a different number, what’s the problem  December 27, 2010 at 11:29 AM
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem? ... View Questions/Answers

with a different number, what’s the problem  December 27, 2010 at 11:29 AM
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem? ... View Questions/Answers


execute a PHP script using command line  December 27, 2010 at 11:28 AM
How can I execute a PHP script using command line? ... View Questions/Answers

mysql_fetch_object and mysql_fetch_array.  December 27, 2010 at 11:27 AM
What is the difference between mysqlfetchobject and mysqlfetcharray? ... View Questions/Answers

Uploaded File Information in the Receiving Script?  December 27, 2010 at 11:26 AM
How To Get the Uploaded File Information in the Receiving Script? ... View Questions/Answers

meant by urlencode and urldecode  December 27, 2010 at 11:25 AM
What is meant by urlencode and urldecode? ... View Questions/Answers

differences between require and include, include_once.  December 27, 2010 at 11:25 AM
What are the differences between require and include, include_once? ... View Questions/Answers

FORM Tag Correctly for Uploading Files.  December 27, 2010 at 11:24 AM
How To Write the FORM Tag Correctly for Uploading Files? ... View Questions/Answers

define a constant.  December 27, 2010 at 11:23 AM
How do you define a constant? ... View Questions/Answers

special set of tags do in PHP.  December 27, 2010 at 11:22 AM
What does a special set of tags do in PHP? ... View Questions/Answers

Persistent Cookie  December 27, 2010 at 11:22 AM
What Is a Persistent Cookie? ... View Questions/Answers

difference between $message and $$message  December 27, 2010 at 11:21 AM
What is the difference between $message and $$message? ... View Questions/Answers

repair a MySQL table.  December 27, 2010 at 11:20 AM
How can we repair a MySQL table? ... View Questions/Answers

days between two given dates using PHP  December 27, 2010 at 11:19 AM
How can we know the number of days between two given dates using PHP? ... View Questions/Answers

PEAR in php?  December 27, 2010 at 11:18 AM
What is meant by PEAR in php? ... View Questions/Answers

Session  December 27, 2010 at 11:17 AM
What Is a Session? ... View Questions/Answers

What's PHP ?  December 27, 2010 at 11:05 AM
What's PHP ? ... View Questions/Answers

position of a link  December 27, 2010 at 11:02 AM
I have 10 links which links to a table if i click the first one the table appears at the top likewise if i click the 10th position of a link the table appears at the bottom i want it to be display at the top pls help me.Each link if i click it should display in the same position ... View Questions/Answers

strings  December 27, 2010 at 10:45 AM
read a sentence and encrypt with stratergy of replacing character with immediate preeceding character ... View Questions/Answers

Pagination  December 27, 2010 at 10:30 AM
pagination in jsp ... View Questions/Answers

SQL Alter Table  December 27, 2010 at 12:12 AM
What is alter table statement in sql? Can u please show me an example of SQL Alter Table?? Thanks! ... View Questions/Answers

java errors  December 26, 2010 at 11:40 PM
when i am compiling the java program it is giving that the file can not be read what does it mean.. and what i have to do to remove that error.. please reply me soon ... View Questions/Answers

iPhone PDF UIWebview  December 26, 2010 at 10:42 PM
In my iPhone application i am trying to load the pdf file on UIWebview.. but some how it's not working. Please suggest. Code that i used is as follow... NSString* filePath = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"pdf"]; NSData* data = ... View Questions/Answers

NEED A PROG  December 26, 2010 at 10:29 PM
whats the program to add,delete, display elements of an object using collecions. without using linked list ... View Questions/Answers

@property nsinteger  December 26, 2010 at 7:00 PM
Hi, How to declare @property nsinteger? Thanks ... View Questions/Answers

getting int values from form and insert it in data base in jsp  December 26, 2010 at 5:47 PM
how can i get form input such as id convert it to int insert it into database ... View Questions/Answers

struts ebook  December 26, 2010 at 5:01 PM
please suggest a good ebook for struts>........... ... View Questions/Answers

Message Context in AXIS  December 26, 2010 at 11:47 AM
Is there any method in Axis classes to het the size of IN and OUT Message Conetext ? ... View Questions/Answers

java program  December 26, 2010 at 8:31 AM
Write a program to find the difference between sum of the squares and the square of the sums of n numbers? ... View Questions/Answers

Web Technology  December 26, 2010 at 6:53 AM
Scenario: Online Shopping Portal XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or ... View Questions/Answers

Java program  December 26, 2010 at 6:45 AM
Write a program which performs to raise a number to a power and returns the value. Provide a behavior to the program so as to accept any type of numeric values and returns the results. ... View Questions/Answers

JAVA SERVER PAGE  December 25, 2010 at 11:41 PM
hi, i want to know what is the need of JSP......and i want to get clear about all tech related to java instead of webapplications(Dynamic web project). because ajax,jsp,servelet..many tech like this i heard ....but i don't know when to use , where to use ... View Questions/Answers

having difficulties in dynamically adding textbox with datepicker  December 25, 2010 at 10:09 PM
hi all, I need help! Right now the problem is, when a button is click, it will run a function call addMoreDate(TableID). By running this function it will help me add new row of textbox. And also able to use datepicker for the textbox as well. However, I am able to add and display the text... View Questions/Answers

How to use Java Beans in JSP?  December 25, 2010 at 4:58 PM
Hi, I have developed a employee bean in Java: public class Employee{ private String name; private String code; ..... } Please tell me how I can use Employee Java bean in JSP page? Thanks ... View Questions/Answers

javabean in jsp  December 25, 2010 at 4:49 PM
hi.. how to get the table values in jsp using javabean.????? that means i have a html prg that accepts table name and javabean prg to set the values and how to write jsp prog to get the vaues and display on browser????? ... View Questions/Answers

for what value of i the loop executes for infinite times if i prove a condition like ( i !=i+0)  December 25, 2010 at 1:09 PM
for what value of i the loop executes for infinite times if i prove a condition like ( i !=i+0) ... View Questions/Answers

how to creat a new program  December 25, 2010 at 12:32 PM
what is use of abs class in realtime projects.. how to creat the program step by step ... View Questions/Answers

jsp connection to db2  December 25, 2010 at 10:08 AM
hello friends i have a project to do in jsp using db2 database can anyone please help me in connecting a jsp page to db2 database?? please frienda help me!!! ... View Questions/Answers

Java Future  December 25, 2010 at 2:19 AM
Hi friends !!!! I want to know the future of Java . as i want to do this soon....... ... View Questions/Answers

JVM  December 24, 2010 at 8:02 PM
JVM is platform independent or not.. ... View Questions/Answers

MultipleInheritance  December 24, 2010 at 7:57 PM
Why Java doesn't have multiple inheritance somebody told that depends on ambiguity problem but i need clear things .... ... View Questions/Answers

how to call list objects as string into my sql query?  December 24, 2010 at 6:42 PM
how to call list data as string into my sql query so that i can retrieve all values from database? List has data retrieved from xml(using xmlSAXparser). ... View Questions/Answers

nsstring compare  December 24, 2010 at 6:15 PM
HI, How to compare two NSString objects? Give me code for nsstring compare. Thanks ... View Questions/Answers

open pdf in uiwebview  December 24, 2010 at 5:05 PM
Hi, How to open pdf in uiwebview? Thanks ... View Questions/Answers

string  December 24, 2010 at 5:02 PM
java prgm to find total occurence of a given string pattern in a sentence ... View Questions/Answers

string  December 24, 2010 at 5:02 PM
java prgm to find total occurence of a given string pattern in a sentence ... View Questions/Answers

strings  December 24, 2010 at 4:59 PM
read sentence and convert all the word into capital case like camelcase ... View Questions/Answers

string program  December 24, 2010 at 4:56 PM
reads sentence and find the average length of word in it. ... View Questions/Answers

string prgm  December 24, 2010 at 4:54 PM
write a java program which read a sentence and print occurence of each vowels in it seperatly ... View Questions/Answers

Uninstall Xcode  December 24, 2010 at 2:45 PM
Hi, How to uninstall Xcode? Thanks ... View Questions/Answers

button tag  December 24, 2010 at 2:37 PM
how do i change button color to black. meant to say i want black button with white text on it ... View Questions/Answers

How do we create custom component  December 24, 2010 at 2:25 PM
How do we create custom component in JSF. I couldnot find any category for JSF questions ... View Questions/Answers

uinavigationcontroller back button not showing/ missing  December 24, 2010 at 1:51 PM
Hi, In my application i am calling another view using pushviewcontroller from my root view but ... somehow in the next view uinavigationcontroller back button not showing or missing. i tried all the methods to hide or show the backbarbutton item. My application is the uinavigation based... View Questions/Answers

Ask about looping in database  December 24, 2010 at 1:43 PM
Good afternoon, I want to ask something, Now i have 2 tables,name of the table is RULE and Heritage. Table heritage= name of field code and name,value like this ==> | no | code | name | | 1 | A1 | BOY | ... View Questions/Answers

stop the running hidden server  December 24, 2010 at 1:35 PM
Port 8080 required by Tomcat v6.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). how to stop tis server?? ... View Questions/Answers

advance java  December 24, 2010 at 1:11 PM
what is servlet context?why its used?in what situation we should use it in our program? ... View Questions/Answers

File  December 24, 2010 at 12:33 PM
How to find all files in our local computer using java? ... View Questions/Answers

Series of long Integers  December 24, 2010 at 11:43 AM
write a program to print the series of long integer number? Write a program in java to find out whether the given number is prime or not ... View Questions/Answers

Configuring Log4J  December 24, 2010 at 11:33 AM
Is it possible to configure xml file in such a way that it has different logging levels for diferent packages in java through Log4J ? ... View Questions/Answers

can we update table in hibernate with out primary key in table?  December 24, 2010 at 11:26 AM
can we update table in hibernate with out primary key in table? ... View Questions/Answers

jsf table  December 24, 2010 at 11:07 AM
hi, my question is as follows : i am using front end as jsp and back end as mysql. I have a database named as mydatabase.it contains a table named as customer. customer table has following columns : customerid(varchar),customername(varchar),city(varchar),phone(integer) i have inserted 3 records i... View Questions/Answers

J2ME  December 24, 2010 at 11:03 AM
how to accept time in textField using constraints in case of J2ME ... View Questions/Answers

J2ME  December 24, 2010 at 10:59 AM
how to use form and canvas is same screen in J2ME ... View Questions/Answers

hibernate  December 24, 2010 at 10:33 AM
what is hibernate listeners? ... View Questions/Answers

java program  December 24, 2010 at 8:57 AM
arithmetic operation prm using interface concepts in java ... View Questions/Answers

Pick at Random  December 24, 2010 at 5:02 AM
I am working on a page to gather all the names of the people, put them into a list, then shuffle the names and spit them back out. So far I've gotten it to accept the name entry into the array, and can figure out how to display one name. The problem is how do I get javascript to remove th... View Questions/Answers

question about applet  December 24, 2010 at 1:07 AM
how to run java applet on wed browser ... View Questions/Answers

core java  December 23, 2010 at 9:28 PM
what does the term web container means exactly?please also give some examples ... View Questions/Answers

core java  December 23, 2010 at 9:26 PM
what is the Difference between collections and reference type arrays?explain ... View Questions/Answers

My first struts 2 program  December 23, 2010 at 8:27 PM
Hi, Please help me for my first struts 2 example. I have done all setting. But I would like to know how to pass values from one page to another. Details: I am trying my first Struts 2 example program. I want to pass values from first loginpage.jsp to displaypa... View Questions/Answers

PALINDROME  December 23, 2010 at 8:03 PM
how to find palindrome of a number WITHOUT using a string ?? ... View Questions/Answers

uiwebview zoom  December 23, 2010 at 8:03 PM
Hi, I want to zoom UIWebview programmatically. Please provide me code. Thanks ... View Questions/Answers

java  December 23, 2010 at 7:49 PM
Create Book having following attributes: Book ID, Title, Author and Price. Create Periodical which has the following additional attributes: Period (weekly, monthly etc...) .Add a behavior to modify the Price and the Period of the periodical. Display the updated periodical details.... View Questions/Answers

java.util.stingtokenizer.nextToken(unknownsource). error  December 23, 2010 at 6:50 PM
Hi all, I am reading text file with cama saparater. i am using stokenizer to get the filed by filed in line. i am getting the eorror when any of the non manadatoy filed is blank . the error message is: at java.util.stingtokenizer.nextToken(unknownsource). can any boady suggest me how t... View Questions/Answers

UIWebView call javascript function  December 23, 2010 at 6:37 PM
Hi, I am developing web browser for iPhone and iPhone devices. I want to call the java script in my html page from UIWebView. Please let's know how to call JavaScript function from objective c code? Thanks ... View Questions/Answers

appdelegate reference  December 23, 2010 at 6:24 PM
Hi, How to get the reference of appdelegate in my view controller class. Thanks. ... View Questions/Answers

io  December 23, 2010 at 6:19 PM
create a meanu based text editor in java having features of creating file,viewing file,deleting file,renaming file,copying file and cutting file. ... View Questions/Answers

Is there any inbuilt API in netbeans to know about selection in editor?  December 23, 2010 at 6:17 PM
Eclipse is having ISelction base interface for User Selection & it also provides concrete classes for that so as to know selection info in editor. how can we achieve this in netbeans? ... View Questions/Answers

java code 7  December 23, 2010 at 6:05 PM
Develop the program calculatePipeArea. It computes the surface area of a pipe, which is an open cylinder. The program accpets three values: the pipes inner radius, its length, and the thickness of its wall. ... View Questions/Answers

advance java question  December 23, 2010 at 4:27 PM
how to develop servlets without using any IDE such as netbeans.. ... View Questions/Answers

Unable to install Subversion plugins in MyEclipse  December 23, 2010 at 4:20 PM
Thanks for your reply Deepak. I am using MyEclipse Blue Edition 8.6 M1. I tried adding Subversion plugins and got error. This is the path i followed: Help --> MyEclipse Configuration center --> Sofware I took screenshots of the error and have an attachment with me but i do... View Questions/Answers

Nested Ajax--not getting output  December 23, 2010 at 4:16 PM
Hi everyone... I have two.jsp page from that , with the help of ajax i have called three.jsp. So, i have used DIV in my jsp pages . on button click,It gives me my desired answer. Same,in next time running...when i run One.jsp , with the help of ajax when i call two.jsp....... View Questions/Answers

Java Question  December 23, 2010 at 3:58 PM
how can we increment the value of database SQL by using the java servlet program ? plz help me ... View Questions/Answers

Retain jsp values  December 23, 2010 at 3:27 PM
how to retain a jsp values without using session and cookies? ... View Questions/Answers

Fetching the exact data from file using java  December 23, 2010 at 3:20 PM
**hi ... i am having one .lst file.. that file consists of instructions and opcodes.. now i want to fetch only the opcode from that file.. could u pls anyone guide me this using java.. my mail id is [email protected]. pls send queries..** ... View Questions/Answers

UIWebview javascript tutorial  December 23, 2010 at 3:17 PM
Hi, How to call javascript function defined in the web page from UIWebview object? Thanks ... View Questions/Answers

LINK  December 23, 2010 at 2:27 PM
Thank you friend.cant we use single click instead of double click and also for four link u has given the example but i have 14 links in that case wat i should do ... View Questions/Answers

id sender uibutton  December 23, 2010 at 2:06 PM
Hi, I want to find which button is clicked based on the id sender when UIButton is clicked. thanks ... View Questions/Answers

print selected checkbox names in array without form tag  December 23, 2010 at 2:03 PM
Hi everyone ... I have problem in my program. I have hashmap i.e. collection , my code is as follows [code] <%! private HashMap<Integer, Domain>domainmap; %> <% ... View Questions/Answers

interface  December 23, 2010 at 12:30 PM
can we extend interface? ... View Questions/Answers

map  December 23, 2010 at 11:37 AM
using map, i want display message based on id selected [both are strings] ... View Questions/Answers

Java Program  December 23, 2010 at 11:36 AM
A Simple program of JSP to Display message, with steps to execute that program ... View Questions/Answers

NSMutableArray Example Code  December 23, 2010 at 10:40 AM
creating and allocating memory to the NSMutableArray in objective c. ... View Questions/Answers

vowels  December 23, 2010 at 9:22 AM
program to count the number of vowels in a given array of characters ... View Questions/Answers

quadratic equation  December 23, 2010 at 9:04 AM
program to find roots of a quadratic equation? ... View Questions/Answers

circle  December 23, 2010 at 8:57 AM
Program to test whether a given point lies inside a circle or not? ... View Questions/Answers

bitwise operators accept type char as operands  December 23, 2010 at 8:54 AM
Why bitwise operators accept type char as operands ... View Questions/Answers

Is the answer 35, 35?  December 23, 2010 at 5:55 AM
int a = 5; int b = 7; int num = 35; while (a < b) { System.out.println(?My age is ? + num); a = a + 1; } ... View Questions/Answers

java  December 23, 2010 at 12:11 AM
write a programe to create command like dir,copy,rename,md,type,copycon,delete. ... View Questions/Answers