Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Struts  January 19, 2010 at 10:14 PM
how to handle errors in struts? ... View Questions/Answers

action Servlet  January 19, 2010 at 10:10 PM
What is the difference between ActionServlet ans normal servlet?And why actionServlet is required? ... View Questions/Answers

Example caching  January 19, 2010 at 9:20 PM
Hi everyone!!I am a student in Viet Nam, I am coding a project J2ME. Before, I had some question in RoseIndia and received your userfull anwsers. Now, I code to caching in j2me, I would like to save results of last query into cache and the new query will find into cache before send request to ... View Questions/Answers

Advertisement

java how to open CD drive through code  January 19, 2010 at 8:03 PM
hi every one i wanted to write a code for my application using that functionality i want to be able to open the cd drive ...I know there is com.ms.win32 but i havent found that package in java...can anybody tell me how to use that package in java.... ... View Questions/Answers

java beans code in jsp  January 19, 2010 at 3:28 PM
can you tell me how to use java beans in jsp in step wise.iam doing online banking project. i need java beans code connecting jsp page to mysql database. please send me the code for login page, myaccount summary page and funds transfer page using java beans. ... View Questions/Answers

Programming error  January 18, 2010 at 11:02 PM
import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;public class UpdOrders extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{res.setContentTy... View Questions/Answers

Javamail  January 18, 2010 at 10:57 PM
i want an explanation and code of Automated generated mail. ... View Questions/Answers

Servlet  January 18, 2010 at 10:49 PM
how to validate a servlet program using Javascript OrHow to validate html using JavascriptorCan i link a jsp file that is validated by using javascript to a servlet ... View Questions/Answers

JSP  January 18, 2010 at 6:32 PM
Hi!I have a content which was generated dynamically in <div> tag.....I would like to access the data of div tag and store it in a variable... in JSP....for example<div id="sample">goodmorning</div>I would like to store this 'goodmorning' in a... View Questions/Answers

Need source code  January 18, 2010 at 6:01 PM
Hai friends, How can I, view all the datas from the mysql database table in the jframe........ ... View Questions/Answers

Need source code  January 18, 2010 at 5:05 PM
Hai, I need a source code for developing the project, title is "Face Recognition" and the backend as My-sql.... Thanks & Regards, Terrance. J ... View Questions/Answers

Need source code  January 18, 2010 at 4:24 PM
Hai, I need a idea and code for developing the project "Face Recognition" with the backend as My-sql.... Thanks & Regards, Terrance. J ... View Questions/Answers

Need source code  January 18, 2010 at 3:05 PM
Hai, In java swing, How can upload and retrieve the images from the mysql database? ... View Questions/Answers

java beginners  January 18, 2010 at 2:18 PM
to Write a program to convert entered number into words.Output : You have entered number = 356 The number in words is = three five six.thanks ... View Questions/Answers

java  January 18, 2010 at 2:17 PM
to Write a program to input a string and two words and replace first word with second word as in example given below :Input : Hot plate with hot eggWord1 : hotWord2 : coldOutput : cold plate with cold egg. thanks ... View Questions/Answers

java beginners  January 18, 2010 at 2:16 PM
pl. let me know the program for the following question.A Cyber Café charges for the usage of computer according to the following Slab System.For the first 60 minutes - Rs. 20/=For the next 30 minutes - Rs. 12/=For the next 15 minutes - Rs. 8/=For the res... View Questions/Answers

Asp.net  January 18, 2010 at 1:28 PM
in my webform gender(m/f) radio buttons are there when i click a radiobutton that gender is inserted into the database.what is the sql query of radiobutton please give a code of sql query and asp.net(vb) ... View Questions/Answers

java multithread  January 18, 2010 at 9:33 AM
Hi,I have developed one java application.It should be running continuously. Using multithreads how to make the application to run continuously.Could you please help me.Thank you, ... View Questions/Answers

Human face using applet programming  January 18, 2010 at 7:15 AM
import java.awt.*;import java.applet.*;public class HumanFace extends Applet{private int mouseX, mouseY;private boolean mouseclicked = false;public void init(){}public void paint(Graphics g){g.drawOval(40,40,120,150);g.drawOval(57,75,30,30)... View Questions/Answers

Radius Program  January 17, 2010 at 12:42 AM
I need to write, compile, and execute a Java application program that calculates and outputs the circumference of a circle. Any ideas? thanks!! ... View Questions/Answers

java programming  January 16, 2010 at 10:20 PM
please i want your help and solution also in this example:using JCreatorPro program Write a Java program that does the following: // TODO, Ask the user for his name // TODO, ask the user for his score in the first exam // TODO, ask ... View Questions/Answers

java programming please  January 16, 2010 at 10:17 PM
please i want your help :-( using JCreator program Your local bank has contracted you to design a Java application that will process saving account data for a given customer in a given year. Assume that the saving account accurse interest at a rate of 12 percent p... View Questions/Answers

Socket connection  January 16, 2010 at 3:20 PM
Hi everyone!!I am a student in Viet Nam and codding project about J2me, using Netbean 6.8 simulator mobile cilent. I have file.xml in server (PC), I want to send to client by socket conection, everyone please help me!!If not use socket, can I use other conection?? ... View Questions/Answers

Java  January 16, 2010 at 3:04 PM
I want to run a program of video control. But I got a lot of errors because javax.microedition does not exist. What I have to do to run the program? ... View Questions/Answers

Human face using applet programming  January 16, 2010 at 7:37 AM
import java.applet.*;import java.awt.*;public class Chatterjee extends Applet{ public void init() { } public void paint(Graphics g) { g.drawOval(40,40,120,150); g.drawOval(57,75,30,30); g.drawOval(110,75,30,30);... View Questions/Answers

java  January 15, 2010 at 8:18 PM
your website is best look i am intension of this java because a project has given for me by my instructorthe project is write a full code which consists 1 inheritance 2 polymorphism ... View Questions/Answers

junit  January 15, 2010 at 4:28 PM
can u give me a sample application of using junit? ... View Questions/Answers

java struts servlets writing  January 15, 2010 at 12:43 PM
sir..i am using eclipse here for software development.and i just want to know what all are the neccessary steps to write servlets pragrams for stuts applicatuin.here am developing a small application (which wil display input value gvn by a user,)as a trial..please help mejaya ... View Questions/Answers

jav beginners  January 15, 2010 at 8:54 AM
pl. let me know the logic and the program to print the prime and twin prim numbersthanks ... View Questions/Answers

javascript  January 15, 2010 at 8:53 AM
<%@ Language="VBScript" %><% Option Explicit %> <html><body> <% Dim product_id,pro_desc,stocks,counter Dim connstring, connection, SQL product_id= request.form("product_id"... View Questions/Answers

how to create and use cache in j2me?  January 14, 2010 at 2:36 PM
Hi everyone, I am a student in Viet Nam!I am coding project j2me using caching but what by I do not begin, please hepl me! ... View Questions/Answers

How to create function download in web services with java?  January 14, 2010 at 2:29 PM
I am a student in Viet Nam, I am coding a project j2me access web services to download a file.xml, anybody please help me how to creates function download in web services?? ... View Questions/Answers

java program  January 14, 2010 at 2:09 PM
write a program in java to print the following pattern?12 3 43 4 5 4 34 5 6 7 6 5 45 6 7 8 6 5 4 3 ... View Questions/Answers

Excel / Doc to PDF conversion using Acrobat9  January 14, 2010 at 1:09 PM
Hi,I need to convert .xls / .doc files to .pdf files using Acrobat9. Please suggest the possible ways.Thanks in advance. ... View Questions/Answers

Java Calculator program  January 14, 2010 at 7:25 AM
import java.awt.*;import javax.swing.*;import java.awt.event.*;class Calculator implements ActionListener{ int c,n; String s1,s2,s3,s4,s5; Frame f; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16; Panel p; TextField tf1;... View Questions/Answers

java  January 13, 2010 at 7:26 PM
Q: In a certain diving even a score is awarded by each of the 10 judges.the highest and the lowest score are neglected and the average of the restis found to get the final score. Design a flochart to input the 10 score.There is only one highest acore and the lowest score. ... View Questions/Answers

java  January 13, 2010 at 7:15 PM
Q: write a program in java which input a positive natural N and output all combination of consecutive natural which add up to give N . Example : N=15 then the output should be 1 2 3 4 5 4 5 6 7 8 ... View Questions/Answers

java  January 13, 2010 at 7:09 PM
Write a Java program to read a positive integer from console and find out whether it is automorphic or not.(Automorphic number are those which are found on the extream right side of the square). Eg. 2 5 = 25_ 2 6 = 36_ ... View Questions/Answers

java  January 13, 2010 at 7:00 PM
A one dimensional array contains 100 element. Each element is an integer.write a program to read the array and find the mean element of the arrayFind the position of the element which has the maximum deviation from the mean ... View Questions/Answers

java  January 13, 2010 at 6:54 PM
write a program in java to print the following pattern?123434543456765456786543 ... View Questions/Answers

java  January 13, 2010 at 6:51 PM
In sinking a well the rate of driling is 20 metres per hour. For each subsequent hour the depth suck is 8 percent less then the previous hour.write a program in java to calculate and print the depth reaches after 10 hours.? ... View Questions/Answers

FTP file copy problem?  January 13, 2010 at 6:16 PM
Hi, Can any one tell me how to set file lastModifiedTime after copying files through FTP. I am using commons-net-1.4.1.jar to copy files from local system to server.Eg: local file name ?test.doc? (Today, December 29, 2009, 5:09:33 PM) when I moving this file to server, the files ar... View Questions/Answers

How to enable commenting into pdf files using java?  January 13, 2010 at 6:06 PM
I need to enable commenting feature in a pdf through Java program. Normally when we open a pdf in acrobat, user can put comments in the pdf because acrobat has in build commenting feature (this feature is only for licensed version). At the same time, when the pdf is opened in adobe reader, user can ... View Questions/Answers

cannot find symbol  January 13, 2010 at 5:51 PM
public class Areatest{ public static void main(String[]args) { Figure[]figures={new Triangle(2.0,3.0,3.0),new Rectangle(4.0,6.0),new Square(5.0)}; for(int i=0;i<figures.length;i++) { System.out.println("Area of "+figures[i]+" is "+figures[i].ge... View Questions/Answers

How to create database in mysql using ANT build  January 13, 2010 at 5:15 PM
Hello , can anybody tell me how to create a database in mysql using ant build.Please tell me detail with build.xml ... View Questions/Answers

JSP Hindi Page  January 13, 2010 at 3:00 PM
I need to provide users with option to print a Certificate in English or Hindi. This is an html page generated by JSP Code. Depending upon the button clicked english or hindi version of the Certificate should be shown. Dynamic data will be obtained from data based and will be in english. So only the... View Questions/Answers

jsp  January 13, 2010 at 2:54 PM
wat are the functions to get parameters from jsp..? and storing them in database.. the database server used is ibm db2 software.. the functions hav to match the server selected..the problem is that the commands are not executed properly.. errors are popped up ... View Questions/Answers

javascipt  January 13, 2010 at 2:30 PM
anoter.asp<html> <head> <script langauge='javascript' type='text/javascript'> function addNew() { var mainContainer = document.getElementById('mainContainer'); var n... View Questions/Answers

javascript  January 13, 2010 at 1:08 PM
first.asp<html><head><script langauge='javascript' type='text/javascript'> function validate(form) { // alert(document.getElementById('textbox').value); var error=""; if(form.... View Questions/Answers

How to use Token Interceptor  January 13, 2010 at 9:30 AM
Hi,Iam a beginner in struts.I tried to implement Token Interceptor to prevent double submission,I search internet but didnt find examples to do that in Struts2I tried below code <interceptor-ref name="token"/> ... View Questions/Answers

jsp  January 13, 2010 at 7:26 AM
Hi this is chethan here...i have the problem in adding the form data(i.e., user details like username,password) to ibm db2 database and then retrieving data from database to display it on browser or a html page..its urgent .. pls reply as soon as possible .. ... View Questions/Answers

Flash based Chat System  January 12, 2010 at 1:46 PM
Hi I would like to ask is it advisable putting the chat inside the Flash (integrated with the video), or putting it outside the the Flash using XMPP embedding in a website.What issues / pros and cons of the two approaches.What are the existing relevant solutions t... View Questions/Answers

Java Memory of Apache Tomcat  January 12, 2010 at 12:36 PM
Dear All, Please help me to fetch the Java memory occupied by Apache tomcat server using Java Codes. I have three applications installed on Application server, if i start using all the three applications, the java memomry occupied will be more and it goes down at t... View Questions/Answers

java  January 12, 2010 at 12:22 PM
how to insert and delete a number in between an array ... View Questions/Answers

spring with hibernate  January 12, 2010 at 11:19 AM
Hi,I need the sample code for user registration using spring , hibernate with my sql.Please send the code as soon as possible.I need Spring with Hibernate code not struts.Thanks,Valarmathi ... View Questions/Answers

C Program to Print Pascal Triangle  January 12, 2010 at 10:49 AM
I want C Program to Print Pascal Triangle. ... View Questions/Answers

jsp program  January 11, 2010 at 8:36 PM
1.write a servlet program that finds out the given number is armstrong or not which has been submitted through a form?2.create an application in jsp to redirect the request to any other page. ... View Questions/Answers

spring with hibernate  January 11, 2010 at 7:01 PM
Hi, I need the sample code for user registration using spring , hibernate with my sql.Please send the code as soon as possible.Thanks,Valarmathi ... View Questions/Answers

java program for Denial of Service (DoS) attacks detection  January 11, 2010 at 5:07 PM
i want a simple program to generate and detect a Denial of Service (DoS) attacks. using java program ... View Questions/Answers

javascript  January 11, 2010 at 3:02 PM
What is the logic To find the list of arguments starts with Alphabits in database by using javascript?Ex: A B C D E .........Z 0-9If we will click (A) it Should show the listargs starts With AIf we will click (B) it Should show the listargs starts With B......up to Z an... View Questions/Answers

regarding bill generation  January 11, 2010 at 1:54 PM
in this program it is connected with database in mysql.when a customer or user enters he can able to see his payable amount as well as what he paid before as bill. ... View Questions/Answers

javascript  January 11, 2010 at 11:43 AM
thanks ..but i hav writen code in diferent way can u mak changes in tis codehere only 1 row is getting inserted into database but i want all the rows to get inserted into databaseanoter.asp<html> <head> <script langauge='javascr... View Questions/Answers

java  January 11, 2010 at 9:36 AM
hi iam doing project n jsp.i want to select the database server.all database servers are selected dynamically.if we selected the mysql display alldatabase and tables.else we can select the oracle display all oracle databases.please clarify this one.... View Questions/Answers

Servlets  January 10, 2010 at 6:55 PM
How to execute the servlet proramsuch that i should get the o/p in the Excel sheet..... nad wat r the changes that i need to do in the program....plz suggest me suitable solution.....I am trying from past 2-3 days.....Thanks,Gowrishankar ... View Questions/Answers

java  January 10, 2010 at 6:30 PM
please do explain me about exceptions in java with good illustrations ... View Questions/Answers

java  January 10, 2010 at 6:27 PM
what is a framework? ... View Questions/Answers

J2ME  January 10, 2010 at 2:21 PM
Hi I want to know how I can downlload J2ME programming and if ypu have any idea about it please help me. Thank ... View Questions/Answers

JBoss - error during deploy  January 9, 2010 at 8:29 PM
Hello!I've followed your fantastic tutorial about JBoss but I got stucked in exercise 2. I use JBoss AS 5 (don't really know what AS means but I hope I downloaded the right thing). I try to deploy the .ear file and it gives errors, both in manual (pasting the file into the deploy folder)... View Questions/Answers

java related  January 9, 2010 at 2:09 PM
is it possible for a biggener to learn a computer language like java to learn it online ??actually i m a computer science student(fresher) and even in 12th class i have not taken c++ and no knowledge of it ....now i wanna learn it.please tell can roseindia help me.......in it ???????....and in... View Questions/Answers

java  January 9, 2010 at 12:36 PM
hi we can select any database server dynamically.for suppose we can select sql server that can display details and select mysql display alldatabases.please clarifythanks ... View Questions/Answers

jsp program for bill generation  January 8, 2010 at 3:36 PM
hi, i just want to know how i write the jsp program for generation of bill for a gas connectivity systm ... View Questions/Answers

javascript  January 8, 2010 at 2:19 PM
hiim beginner,i have created form using javascript and html functionality is with every click of add button textbox shud get created,n with everyclick of delete buton the row shud get deleted tis is working fine,but i need to move the wole table from form to database with single click of sub... View Questions/Answers

Usage of Hash Code  January 8, 2010 at 1:14 PM
Dear sir, What is Hashcode in Java and What is its usage?Thanks and RegardsM.KehtraBalan ... View Questions/Answers

how to convert jsp page to class file  January 8, 2010 at 10:28 AM
hai. iam doing online banking project by using jsp.i completed all the jsp pages.next can you tell me how to convert these jsp pages to class files with example and where to copy these class files.please tell me further, what are the things to be done for the project. ... View Questions/Answers

How to get data from Excel sheet  January 8, 2010 at 10:07 AM
Hi, I have an excel sheet with some data(including characters and numbers). Now i want read the data from excel sheet and display in console first then later insert this data into database.i am using java, jsp, struts also but not using struts html tags just using simple htm... View Questions/Answers

problem at the time of execution  January 8, 2010 at 9:58 AM
when i was running web applications the exception i.e 404 resource is not available what it means and where it occures what is the solution ... View Questions/Answers

Java code error  January 8, 2010 at 12:00 AM
Hi,I am using a MooreQuery to look for neighbors in a grid: MooreQuery<Object> query = new MooreQuery<Object>(grid, this,(int) (2*myHomeRangeRadius), (int) (2*myHomeRangeRadius));if(query != null){ for (Object o : query.query()){... View Questions/Answers

web service problem  January 7, 2010 at 8:36 PM
I have created web service client and server for File transfering using axis2/java.I want to add JAX-RPC client Handler for authentication.I am adding user name and Password to the header using client handler. Please let me know will axis2 support jax rpc client handler? How to inv... View Questions/Answers

java  January 7, 2010 at 6:02 PM
if marker interface is empty how it will give special behaviour to its implementation class object ... View Questions/Answers

core java  January 7, 2010 at 3:46 PM
Can we provide more than 1 try catch block ... View Questions/Answers

Oops Definition  January 7, 2010 at 12:10 PM
What is Abstraction and Encapsulation? What is the Difference Between Abstraction and Encapsulation? Regards M.KethraBalan. ... View Questions/Answers

jsp  January 7, 2010 at 11:35 AM
hi in our project select the database and tables are select the dynamically.first select the database after select the table.select the table that details are display the excel sheet.in our code database and table can be selected dynamically.after select the table values are not displayed in excell ... View Questions/Answers

How to add struts2.1.8 plugin in eclipse  January 7, 2010 at 11:00 AM
Hello, Can anybody help me how to add struts2.1.8 plugin in eclipse3.4 ... View Questions/Answers

java  January 7, 2010 at 9:58 AM
what is diferenc among ArrayList,LinkList and Vector? ... View Questions/Answers

jsp  January 7, 2010 at 9:39 AM
iam trying your code but iam not geting the excelsheet verfiy once.code is below<%@page import=" java.sql.*"%><form action="createExcel.jsp"><select name="tables"><option value="select"><---S... View Questions/Answers

sample JSP&Servlet application required?  January 7, 2010 at 6:05 AM
hey alliam new to jsp&servletsi did read some tutorials about the basicsand i want any simple tutorial or a project that integrate both jsp&servletsany help? ... View Questions/Answers

jsp  January 6, 2010 at 6:33 PM
iam trying your code but iam not geting the excelsheet verfiy once.code is below<%@page import=" java.sql.*"%><form action="createExcel.jsp"><select name="tables"><option value="select"><---S... View Questions/Answers

about swings  January 6, 2010 at 5:24 PM
Dear sir,Good evening, i am doing mca sir,i am doing the project in swings,so plz provide the material about swings sir Thank you ... View Questions/Answers

ZodiacSign with an image  January 6, 2010 at 5:03 PM
Help me!!!Make a program that display the user's zodiac sign together with the pictures of that sign. Ask only for the birth month and birthday of the user.Thanks for those who help me and give a guide to do this kind of program.. GOD bless^_^.. ... View Questions/Answers

JSP  January 6, 2010 at 1:57 PM
hi i need to generate timetable for my college.. i have to generate timetable for both class and teachers .. in that i want know how i will place the data in table from database.. ... View Questions/Answers

TIMETABLE  January 6, 2010 at 12:54 PM
I want to do project for timetable generation for our college. so i dont know how generate.. please some one help me.. ... View Questions/Answers

jsp  January 6, 2010 at 11:50 AM
hi iam doin jsp project below code is select anyone database after display tables dynamically.but i want select the database also dynamically after select the database,that database tables also select dyanmically.after selecting table that table values display in excelsheet.<%@p... View Questions/Answers

hibernate web project  January 6, 2010 at 11:33 AM
hi friends,very good morning,how to develop and execute web project using myeclipse ide.plz give me step-by-step procedure for that,thank u in advance. ... View Questions/Answers

Jsp Code Problem  January 6, 2010 at 10:47 AM
I use DocType in my Jsp Page. The Links are not functioned after Applying the DocType. Could you tell me any way to activate the link. Thank You. ... View Questions/Answers

jsp  January 6, 2010 at 9:30 AM
hi in this way databases also we are doing are not.means databases also one dropdownlist.we can select one database after display tables after all table details are display in excel sheet.alltables.jsp:<%@page import=" java.sql.*"%><form action... View Questions/Answers

jsp  January 5, 2010 at 4:54 PM
hi iam doing jsp project.iam creating one excel page that excel page i can insert the database table values.my problem is we have take one database tables all in dropdownlist.we can select anyone table that values can display the excel sheet in dynamically.the below code is only one table values are... View Questions/Answers

javax.naming.ConfigurationException: Name space accessor for the java: name space has not been set. Possible cause is that the user is specifying a java: URL name in a JNDI Context method call but is  January 5, 2010 at 2:52 PM
javax.naming.ConfigurationException: Name space accessor for the java: name space has not been set. Possible cause is that the user is specifying a java: URL name in a JNDI Context method call but is not running in a J2EE client or server environment. ... View Questions/Answers

jsp  January 5, 2010 at 1:32 PM
i got the display the tables in excel but i want to display all tables of values in excel page. ... View Questions/Answers

jsp  January 5, 2010 at 12:17 PM
plz tell me how to use javascript for user validation in jsp page? ... View Questions/Answers

jsp  January 5, 2010 at 12:00 PM
hi iam doing jsp project.i want to display the database tables in excelsheet with count of rows.im doing below code but excel file not created.<%@page import=" java.io.*"%><%@page import=" java.sql.*"%><%@page import=" org.apache.poi.hssf.use... View Questions/Answers

DMCA.com