Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

retrieve data from mysql database and store it in a variable ?  June 21, 2012 at 8:06 PM
sir , I am working on a project , in which I have to apply operation on input data which is stored in mysql. so to apply some arithmetic operation on it we have to store that data in int variable. how to do this ? ... View Questions/Answers

HibernateCriteriaAggregate-Projection  June 21, 2012 at 6:52 PM
How to use aggregate function in order by with Criteria API? ... View Questions/Answers

Java collection LinkedHashSet  June 21, 2012 at 6:38 PM
How can we use LinkedHashSet in java collection? ... View Questions/Answers

administrator login form  June 21, 2012 at 6:24 PM
Hi iam using struts frame work backend as oracle .i want code for administrator login form thanks in advance. ... View Questions/Answers

Hibernate Many To Many Annotation Mapping  June 21, 2012 at 6:23 PM
How to use Many To Many Annotation Mapping in Hibernate? ... View Questions/Answers

Hibernate Mapping Many-to-Many Example  June 21, 2012 at 6:15 PM
How does many to many relationship work in Hibernate? ... View Questions/Answers

How to set the border in header and footer from login page using swings/awt  June 21, 2012 at 6:05 PM
Hi, How to set the border in header and footer from login page using swings/awt ... View Questions/Answers

Java collection HashSet  June 21, 2012 at 5:33 PM
How can we use HashSet in java program? ... View Questions/Answers

Java collection Vector  June 21, 2012 at 5:28 PM
How can we use the vector class in java program? ... View Questions/Answers

What are the benefits of using Frameworks in PHP  June 21, 2012 at 5:06 PM
I am into PHP development since 1 year and have been using the procedural approach for developing the websites. I am willing to switch to the MVC architecture for web development. Can I know which is the best MVC framework to use among Codeigniter, Zend and CakePHP? What are their benefits? Pleas... View Questions/Answers

struts logic tags  June 21, 2012 at 4:59 PM
what is the use of struts logic tag ... View Questions/Answers

Struts  June 21, 2012 at 4:58 PM
Am newly developed struts applipcation,I want to know how to logout the page using the strus ... View Questions/Answers

Arrays in java  June 21, 2012 at 4:54 PM
what is param array in java? ... View Questions/Answers

Arrays  June 21, 2012 at 3:09 PM
how to extend an already existing array without creating a new array ? ... View Questions/Answers

How to put the image in footer in login form ?  June 21, 2012 at 2:50 PM
Hi, how to put the image in footer in login form ? ... View Questions/Answers

How to put the logo in login form using swings/awt?  June 21, 2012 at 2:48 PM
Hi, How to put the logo in login form using swings/awt? I write the login form is working but i want to put the logo in login form plz help ... View Questions/Answers

Java collection -Hashtable  June 21, 2012 at 1:48 PM
What is Hashtable in java collection? ... View Questions/Answers

how to perform a equqlity triangle in java  June 21, 2012 at 1:15 PM
below the output 1 2 3 4 6 5 7 9 10 8 ... View Questions/Answers

how to perform a equqlity triangle in java  June 21, 2012 at 1:15 PM
below the output 1 2 3 4 6 5 7 9 10 8 ... View Questions/Answers

how to write a program in java to print numbers in equalateral triangle  June 21, 2012 at 1:10 PM
the output must be 1 324 76589 ... View Questions/Answers

reading data from excel file and plotting graph  June 21, 2012 at 11:43 AM
I am doing a project using NetBeans in which i have to take input an excel file and then using the data in excel file, i have to plot graphs based on CELL ID selected. please help me out with the code ASAP..i need it urgently.. ... View Questions/Answers

How create csv format in jsf ?  June 21, 2012 at 11:05 AM
Dear Friends , Good morning to all of you? I have a problem to create .CSV format in jsf. Actully I have successfully created .PDF files of my jasper report form jrxml in jsf. I have created a BO for fields of jasper report,and crate a seprate dao for database co... View Questions/Answers

Excel file Handling in Java  June 21, 2012 at 10:59 AM
Hello Sir, I am new to Java, I have Started Java Core by myself. I want to make a project which include 3-4 Excel file to handle.Please explain how to read and write Excel file in Java.Is it tough to do this kind of project for a beginner. Thanks ... View Questions/Answers

java  June 21, 2012 at 4:01 AM
Servlet should contain bussiness logic and Jsp should contain presentation logic in MVC architecture. Why? ... View Questions/Answers

Creat a folder, inside it upload and download files in jsp and mysql  June 20, 2012 at 11:51 PM
Create one or more folder .inside it we can upload and download multiple files ... View Questions/Answers

jsp question  June 20, 2012 at 9:37 PM
how to use security lier in our project using with jsp??? ... View Questions/Answers

hibernate prablems.  June 20, 2012 at 8:56 PM
i have worked hibernate framework.when i was using oracle XE as backend hibernate not properly working.how i can over come this prablem?please help me. ... View Questions/Answers

prablems on oracle ee installation in windows7 ultimate(32 bit).  June 20, 2012 at 8:53 PM
Hai i have face several prablems when ever i m install oracle ee in my system(32 bit)windows7 ultimate.it is not installed in my system.can any body help me how to install?please...urgent . ... View Questions/Answers

Java Collection-TreeSet  June 20, 2012 at 6:28 PM
What is TreeSet in Java Collection? ... View Questions/Answers

Java collection-LinkedList  June 20, 2012 at 6:23 PM
How to use java collection-linked list ? ... View Questions/Answers

plz help me for this question  June 20, 2012 at 2:11 PM
Apply simplex procedure to solve the L.P.P. maximize z = 3x1 + 4x2 subject to 5x1 + 4x2 ? 200; 3x1 + 5x2 ? 150; 5x1 + 4x2 ? 100; 8x1 + 4x2 ?? 80, x1 ? 0, x2 ? 0. ... View Questions/Answers

how can i hide and show tables  June 20, 2012 at 1:18 PM
hai, i am creating a form which the code is included below i want to hide the tables initially and after i click go i want to display the tables with result.so any help is appreciated much <%@taglib uri="http://jakarta.apache.org/struts/tags-bean" pref... View Questions/Answers

Java Map Example  June 20, 2012 at 12:13 PM
How we can use Map in java collection? ... View Questions/Answers

How to write a select box and id should be stored in database?  June 20, 2012 at 11:07 AM
Hi, How to write a select box and select the name(devi) regarding name id(like 60) should be stored in database using SWINGS concept plz help ... View Questions/Answers

java  June 19, 2012 at 11:44 PM
sir i am using one query as- String query ="SELECT(firstname +" "+ middlename +" "+ last_name) as Name,city,state FROM user"; but here its showing one error as ';' expected.....my query is correct but why its showing error....?????? ... View Questions/Answers

java  June 19, 2012 at 11:44 PM
sir i am using one query as- String query ="SELECT(firstname +" "+ middlename +" "+ last_name) as Name,city,state FROM user"; but here its showing one error as ';' expected.....my query is correct but why its showing error....?????? ... View Questions/Answers

Quartz scheduler  June 19, 2012 at 7:15 PM
Hai I want to run a simple Helloworld quartz job in eclipse by using tomcat server . i get the following 404 error " The requested resource (/Helloworld/) is not available". And this is my code for scheduler import java.util.Date; import org.quartz.JobDetail; im... View Questions/Answers

how to use an editable combobox  June 19, 2012 at 7:11 PM
Hello Everyone!!!!!!!! I have a jcombo box with certain values and i want to use it as an editable that means when user will type something in combobox, according to that text only matching item should appear in the list. ... View Questions/Answers

how to count unique and duplicate values from one table in mysql?  June 19, 2012 at 6:48 PM
I have use EMP table.I want to count unique and duplicate records from emp table and how to use in java program. ... View Questions/Answers

Regarding Regular Expressions  June 19, 2012 at 6:40 PM
Hi I would like to supply my regular expression with a 'default' value, so if the thing I was looking for is not found, it will return the default value as i have mentioned in the Regular Expressions. Please acknowledge me as soon as possible. Thanks, K.ManojKumar. ... View Questions/Answers

Hibernate criteria by id.  June 19, 2012 at 6:39 PM
How to display record by using criteria by id in Hibernate? ... View Questions/Answers

Hibernate criteria by id.  June 19, 2012 at 6:38 PM
How to display record by using criteria by id in Hibernate? ... View Questions/Answers

How to call java method on Button click in jsp?  June 19, 2012 at 5:51 PM
How to call java method on Button click in jsp? ... View Questions/Answers

ZK for Java  June 19, 2012 at 5:44 PM
Hi Team, I have 2 years of experience in ZK framework. If you want I can develop a tutorial in ZK with screen shots to post in your website. Thanks & Regards, Jaffar. ... View Questions/Answers

why we use struts framework instead of springs  June 19, 2012 at 5:34 PM
why we use struts framework instead of springs ... View Questions/Answers

Hibernate criteria - how to use criteria to return only one element of an object instead the entire object.  June 19, 2012 at 5:11 PM
How to use criteria to return only one element of an object instead the entire object? ... View Questions/Answers

What is the dirty checking feature of Hibernate?  June 19, 2012 at 4:20 PM
What is the dirty checking feature of Hibernate? ... View Questions/Answers

ajax doubdt  June 19, 2012 at 4:18 PM
function getentityshortname(val) { alert("entered"); var centrecode=val; var unitcode=val; var postString = "&centrecode="+centrecode; var postString = "&unitcode="+unitcode; // alert(postString); ... View Questions/Answers

Application Level Caching  June 19, 2012 at 3:56 PM
How to create application level caching using mbean, without using any orm like hibernate ... View Questions/Answers

map on web page  June 19, 2012 at 12:23 PM
i want to insert an area map in my web page how can i do it ? please answer me soon. Its urgent . ... View Questions/Answers

Issue with Javascript  June 19, 2012 at 11:52 AM
Hi I created arrays in javascript in following way var myimages= new Array(); myimages[0]="iphone_pushups.png"; myimages[1]= "cricket.png"; myimages[2]= "july.png"; myimages[3]= "matrix.png"; myimages[4]= "rhymes.png"; var Questions= new Array(); Questions[... View Questions/Answers

jQuery Autocomplete fetch_object fatal error?  June 19, 2012 at 10:43 AM
I am consistently getting this error when I use the code supplied here, even after updating the database information etc. http://www.roseindia.net/tutorial/ajax/jquery/autocomplete.html "Fatal Error: Call to a member function fetch_object() on a non-object" Now the ... View Questions/Answers

DMCA.com