Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

unable to insert data into database  July 8, 2011 at 9:03 AM
hello.i have a problem in inserting data into database.i have used two prepared statement.one for retrieving the eid based on ename and the other is inserting data into database based on this ename.but it displays a message that "Sorry! Could Not Enter Details into Time Sheet!".can any one help... View Questions/Answers

unable to insert data into database  July 8, 2011 at 9:03 AM
hello.i have a problem in inserting data into database.i have used two prepared statement.one for retrieving the eid based on ename and the other is inserting data into database based on this ename.but it displays a message that "Sorry! Could Not Enter Details into Time Sheet!".can any one help... View Questions/Answers

coding for update profile  July 8, 2011 at 7:55 AM
coding for update profile ... View Questions/Answers

Advertisement

How to insert multiple drop down list data in single column in sql database using servlet  July 8, 2011 at 2:07 AM
i want to insert date of birth of user by using separate drop down list box for year,month and day into dateofbirth column in sql server 2005.. pls help me. ... View Questions/Answers

dynamic delete and insertion in tables  July 8, 2011 at 1:38 AM
hey... i have a problem..I am working on a problem management system..my code for a particular jsp page is as follows in this page i want to show the admin the already present records in the table named problem..and a submit solution button besides every row..whenever the admin clicks on the subm... View Questions/Answers

dynamic delete and insertion in tables  July 8, 2011 at 1:38 AM
hey... i have a problem..I am working on a problem management system..my code for a particular jsp page is as follows in this page i want to show the admin the already present records in the table named problem..and a submit solution button besides every row..whenever the admin clicks on the subm... View Questions/Answers

java interface  July 8, 2011 at 1:09 AM
Create a interface called student Define methods like get roll number Get name Get subject Create two classes Electronic student And history student Enter 5 students in the main class 2 of history and 3 elec For entering roll number use for loop Create a method show details inside that pass stu... View Questions/Answers

packages  July 7, 2011 at 11:29 PM
when i run a simple program on package it shows error my program is package world; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } i ve stored it in c:\world so i compile it b... View Questions/Answers

2d arrays  July 7, 2011 at 10:19 PM
what is the code for multiplying the values in a 2d array and printing out their sum ... View Questions/Answers

how to insert, retrieve data from,to db(code)....  July 7, 2011 at 7:38 PM
Hi, i have created login page n in that a registration form also in jsp, my doubt is-when new user register his details,(for ex,username,password,dob,gender) 1.how that data will b stored in db(m using sybase). 2.also hw to retrieve the data from db. cn u plz tel me the code in detail.n i thk ... View Questions/Answers

how to insert, retrieve data from,to db(code)....  July 7, 2011 at 7:35 PM
Hi..... i ve created login page n in that a registration form also.... my doubt is-when new user register his details,(for ex,username,password,dob,gender) 1.how that data will b stored in db(m using sybase). 2.also hw to retrieve the data from db. cn u plz tel me the code in... View Questions/Answers

Latitude and Longitude of Eritrea  July 7, 2011 at 6:43 PM
Hi, What is the Latitude and Longitude on Eritrea? Thanks ... View Questions/Answers

Latitude and Longitude of Equatorial Guinea  July 7, 2011 at 6:40 PM
Hi, please give me some data regarding the Latitude and Longitude on Equatorial Guinea? Thanks ... View Questions/Answers

Latitude and Longitude of El Salvador  July 7, 2011 at 6:37 PM
Hi, What is the Latitude and Longitude on El Salvador? Thanks ... View Questions/Answers

Potential leak of an object XCode  July 7, 2011 at 4:06 PM
What is potential leak of an object XCode? ... View Questions/Answers

validation  July 7, 2011 at 4:00 PM
How to validate username and password in a login screen? ... View Questions/Answers

Latitude and Longitude of Ecuador  July 7, 2011 at 3:19 PM
Hi, What is the Latitude and Longitude on Ecuador? Thanks ... View Questions/Answers

Latitude and Longitude of East Timor  July 7, 2011 at 3:16 PM
Hi, please can me Latitude and Longitude on East Timor? Thanks ... View Questions/Answers

Latitude and Longitude of Dominican Republic  July 7, 2011 at 3:14 PM
Hi, What is the Latitude and Longitude on Dominican Republic? Thanks ... View Questions/Answers

Latitude and Longitude of Dominica  July 7, 2011 at 3:11 PM
Hi, Give me some information about the Latitude and Longitude on Dominica Thanks ... View Questions/Answers

Latitude and Longitude of Djibouti  July 7, 2011 at 3:08 PM
Hi, What is the Latitude and Longitude on Djibouti? Thanks ... View Questions/Answers

Java swing  July 7, 2011 at 2:58 PM
Write a java swing program to calculate the age from given date of birth. ... View Questions/Answers

MFMailComposeViewController image attachment  July 7, 2011 at 1:16 PM
How can we attach an image in MFMailComposeViewController? ... View Questions/Answers

question  July 7, 2011 at 12:16 PM
i didn't get the following code. select count(*)from leavetbl where date=2011-06-30 i need a mysql +jsp code to get select count(*)from leavetbl for a perticular date ... View Questions/Answers

Latitude and Longitude of Cyprus  July 7, 2011 at 12:12 PM
Hi, What is the Latitude and Longitude on Cyprus? Thanks ... View Questions/Answers

Table's row elimination based on option choosen  July 7, 2011 at 11:50 AM
I have a drop down with yes and no option.if i select yes in a table 2 new rows are shown and if i select no another question in row appears but the space occupied by the question of yes option are still appearing in the form which should be eliminated Please help ... View Questions/Answers

Retrieving newly inserted records and displaying in jsp forever  July 7, 2011 at 11:32 AM
Sir, here is my requirement, First i have to retrieve newly added 10 records from a table and display in jsp(Each row contains a field called as "session-duration").And after 7 seconds i have to add 7 seconds to session-duration field of every record which is displayed on the jsp (not i... View Questions/Answers

java  July 7, 2011 at 11:23 AM
A device has a name and can do something. TV, Printer and Microwave are devices. Using TV, you can watch movie; using Printer, you can print; using Microwave, you can cook. When a device is made to dosomething, it shouts out its name as well. An Electrician is one who can test any device. When he... View Questions/Answers

java  July 7, 2011 at 11:18 AM
Cars can be driven, reversed or stopped. When car is being driven / reversed, the fuel reduces. Once the car has no fuel, the car does not move. Every car has a name and make. Write a tester class to test cars. ... View Questions/Answers

Unreachable code  July 7, 2011 at 11:14 AM
Sir, i am facing following problem, org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 50 in the jsp file: /refreshPage.jsp Unreachable code 47: </tr> 48: <%}x++; %> 49: ... View Questions/Answers

autogeneration of a random number and displaying it as a alert message to the user on clicking submit  July 7, 2011 at 10:02 AM
Hi, In my project order purchase system under addorder form i want to produce a random number for every order made which is refrence number for dat order and is primary key and this number will be generated automatically.But i want this number to be displayed when user click on the submit but... View Questions/Answers

Jprofiler  July 7, 2011 at 12:01 AM
How can we integrate Jprofiler in eclipse? ... View Questions/Answers

Java Execution Time Measurement(JETM)  July 7, 2011 at 12:00 AM
How can we integrate JETM in eclipse? ... View Questions/Answers

Java Execution Time Measurement(JETM)  July 6, 2011 at 11:58 PM
Whether JETM can be implemented in Struts framework especially in Struts2. If not,tell the alternative solution. ... View Questions/Answers

JETM vs Jprofiler  July 6, 2011 at 11:55 PM
Can anyone explain the difference between Java Execution Time Measurement(JETM) and Jprofiler ... View Questions/Answers

Program PrimePalindrome  July 6, 2011 at 11:19 PM
Hi Having trouble with this particular program;to enter a number and print all palindrome prime numbers below it. I've already typed n run it but any digit entered returns 2,3,5,7 only as output... Please help... Program Prime_Palindrome; var n,i: LongInt; function... View Questions/Answers

question  July 6, 2011 at 7:02 PM
i want the code of multiplication of two numbers with swing ... View Questions/Answers

Latitude and Longitude of Czech Republic  July 6, 2011 at 6:46 PM
Hi, What is the Latitude and Longitude on Czech Republic? Thanks ... View Questions/Answers

java  July 6, 2011 at 6:43 PM
Write a java code to speak the characters, words, sentences, paragraphs using voice base.(Is it possible to hear or listen voice through java code) ... View Questions/Answers

Latitude and Longitude of Cyprus  July 6, 2011 at 6:41 PM
Hi, Tell me something about the historical city of Cyprus? Thanks ... View Questions/Answers

Latitude and Longitude of Cuba  July 6, 2011 at 6:36 PM
Hi, I really want to know about the exotic country of Cuba.Can you give me some idea about the place? Thanks ... View Questions/Answers

java  July 6, 2011 at 6:23 PM
Given a string and a number ?n?, find the ?n?th distinct repeating character. For example, Input: Abracadabra, 1 Abracadabra, 2 Abracadabra, 3 Abracadabra, 4 Output: a b r null ... View Questions/Answers

java  July 6, 2011 at 6:21 PM
write a java code given string="bob" as alphabets are 26 Assign A or a as 1,B or b as 2,........Z or z as 26 now "bob" means 2+15+2=19 as b=2,o=15 Now how can i assign values for any given string and get calculated to get accurate result now for given any different string also how can i calculate... View Questions/Answers

How to add dynamically rows into database ?Need help pls  July 6, 2011 at 6:20 PM
Hi everyone, I really have a problem of insert multiple rows into the database.Now i can only insert one row into the database.How can insert the rest of the row into the database.I have been trying to solve in for ages.Can anyone pls help me.Thanks in advanced. registerEmployee.php ... View Questions/Answers

question  July 6, 2011 at 5:33 PM
please give me a simple program using bean + jsp + mysql ... View Questions/Answers

uitableviewcell loading time interval  July 6, 2011 at 5:17 PM
How can i check the time interval between loading the two cells in UITableViewCell? Please suggest. Thanks. ... View Questions/Answers

UITableViewCell Image not showing  July 6, 2011 at 5:06 PM
In my iPhone application, i have stored the image URL into an array and now wanted to display it on UITableViewCell. So, can anyone please guide me in a correct way..? Thanks in Advance. ... View Questions/Answers

Custom UITableViewCell Example  July 6, 2011 at 5:01 PM
Hi all, In my iPhone UITableView application.. we need a custom cell as per our project requirement. So can anyone give me an example of UITableViewCell that suggest how to change Height, Border Color, Highlight Color, Size, Style, Background Color, Font, Selection Color, Image and Width of Table... View Questions/Answers

how to install jboss drools  July 6, 2011 at 3:31 PM
how to install jboss drools ... View Questions/Answers

Latitude and Longitude of Croatia (Hrvatska)  July 6, 2011 at 3:25 PM
Hi, I wish to gather some information on Croatia (Hrvatska). Can you help me with that? Thanks ... View Questions/Answers

Latitude and Longitude of Cote D'Ivoire  July 6, 2011 at 3:20 PM
Hi, What is the Latitude and Longitude on Cote D'Ivoire (Ivory Coast)? Thanks ... View Questions/Answers

how to create a progarame using jboss drools rules  July 6, 2011 at 3:17 PM
Using Jboss Drools develop a simple utility which will allow the following http://www.jboss.org/drools/ Assuming that we have a list of Citizens <ID, Name,<Address>,City,ZipCode,> , create a rule within drools that can allow me to filter the citizens based upon the passed cr... View Questions/Answers

Latitude and Longitude of Costa Rica  July 6, 2011 at 3:16 PM
Hi, please give me some information on the country of Costa Rica? Thanks ... View Questions/Answers

Latitude and Longitude of Cook Islands  July 6, 2011 at 3:13 PM
Hi, What is the location of Cook Islands? Thanks ... View Questions/Answers

Latitude and Longitude of Congo  July 6, 2011 at 3:10 PM
Hi, What is the Latitude and Longitude on Congo? Thanks ... View Questions/Answers

Passing values from child window to parent window.  July 6, 2011 at 2:21 PM
http://www.roseindia.net/java/pass-value-example/pass-value-child-to-parent.shtml I have gone thru the link but my requirement is checkboxes.can u please explain with an example ... View Questions/Answers

question  July 6, 2011 at 1:45 PM
i need to get select count(*) from leavetable where empid=400 for a month for eg:january ... View Questions/Answers

image thinning or skeletonization program with java  July 6, 2011 at 1:43 PM
Dear Sir, I want to thin my character image with java. But I can't do. Please help me. I mean I need Thinning or skeletonizatin program with java. Thanks in advance. ... View Questions/Answers

Passing values from child window to parent window.  July 6, 2011 at 1:20 PM
Hai, I'm having a requirement ,in that when i open a (pop-up)child window from a parent window,the child window will contain multiple checkboxes and when i select multiple check boxes those check box values should be shown in the parent window,which will have some more values in it.The va... View Questions/Answers

Drop-down text selection in jsp/html  July 6, 2011 at 1:01 PM
Hi, I am trying to create JSP page where I have two drop-downs. There are two-sets of data - First set Categories- Movies, Books, Music and the Second set Genres- Action,Comedy,Romantic. Now the first dropdown will have all the values. The second drop-down depends upon the first o... View Questions/Answers

UITableView alloc and deallocating  July 6, 2011 at 12:12 PM
Hi, just wondering how to manage the alloc and dealloc methods for UITableView in my table view application. Thanks. ... View Questions/Answers

java  July 6, 2011 at 11:58 AM
how to access input as integer in java? ... View Questions/Answers

Struct in objective c example  July 6, 2011 at 11:56 AM
I am looking for a struct example in Objective C. Thanks. ... View Questions/Answers

question  July 6, 2011 at 11:48 AM
i need to get select count(*) from leavetable where empid=400 in between two dates from timestamp colomn please help me for eg:2011-06-01 10:49:01 and 2011-06-30 10:49:01 ... View Questions/Answers

No complete code for BeanNameUrlHandlerMapping With Command Class Example  July 6, 2011 at 2:22 AM
There is no complete dispatcher-servlet.xml and we couldn't download the codes. ... View Questions/Answers

coding for forgot password  July 5, 2011 at 9:46 PM
coding for forgot password ... View Questions/Answers

Ajax with struts1.2  July 5, 2011 at 9:29 PM
Dear All Is there any ajax lib which can be used with struts1.2 ? ... View Questions/Answers

Latitude and Longitude of Belgium  July 5, 2011 at 6:52 PM
Hi, Can you give me an idea about the geography of Belgium? Thanks ... View Questions/Answers

Latitude and Longitude of Comoros  July 5, 2011 at 6:46 PM
Hi, What is the Latitude and Longitude on Comoros? Thanks ... View Questions/Answers

Latitude and Longitude of Colombia  July 5, 2011 at 6:44 PM
Hi, What are geographical coordinates on Colombia? Thanks ... View Questions/Answers

atitude and Longitude of Cocos (Keeling) Islands  July 5, 2011 at 6:42 PM
Hi, What is the Latitude and Longitude on Cocos (Keeling) Islands? Thanks ... View Questions/Answers

Compare String with given String arraylists.  July 5, 2011 at 5:18 PM
I have one String for example abcThirtyFour. i have two arraylists of string. one contains one, two, three, four.....nine. and second arraylist contains twenty, thirty, fourty.....ninety. i need to separate ThirtyFour from abcThirtyFour by using given arraylists. i was thinking of... View Questions/Answers

search functionality using jsp from database  July 5, 2011 at 4:31 PM
search functionality using jsp from database ... View Questions/Answers

Reload UIWebView  July 5, 2011 at 4:22 PM
Hi, please tell me how to reload a UIWebView in iPhone application. Thanks. ... View Questions/Answers

Clear UIWebView cache iPhone  July 5, 2011 at 4:05 PM
Hi, In my iPhone application ..i am using a UIWebView to load different URL on it. But i am afraid that it 's not releasing the memory. Can anyone please explain me how to load and release a UIWebView? Thanks. ... View Questions/Answers

Resize Header in CSS  July 5, 2011 at 3:53 PM
Hi all, Please let me know if we can resize the Header tags in HTML for example H1,H2 and so on... Actually, it looks very ugly when i write the title in H1 or H2 tags. Please suggest. Thanks. ... View Questions/Answers

java programming  July 5, 2011 at 3:46 PM
Hi friends i need simple login form coding using two labels,two textfields and two buttons in netbeans without using database connection. . if you know that logic please tell that... ... View Questions/Answers

Hyperlink on UILabel iPhone SDK  July 5, 2011 at 3:38 PM
Hi, I wanted to set a hyperlink on UILabel in my iPhone application. Can anyone suggest me how to do it? Thanks. ... View Questions/Answers

Latitude and Longitude of Christmas Island  July 5, 2011 at 3:09 PM
Hi, What is the Latitude and Longitude on Christmas Island? Thanks ... View Questions/Answers

Latitude and Longitude of China  July 5, 2011 at 3:07 PM
Hi, Please give me some information on China? Thanks ... View Questions/Answers

How to update table in Hibernate  July 5, 2011 at 3:07 PM
Hi, I have a table in database that has two fields in it. Student Name and ID, can anyone explain me how to update these tables in Hibernate. Thanks. ... View Questions/Answers

Latitude and Longitude of Chile  July 5, 2011 at 3:04 PM
Hi, Can you explain me a little the geography of Chile? Thanks ... View Questions/Answers

Create Button in CSS  July 5, 2011 at 3:03 PM
Can anyone help me to create a button in CSS HTML? ... View Questions/Answers

Latitude and Longitude of Chad  July 5, 2011 at 3:01 PM
Hi, What are the geographical coordinates on Chad? Thanks ... View Questions/Answers

Latitude and Longitude of Central African Republic  July 5, 2011 at 2:58 PM
Hi, What is the Latitude and Longitude on Central African Republic? Thanks ... View Questions/Answers

question  July 5, 2011 at 1:09 PM
give me one jsp progam which contains jsp include ... View Questions/Answers

java programming  July 5, 2011 at 12:28 PM
Hi friends, i need a simple login form source code. in that program i have two labels,two text fields and two buttons namely ok and cancel buttons. how to write for that one using netbeans without database connections. ... View Questions/Answers

programming  July 5, 2011 at 12:14 PM
if we write a code for nearest no divisible by 5 example: given no divisible by 5 nearest no 12 10-ans 14 15-ans 21 20-ans 23 25-ans... View Questions/Answers

xml  July 5, 2011 at 11:54 AM
if we are giving negitive values in load-on-startup> tag wt is result Blockquote ... View Questions/Answers

Clustering  July 5, 2011 at 11:23 AM
Plz let me know abt Clustering in Java with an example. ... View Questions/Answers

java programming  July 5, 2011 at 10:39 AM
how to write a coding for simple login form in netbeans ... View Questions/Answers

java  July 5, 2011 at 10:18 AM
Code a class that can be used to add, multiply, divide, get remainder, subtract two input numbers. Perform all kinds of boundary checks to ensure there is no overflow. (use wrapper classes to get constants to check against). Also add functionality to get the squareroot, log, round, ceil, floor of... View Questions/Answers

DAO Example  July 5, 2011 at 9:26 AM
Dear Friends Could any one please give me any example of DAO application in struts? Thanks & Regards Rajesh ... View Questions/Answers

please tell me  July 5, 2011 at 2:23 AM
what is the source code if user give wrong user name password the explorer will show incorrect username password... View Questions/Answers

No complete codes for Simple Form Controlle Example  July 5, 2011 at 2:15 AM
No complete codes. ... View Questions/Answers

Access 2007 database connectivity  July 5, 2011 at 1:58 AM
i design an application form that have two JComboBox as the label(source,destination) and two JButton save and Exit. when i click at SAVE Button than it doesn't save the selected item from source and destination. pls tell me the code of connectivity with access 2007 database using JComboBox.thank... View Questions/Answers

Editable Html  July 4, 2011 at 10:40 PM
i have editable html table with following elements textbox(n),checkbox(n),sno,dropdownlist..this elements are generated in runtime using javascript by taking the row count from user...now the problem, i dont know how to take the values from the table and insert into database.please gimme some sug... View Questions/Answers

Autopopulate values into textbox from database on pressing tab or on clicking  July 4, 2011 at 7:05 PM
Hi, In my project we have to enter a productid which is first need to be searched into database. if it already exists then it will autopopulate its corresponding producttype,productprice into textboxes when we press tab or click on the producttype(which is first textbox related ... View Questions/Answers

validation before entering values into database in jsp  July 4, 2011 at 6:54 PM
Hi, my project involves entering data into database from jsp form.but before entering into database it should pop up a alert message that "you have selected product:name and quantity:number". if the the selected product is desired one then it should complete and submit and ebter to database else... View Questions/Answers

DMCA.com