Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

tomcat  December 21, 2010 at 3:18 PM
i downloaded and installed taomcat server but my servlet hasnotbeen running on it and im getting the message like "requested resources are not available" please tell me what to do ... View Questions/Answers

weblogic  December 21, 2010 at 2:57 PM
how shud i download wblogic server 9.1 plz tell me step by step i browse for it but it was very confusing..... ... View Questions/Answers

interface  December 21, 2010 at 2:42 PM
will the interface implements a interface ... View Questions/Answers

Hibernate Association  December 21, 2010 at 2:18 PM
1) <bag name="product" inverse="true" cascade="all,delete-orphan"> <key column="did"/> <one-to-many class="net.roseindia.Product"/> </bag> 2) <many-to-one name="dealer" cl... View Questions/Answers

Extjs Table Sorting  December 21, 2010 at 2:09 PM
how is it possible to do the table sort in extjs ... View Questions/Answers

Extjs Table Sorting  December 21, 2010 at 2:09 PM
how is it possible to do the table sort in extjs. ... View Questions/Answers

Spring - onSubmit method  December 21, 2010 at 1:49 PM
Hello, I enter all data into the text field on jsp form .... when i click on submit button at that time formBacking() method is call but instead of that I want onSubmit() method should be call..... for that give me fast reply........ ... View Questions/Answers

how make excel  December 21, 2010 at 12:50 PM
how make excel spreadsheet IN JAVA. please send this code argently ... View Questions/Answers

How to add UIImage on pin location MKMapKit  December 21, 2010 at 12:43 PM
Hi, In my application, i need to add a custom image on MapView controller instead of pin. I am calling image through database "URL". Please suggest .. Thanks! ... View Questions/Answers

mkannotationview canshowcallout  December 21, 2010 at 12:20 PM
Hi, What is the use of mkannotationview canshowcallout? Thanks ... View Questions/Answers

Best Framework  December 21, 2010 at 12:13 PM
Which is the best framework Struts or Spring? ... View Questions/Answers

Difference between Struts and Spring  December 21, 2010 at 12:10 PM
What are the difference between Struts and Spring? ... View Questions/Answers

Java Program  December 21, 2010 at 10:23 AM
How to Write a Java program which read in a number of text files. It will use a thread to one file. Each line in the file will be put into a fixed size buffers of strings. The buffer can store at most 10 strings. The buffer is operated as a queue in the first-in-first-out order. There will be... View Questions/Answers

How to make selectOneMenu scrollable  December 21, 2010 at 9:53 AM
how to make the selectOneMenu scrollable? I have around 20 values in drop down and i want the scrollable functionality after 5 values. Kindly reply as soon as possible. Thanks Shikha ... View Questions/Answers

Hibernate joining multiple tables  December 21, 2010 at 8:32 AM
In join sample program, what do we mean by the line? String sql_query = "from Product p inner join p.dealer as d"; what does it mean? Product p inner join p.dealer as d ... View Questions/Answers

plz try to clear my doubt for shuffling multi-dimensional array  December 21, 2010 at 8:00 AM
hi, if v r using Arrays.asList() means, it may shuffle the row wise list only... v want to shuffle the ful entire multi-simensional array means wat v want to do??? plz help me... thanks in advance ... View Questions/Answers

core Java programming  December 21, 2010 at 1:34 AM
Hi, Thanks for ur previous answers.... I need some of these answers also... Bharathi Indian Cuisine is a leading Indian cuisine based out of Central New Jersey. They serve a lot of food varieties to the customers. They maintain a flat file for all Transactions. The Typical format of the file... View Questions/Answers

how update JTable after adding a row into database  December 21, 2010 at 1:20 AM
J have two classes, listed below, one is table model, and second show data from database in JTable, and it's OK, but after adding a row into database table does't update. How update JTable after adding a row into database? package djile pak.java clss.for_... View Questions/Answers

net beans2  December 20, 2010 at 10:47 PM
Write a JAVA program to find the nearest two points to each other (defined in the 2D-space). ... View Questions/Answers

Hi  December 20, 2010 at 10:34 PM
I want import txt fayl java.please say me... ... View Questions/Answers

project related question  December 20, 2010 at 8:24 PM
1- how to insert a date through hibernate 2- how to insert exact time ,date separetly in the data base for current time date ... View Questions/Answers

table  December 20, 2010 at 8:12 PM
Hi.. I am doing a project on Inventory Management System for which i created the user interfaces.. I have a user interface in which i have used JTables.. Now my problem is I dont know how to show the Jtable which takes input from oracle table(my database table..) This is a very important table of... View Questions/Answers

how to display multiple images on browser  December 20, 2010 at 6:20 PM
i want to display multiple images on brower including string values from sql database using jsp. ... View Questions/Answers

how to display multiple images on browser  December 20, 2010 at 6:20 PM
i want to display multiple images on brower including string values from sql database using jsp. ... View Questions/Answers

How to set Messages number to be read in pop3 mail server  December 20, 2010 at 5:30 PM
How to set Messages number to be read in pop3 mail server, i am able to read only 250 mails from my inbox whereas i have more than 1000 unread mails in my in my inbox, how can i read all those Thanks in advance ... View Questions/Answers

How to set Messages number to be read in pop3 mail server  December 20, 2010 at 5:27 PM
how to set messages number in pop3, i am able to read only 250 mails from my inbox where as my inbox has more than 1000 unread mails, how to read all at once in pop3 ... View Questions/Answers

By dropdownlist retrive data from database and show in textbox in jsp.  December 20, 2010 at 5:26 PM
Hello Sir, I am doing project in jsp.I have to retrive data from database, when I select value from dropdownlist, and that data I want to show in textbox. Please suggest some ajax code that will work. your suggestion will be helpful for me .And thanks in advance. ... View Questions/Answers

jsp  December 20, 2010 at 5:19 PM
how jsp translated into servlets? ... View Questions/Answers

DMCA.com