Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

please tell me  January 15, 2011 at 7:14 PM
class Person{ string name; int age; void talk(){ System.out.println("my name is"+name); System.out.println("my age is"+age); } } class Hash(){ public static void main(String ar[]){ Person Raju=new Person(); S... View Questions/Answers

please explain this prog  January 15, 2011 at 7:10 PM
can u explain this import java.io.*; class SString{ public static void main(String ar[]) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter string: "); String name=br.readLin... View Questions/Answers

using iReport  January 15, 2011 at 4:42 PM
Hello sir, I am using iReport3.0 and then i am calling the .jrxml file in jsp but i got the error.My JSP code is as below and after the jsp code i have placed the error code Thanks in advance: &lt;%@ page import="java.sql.*" %&gt; &lt;%@ page imp... View Questions/Answers

didSelectRowAtIndexPath deselect row  January 15, 2011 at 4:26 PM
Hi, In my UITableView application when user taps a row, how to deselect row? Thanks ... View Questions/Answers

How to write method for UITableView didSelectRowAtIndexPath?  January 15, 2011 at 4:21 PM
Hi, Please tell me how to write method for UITableView didSelectRowAtIndexPath? Thanks ... View Questions/Answers

J2EE Application  January 15, 2011 at 2:23 PM
I developed a j2ee application.I used apache tomcat server on my machine and ran it using http://<IPaddressOfMachine>(OR)localhost:8080/<ApplicationName> Its running on my machine fine as well as on local network. But is it possible that other person from other network can access it. If no ... View Questions/Answers

J2ME  January 15, 2011 at 12:22 PM
how to get the color of a pixel in J2ME but not in Java. suppose my pixel is 100,60. My question is how to get the color of that pixel using J2ME. I am using Canvas. I needed to know, if there is any method to get the color of a pixel. If u don't know this can you help me in finding color... View Questions/Answers

Create Database SQLite  January 15, 2011 at 11:15 AM
Hi, I am unable to create database in sqlite ..Can you please provide any specific command. Thanks! ... View Questions/Answers

what is the meaning of this or explain this  January 14, 2011 at 9:55 PM
List<Object[]> list=query.list(); ... View Questions/Answers

Oracle 9i free download  January 14, 2011 at 8:08 PM
where to download oracle 9i for database connectivity in j2ee ... View Questions/Answers

Application context problem code  January 14, 2011 at 7:03 PM
now i am posting my code here . i got error of sessionfactory. so tell me where i declare sessionfactory method. package net.action; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.junit.Test; import org.springframework.conte... View Questions/Answers

application cntext file error  January 14, 2011 at 6:04 PM
i got an error when execute the file in junit using application context file org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [G:\javaDevelopment\Test\test\applicationContext.xml]: Invocation of init method failed; nes... View Questions/Answers

linear sorting  January 14, 2011 at 5:38 PM
what is linear sorting? can any send me an example ... View Questions/Answers

application context file problem  January 14, 2011 at 5:26 PM
how to configure junit application context file with struts........? it is not finding sessionfactory method.......... ... View Questions/Answers

Servlets  January 14, 2011 at 4:28 PM
servlet code to accept client details and store it in the database ... View Questions/Answers

Core java Basic  January 14, 2011 at 12:38 PM
How to compile a program using the package statement at the first line.Do I have to create a a Seperate Folder with the name of the package in my directory.Please tell me the steps? ... View Questions/Answers

How to convert many class files into one exe file?  January 14, 2011 at 12:33 PM
How to convert class files into one exe file? I have done my project in java.i want to know how to convert it into .exe file? plz reply fast. Thnx in Advance. Happy Pongal! ... View Questions/Answers

How to convert many class files into one exe file?  January 14, 2011 at 12:32 PM
How to convert class files into one exe file? I have done my project in java.i want to know how to convert it into .exe file? plz reply fast. Thnx in Advance. Happy Pongal! ... View Questions/Answers

Web Resources  January 14, 2011 at 12:04 PM
How to access the resources of one web application to another web application if both are placed in different places in the same computer ? Any body can you answer me this type of question? ... View Questions/Answers

Web Resources  January 14, 2011 at 12:04 PM
How to access the resources of one web application to another web application if both are placed in different places in the same computer ? Any body can you answer me this type of question? ... View Questions/Answers

DMCA.com