Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

problem related to onSubmit() method  December 22, 2010 at 11:24 AM
Hello, I am developing application.when i submit form at that time formBacking() method is call...Instead of that onSubmit() should have to call .... please help me ... View Questions/Answers

connect netbeans with oracle  December 22, 2010 at 9:48 AM
how to connect netbeans with oracle ... View Questions/Answers

Tabbed in java  December 22, 2010 at 9:28 AM
hello sir i want to use tabbed in my project and i want that if i clicked one tabbed then open one form and if i click another tabbed then it open another form can plz help me Thank you ... View Questions/Answers

Tabbed in java  December 22, 2010 at 9:28 AM
hello sir i want to use tabbed in my project and i want that if i clicked one tabbed then open one form and if i click another tabbed then it open another form can plz help me Thank you ... View Questions/Answers

sql filestream image  December 22, 2010 at 6:01 AM
I have a filestream table with varbinary (max) column that I want to pull and show on a jsp page. I have done this with video by sending it to a local folder and then having the video point to a file:\\ url but this does not work for an image. ... View Questions/Answers

need dynamic image example  December 22, 2010 at 4:58 AM
struts 2 img example for a dynamic image.. one that the user of the website uploads. To be more clear on what I am doing. I am creating a profile for a user and the user is uploading his image which I am storing into sql 2008 filestream. I have directed the stream to a file on my desktop that i h... View Questions/Answers

Java Program  December 22, 2010 at 1:08 AM
Write a Java program so that when the program is executed, a window will appear with white background. The window should be of size 400x400 pixels. Then when the user clicks at the window, a circle of size 20 pixels will be created. The circle will move linearly in a random direction with a sp... View Questions/Answers

count the repeated character in one string  December 21, 2010 at 10:50 PM
to find the how character occurrence in one String (for example the string is -java means there is 2 'a 'was repeated ) ... View Questions/Answers

How to initialize NSInteger  December 21, 2010 at 10:25 PM
Hi, Tell me how to initialize NSInteger in my code? Thanks ... View Questions/Answers

UIView landscape only  December 21, 2010 at 10:14 PM
HI, How to display your view in landscape orientation only? Thanks ... View Questions/Answers

UIButton sender tag  December 21, 2010 at 10:00 PM
HI, How find which button is clicked with the help of tag id of the button? Thanks ... View Questions/Answers

appdelegate instance  December 21, 2010 at 9:55 PM
Hi, How to get appdelegate instance in some other part of the application? Thanks ... View Questions/Answers

To save table format data in pdf/excel in jsp  December 21, 2010 at 9:50 PM
Hello, I am doing web application project in jsp. In webform ,I am displaying database data in html table. So my question is ,I want so save this html format data in pdf/excel format through jsp code. So please suggest some sample code of jsp and there api which can save html table data in pdf/ex... View Questions/Answers

java code to validate column content of 2 different tables in 2 different databases.  December 21, 2010 at 7:35 PM
Database have been migrated from old to new one as per application requirement with additional columns and tables.And hence has to be validated that the migrated data is correct by creatng a script to run written in java. how to compare 2 columns(different col_name) in 2 different databases plac... View Questions/Answers

basic doubts  December 21, 2010 at 6:44 PM
can i write two beans within a same xml file..? Also can i write two xml files within a same package..? ... View Questions/Answers

java code 1 of 2  December 21, 2010 at 5:49 PM
Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes ... View Questions/Answers

java code 1 of 2  December 21, 2010 at 5:48 PM
Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes ... View Questions/Answers

UIButton action example  December 21, 2010 at 5:40 PM
HI, How i can capture the Button click action? What to write the .h and .m file? Thanks ... View Questions/Answers

java code 8 of 1  December 21, 2010 at 5:36 PM
Develop a program that computes the distance a boat travels across a river, given the width of the river, the boat's speed perpendicular to the river, and the river's speed. Speed is distance/time, and the Pythagorean Theorem is c2 = a2 + b2. ... View Questions/Answers

java code7 of 1  December 21, 2010 at 5:34 PM
Develop the program calculateHeight, which computes the height that a rocket reaches in a given amount of time. If the rocket accelerates at a constant rate g, it reaches a speed of g ?· t in t time units and a height of 1/2 * v * t where v is the speed at t. ... View Questions/Answers

nextpage  December 21, 2010 at 5:27 PM
my login form using java awt-swing ..still appearing after clicking submit button when i entered into next page how can we make it invisible ... View Questions/Answers

pdf file in jsp  December 21, 2010 at 5:23 PM
i have a pdf, which has to be displayed in a jsp page along with some html tags, the pdf which is to be displayed shold be readonly and wont allow the uer to save too....... ... View Questions/Answers

vamsi  December 21, 2010 at 5:19 PM
what is the difference between final and constant ... View Questions/Answers

PDF Generation for unicode characters  December 21, 2010 at 5:18 PM
Hi, How a PDF file having unicode characters is generated in JSP ... View Questions/Answers

Prime Numbers from range  December 21, 2010 at 5:06 PM
how to find prime numbers in a given range which are palindromes?? ... View Questions/Answers

UIView Background Image  December 21, 2010 at 4:56 PM
HI, Please let's know how to add background image to a view? Thanks ... View Questions/Answers

How to convert NSString to NSInteger?  December 21, 2010 at 3:57 PM
Hi, Provide me code to convert NSString into NSInteger. Thanks ... View Questions/Answers

Generate unicode malayalam PDF from JSP  December 21, 2010 at 3:37 PM
Hi, I want to generate a malayalam report in PDF format.I have generated a report in jsp.Now I want the same report to be saved as PDF in unicode malayalam font.I have tried to generate PDF reports using IText,but I dont know how to generate unicode malayalam report using iText&jsp Th... View Questions/Answers

DMCA.com