Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Getting NumberFormatException  November 29, 2010 at 3:27 AM
Hello Sir, I'm using Integer.parseInt(String str) function which returns a NumberFormatException(Unknown source). I also used Integer.parseInt(String str, int radix) but it also throws the exception. I used the same type of code in a simple .java program but when I.m using it in a JSP it continuo... View Questions/Answers

Getting garbage value  November 29, 2010 at 2:09 AM
Thanks for the reply. Its works well, but whenever I'm using numeric value from 0010 to 0757 it is returning some garbage value. I dont have the idea what is going wrong. Please give me some idea to solve this problem. I'm giving you the code below. Code: <% String t=request.getParameter("ti... View Questions/Answers

Java  November 28, 2010 at 10:26 PM
what is difference between jsp and servelet. ... View Questions/Answers

Advertisement

result problem  November 28, 2010 at 10:20 PM
sir,i have written program given below but that program is not giving proper output.pls help me import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; class filedata extends HttpServlet { public void doPost(HttpServletRequest req,HttpServ... View Questions/Answers

program  November 28, 2010 at 10:08 PM
explanation of program on extending thread class ... View Questions/Answers

java basic  November 28, 2010 at 9:18 PM
i need to give a hexadecimal input (0x71014802 and 0x8c2a0000) and want to get a MIPS instruction code(assembly level lang.):the output is not a matter... i want to create a package and then input converted converted to binary then i need 3 function R-type I-type and J-type... ... View Questions/Answers

write program have product - using loops  November 28, 2010 at 9:03 PM
Write a program for a grocery that reads products data and determine and display the product that has the highest price and the average price. A product has three pieces of data: id (int), name (String) and price (double). Your program should continue reading new products until user enters -1 as ... View Questions/Answers

Software Developer  November 28, 2010 at 8:57 PM
what is the java code to turn off my pc ? ... View Questions/Answers

pattern-using loops  November 28, 2010 at 8:55 PM
Write a program that displays the following pattern ... (use nested loops) * ** * ** * ** * ... View Questions/Answers

read string - using loops in Java  November 28, 2010 at 8:48 PM
Write a program to read a string composed of an unknown number of words, then count the number of words in the string, and Display the longest and shortest words, with first letter Uppercase and rest in lowercase.?? ... View Questions/Answers

iPhone xcode database  November 28, 2010 at 8:32 PM
Hi, How I can add SQLite database support in iPhone Xcode project? Thanks ... View Questions/Answers

Best PHP tutorial for beginners  November 28, 2010 at 6:48 PM
Hi Friends, I want to learn PHP programming language. Please let's know the best tutorials url for beginners. I want to know: a) How to install PHP? b) How to create simple program and test? c) Learn basics and advanced concepts of PHP programming language in very less time. d) Al... View Questions/Answers

query  November 28, 2010 at 5:42 PM
Sir this is table code. i created successfully ,but i want to get table data.so could you please help me for this problem.Thank you sir import java.util.*; import java.awt.*; import javax.swing.*; import javax.swing.event.*; import java.awt.event.*; import java.awt.print.*; public class t... View Questions/Answers

How to match a string symbols using the INDEX and the method use Stack  November 28, 2010 at 4:55 PM
How to match a string symbols using the INDEX and the method use Stack it will determine balance or not balance ...use the STACK ...and it must be in priority...... -PARENTHESIS -BRACKET -BRACES Example output: Enter a string symbols:{()} ... View Questions/Answers

NSTimeInterval to NSString  November 28, 2010 at 4:44 PM
Hi, I am developing a program for iPhone. I have to get the current timestamp in NSString. Please let's know how to do this. Any code example for converting NSTimeInterval into NSString will help me a lot. Thanks ... View Questions/Answers

calculator midlet  November 28, 2010 at 3:35 PM
give me code calculator midlet in bluetooth application with j2me? ... View Questions/Answers

how to connect mysql from gui?  November 28, 2010 at 1:13 PM
i am unable to connet to mysql server from my projet that is gui for mysql...can anyone help me in this...its urgent? i have to connet to mysql from gui.. ... View Questions/Answers

Program to read 2 integers using oops concepts  November 28, 2010 at 12:45 PM
Write a program to read two integers with the following significance. ? The first integer value represents a time of day on a 24 hour clock, so that 1245 represents quarter to one mid-day, for example. ? The second integer represents time duration in a similar way, so that 345 represents th... View Questions/Answers

System.out.println cannot be written inside a class  November 28, 2010 at 11:28 AM
why System.out.println cannot be written inside a class? ... View Questions/Answers

color change  November 28, 2010 at 10:51 AM
how to change the color in circle using scrollbar? ... View Questions/Answers

core java  November 27, 2010 at 11:39 PM
i need core java material ... View Questions/Answers

plz help me to create gui using Java netbeans  November 27, 2010 at 11:21 PM
Hi, I am unable to fetch a particular data from DB.I am using netbeans for creating GUI. If I want to fetch a particular value like '6', it is calling all the data which contains 6. I am unable to fetch the particular data. Plz help me ... View Questions/Answers

java program  November 27, 2010 at 9:07 PM
Problem 2 Note:Use prompt command to input values and use document.write command to display the output. Write a JavaScript program that would input a student's final grade from 50-100. Evaluate the Final Grade and display the Point Equivalent based on the table below. Indicate also the re... View Questions/Answers

java program  November 27, 2010 at 9:06 PM
Problem 2 Note:Use prompt command to input values and use document.write command to display the output. Write a JavaScript program that would input a student's final grade from 50-100. Evaluate the Final Grade and display the Point Equivalent based on the table below. Indicate also the re... View Questions/Answers

java program  November 27, 2010 at 8:55 PM
Problem 1 Write a javaScript program that would input Employee Name, rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds eight hours 30% to each excess as overtime rate. Formula: Daily Wage equals Rate per hour * No. of hours wo... View Questions/Answers

java program  November 27, 2010 at 8:55 PM
Problem 1 Write a javaScript program that would input Employee Name, rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds eight hours 30% to each excess as overtime rate. Formula: Daily Wage equals Rate per hour * No. of hours wo... View Questions/Answers

J  November 27, 2010 at 6:09 PM
how can stop back after logout using javascript ... View Questions/Answers

J  November 27, 2010 at 6:09 PM
how can stop back after logout ... View Questions/Answers

a  November 27, 2010 at 6:05 PM
how can prevent back after logout ... View Questions/Answers

how to make list in our own style in pdfwriter  November 27, 2010 at 3:44 PM
can u please any of one help me i want to make a list as follows in pdf file from java by pdfwriter account calculation ------------------------- amount -100.00 advance - 70.00 ------------------------- net - 30.00 ... View Questions/Answers

Update statement  November 27, 2010 at 3:22 PM
I create a access database my program When I click add button bata are adds to the my data base but when i click update button my database is not update I write this program using 3 differfnt notepad pages MY CarGUI.java import java.awt.*; import javax.swi... View Questions/Answers

Designing a Database with a junction table or without it?  November 27, 2010 at 2:46 PM
Designing a group of table with, where many tables reference single parent table. In that case is it a better option to create a junction table to maintain the relationship between all these table. Or they should be related individually. Which is the be... View Questions/Answers

code to disable back button of browser  November 27, 2010 at 2:37 PM
code to disable back button of browser ... View Questions/Answers

code to disable back button of browser  November 27, 2010 at 2:37 PM
code to disable back button of browser ... View Questions/Answers

how to insert image into server  November 27, 2010 at 2:21 PM
how to insert an image into sql server and retrieve it using jSP ... View Questions/Answers

java  November 27, 2010 at 11:32 AM
calculate simple interest using jsp ... View Questions/Answers

javabean  November 27, 2010 at 11:22 AM
addition program using bean.java ... View Questions/Answers

query  November 27, 2010 at 10:45 AM
i want to set font size of a string which will added in a label.will u please provide code for it ... View Questions/Answers

Find the Running time in sql***  November 27, 2010 at 5:56 AM
I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job_Run Job Name start time job_1 22/10/2010 18:20:00 job_2 22/10/2010 17:30:00 I want to find the running time of both the jobs. (i.e when i run the query it sho... View Questions/Answers

How to find run time in SQL.  November 27, 2010 at 5:44 AM
I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job_Run Job Name start time job_1 22/10/2010 18:20:00 job_2 22/10/2010 17:30:00 I want to find the run time of both the jobs. (i.e w... View Questions/Answers

How to pass value of a link to a textfield  November 27, 2010 at 1:46 AM
Dear Sir, in my project I'm initially making a value of the textfield as a link. Now, I want to pass the value of the link in the textfield after clicking the link and dont want to open a new page. Please reply ASAP. ... View Questions/Answers

how can clear the browser cache memory using java script  November 26, 2010 at 9:16 PM
how can clear the browser cache memory using java script ... View Questions/Answers

database connectivity  November 26, 2010 at 8:54 PM
describe java program steps in order to get connectivity to database along with example ... View Questions/Answers

wap showing three threads working simulteniously upon single object.  November 26, 2010 at 8:52 PM
wap showing three threads working simulteniously upon single object. ... View Questions/Answers

how can we prevent back option after log out.  November 26, 2010 at 8:25 PM
how can we prevent back option after log out. ... View Questions/Answers

javascript variable value insertion in DB  November 26, 2010 at 7:05 PM
how can I insert javascript variable value into database using php ... View Questions/Answers

ejb  November 26, 2010 at 5:56 PM
why ejb components are invisible components.justify that ejb components are invisible ... View Questions/Answers

javascript doubt  November 26, 2010 at 5:46 PM
How to retrieving the values from Database by using javascript? ... View Questions/Answers

what is the meaning of abstract?  November 26, 2010 at 5:44 PM
what is the meaning of abstract? ... View Questions/Answers

Multiarray concept  November 26, 2010 at 4:47 PM
i have 4 text box in html page, when i click new it would want to add another 4 like that ,i will go on like this? when i click delete last four buttons want to delete from it. how i can do this using js and php With Regards pragal ... View Questions/Answers

struts  November 26, 2010 at 4:10 PM
Hi, Here my quation is can i have more than one validation-rules.xml files in a struts application? ... View Questions/Answers

Struts  November 26, 2010 at 3:37 PM
How to retrive data from database by using Struts ? ... View Questions/Answers

File manipulations  November 26, 2010 at 3:35 PM
how to count number of words in a file ... View Questions/Answers

File manipulations  November 26, 2010 at 3:34 PM
how to read input to a file from console ... View Questions/Answers

POI APPLICATION  November 26, 2010 at 3:34 PM
HI .. I WANT POI (JAVA POI)SOURCE CODE FOR CONVERT EXCEL TO TEXT FORMAT ? EXPLAIN IN DETAIL PLEASE .. ... View Questions/Answers

File manipulations  November 26, 2010 at 3:33 PM
how to read the contents from one file and move the contents to another file ... View Questions/Answers

Compressing a folder into GZIP format using PHP Windows  November 26, 2010 at 3:33 PM
How to gzip compress a folder/directory in PHP using windows? ... View Questions/Answers

instance varaiable  November 26, 2010 at 3:24 PM
if we create a class which has two instance variable but don't create object of that class then what is called that instance variable??? bcoz they didn't allocate memory....... ... View Questions/Answers

generating unique combinations of length of x in a string of length l  November 26, 2010 at 2:25 PM
Generating unique combinations of length of x in a string of length l? Suppose a string abcd in read from the console and we have to produce all unique combinations of length 3 then it should produce abc bcd acd abd in case of the string abac there should not be repeatation in the combi... View Questions/Answers

validation using validate method  November 26, 2010 at 2:07 PM
HOW TO DO THE VALIDATION IN THE STRUTS 2 USING VALIDATE METHOD IN ACTION CLASS,AND ALSO AM HAVING MY BEAN CLASS AS SEPERATE. I HAD TRIED THAT BUT IT WAS NOT WORKING PROPERLY. IF U KNOW THE ANSWER KINDLY GIVE ME A BRIEF ANSWER ABOUT IT. ... View Questions/Answers

Research on java  November 26, 2010 at 2:07 PM
sir is it possible to create an new operating system for general purpose use. please inform me sir.. my id is sweeturajdani@gmail.com. ... View Questions/Answers

Java program - convert words into numbers?  November 26, 2010 at 1:17 PM
convert words into numbers? ... View Questions/Answers

jsp login page  November 26, 2010 at 11:54 AM
Hi All, can any one tell me how to create Login page using JSP and Beans. A simple log in page. Please reply ASAP. Thanx, am2085 ... View Questions/Answers

Difference between jsonstring and json object  November 26, 2010 at 9:49 AM
Is There any difference between JsonString and jsonobjectA? if there is any differece could any one explain with example. Thanks venkatesh ... View Questions/Answers

arithmetic expression tree  November 26, 2010 at 9:01 AM
how to create the java code randomly for arithmetic expression tree? ... View Questions/Answers

wap for multithreading  November 26, 2010 at 2:58 AM
wap for multithreading ... View Questions/Answers

wap  November 26, 2010 at 2:45 AM
wap to count the number of object created for class using static member method ... View Questions/Answers

Struts 2 File Upload error  November 25, 2010 at 11:41 PM
Hi! I am trying implement a file upload using Struts 2, I use this article, but now the server response the error: ognl.MethodFailedException: Method "setArquivo" failed for object br.gov.caixa.action.ProcessarMovimentoAction@1fb19a9 [java.lang.NoSuchMethodException: br.gov.caixa.action.P... View Questions/Answers

Proxies  November 25, 2010 at 6:39 PM
what are proxies in java? ... View Questions/Answers

database entry using jdbc  November 25, 2010 at 6:39 PM
Give me a program to enter records in table using jdbc in java. ... View Questions/Answers

java  November 25, 2010 at 6:05 PM
How to implement java programming in EEE(non IT).what is the scope for EEE department. ... View Questions/Answers

Getting error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver.  November 25, 2010 at 6:00 PM
I am doing project in JSP with database WampServer and glassfish as server .when i done database connection then i get an error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. The following is the code of connection. Please suggest the solution or give sample code of mysql connection. Yo... View Questions/Answers

send mail from j2me application  November 25, 2010 at 5:47 PM
how to send mail from j2me application? i need some example code related to this. ... View Questions/Answers

send mail from j2me application  November 25, 2010 at 5:47 PM
how to send mail from j2me application? i need some example code related to this. ... View Questions/Answers

javascript  November 25, 2010 at 4:02 PM
write a java script program that would input the ff:Student Name,Average,Tuition Fee and output Total Tuition Fee. Formula: Total Tuition Fee=Tuition Fee-Discount If average is: 95-100 100% discount 90-94 25% 85-89 10% 84 and below no discount Sample Output: Student Name:_ Average:_... View Questions/Answers

Error in connecting to the mySQL database in TOMCAT using more than one PC (database connection pooling)  November 25, 2010 at 3:25 PM
how do i implement connection pooling with tomcat5.5? i have updated context.xml <Context path="/HTHL" docBase="webapps/HTHL" debug="5" reloadable="true" crossContext="true" > <!-- Default set of monitored resources --> <Wat... View Questions/Answers

javascript  November 25, 2010 at 3:08 PM
write a java script program that would input the ff:Student Name,Average,Tuition Fee and output Total Tuition Fee. Formula: Total Tuition Fee=Tuition Fee-Discount If average is: 95-100 100% discount 90-94 25% 85-89 10% 84 and below no discount Sample Output: Student Name:_ Average:_... View Questions/Answers

java program  November 25, 2010 at 3:06 PM
write a java script program that would input the ff:Student Name,Average,Tuition Fee and output Total Tuition Fee. Formula: Total Tuition Fee=Tuition Fee-Discount If average is: 95-100 100% discount 90-94 25% 85-89 10% 84 and below no discount Sample Output: Student Name:_ Average:_... View Questions/Answers

array declaration  November 25, 2010 at 3:00 PM
String propArray = []; is this declaration correct? ... View Questions/Answers

java program  November 25, 2010 at 2:55 PM
write a java script program that would input the ff:Student Name,Average,Tuition Fee and output Total Tuition Fee. Formula: Total Tuition Fee=Tuition Fee-Discount If average is: 95-100 100% discount 90-94 25% 85-89 10% 84 a... View Questions/Answers

JAVA AWT BASE PROJECT  November 25, 2010 at 2:20 PM
suggest meaningful java AWT-base project ... View Questions/Answers

Snippet Code Error  November 25, 2010 at 1:35 PM
The following is a snippet of code from a Java application which uses Connector/J to query a MySQL database. Identify possible problems and possible solutions. Connection cn= DriverManager.getConnection("jdbc:mysql://repserver.intranet:4987/active?user=rbradstreet"); Statement s= nul... View Questions/Answers

This Query is no working in sql developer it is giving Ora-0933 exception SQL command not properly ended exception  November 25, 2010 at 1:23 PM
SELECT * from employees ORDER BY first_name limit 0,10; ... View Questions/Answers

How to sort json object?  November 25, 2010 at 1:18 PM
I've been looking for a while and want a way to sort a JSON object like this: {"results": [ { "layerId": 5, "layerName": "Pharmaceutical Entities", "attributes": { "OBJECTID": "35", "FACILITYTYPE": "Pharmacy", "FACILITYSUBTYPE": "24 Hr Pharmacy", "COM... View Questions/Answers

Unwanted characters instead of arabic characters  November 25, 2010 at 1:13 PM
I am using a webservice in myproject.I wrote a webservice client method, when I call this method I get the json object which has the data. Then I extract that object in jsp and using it to display. the problem is: I need to display some arabic characters here which I am getting from json object.w... View Questions/Answers

help me  November 25, 2010 at 1:04 PM
hi sir pls tell me how to use ajax form validatin from very simple way with two ot three text field pls help me use ajax in php my email id is:- rohit11tripathi@gmail.com pls sir give me some vasic information i know ajax but when i m going to use at that time i totaly confuse hoe to use so pls... View Questions/Answers

how to search data in xml files using php  November 25, 2010 at 12:30 PM
So I want to create a website that allows me (or others) to type in a words and select a relevent search, and have it search multiple XML pages on server The XML documents are setup and available on the server but I want to access it through php. How can I do this and how can I use PHP t... View Questions/Answers

Error in MySQL Procedure Using JAVA Code  November 25, 2010 at 12:25 PM
The following Java code (using Connector/J to create a stored procedure on MySQL 5.0) does not execute successfully. Identify the cause and available solutions. statement.execute("DELIMITER //\nCREATE PROCEDURE abdt (std INT)\nBEGIN\nSELECT attbegin, attend FROM abdt WHERE stude... View Questions/Answers

using session variable determine the no of pages viewd by the user  November 25, 2010 at 11:41 AM
using session variable determine the no of pages viewd by the user ... View Questions/Answers

venkat,struts developer  November 25, 2010 at 11:35 AM
what isthe purpose of <Results>tag in struts2.0? ... View Questions/Answers

how to connect j2me program with mysql using servlet?  November 25, 2010 at 10:36 AM
my program of j2me import java.io.*; import java.util.*; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import javax.microedition.io.*; public class Demo extends MIDlet implements CommandListener { private String username; private String url = ... View Questions/Answers

How to print contents of a web page in jsp?  November 25, 2010 at 9:48 AM
I have generated a pay slip using jsp.How do I print the contents of the slip as it is? ... View Questions/Answers

Client's Data with Axis2 and Java  November 25, 2010 at 4:21 AM
Hello everyone, I am studying IT Engineering and my project is to create heterogenous system, and as middleware, I decided to use web services(contract first). I read all unnecessary stuff about this, followed few tutorials, and one question arised. How can I access client's data? First ... View Questions/Answers

How to write a simple java applet  November 25, 2010 at 12:01 AM
Hi, how can i write a simple java applet, displaying text in specific colors and font style. For example, the output will be something like : Name in red color Age in blue color Nationality in green color Help me pls :( ... View Questions/Answers

robot class  November 24, 2010 at 7:51 PM
i also want the uses of robot classes its applications in the programming. where exactly robot class is useful. why is it necessary? please send me the uses ... View Questions/Answers

jsf text field not blank  November 24, 2010 at 7:47 PM
text field not clear in jsf onclick of reset button in my application initial value not deleted ... View Questions/Answers

Use of SVOX SDK 5.0.0 for text to speech in iphone project  November 24, 2010 at 7:25 PM
how to implement svox sdk for text to speech in xcode. I need a sort of exmaple for it...awaitinh ofr your reply thanks. ... View Questions/Answers

Use of SVOX SDK 5.0.0 for text to speech in iphone project  November 24, 2010 at 7:25 PM
how to implement svox sdk for text to speech in xcode. I need a sort of exmaple for it...awaitinh ofr your reply thanks. ... View Questions/Answers

Hello  November 24, 2010 at 6:15 PM
Hello sir i want to store upload doc file in ms access by using servlet. Can i store file in access.one another things access only text size is 255 character but my file is up to 2mb how i can store. ... View Questions/Answers

How to evaluate the mathematical expression from the string in J2ME.  November 24, 2010 at 5:52 PM
How to evaluate the mathematical expression from the string in J2ME. For example a string containing "24".From the string i want evaluate the mathematical expression and get the result as 8 (24).How should i done this in J2ME. In "Java? Platform Standard Ed. 6 " there is a package... View Questions/Answers

DMCA.com