Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Need in desperate help in writing a console program  June 28, 2012 at 2:00 AM
Write a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type and the second dimension contains the first non-whit... View Questions/Answers

Need in desperate help in writing a console program  June 28, 2012 at 2:00 AM
Write a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type and the second dimension contains the first non-whit... View Questions/Answers

Program that accepts a String by your name  June 27, 2012 at 11:24 PM
Write a Program that accepts a String by your name and display it on the screen ... View Questions/Answers

Advertisement

jsp forward not functioning  June 27, 2012 at 8:19 PM
If the form in AddStudent.jsp was completed, StudentsList.jsp shows all the students, else the MainMenu.html is displayed. StudentsList.jsp <% if(request.getParameter("add_stud") != null){ //read par... View Questions/Answers

Integer Auto incremented ID not showing up  June 27, 2012 at 7:12 PM
SearchStudent.jsp Student to search into database <script language="javascript"> function validate2(objForm){ int k = 0; if(objForm.name.value.length==0){ ... View Questions/Answers

change frameset in HTML  June 27, 2012 at 12:41 PM
I have created a html page including two frames in it,one frame consists "search bar" and the other frame consists login page,when i click on "Sign In" button in login frame,it is displaying the results in the same frame but i need it to be displayed on a new webpage....pls help me regarding this... View Questions/Answers

How to capture screenshot in url?  June 27, 2012 at 12:20 PM
Hi, How to capture screenshot and it will store the capture image in url like this http://localhost/xxx/yyy/ it wil not sore C:\ or D:\ it should store like this http://localhost/xxx/yyy/ plz help ... View Questions/Answers

connect 3 frameset to other 3 different frameset in html  June 27, 2012 at 12:18 PM
first display the 3 frames in one html page after login it will display 3 differnt frame ... View Questions/Answers

connect 3 frameset to other 3 different frameset in html  June 27, 2012 at 12:18 PM
first display the 3 frames in one html page after login it will display 3 differnt frame ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like paste in another browser window it asks for authentication how it is possible if anybody knows plz tell me thanks yours vinod ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like ... View Questions/Answers

gmail authentication  June 27, 2012 at 8:13 AM
Hi... there... I observed that if we open gmail and in that in box then there will be some url like ... View Questions/Answers

selected radiobutton to display different page  June 27, 2012 at 7:34 AM
there are three radio button are there , in that selected button to display different page. when submit it, using struts2 framework . plz help me to how write code ... View Questions/Answers

Exception during parsing a parameter from the form in JSP  June 27, 2012 at 3:02 AM
Exception during parsing params from a form? I get parameters from a html form. I parse the integer one in the JSP file, but I get exception. Is there anyway I can get the integer, or I have to make it a String? String name = request.getParameter("nam... View Questions/Answers

create a folder in jsp page  June 26, 2012 at 10:11 PM
i want to create a folder in jsp page And it can be delete aslo........ ... View Questions/Answers

Web development  June 26, 2012 at 10:05 PM
I want to validate textbox based on dropdown menu consisting of many options. For eg Dropdown consists of option (1,2,3,4) if "1" is selected textbox should validate a value 0f "2300" through a submit button "Evaluate". Please give me the sample code for the above problem using only javascript... View Questions/Answers

Web development  June 26, 2012 at 9:36 PM
I want to validate textbox based on dropdown menu consisting of many options. For eg Dropdown consists of option (1,2,3,4) if "1" is selected textbox should validate a value 0f "2300" through a submit button "Evaluate". Please give me the sample code for the above problem using only javascript... View Questions/Answers

Student average  June 26, 2012 at 9:22 PM
you are an academic scholar.one requirement to maintain this status is to maintain an average not below 1.8. write a java program that reads student's number of subject taken, the final grade of each subject. your program should display and the number of units of each subject. your program shoul... View Questions/Answers

Required help about the concept of JSP page reloading  June 26, 2012 at 8:14 PM
Hi, We have one application with Websphere portlet Factory generated JSP as front end, Java in the business layer and finally DB2 as back-end. In certain cases it is being observed when exception has occurred and error page is shown, if we refresh/reload the page the input data is bein... View Questions/Answers

Required help about the concept of JSP page reloading  June 26, 2012 at 8:12 PM
Hi, We have one application with Websphere portlet Factory generated JSP as front end, Java in the business layer and finally DB2 as back-end. In certain cases it is being observed when exception has occurred and error page is shown, if we refresh/reload the page the input data is bein... View Questions/Answers

recovery of password through mail  June 26, 2012 at 7:37 PM
hi i want code for login page authentication in jsp with oracle database.it should be similar to any mail login type.means registration form for new users must be provided,already registered user account should be verified and if they forgot password then security question should be provided ,if ... View Questions/Answers

write a program in java to demonstrate the complete life cycle of servlet:  June 26, 2012 at 6:17 PM
l have an assignment question. i don't know how to write the code for this program. my question is :Write a program in Java to demonstrate the complete life cycle of a Servlet ... View Questions/Answers

need help....how to connect and disconnect multiple databases(databases created in mysql) using java and my sql  June 26, 2012 at 5:57 PM
i am working on a project on deadlock in distributed transactions , and in that i am using my sql in java i need to know that how to query multiple databases(databases created in my mysql) so that i can retrieve data from all tables. i need the implementation of any such program if u can provide... View Questions/Answers

Write to PDF  June 26, 2012 at 5:13 PM
Hi, Fairly new to this. I want to create a PDF file as a server call, with text/images sent to the app. Seeing that this will have to be a plugin, how do I go about making it a valid plugin for the server? ... View Questions/Answers

JasperException: Exception in JSP  June 26, 2012 at 4:20 PM
Hi, I am facing below problem while getting paramater as int from jsp. Same code is working fine for string. Please suggest the way forward. exception org.apache.jasper.JasperException: Exception in JSP: /UserMonitor.jsp:23 20: <... View Questions/Answers

html  June 26, 2012 at 2:54 PM
sir i am new to eclipse and i am created a html program and also tomcat is running successfully in side the eclipse.but now how i deploy that html program in the eclipse? ... View Questions/Answers

Foreign key in mysql  June 26, 2012 at 2:53 PM
Hi I am creating a website and linking it to a database using php and mysql. I need to create the databases in phpmyadmin and have decided on the structure of the tables in the database. However, as expected, there are foreign keys in some of the tables - does anyone know how to link the foreign ... View Questions/Answers

how to display the nearest palaces for the given latitude and longitude value in google map in android  June 26, 2012 at 2:47 PM
i m working in android. i need to display the nearest palaces with their image for the given latitude and longitude value in google map in android.. can any one help me... ... View Questions/Answers

How to resolve this error The filename, directory name, or volume label syntax is incorrect  June 26, 2012 at 2:37 PM
Image is stored in physical directory like this String file = "C:/xampp/htdocs/jobqueen/" + username + createTimeStampStr() + ".PNG"; this physical directory is working fine but I want store in url path like this String file = "http://www.queen.com/website/screenshots/" + username + crea... View Questions/Answers

differce between jdk 1.5 and 1.6 with example  June 26, 2012 at 10:59 AM
Hi Friends , Can u plz tell me differences between jdk1.5 and jdk 1.6 with examples? ... View Questions/Answers

program  June 26, 2012 at 9:59 AM
write a html program in show table and this word in box ... View Questions/Answers

html  June 26, 2012 at 9:49 AM
write a html program to print "HELLO WORD"in red coaler font size 12 and italic stile ... View Questions/Answers

Web development  June 26, 2012 at 12:45 AM
I want to validate textbox based on dropdown menu consisting of many options. For eg Dropdown consists of option (1,2,3,4) if "1" is selected textbox should validate a value 0f "2300" through a submit button "Evaluate". Please give me the sample code for the above problem using only javascript... View Questions/Answers

coding for given question  June 25, 2012 at 9:10 PM
Board of Control for Cricket in India wants to award all the best bowlers, based on their performances in a year. A Bowler is called the Best, if the average wickets taken by him during the year is 5 and above. The number of matches played is calculated by the number of digits provided against... View Questions/Answers

Java Code  June 25, 2012 at 5:00 PM
Write a java program, which creates multiple threads. Each thread performs add/delete/update operations on an ArrayList simultaneously. ... View Questions/Answers

related to multiple thread....!!!!  June 25, 2012 at 4:59 PM
Write a Java program, which creates a linklist for Employees info viz. EmpID, EmpName, EmpAge. All operations should be performed on the linklist, like; Create, Add, Delete, Update, Size, View all, View by EmpID, etc. Before the application is about to close, the ... View Questions/Answers

core java  June 25, 2012 at 4:54 PM
public class Check { public static void main(String[] args) { System.out.println(11^2); } } how it is work???? plzz explain ... View Questions/Answers

How to make Time picker in Java Swing  June 25, 2012 at 4:27 PM
Hello Sir, Thank u so much for such a quick reply . I followed date picker tutorial and completed. but sir i want time picker just like date picker in which we can select hours, minutes ,seconds, am,pm etc. Plz send me the code for time picker . Thanks in advance . waiting for u... View Questions/Answers

How to make Time picker in Java Swing  June 25, 2012 at 4:27 PM
Hello Sir, Thank u so much for such a quick reply . I followed date picker tutorial and completed. but sir i want time picker just like date picker in which we can select hours, minutes ,seconds, am,pm etc. Plz send me the code for time picker . Thanks in advance . waiting for u... View Questions/Answers

insert name city image in database using mysql and jsp  June 25, 2012 at 4:04 PM
how to insert name ,city and image in database in mysql and jsp ... View Questions/Answers

database through jsp  June 25, 2012 at 3:29 PM
sir actually i want to retrieve the data from database dynamically.because i dont know how many records are there in the database? thanks ... View Questions/Answers

Date picker in Java Swing  June 25, 2012 at 3:13 PM
Hello Sir, Sir ,I am in need of Time Picker just like the Date picker available in java Swing. Kindly give me the code as i am in need of it badly in my live project. I took ur tutorial to make Date picker in swing . ... View Questions/Answers

student weekly attandence genaration  June 25, 2012 at 1:01 PM
Hievery body iam doing student project in that i want student weekly ,yearly attendence generation report this project doing on struts frame front as java back end as oracle 10 g please help it is very urgent iam a beginer thanks ... View Questions/Answers

No action instance for path  June 25, 2012 at 12:13 PM
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <html:html locale="true"> <head> <title>Struts File Upload an... View Questions/Answers

Need a jsp code  June 25, 2012 at 11:40 AM
I need a jsp code in which when i select a value from dropdowm list,(for eg say id) then all the remaining details(eg:name,age,address) about that id must be displayed in the corresponding textboxes from the database at the moment the dropdown value is selected without the use of button..please h... View Questions/Answers

How to store url path?  June 25, 2012 at 11:37 AM
Image is stored in physical directory like this String file = "C:/xampp/htdocs/jobqueen/" + username + createTimeStampStr() + ".PNG"; this physical directory is working fine but I want store in url path like this String file = "http://www.queen.com/website/scre... View Questions/Answers

How to store url path in file ?  June 25, 2012 at 10:18 AM
Hi, How to store url path in file ? this my program public class Image implements Runnable { .......... public static void writeImage(BufferedImage img, String fileLocation, String extension) { .............. } public static String cre... View Questions/Answers

Browser Back Button click event javascript  June 25, 2012 at 9:53 AM
I am using the below code but window.onBeforeUnload is not working with back button.. how can i apply the below code for the click event of back button? window.onBeforeUnload = function () { if (document.referrer.indexOf('Create') > 0 ||... View Questions/Answers

View Photo From Db MySql  June 25, 2012 at 8:50 AM
Good Morning Sir, Please help me, I make a small code but i have a error. I want to make viewer photo from database MySql into my project in netbeans. this is my code : try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connect... View Questions/Answers

online shopping project  June 25, 2012 at 8:22 AM
dear sir/madam,i am uday pratap singh. i need online shopping project description with code. i also want which type of question arises in interview from the current project. please send detail about this on my id. for this i wil be highly thank ful to you. ... View Questions/Answers

JTables or JTextAreas  June 25, 2012 at 5:58 AM
I've written code for a retail calculator. Now I need to have the user input(item name, department, original price, and sale price) transferred to a JTable once my code does its calculation...How can I make this happen? import java.awt.BorderLayout; import java.awt.F... View Questions/Answers

value is inserted into the sql table through jsp-jdbc but not getting stored into the data base,only row is increasing.  June 24, 2012 at 11:47 PM
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <style type="text/css"> <!-- .style1 { font-family: Arial, Helvetica, sans-serif... View Questions/Answers

store data from a variable in mysql?  June 24, 2012 at 11:23 PM
sir last time asked you tell me how to retrieve data from a database mysql and store it in an int variable in order to apply some calculation on it, but now i want to store the result of the calculation from an int variable into mysql in a new table of database. how to do this..? ... View Questions/Answers

Magic Matrix in GUI  June 24, 2012 at 9:57 PM
I want program in java GUI contain magic matrix for numbers ... View Questions/Answers

prerequisites for learning java.  June 24, 2012 at 8:17 PM
Hi I am new here and as well as programming world... i need to know what's the prerequisites for learning java.. thanks ... View Questions/Answers

Need help writing a console program  June 24, 2012 at 4:55 AM
I need help cant seems to figure it out! Write a program that consists of three classes. The first class will be the actual program. The second class will simply convert a string to lower case. The third class will have three methods: public static String trimmed(String s... View Questions/Answers

Retrive values from an arraylist and display in a jsp?  June 24, 2012 at 1:12 AM
Hi, I need help in jsp to display values of an ArrayList in jsp. There is a java file containing a method which is returning an ArrayList. I want to display the records of the ArrayList in jsp in a tabular form/way. if (request.getParameter("action") != null) { ... View Questions/Answers

Retrive values from an arraylist and display in a jsp?  June 24, 2012 at 1:07 AM
Hi, I need help in jsp to display values of an ArrayList in jsp. There is a java file containing a method which is returning an ArrayList. I want to display the records of the ArrayList in jsp in a tabular form/way. if (request.getParameter("action") != null) { ... View Questions/Answers

How to read value from xml using java?  June 23, 2012 at 11:43 PM
Hi All, I want to read value from following xml using java.. In <Line>,data is in format of key and value pair.. i want to read only values..could u plz help me in this?Thanks in advance <pre lang="xml"> &lt;?xml version="1.0" encoding="U... View Questions/Answers

java  June 23, 2012 at 10:55 PM
actually...i have one table with five columns fname,mname,lname,mobile,address.. now i have to concat fname,mname,lname as Name. and mobile,address column will be same now i have to show datagrid view as Name,Mobile,Address. For Example- fname=raj mname=kumar l_name=sing... View Questions/Answers

How to values from xml using java?  June 23, 2012 at 10:44 PM
Hi All, I want to read value from following < Line> xml using java.. In < Line>,data is in format of key and value pair.. i want to read only values..could u plz help me in this 002:OR,004:0001,002:01,002:01,007:SCEM_02,000:... View Questions/Answers

Username password  June 23, 2012 at 9:53 PM
Hi there, I am trying to create a page on a JFrame that will validate usernames and passwords from a database. I need help with the validation, so that if the username and password match it will continue to the next page, else show an error message. ... View Questions/Answers

Java collection Queue Example  June 23, 2012 at 6:47 PM
How can we use Queue in java collection? ... View Questions/Answers

student attendence report  June 23, 2012 at 6:20 PM
Hi every body iam doing a school project iam using backend as oracle 10g front end as java . in my project generate student attendence daywise ,monthly ,halfyearly and yearly how i generate plz send me code urgent any one can help me. thnks ... View Questions/Answers

Hibernate: core interfaces of hibernate framework  June 23, 2012 at 4:40 PM
What are the core interfaces of hibernate framework ... View Questions/Answers

Hibernate:What is Hibernate proxy?  June 23, 2012 at 4:38 PM
What is Hibernate proxy? ... View Questions/Answers

Hibernate:What is hibernate?  June 23, 2012 at 4:27 PM
What is hibernate? ... View Questions/Answers

HIbernate:What are the ORM levels?  June 23, 2012 at 4:24 PM
What are the ORM levels? ... View Questions/Answers

how to print pdf format  June 23, 2012 at 3:46 PM
Hi every body iam doing school project iam using backend as oracle front end java .how to print student marks list /attendence in pdf format. please help me. thanks in advance. ... View Questions/Answers

i want make a simple tools like turnitin using java  June 23, 2012 at 2:55 PM
it just simple tools can select the file like .doc,.pdf,.txt..the tools can read inside the file and make a searching at internet and give the source the source come from where..can u help me? ... View Questions/Answers

what are different M.I.S reporting tools basically used?  June 23, 2012 at 2:43 PM
what are different M.I.S reporting tools basically used? ... View Questions/Answers

what are different M.I.S reporting tools basically used?  June 23, 2012 at 2:42 PM
write a java pgm using keyword super,static nd final ... View Questions/Answers

GPRS Mobile application  June 23, 2012 at 10:21 AM
Hello Sir, I am develop the GPRS Mobile application.My application is completed.Application successfully run on computer(live url and local url). After the deploying and run on mobbile then sometimes successfully run and somtimes error display. Sir please solve what is the main pr... View Questions/Answers

How to passed the ID's in MAP how to stored whaterver select the name that only ID should store in db using SWING/AWT?  June 23, 2012 at 10:10 AM
Hi, I am working on SWING/AWT application,I write select box programs in swings. my proble is what ever the name is selected that id should be stored in database how to passed the ID's in MAP how to stored whaterver select the name that ID should store in database ... View Questions/Answers

Need help with my project  June 23, 2012 at 1:54 AM
Uses a while loop to perform the following steps: -Prompt the user to input two integers: firstNum and secondNum where secondNum is at least 10 greater than firstNum, both numbers are positive integers, and secondNum is less than 1000. -Verify that the user entered acceptable numbers, an... View Questions/Answers

java  June 22, 2012 at 10:42 PM
write a java pgm to illustrate the keywords super,static and final ... View Questions/Answers

csv file download  June 22, 2012 at 9:17 PM
Hello Every one, when user clicks download button I want to retrieve data from mysql database table in csv format using java.if you know please send code. Thanks in Advance ... View Questions/Answers

how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?  June 22, 2012 at 7:34 PM
var sqlmek="update into Student_info set(ID,s_name,l_name,address,pincode,mobile_no,mail_id)values ("; sqlmek = sqlmek + id.value + ",'" + fname.value + "','" + lname.value + "','"; sqlmek = sqlmek + address.value + "'," + pin.value + "," + mob.value + ",'... View Questions/Answers

Java collection HashSet and TreeSet  June 22, 2012 at 6:08 PM
How can we used HashSet and TreeSet in the both Example? ... View Questions/Answers

importing excel file and drawing multiple graphs from one excel file  June 22, 2012 at 5:48 PM
thanks a lot sir for replying with code for importing excel file and then plotting grph:) it really helped me:):) If you can please help me with one more thing I'll be highly thankful to you:) I want to draw multiple charts at the same time from one excel file using different columns..and instead... View Questions/Answers

java coding  June 22, 2012 at 5:33 PM
Hai,I am having order table in mysql database.when user click download button the order table data shows in csv format.Its very urgent.please help me. Thanks in advance ... View Questions/Answers

Hibernate: need of ORM tools like hibernate  June 22, 2012 at 3:34 PM
Why do you need ORM tools like hibernate? ... View Questions/Answers

Java collection Stack example  June 22, 2012 at 2:57 PM
How to use Stack class in java collection? ... View Questions/Answers

Update after delete  June 22, 2012 at 2:51 PM
sir,i am working on online examination project in servlet.I am facing some problem that are -i have assign id column 1,2,3..... and i am deleting 3 record using id column of database mysql so now id will be 1,2,4,..... now i want to reassign id column 1,2,3,.... using ResultSet Interface of java... View Questions/Answers

Why do we use ORM?  June 22, 2012 at 1:50 PM
Why do we use ORM? ... View Questions/Answers

Benefits of ORM technology  June 22, 2012 at 1:47 PM
What are the benefits of ORM technology? ... View Questions/Answers

What is ORM?  June 22, 2012 at 1:44 PM
What is ORM? ... View Questions/Answers

Java sdk/java poi hssf code to creat excel with folder structure,( i,e folders, subfolders and childrens )  June 22, 2012 at 1:42 PM
I need to create a folder structure in the excel file . To be precise, am working on Java sdk of business objecsts . i need some help in getting folder structure using this java . Folder strcuture should look like following way in excel . ... View Questions/Answers

HTML marquee tag  June 22, 2012 at 12:22 PM
What is Marquee Tag in HTML?... View Questions/Answers

Java Comparator Example  June 22, 2012 at 12:18 PM
Can you provide me an example of Comparator Interface? ... View Questions/Answers

Java Comparable Example  June 22, 2012 at 12:14 PM
I want to know the use of Comparable Interface. Please provide me one example ... View Questions/Answers

java code  June 22, 2012 at 11:38 AM
Hai,I need to download the data file from database with csv format using java/servlet.I would like to download the csv file when user clicks download button. Thanks in Advance ... View Questions/Answers

java code  June 22, 2012 at 11:37 AM
Hai,I need to download the data file from database with csv format using java/servlet.I would like to download the csv file when user clicks download button. Thanks in Advance ... View Questions/Answers

how to upload a student time table excelsheet  June 22, 2012 at 10:38 AM
Hi good morning iam beginer iam doing project using struts frame work backend as 10g xe front end as java .in my student module i have time table so how to upload excelsheet time table or is it possible maintain dynamically plz help me. ... View Questions/Answers

Dynamically added Row is Invisible in another javascript function..?  June 22, 2012 at 12:27 AM
I have table as below, I need to create 5 default rows, ( this is fine with below code)..but when add row its creating row in a table, but the created row is not visibile in another java script function. scripts are pasted at the bottom. please help me. &... View Questions/Answers

inherintance  June 21, 2012 at 8:55 PM
class Video { String title; // name of the item int length; // number of minutes boolean avail; // is the video in the store? // constructor public Video( String ttl ) { title = ttl; length = 90; avail = true; } // constructor public Video( String ttl, int lngth ) { title = ttl; length = lngth; a... View Questions/Answers

DMCA.com