Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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 bala.sure87@gmail.com.. 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

io  December 23, 2010 at 12:08 AM
write a program in java to accept a filename from user and print its content on the monitor ... View Questions/Answers

how to connect to MS access database in JSP?  December 22, 2010 at 10:50 PM
how to connect to MS access database in JSP? Any seetings/drivers need to be set or installed before it? Please tell what needs to be done after creating a table with an example. ... View Questions/Answers

How to print list of files in client system  December 22, 2010 at 7:27 PM
have some list of files in server.i just want to print that files in client machine with out opening the file.i give the option for user like printall.if user click printall prints need to come from client system. but i done this functionality in java ,it is giving prints to server printer not to... View Questions/Answers

java  December 22, 2010 at 6:57 PM
Create an Employee class which has methods netSalary which would accept salary & tax as arguments & returns the netSalary which is tax deducted from the salary. Also it has a method grade which would accept the grade of the employee & return grade. ... View Questions/Answers

java  December 22, 2010 at 6:56 PM
Create a Bank class with methods deposit & withdraw. The deposit method would accept attributes amount & balance & returns the new balance which is the sum of amount & balance. Similarly, the withdraw method would accept the attributes amount & balance & returns the new ba... View Questions/Answers

java  December 22, 2010 at 6:56 PM
Create a Bank class with methods deposit & withdraw. The deposit method would accept attributes amount & balance & returns the new balance which is the sum of amount & balance. Similarly, the withdraw method would accept the attributes amount & balance & returns the new ba... View Questions/Answers

stegnography code  December 22, 2010 at 6:30 PM
code for the digital stegnographic technique for the encryption and decryption of image? ... View Questions/Answers

Compressed (ZLIB) Input Stream  December 22, 2010 at 6:30 PM
I have to make call to a web service which will send a compressed (ZLIB) stream back to me. I have to de-compress the same stream and use it further. My problem is that I have to get it done on the client side using JavaScript/Ajax/JQuery etc. ... View Questions/Answers

How to get project path  December 22, 2010 at 6:29 PM
my problem is,i have one jar file,in that one xml is their,i am adding this jar file to my project,my question is how i can open or get that xml path ... View Questions/Answers

In Java how to get size of class and object?  December 22, 2010 at 6:05 PM
In Java how to get size of class and object? ... View Questions/Answers

In Java how to get size of class and object?  December 22, 2010 at 6:04 PM
In Java how to get size of class and object? ... View Questions/Answers

link  December 22, 2010 at 5:22 PM
Thank you Friend.Another think i want to ask is when i click the link the table is displayed and other links were hidden if i want to click the next link i have to refresh the page instead i want to do is when i click the link the table should display and again when i click the link the table sho... View Questions/Answers

install  December 22, 2010 at 5:21 PM
How to install Tomcat7.05 in windowXP. ... View Questions/Answers

JAVA with HTML  December 22, 2010 at 5:04 PM
Hello I want an JAVA example that would convert any UNICODE character OR STRING into its Equivalent HTML Numeric[ASCII] values... Like for character ? it's equivalent value is آ like all the other strings when entered by the USER will give its equivalent va... View Questions/Answers

java web program  December 22, 2010 at 5:01 PM
A stateLess Session Bean program has the following classes: 1 CreateCustomerClient 2 CustomerBean 3 CustomerDeatails 4 CustomerHome 5 CustomerRemote CustomerRemote Class consists of createCustomer , getCustomerDetails, getallCustomerDetai... View Questions/Answers

java and database  December 22, 2010 at 4:36 PM
sir i want to prepare a sign in form and i want to check that user name is exist or not in database if it is exist in database then return it is allready exist otherwise it is registered in data base thank u ... View Questions/Answers

alignment  December 22, 2010 at 4:28 PM
any one help me my problem. my problem is header is not fit in top of the window im using just html page in jsf. thanks in advance ... View Questions/Answers

Design of java form  December 22, 2010 at 4:22 PM
sir can u plz help me i want to design a interactive java form mins some thing diffrent in form is it possible in java if yes then help me thank u ... View Questions/Answers

login form  December 22, 2010 at 4:19 PM
sir my next form consists logout button when i click on it it showing login form but next form window is not closing but the components prepsent in that form are getting clearedup using frameobject.setVisible(false); but how to close it totally....using java awt-swing ... View Questions/Answers

login form  December 22, 2010 at 4:07 PM
sir my next form consists logout button when i click on it it showing login form but next form window is not closing but the components prepsent in that form are getting clearedup using frameobject.setVisible(false); but how to close it totally.... ... View Questions/Answers

Help me  December 22, 2010 at 4:02 PM
HI I am using Tomcat6.0 this is the problem i got wen i run the code , i am using login.html ,login .jsp,login.java and web.xml code java.lang.NullPointerException org.apache.jsp.loginjsp.jspInit(login_jsp.java:23) org.apache.jasper.runtime.HttpJspBase... View Questions/Answers

How to get project path  December 22, 2010 at 3:50 PM
my problem is,i have one jar file,in that one xml is their,i am adding this jar file to my project,my question is how i can open or get that xml path ... View Questions/Answers

Help me  December 22, 2010 at 3:44 PM
HI I am using Tomcat6.0 this is the problem i got wen i run the code java.lang.NullPointerException org.apache.jsp.loginjsp.jspInit(login_jsp.java:23) org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) org.apache.jasper.servlet.JspServletWrapp... View Questions/Answers

alignment for header and footer  December 22, 2010 at 3:41 PM
header and footer alignment is not fit like footer is not fit in bottom some white space is there in jsf, what to do? ... View Questions/Answers

Unable to find Software Updates in Help menu in MyEclipse  December 22, 2010 at 3:35 PM
Hi, I am using MyEclipse for my project. I have to use SVN repository for checking the code and need to install Subclipse plugins to MyEclipse. But I am not getting Software Updates under Help menu, so I couldnt install the corresponding plugins to my eclipse. Can anyone please he... View Questions/Answers

uinavigationcontroller go back  December 22, 2010 at 3:29 PM
Hi, How to go back to the previous view on the navigation controller view. Write code for uinavigationcontroller go back. Thanks ... View Questions/Answers

Apply more than one xsl for single XML  December 22, 2010 at 3:00 PM
How to apply more than one xsl for same xml file? ... View Questions/Answers

how to display action errors in jsp which is in a form list  December 22, 2010 at 1:06 PM
My jsp contains list of forms iterating using display:table, each FORM forms a row. I want to display action errors for individual form in the same row ... View Questions/Answers

iphone mail sending problem  December 22, 2010 at 1:04 PM
Hi, I'm receiving the following error ... while sending mail in my iphone application Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[viewController keyboardWasShown:]: unrecognized selector sent to instance 0x1baa20' any idea .. why i'm getting ... View Questions/Answers

help me in solving this error  December 22, 2010 at 12:52 PM
Hello, i have installed tomcat 6.0, i am getting following error while running application. java.lang.NullPointerException org.apache.jsp.loginjsp.jspInit(login_jsp.java:23) org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) org.apache.jasper.serv... View Questions/Answers

Cron Expression for Cron Triggers  December 22, 2010 at 12:30 PM
Need a cron expression that should trigger after or before n days(will be changing) of first saturday of every month ... View Questions/Answers

crystal report plugin for eclipse  December 22, 2010 at 12:01 PM
Hi, I want to know whether unicode based crystal reports can be generated using jsp.?Also I need the crystal report plugin for eclipse . Thanks ... View Questions/Answers

Java  December 22, 2010 at 11:47 AM
i am giving the string="101",for this output is "5".Please send me the code? ... View Questions/Answers

Java  December 22, 2010 at 11:47 AM
i am giving the string="101",for this output is "5".Please send me the code? ... View Questions/Answers

Getting the string in reverse  December 22, 2010 at 11:44 AM
i am giving the string=" i am sachin".for this output is "sachin am i".please give me the code? ... View Questions/Answers

Getting the string in reverse  December 22, 2010 at 11:44 AM
i am giving the string=" i am sachin".for this output is "sachin am i".please give me the code? ... View Questions/Answers

LINK  December 22, 2010 at 11:25 AM
I have four links which link to a table,if i click one link the table should display in the same page where other links are hidden.Can you please tell me a s ... View Questions/Answers

DMCA.com