Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Ads

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

How to evaluate the mathematical expression from the string in J2ME.  November 24, 2010 at 5:48 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 ... View Questions/Answers

total id  November 24, 2010 at 3:58 PM
how to print and total my id number ..for example if my id is 0123456789 the output will look like this : 0123456789 0+1+2+3+4+5+6+7+8+9=45 help me plz ... View Questions/Answers

hi friend  November 24, 2010 at 3:32 PM
what is code for ``find no of days difference in the date of birth of two students using inner class in java ... View Questions/Answers

hi friend  November 24, 2010 at 3:32 PM
what is code for ``find no of days difference in the date of birth of two students using inner class in java ... View Questions/Answers

hi friend  November 24, 2010 at 3:32 PM
what is code for ``find no of days difference in the date of birth of two students using inner class in java ... View Questions/Answers

Web scraping  November 24, 2010 at 3:23 PM
How to do web scraping upto depth(paging)in JAVA? ... View Questions/Answers

download image using url in jsp  November 24, 2010 at 3:18 PM
how to download image using url in jsp ... View Questions/Answers

Object Oriented Programming II  November 24, 2010 at 2:45 PM
Instructions: ->each class to be created must have encapsulated fields, setters and getters methods, and constructors Create a class named "Paper" with the following attributes -"length" of type int -"width" of type int -"content" of type String ... View Questions/Answers

Transaction Management  November 24, 2010 at 2:37 PM
How are transactions managed in EJB? ... View Questions/Answers

Button text is not displaying properly in jre 1.6.0_22 when html tags are used in the textstring  November 24, 2010 at 2:31 PM
using html string to jbutton text is not working in Java 1.6.0_22 when browser is using the existing java console this.setText(""+value+"" ); print("code sample"); ... View Questions/Answers

Setting up development Environment for spring  November 24, 2010 at 12:25 PM
Hi, Am learning spring from this site.. I found how to install the spring at http://www.roseindia.net/spring/spring-framework-install.shtml this page.. But there's no page abt how to setting up development environment for that.. It directly skipped into the example... Can u Pls te... View Questions/Answers

java programing  November 24, 2010 at 11:53 AM
Integers from 0 to X stored in an array of size X+1. Each integer appears once & only once, but in random order e.g. Consider array of size 5 as below... Arr[0]=3; Arr[1]=0; Arr[2]=1; Arr[3]=4; Arr[4]=2; Process the above array as input & o... View Questions/Answers

struts opensource framework  November 24, 2010 at 11:38 AM
i know how to struts flow ,but i want struts framework open source code? ... View Questions/Answers

java-mysql  November 24, 2010 at 11:35 AM
how i retrive all the values of a table in mysql to java forms or java table ... View Questions/Answers

About the Tutorial Topics  November 24, 2010 at 11:30 AM
(This is genaral question) Why ASP.Net or VB.net is not there in the Tutorial Topics? Are you not interested in those topics? This is my suggestion: ->You can add Genaral questions/Suggestion as one of the Category to select ->You can add Asp.Net/Vb.Net as one of the Topics Thanks and Reg... View Questions/Answers

Small clarification  November 24, 2010 at 11:24 AM
This function is used to search and select particular word. In this function document.getElementById('d')); getElementById is used to get the element by using id,but here there is no id with 'd', what it will represents function Search(){ var textRange = document.body.createTextRange(); ... View Questions/Answers

while loop to for loops  November 24, 2010 at 11:04 AM
I have to change this while loops to for loops and I was wondering if you could help me out. I got the codes just need to know how to change it. int currentNum= num1; while(num1>num2){ if (currentNum % 2 == 0){ ... View Questions/Answers

java printing using printer device fonts  November 24, 2010 at 10:43 AM
Hi i am trying to print using a printers device fonts rather than truetype fonts ? I can print to the printer using the standard java printing api , ie create a simpleDoc, a docFlavour, set attributes, implement prinatble etc... but have no idea as to print using the printers "dev... View Questions/Answers

Jsp-Servlet  November 24, 2010 at 10:37 AM
how can i display the values in jsp pages as list from servlet ? can you help me out plz ? thanks... ... View Questions/Answers

java  November 24, 2010 at 9:56 AM
how to create a object and call te class inside another class ... View Questions/Answers

Apache axis2 installation  November 24, 2010 at 9:34 AM
I have installed Apache tomcat for **axis2** Installation. But the downloaded tomcat 7.0 exe bin file, it can have no option of START and SHUTDOWN. The latest downloaded version have no such options. But after downloding its get opened after that its not working properly. Ho... View Questions/Answers

java program  November 23, 2010 at 9:01 PM
Write a Java application to print your name, ID, gender, and nationality.. the output will look like this : my id is 0123456789 i am a man i am from thailand ... View Questions/Answers

How to write .properties file from jsp  November 23, 2010 at 8:17 PM
Hi i new to java i stuck here please help me... my problem is "I wrote a class to write the .properties file it is working fine when i run through normal application.But the problem is when i am using this in jsp means i have create object to this class and used it in my jsp but Iam unble to mod... View Questions/Answers

DMCA.com