Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

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

shopping cart using sstruts  January 5, 2010 at 11:58 AM
Hi,This is question i asked ,u send one link.but i cant able to ddownload the file .please send the code file.--------------I need the example programs for shopping cart using struts with my sql.Please send the examples code as soon as possible.please ... View Questions/Answers

java  January 4, 2010 at 5:14 PM
what is the need of a jar file? How a java application is distributed? ... View Questions/Answers

java  January 4, 2010 at 5:11 PM
What is a web server and whats the difference between a web server and a web application? ... View Questions/Answers

java  January 4, 2010 at 4:58 PM
How i can create a connection with oracle database in javascript function? ... View Questions/Answers

create login java web service  January 4, 2010 at 4:54 PM
Hi,I am kind of newb in java web service development , i want to write a simple web service application that client send username and password for server , then after authenticate that with mysql data base , the session for current user should be created, can anybody help me for doing that?!... View Questions/Answers

popup ballon in jsp  January 4, 2010 at 3:52 PM
How to show a popup ballon in jsp when pointing to a link using javascript.Please help me ... View Questions/Answers

how to crate callout box in jsp  January 4, 2010 at 3:29 PM
how to create a callout box when pointing a link in jsp page like in MS-word document callout box. Please help me I want to use it. ... View Questions/Answers

After Clicking Image I need Popup Window  January 4, 2010 at 2:25 PM
Hi Friends. when i click any image button , i need to display popup window in javascript.can u give code for this<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <TITLE> New Document </TITLE> <... View Questions/Answers

php session  January 4, 2010 at 1:09 PM
My php session value is doesn't get. I checked the php code is correct. when this runs under php4 version. But didn't run under php5 version. I think it seems to be error in Global registering. ... View Questions/Answers

j2me- forward a video  January 4, 2010 at 12:50 PM
hi friends, i have play a video using J2ME. but, i have unable to forward a video. does anybody know about it?? please help me..thanks,regards,sakthi ... View Questions/Answers

jsp  January 4, 2010 at 11:58 AM
iam creating one excel sheet through jsp.i want to create same excel sheet in button.please tell me how to create button in excek sheet. ... View Questions/Answers

j2me image problem  January 4, 2010 at 10:41 AM
hi, i am new for j2me programs. i created image using canvas class. i want to change the image. i have no idea about it. please help me. thank u in advance.regards,sakthi.s ... View Questions/Answers

java connecting to oracle db  January 4, 2010 at 12:46 AM
how to connect oracle data base with java application? ... View Questions/Answers

JMF WebCam detection problem  January 3, 2010 at 9:47 PM
Hello friends,I am using JMF to operate my web cam.My usb webcam works perfectly with JMF, I used it in JMStudio however,when I make this call from my java codedeviceListVector = CaptureDeviceManager.getDeviceList( null );my USB "webcam" is detected how... View Questions/Answers

Split the JTree  January 2, 2010 at 9:11 PM
Hi AllI wonder if someone can help. I'm trying to split the JTree into two JPanels so the Root and "Parents" can be in one JPanel and the "Child" can be in another. Folders(root & parents) are on left and Files(child) are in centre. I've managed to do it so it's e... View Questions/Answers

Option Box Value  January 2, 2010 at 5:42 PM
Hi Friends,I have one option box which is division,division have dynamically data,if user select any division thenhis option box is populated(work schedule,Peronal Area,personal sub area,business area,trust master,payroll data)please write the code and... View Questions/Answers

servlet javabean  January 2, 2010 at 4:13 PM
how to use a java bean in servelts .plese give me one example program using servelt mvc concept. ... View Questions/Answers

how to run jdbc in jsp program  January 1, 2010 at 10:19 PM
i want to use sql server 2005 in jsp program to store data.i know how to run simple program but this program i tried my best i am not able to do so.please give me the answer of this as soon as possible and with all details .Thank in advace ... View Questions/Answers

1-2+5-10+17-26 sum the series  January 1, 2010 at 6:41 PM
1-2+5-10+17-26 sum the series ... View Questions/Answers

email extractor  January 1, 2010 at 10:06 AM
how to extract only email address from a lines of text file(.txt or .doc) and print in another file?will u send me answer in c language? I have the idea ,copying one file text to another file by using buffer concept, but am unable to extract some text and print in another file ... View Questions/Answers

EJB in jsp code  December 31, 2009 at 8:39 PM
Suppose in EJB we created the session bean, remote interface and the home interface....On the other hand we have a jsp file....how can we access the EJB methods in the jsp file....if u can present me with some examples...it would be better... ... View Questions/Answers

Upload Exce Data into MySql Using Jsp and Servlet  December 31, 2009 at 6:09 PM
now i am doing a project my concept is to insert the Excel File Data is uploaded and inserted into Mysql Database table so please give the coding to me, it's very urgent for me. My mail id thubatisrinu@gmail.com ... View Questions/Answers

email extractor  December 31, 2009 at 4:22 PM
how to extract only email address from a lines of text file(.txt or .doc) and print in another file? ... View Questions/Answers

jsp code  December 31, 2009 at 4:12 PM
Can anyone help me in writing jsp/servlet code to retrieve files and display in the browser from a given directory. ... View Questions/Answers

jsp  December 31, 2009 at 3:26 PM
hi iam doing jsp project.i want to display the database tables in excelsheet with count of rows,plese calrify plase ... View Questions/Answers

Java Mail API  December 31, 2009 at 1:08 PM
Hi!I wish u advanced happy new year to all of ur team members....My question is..I want to read attachments in my gmail account using java mail api... i got code from our roseindia.net i.e. ReadAttachment.java...In code I changed the following things...... View Questions/Answers

fill out forms on web pages  December 31, 2009 at 11:42 AM
I want to fill out forms on web pages, it's is very important to my project. For example there is a web-site www.blauh...com , in which there wil be a form , what i hav to do is to fill that form fields automatically by providing values in my java program. Please, I need help o... View Questions/Answers

Java SFTP  December 30, 2009 at 7:34 PM
Hi I want to perform SFTP through Jsch package. I could able to sftp one file but I could not able to sftp multiple files. PFB my codepackage xml_handson;/* * To change this template, choose Tools | Templates * and open the template in the editor.... View Questions/Answers

java  December 30, 2009 at 3:44 PM
what is request processor and what is the basic difference between forward and include method of request processor. ... View Questions/Answers

java  December 30, 2009 at 3:42 PM
how to display the image from byte array in jsp ... View Questions/Answers

java, plz help me in doing this  December 30, 2009 at 7:32 AM
# Write a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record, List Records. Each Record contains: Name(max 100 char), Age, Notes(No Maximum Limit). No database should be used. All data must be stored in one or two files. Listing records should prin... View Questions/Answers

Perl  December 29, 2009 at 2:51 PM
Hi...can anyone help me regarding perl ....in perl script to connect to database and to run the query System command is being used. for example: #print "\nRun the sql";system "$MSSQL_OSQL -U$USR -P$PSW -S$SVR -d$DB -n -i $SQL/sqlname.sql -o $L... View Questions/Answers

java  December 29, 2009 at 2:43 PM
how to write the records into simple text file from MySql database table (i learnt from an example in this website how to read the records of a simple text file and write (insert) into a simple table in MySQL database)please help me with the code ... View Questions/Answers

Project Question  December 29, 2009 at 2:06 PM
hello sir ,i have project in visual basic 6.0 ,i want to convert it in to visual basic.net2008 how i can convert it. plz Help Me its very very urgent ... View Questions/Answers

Java  December 29, 2009 at 12:06 PM
Dear sir/madam Suppose i have a doc file. I need to print some text from source file which is red color text to output file. My question is "how i can sort that particular text in output file"?Regards,Amresh Kumar ... View Questions/Answers

jsp  December 29, 2009 at 10:20 AM
hello deepak iam doin project in jsps.iam creaing one branch in html and connection in jsps.iam giving the branchid. first time only we enter id,another time automatically genrated id.for example we can enter firsttime id is "101" next add details automatically genrated "102" we ... View Questions/Answers

jsp code compilation error  December 29, 2009 at 9:49 AM
hai, iam doing online banking project.i created two database tables in mysql.Table1: user (username,password) Table2: myaccounts (accno,username,balance).for funds transferring, i had written the following code.but it shows the following error.can you tell me where is the error and also ... View Questions/Answers

java  December 28, 2009 at 11:10 PM
hai friends In java how to backup and restore all the files in a system is there any databases needed to maintain all the files whether it is possible or not If it is possible means plz give u r suggestions and solutions to me immediately and wha... View Questions/Answers

struts  December 28, 2009 at 5:36 PM
Hi,I need the example programs for shopping cart using struts with my sql.Please send the examples code as soon as possible.please send it immediately.Regards,Valarmathi ... View Questions/Answers

jsp  December 28, 2009 at 4:54 PM
hi iam doing project in jsp.i want to click the textbox display the in that textbox.code will be below please help me.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>addasset.html</... View Questions/Answers

java  December 28, 2009 at 2:00 PM
Hi roseindia, Currently i am doing on struts, in this i got one problem. now my task is i have to enter chinese letters into textfield, for my requirement , i need to insert chinese letters in textfiled for search..i tried lot...but i coundn't find out the solution..... View Questions/Answers

spring  December 28, 2009 at 11:48 AM
what is Session Factory in spring? ... View Questions/Answers

ARRAYS SORTING  December 28, 2009 at 11:20 AM
How To Sort An Array With Out Using Sort Method ?I Want Code? ... View Questions/Answers

jsp  December 28, 2009 at 10:55 AM
hi iam doing one project using jsp and excel.iam giving the details on below plesae explain how to solve this problem an excel utility which is used to get the record count of all the tables of a particular database.Usage:1. Open the excel.2. Click... View Questions/Answers

Series program in Java  December 27, 2009 at 10:51 PM
Wap to print the series and find the sum:-1+2+4+9+28+125My email-id is:-pal.soumyadeep123@gmail.com ... View Questions/Answers

please help me in a java program !!  December 27, 2009 at 9:56 PM
the porgram should use kosaraju's algorithm to detect the strong connected components in a graph (http://en.wikipedia.org/wiki/Kosaraju_algorithm)there are 4 classes in my program : Vertex , StackX, Graph , DFSApp"DFSApp is the one from which i modify the graph and run the program&q... View Questions/Answers

sql server  December 27, 2009 at 5:22 PM
what is SQL server? & what is oracle? are they same? ... View Questions/Answers

Reversing all root-to-leaf paths in a tree (JAVA)  December 27, 2009 at 3:26 PM
A root-to-leaf path in a tree is defined to be a sequence of nodes starting from the root node and proceeding downwards to a leaf.Required that given a tree, output the tree after reversing all root-to-leaf paths.For the following tree:root = 5root.right = 8, root.left = 4... View Questions/Answers

java infinite loop  December 26, 2009 at 6:08 PM
class Top{public Top(){}public Top(String s){ System.out.println(s);}}public class Button2 extends Top{Button2 c= new Button2("A");public Button2(String s){super(s);System.out.println("D");... View Questions/Answers

ARRAY SUB  December 26, 2009 at 5:45 PM
What Is A Sub Array ?I Want defination ?How To Declare Sub Array? ... View Questions/Answers

Diamond shape num  December 26, 2009 at 5:01 PM
How To Print Diamond Shape Numbers I Want Logic?Using For loops? ... View Questions/Answers

HSSF WORKSHEET FORMATTING  December 26, 2009 at 11:23 AM
I am using the following code in my jsp to import thr o/p to excel on the server.<% HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet sheet = wb.createSheet("sheet"); %> <% int i=1; %>... View Questions/Answers

jsp  December 26, 2009 at 11:22 AM
hello iam creating one html form.that canbe give idno.when we enter the id display that client details form and possible to edit to the details.iam id value put the sessions but iam not geting plz help me ... View Questions/Answers