Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

request object value  January 19, 2011 at 4:26 PM
Hi Friends I am developing a web application. In this application we have a login page. Thr are different text field. when we login in this page, we have to fill all information. I want to maintain all request object value for whole application. Problem is..envirement session,application object a... View Questions/Answers

trigor656  January 19, 2011 at 4:23 PM
HI, my teacher has given me a project in JAVA and i don't know what the code was can you help me. HERE'S THE PROBLEM... write a method that tales an integer value and returns the number with its digit reverse.For Example given the number 7631 the method should return 1367 ... View Questions/Answers

Marker interfaces in java  January 19, 2011 at 4:19 PM
how marker interfaces work? ... View Questions/Answers

Advertisement

angel656  January 19, 2011 at 4:18 PM
write a method that tales an integer value and returns the number with its digit reverse.For Example given the number 7631 the method should return 1367 ... View Questions/Answers

Java  January 19, 2011 at 4:01 PM
I recently create a program in jsp (netbeans 6.8, tomcat, mysql) where user can login and click on the link that open an excel sheet, but I want they can open or save or cancel the file( preferly open/close/cancel window) please forward me the complete jsp ... View Questions/Answers

Hostel management information system  January 19, 2011 at 3:09 PM
Can u send me mvc based project of hostel management systenm source code? ... View Questions/Answers

Java interview qeastion  January 19, 2011 at 1:47 PM
how i can run java class file into jsp program ... View Questions/Answers

servlet execution  January 19, 2011 at 1:28 PM
i saved tomcat in path C:\Program Files\Java\Tomcat 6.0 there is file in tomcat lib folder as servlet-api(Executable jar file 84kb) how to set the servlet-api.jar in jcreator ide? please explain in detail ... View Questions/Answers

servlet execution  January 19, 2011 at 1:01 PM
when i complied servlet in Jcreator i am getting this errors. i also set CLASSPATH in environment variable as *C:\Program Files\Java\Tomcat 6.0\lib\servlet-api.jar* till i am getting following errors i follow all the instructions steps. C:\Program Files\J... View Questions/Answers

servlet execution  January 19, 2011 at 1:00 PM
when i complied servlet in Jcreator i am getting this errors. i also set CLASSPATH in environment variable as C:\Program Files\Java\Tomcat 6.0\lib\servlet-api.jar till i am getting following errors i follow all the instructions steps . C:\Program Files\Java... View Questions/Answers

project  January 19, 2011 at 12:51 PM
Write a code to print the data being transferred on the open port of a network? ... View Questions/Answers

Project  January 19, 2011 at 11:39 AM
&lt;% String project<em>no=request.getParameter("project</em>no"); String qry="select stud<em>name,project</em>name,project<em>type,project</em>no,receipt<em>no,receipt</em>fees,"; qry+=" receipt<... View Questions/Answers

Project  January 19, 2011 at 11:39 AM
&lt;% String project no=request.getParameter("project no"); String qry="select stud name,project name,project type,project no,receipt no,receipt fees,"; qry+=" receipt amt,receipt tax,tot weeks,to char(receipt dt,'dd/mm/yyyy') from proj master "; ... View Questions/Answers

basic program  January 19, 2011 at 11:28 AM
hii actully i am goin for technical interview on java as fresher so please tell me what these two basic lines means : public static void main(String arg) and System.out.print(); please give me meaning of each word ... View Questions/Answers

Rocket ship  January 19, 2011 at 11:19 AM
I have to write a program which the output is like a rocket ship similar to this /**\ //**\\ ///**\\ ////**\\ /////**\\\ +======+ |../..../..| |./\/../\/.| ... View Questions/Answers

mysql query  January 19, 2011 at 11:18 AM
how do transfer into the excel data to my sql ... View Questions/Answers

How to send and recieve email by using java mailserver  January 19, 2011 at 10:44 AM
How to send and receive email by using java mail server? ... View Questions/Answers

XML clonning with java and passing arguments  January 19, 2011 at 4:21 AM
Hi, I have a XML file as follows. My requirements are as below. 1. Clone the whole xml file. 2. Iterate depending on the number provided. Say 1 means only one set with arugments1 if 2 then with arguments1 and then arguments2. ... View Questions/Answers

printing in java  January 18, 2011 at 10:42 PM
hello i want to print a jInternalframe containing some lebels,but my printer sent me a paper with the following written on it: please what is the problem? ... View Questions/Answers

online examination system project in jsp  January 18, 2011 at 8:47 PM
I am doing project in online examination system in java server pages. plz send me the simple source code in jsp for online examination system ... View Questions/Answers

How to copy many files into one file and how to manage the content of the final file?  January 18, 2011 at 6:22 PM
Hi, i'm trying to code that copy the content of all txt file in a folder and paste it into one file. My following code is working but the problem is for example if i have three txt files my program copy the content of the first txt file, after the second file is copied just below ... View Questions/Answers

HIIIII  January 18, 2011 at 5:24 PM
import java.sql.*; import javax.swing.JOptionPane; public class NewJFrame extends javax.swing.JFrame { Connection con=null; Statement st=null; ResultSet rs=null; private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) { { try Class.forName(... View Questions/Answers

JBBC ,MYSQL ND JAVA  January 18, 2011 at 5:23 PM
import java.sql.*; import javax.swing.JOptionPane; public class NewJFrame extends javax.swing.JFrame { Connection con=null; Statement st=null; ResultSet rs=null; public NewJFrame() { initComponents(); } private void initComponents() { pri... View Questions/Answers

s per ur answer  January 18, 2011 at 4:06 PM
i cannot understand please explain in detail 3)Create web.xml and classes folder inside the WEB_INF folder of web application folder. ... View Questions/Answers

dojo preview  January 18, 2011 at 2:56 PM
I m using dojo framework to upload my ads....how to preview ads after it is uploaded? ... View Questions/Answers

Could not able to run Java Applet in JSP using <jsp:plugin>  January 18, 2011 at 2:49 PM
I could not able to run the above example applet in the JSP. Getting class not found exception. Copied the error stack trace below. Exception: java.lang.ClassNotFoundException: JavaApplet load: class JavaApplet not found. java.lang.ClassNotFoundException: JavaApplet at sun.plugin2.a... View Questions/Answers

db connectivity  January 18, 2011 at 2:48 PM
hi i am beginner in objective c lang and having knowlwgde of basic syntax of this lang and need statements that can be used to connect to sqlite. please do send me the simple example code. i am using GNUstep under windows ... View Questions/Answers

servlet execution  January 18, 2011 at 1:41 PM
i am beginner I have simple servlet. how to execute servlet. i get error javax.servlet not importing ... View Questions/Answers

Amazon Kindle  January 18, 2011 at 12:20 PM
can any body tell me, how the kindle development environment will be & what is the basic coding standards for the kindle application development? ... View Questions/Answers

java swing-action on checkbox selection  January 18, 2011 at 11:42 AM
I am working in netbeans and mysql.On selecting a check box, the data from database must be retrieved. i need the action preformance of check box...could nybody?....if could...!thanks ... View Questions/Answers

How to collect Java input field value display into Jtable?  January 18, 2011 at 11:38 AM
<p>We would like to know how to collection input field data into Jtable with the following format. Please advise.</p> <ol> <li>text field - input amount</li> <li>text year - input year</li> <li>text rate - input ... View Questions/Answers

Date validation  January 18, 2011 at 8:25 AM
How to validate date in jsp? That is i have a textbox which will have the value from the date picker. How to validate the date that should be entered in a specified format? ... View Questions/Answers

How to get filename in JTextArea in following case?  January 18, 2011 at 3:45 AM
Hi, i'm trying to code a GUI in java, the following code is working but the filenam is not displayed in the JTextArea, why? [CODE] private void saveasdirectorybuttonActionPerformed(java.awt.event.ActionEvent evt) { JFileChooser fc = new JFileChooser(); ... View Questions/Answers

Swing EJB  January 17, 2011 at 9:36 PM
Hi everyone !!! I tried to find wether EJB architecture can operate with swing, because I am trying to make application which would work as with swing client side, instead jsp or other web page page(s). I wondered is there possibility to make such project ? Is there a possibility to work... View Questions/Answers

inheritence Vs inheritence  January 17, 2011 at 7:35 PM
what are difference b/w c++ inheritence and java inheritence ... View Questions/Answers

Password need to encrypt while inserting into DB and need to decrypt while responding to forgot password  January 17, 2011 at 6:04 PM
Hi, i encrypt password and stored in to DB.but i dont know decrypt that password.plz send the code.in your site link is there but code is not displayed.plz help me. ... View Questions/Answers

class distance  January 17, 2011 at 5:17 PM
class distance-integer data member km1,km2,km3,m1,m2,m3. run()-to input the two distance and add them in the third. display()-to display the total distance. display the constructor if required. ... View Questions/Answers

Linked list  January 17, 2011 at 3:12 PM
what is difference btw linked list in datastructure and linked list in java..?? ... View Questions/Answers

Complete php tutorial  January 17, 2011 at 1:29 PM
Hi, I am trying to find the url to learn complete PHP in easily. Can some one provide me url for complete php tutorials. Thanks ... View Questions/Answers

Jvaa  January 17, 2011 at 12:31 PM
How can we add a advertisement in java(JSP,Servlet) upon a webpage in small window with a closing option? ... View Questions/Answers

UIButton Wrap Text  January 17, 2011 at 12:26 PM
UIButton Wrap Text - How can i warp the text in two lines? I have created the UIButton Programatically. ... View Questions/Answers

Accessing webcam in jsp  January 17, 2011 at 12:25 PM
Hi Friends, I have to access the webcam through jsp and display the snap in same jsp taken after a click. I am using java media framework but i am not able to detect the device using CaptureDeviceManager. I am proceeding in right way using jmf or we are supposed to use any thing d... View Questions/Answers

jsp sql server 2005 connectivity  January 17, 2011 at 12:18 PM
your jsp mysql tutorial is very help full.Please tell me how to connect jsp with SQL server 2005.. ... View Questions/Answers

ER Diagram  January 17, 2011 at 12:04 PM
is there is any tool to draw ER diagram automatically ? (Like when i am connecting to Database i want to ER Diagram of That DB..i don't want to do it manually) ... View Questions/Answers

Extarct string from PDF  January 17, 2011 at 11:32 AM
how can i search a particular character from pdf? also extarct string from a pdf document?? ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

How to sent mails through jsp application  January 17, 2011 at 10:48 AM
when i fill the form, and submit it, then a mail should be sent to persons mentioned in the form and i want to conect the jsp page to database ... View Questions/Answers

JTree -Swings  January 17, 2011 at 9:37 AM
how to update a single node in a siteTree though there are more than one node.? it throws exception when we try to update the site tree when the change is on only one node... ... View Questions/Answers

differences  January 17, 2011 at 5:57 AM
what is the difference between i++ and ++i? ... View Questions/Answers

Abstract class  January 16, 2011 at 11:14 PM
what is an Abstract class ... View Questions/Answers

what is collections?  January 16, 2011 at 9:39 PM
what is collections? ... View Questions/Answers

uiscrollview setcontentoffset animated  January 16, 2011 at 9:22 PM
Hi, What is actual code to call uiscrollview setcontentoffset animated method? Thanks ... View Questions/Answers

please tell me what is ment by wrapper class in java........  January 16, 2011 at 8:19 PM
what is ment by wrapper class in java? ... View Questions/Answers

what is the difference between access specifiers and access modifiers in java?  January 16, 2011 at 7:59 PM
what is the difference between access specifiers and access modifiers in java? ... View Questions/Answers

Hibernate  January 16, 2011 at 7:57 PM
hello, how to run hibernate program in netbeans?please send me step by step instructions to run hibernate in netbeans. ... View Questions/Answers

Hibernate  January 16, 2011 at 7:28 PM
Hello, I wanted to learn hibernate.I am not understanding which version to learn.please let me know about it. ... View Questions/Answers

please tell me  January 16, 2011 at 7:25 PM
why we use public static main(String ar){} in java instead of main() ... View Questions/Answers

java  January 16, 2011 at 5:31 PM
Does java allows multiline comments? ... View Questions/Answers

JDBC  January 16, 2011 at 5:17 PM
what is the difference between hashmap and treemap? ... View Questions/Answers

alter table create index mysql  January 16, 2011 at 4:30 PM
Hi, What is the query for altering table and adding index on a table field? Thanks ... View Questions/Answers

alter table create index mysql  January 16, 2011 at 4:30 PM
Hi, What is the query for altering table and adding index on a table field? Thanks ... View Questions/Answers

java  January 16, 2011 at 3:51 PM
wap to find largest number of list of no. entered through keyboard ... View Questions/Answers

find and replace in java  January 16, 2011 at 3:07 PM
Need 'find and replace' function in Java to find special keyword in XMl such as @,#,!,%..and replace with their corresponding entities. ... View Questions/Answers

draw chart in web application  January 16, 2011 at 12:26 AM
how to draw bar chat from the record store in database? i.e. draw the bar chart according to selected record? ... View Questions/Answers

can you explain ?  January 16, 2011 at 12:03 AM
my dear can you teel me the explaintion for this code i need it GregorianCalendar cal = new GregorianCalendar(y, m, 0); System.out.println("Su Mo Tu We Th Fr Sa "); lead spaces = cal.get(Calendar.DAY _OF WEEK); int... View Questions/Answers

UITableView Background Image  January 15, 2011 at 11:31 PM
How to set an image as a background of UITableView in iPhone SDK ... View Questions/Answers

chat server  January 15, 2011 at 10:55 PM
i want to develop chat server through jsp+struts+spring+hibernate so please guide me ... View Questions/Answers

mysqldump structure only  January 15, 2011 at 10:16 PM
Hi, How to take dump of database structure only? Provide me the syntax to take mysqldump structure only. Thanks ... View Questions/Answers

hi  January 15, 2011 at 9:38 PM
A/write an application that display a menu of three items in a restaurant as follows: (1) Cheeseburger 4.99 (2) Pepsi 2.00 (3) Chips 0.75 prompt the user to choose an item using the number (1,2or3) that corresponds to the item, or to enter 0 to quit the application.after... View Questions/Answers

retaining the selected values in html:select multiple="true" in jsp + collection + struts  January 15, 2011 at 8:48 PM
Hi, I have a multiple selection box in one of the jsp: <TR> <TD height=30 class="Formblue" valign=top><strong>Select&nbsp; Level&nbsp;:</strong></TD> <TD colspan=5 class="para" &... View Questions/Answers

recursive method  January 15, 2011 at 8:23 PM
Write a recursive method to add the first n terms of the series 1 + (1/2) - (1/3) + (1/4) - (1/5)... ... View Questions/Answers

Conversion from string data type into different data types.  January 15, 2011 at 7:40 PM
string str="World id Beutifull"; char chr[20]; char* chrctr ; Qustion is -How to store the 'str' value in 'chr' and 'chrctr'? int abc; sprintf(abc ,"%s",str);//Is it right? Pls let me know the solution. Thanks in Advance... View Questions/Answers

JSP  January 15, 2011 at 7:34 PM
I am now using MySql database i have one error when connectivity code run that is ... driver not found I want to get driver or driver class or Plz know me that which class i have to use Like sun.java.odbc.jdbc.JdbcOdbcDriver quick answer ... View Questions/Answers

please explain this prog  January 15, 2011 at 7:28 PM
import java.io.*; class Studar{ public static void main(String ar[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("how many subjects"); int n= Integer.parseInt(br.readLine()); //create ... View Questions/Answers

DMCA.com