Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Birt Report  February 15, 2011 at 6:27 PM
Help with birt reports in myeclipse. I'm getting an exception when trying to display the report. Can u give me the complete procedure and the code as well. The exception is: Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.dbprofile. Please reply fast its urgent.... View Questions/Answers

INTERFACE  February 15, 2011 at 5:35 PM
how interface support multiple inheritance in java? ... View Questions/Answers

take data from one table and insert same in another  February 15, 2011 at 5:26 PM
I want to know when a new field update in table and the same data has to update in another table ... View Questions/Answers


jdbc  February 15, 2011 at 3:54 PM
why do we need to load jdbc drivers before connecting to database ... View Questions/Answers

dwr-ajax  February 15, 2011 at 3:43 PM
i have four dropdown if i select first dd then only corresponding values must be there in 2nd dd,same with 3 and 4 and onchange it would not refresh the whole page. i have to use DWR.. ... View Questions/Answers

Can we replace main() with static block or with other static methods?  February 15, 2011 at 3:34 PM
what is the use of public static void main()?can't we achieve the same thing through static block or through other static methods? ... View Questions/Answers

IP Address validation  February 15, 2011 at 3:10 PM
hi,I m now working with my final yr project,nd stuck in th middle i don't know how to validate the IP address in a JText field...(ie) the user shld enter the IP address in JTxt and when he hit the 'Submit' button the actionlistener shld check its valid or not...like if user have entered 256.324.1... View Questions/Answers

Clicking F5 and reentering value throws Null pointer exception  February 15, 2011 at 3:07 PM
Hi, My page performs search operation.Normally when i enter a value and click on search it fetches a list corresponding to the search value entered by me.But when i refresh my page and enter any value it is throwing Null pointer exception.can anyone help me please? Kirti ... View Questions/Answers

i need program to insert data in database using javascript  February 15, 2011 at 2:56 PM
please help me.. ... View Questions/Answers

write a java program  February 15, 2011 at 2:49 PM
write a program to print '*' in a circular form? ... View Questions/Answers

tree view  February 15, 2011 at 2:43 PM
display a tree view in flex?nodes will be in the form of + and -? ... View Questions/Answers

Servlet  February 15, 2011 at 2:06 PM
how to navigate one servlet page to another servlet page? ... View Questions/Answers

collections  February 15, 2011 at 12:59 PM
in collections can we perform binarysearch on arraylist elements without sorting them ... View Questions/Answers

Checkbox method  February 15, 2011 at 11:09 AM
what is the method to check if the checkbox is checked or not? ... View Questions/Answers

JSF Sample Programs  February 15, 2011 at 10:52 AM
I need a JSF sample programs ... View Questions/Answers

JSF Rendered Attribute  February 15, 2011 at 10:51 AM
i need the example for jsf with rendered attribute. ... View Questions/Answers

dwr-ajax  February 15, 2011 at 10:47 AM
using dwr how to populate state which are coming from database after selecting their corresponding country ... View Questions/Answers

start and deploy  February 15, 2011 at 9:25 AM
how to deployee java web application in glassfish by using netbeans6.7 ... View Questions/Answers

java  February 15, 2011 at 3:10 AM
I am doing engg. with Electrical branch,but i want to be a SCJP .Can I go in this field?? How much time it will take be a professional java programmer in any java field like J2ME! ... View Questions/Answers

how to use calender in php  February 15, 2011 at 12:30 AM
how to put calender in php? ... View Questions/Answers

Hidden Program  February 14, 2011 at 10:05 PM
Hello Sir/Madam, I need to know how many files are hidden in a folder or drive using java program ... View Questions/Answers

please help me to overcome this problem  February 14, 2011 at 7:59 PM
how to make it easy to write java code. can u please give me suggestions ... View Questions/Answers

database  February 14, 2011 at 7:26 PM
In my project,i want the user to specify the name of the database he wants to create in mysql and then also the name of the table along with the column names he wants in that database....Im doing my project in netbeans...swings.......If it is possible kindly help me Thank You... ... View Questions/Answers

j2me beginner  February 14, 2011 at 6:21 PM
how to create an application for sending files via bluetooth please i want full codings ... View Questions/Answers

struts+hibernate  February 14, 2011 at 6:04 PM
org.hibernate.InvalidMappingException: Could not parse mapping document from resource roseindia/net/hibernate/Address.hbm.xml ... View Questions/Answers

voip  February 14, 2011 at 6:00 PM
can you plz send me the source code for the Voip code as you were submitting at your college. i would be thankful to you. ... View Questions/Answers

Fleek Management System(FMS)  February 14, 2011 at 5:44 PM
Hi, Please anybody can reply....I wanna develop a project(FMS) in Java , which was already developed in PHP. Now what technologies should i apply for developing this project. The main aim of this project is to transfer the load(unload) from one area to another area through lorries. Than... View Questions/Answers

plese help  February 14, 2011 at 4:36 PM
i need a program to convert a decimal num into binary num in java language by using array and loop ... View Questions/Answers

Retriving multiple values of checkboxes in struts  February 14, 2011 at 4:34 PM
how to retrive multiple values of checkboxes of jsp in action class ... View Questions/Answers

Create PDF from java  February 14, 2011 at 2:52 PM
Good afternoon, I have a problem how to create report. i want to create report in pdf file from my database in mysql. Now i use IReport too create pdf file, can't work...., pleas tell me a tutorial/source code to create pdf file from database call from java programming. thank you... View Questions/Answers

Security in Java  February 14, 2011 at 2:42 PM
how does java provide security in a website ... View Questions/Answers

Error in simple session bean ..................  February 14, 2011 at 2:38 PM
Hi friends, i am trying a simple HelloWOrld EJb on Websphere Applicatiopn server 6.1. Can any one plz help me to solve this issue. here is the client code which i have written. package com.ibm.pck; import java.util.Properties; import... View Questions/Answers

java  February 14, 2011 at 2:14 PM
how to use jni? ... View Questions/Answers

SCJP  February 14, 2011 at 1:14 PM
fees details about scjp? what are the best books for preparing to scjp. how many time scjp exam's are conducted for one year? please such scjp related valuable information ... View Questions/Answers

java hello and timer alert application  February 14, 2011 at 12:37 PM
Hi, Please help me create a simple Java application that can display "Hello world" and current Time alert on mobile device screen using mobile screen emulator. Regards ... View Questions/Answers

iPhone iPad Default.png  February 14, 2011 at 12:11 PM
How can i set the default image for both iPhone and iPad in my global application XCode?? Thanks! ... View Questions/Answers

read xml using java  February 14, 2011 at 10:56 AM
<p>to read multiple attributes and elements from xml in an order.... ex :component name="csl"\layerinterfacefile="poo.c"\interface type=""\level="0"\source_file="ppp" etc as wise each attribute n element to b printed... here is the xml code..................... View Questions/Answers

binary tree  February 14, 2011 at 10:39 AM
can a binary tree be implemented with out comparing the value with root? ... View Questions/Answers

webservice  February 14, 2011 at 10:34 AM
hello deepak.... i have followed the tutorial which u have provided(http://roseindia.net/webservices/web-services-database.shtml)..... But still database is not updating... Pls look into my problem.... regards-- harish kumar... View Questions/Answers

stopwatch  February 14, 2011 at 8:40 AM
Java code for stopwatch timer which should start from zero ... View Questions/Answers

ASSIGN TIME LIMIT  February 14, 2011 at 12:09 AM
import java.util.*; class enter{ public static void main(String args[]){ int a; Scanner p=new Scanner(System.in); /*add some command such a time limit assign for next two commands*/ a=p.nextInt(); System.out.println(a); System.out.println("... View Questions/Answers

Help for Check availability of user  February 13, 2011 at 8:29 PM
I need the code for check availability of users in the database before login.I placed a button for Check Availability.Can it be done with this or ajax should be used? ... View Questions/Answers

sahabaj  February 13, 2011 at 7:23 PM
diamond shape pattern print of numbers 123456789101112131415987654321 ... View Questions/Answers

File Upload  February 13, 2011 at 6:44 PM
Hi I need script / string in PHP where I uploaded the file in html frontend and it should sent the uploaded file as attachment to my email address ... View Questions/Answers

match mismatch of shaadi website code in jsp  February 13, 2011 at 6:38 PM
match mismatch code in jsp ... View Questions/Answers

Declare Reference variable  February 13, 2011 at 6:14 PM
class A { int a; //instance variable static int b; // static variable A ref; static A refs; public static void main(String[] args) { // statements followed here... } } My Question is that instance v... View Questions/Answers

pointer  February 13, 2011 at 5:21 PM
CONSTRTUCT A STRUCTURE FOR EMPLOYEE RECORD THAT CONTAINS A PERSON'S NAME, AGE, EMPLOYEE AND SALARY.WRITE A STATEMENT THAT DECLARES A VARIABLE empInfo and a pointer emPtr of type EMPLOYEE.then use the pointer to display all information of imployee info ... View Questions/Answers

java  February 13, 2011 at 5:07 PM
can we write main() with private.. example--private static void main(String x[])? ... View Questions/Answers

creating a file in a directory  February 13, 2011 at 1:47 PM
hi i have tried all the file methods to create a file inside a directory but none of them r working some of them are new File ( ".", "C:/fileInRoot.txt" ) new File ( "myDir", "/otherDir" ) File( "myDir/OtherDir" ) File( "/OtherDir" ); new File ( "species/clan/individual.txt" ) can... View Questions/Answers

sahabaj gayen  February 13, 2011 at 1:43 PM
Write a program which takes a string (maximum 80 characters terminated by a full stop. The words in this string are assumed to be separated by one or more blanks. Arrange the words of the input string in descending order of their lenghts. Same length words should be sorted alphabetically... View Questions/Answers

Unable to execute JSP page  February 13, 2011 at 12:40 PM
I have written one jsp file. It contains html tags and jsp directives. I have saved the file with the extension .jsp. The tomcat server is already running onto my machine. I have saved the jsp file within demo-examples which is again within webapps folder of apache-tomcat-6.0.14 folder. B... View Questions/Answers

hava  February 13, 2011 at 11:48 AM
write a program to count the no of repeated words in a sentence by using a return statement? ... View Questions/Answers

java  February 13, 2011 at 11:47 AM
write a program to count the no of words in a sentence by using a return statement? ... View Questions/Answers

java  February 13, 2011 at 11:45 AM
tribonacci series program in java by using a return statements ... View Questions/Answers

database  February 13, 2011 at 11:17 AM
I wanted to know if it is possible to create a database in mysql by letting the user enter the name of the database in swing gui..im doing my project in netbeans...Thank You ... View Questions/Answers

online library management  February 13, 2011 at 10:16 AM
how to divert user from log in page to home page depending on their category(like student or staff in case of ol library) using java servlet? ... View Questions/Answers

prompt using  February 13, 2011 at 2:01 AM
I want examples to use prompt and how to move the item from the prompt to a cell in a table. thank you. ... View Questions/Answers

using prompt  February 13, 2011 at 1:57 AM
how to use prompt ... View Questions/Answers

A TRIAL  February 13, 2011 at 12:31 AM
Write a program for a furniture company that requests from user the type of wood, the table size, the number of drawers, the quantity of tables to order, delivery service required, and finally display the total order amount. The type of wood is Pine, Oak or Mahogany; and there are three table siz... View Questions/Answers

fresher  February 12, 2011 at 9:03 PM
why we will not move the result set object from one application to another application ... View Questions/Answers

Array  February 12, 2011 at 8:42 PM
i having problem how to make algorithm for [a][5] [a][10] [b][15] [b][10] [c][5] [c][5] . . . . sum of [a] = 15 [b] = 25 [c] = 10 . . . . ... View Questions/Answers

java basics  February 12, 2011 at 8:29 PM
Write a java program to calculate the sum of the series as given below: 1 - 2 + 3 - 4 + 5 - 6 + 7 - 8 + 9 ... View Questions/Answers

common Menu bar(toolBar) at the top of all view  February 12, 2011 at 7:26 PM
I creat on login page and after sign in I move to next page. Now I want to add menu bar at the top of my all view. Any one have any idea abt how to do it?? ... View Questions/Answers

implement microsoft office  February 12, 2011 at 6:42 PM
how implement microsoft office in my java swing project ,or when microsoft office is not install then file open in defualt text editar.please send me source code. ... View Questions/Answers

Strut  February 12, 2011 at 3:56 PM
example how to use validators in struts ... View Questions/Answers

NSNotificationCenter Example  February 12, 2011 at 3:35 PM
Hi, can anyone help me to understand NSNotificationCenter better ..? If possible then please provide me an example or tutorial of nsnotificationcenter in objective c. Thanks! ... View Questions/Answers

web page design  February 12, 2011 at 3:08 PM
Great Applianz Ltd. was established in 1985, in New York. It deals in home appliances. Initially, it manufactured home appliances and sold them through selected stores. However, with a gradual increase in their popularity and sales, the company has opened its exclusive stores in New York. In a re... View Questions/Answers

Analog clock  February 12, 2011 at 2:06 PM
how to develope analog clock using java? ... View Questions/Answers

other form  February 12, 2011 at 1:55 PM
Can I write this code in other form: if (quantity>=5) { System.out.println("Congrats!! You get a discount of 5%."); } else { System.out.println("you can avail a discount of 5% when you make a purchase of 5 items."); } ... View Questions/Answers

APLIANCE DETAILS  February 12, 2011 at 1:49 PM
I have created a package named ApplianceDetails that contains the Appliance class. Now I want to create a class named NewAppliance that stores the details of the newly launched appliances.I used the following syntax to code the NewAppliance class that inherits from the Appliance class: pu... View Questions/Answers

Java technology  February 12, 2011 at 1:42 PM
how does java technology implement security ... View Questions/Answers

check  February 12, 2011 at 1:29 PM
interface validateInfo { public void validate(String empcode, String password); } class updateInfo implements validateInfo { String empcode; String password; public void validate(String code,String pass) { this.empcode=code; this.passwor... View Questions/Answers

pattern matching - four way technique  February 12, 2011 at 12:43 PM
Hi, here's my question.. I am trying to implement pattern matching using brute force algorithm where I am trying to apply four way technique to search a given pattern in a text.in this four way technique I will be splitting text which is of length "n" into two halves i.e.from 0 to n/2 and n/2 t... View Questions/Answers

diamond print  February 12, 2011 at 12:32 PM
print the pattern 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 8 9 10 ... View Questions/Answers

MKMapView Change Red Pin Color  February 12, 2011 at 12:08 PM
MKMapView Change Pin Color Hi, in my iphone map view application, i displayed the image on annotation instead of custom pin. But however on click it changes to red color pin. Can any one please tell me how can i show the same image ever after it's taped. ... View Questions/Answers

How to set NSZombieEnabled iPhone  February 12, 2011 at 11:03 AM
Hi, In my application I have to find and fix the object release issue. How to set NSZombieEnabled iPhone to find the bugs? Thanks ... View Questions/Answers

How to Convert NSStringe into Uppercasestring iPhone  February 12, 2011 at 10:43 AM
Hi, Is there any process to make or covert the nsstrings into caps/uppercase. Please explain how to convert nsstring into uppercasestring in iphone Application. Thanks, ... View Questions/Answers

How to Make iPhone Window Application  February 12, 2011 at 10:29 AM
Hi, For Making iphone window application, what parameters i have to follow or provide example related to iphone window application. Thanks, ... View Questions/Answers

core java  February 12, 2011 at 10:28 AM
what is the max size of array? ... View Questions/Answers

How to Create Segment Application with iPhone  February 12, 2011 at 10:21 AM
Hi, i am fresher in iphone application. How can i will create segment application in iphone. So, kindly help me or provide online example reference. Thanks, ... View Questions/Answers

How to Define Text Field Validation iPhone  February 12, 2011 at 10:14 AM
Hi, Can anybody explain me how to define textfield validation iPhone program. please phone online help reference or example. Thanks, ... View Questions/Answers

validations  February 12, 2011 at 9:46 AM
How to get All Client and server side validations in spring using jsp ... View Questions/Answers

Learning Ajax  February 12, 2011 at 9:32 AM
Hi, I have experience in web web application development. But I am new in Ajax programming. How I can learn Ajax? Thanks ... View Questions/Answers

Writing a loop statement using Netbean  February 12, 2011 at 7:47 AM
Write a loop program using NetBeans. ... View Questions/Answers

need someone do it for me plz..people  February 12, 2011 at 4:36 AM
write an application that displays a menue 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,2,or 3) that corresponds to the item, or to enter 0 to quit the application.aft... View Questions/Answers

How to write a loop and a while loop  February 12, 2011 at 4:20 AM
How do I write a 1 loop and a 1 while loop for the example code: public boolean isTheFirstOneBigger (int num1, int num2) { if (num1 > num2) { return true; } if (num1 <= num2) { return false; } } ... View Questions/Answers

date and time in awt(java)  February 12, 2011 at 12:53 AM
sir, do you have an example of date in awt java which can be view over a textfield. ... View Questions/Answers

time  February 12, 2011 at 12:49 AM
sir, i want to show system time on a textfield in awt(java). woulk you send me an example of time which can show time in standard format like H:M:S pls help me sir ... View Questions/Answers

php  February 11, 2011 at 10:25 PM
Whnever i am executing the following program i am getting warning as mysqlfetcharray() expects parameter 1 to be resource, boolean given . I have created table mytable which includes id,name at the backend. the program is View Questions/Answers

HTTP Status 500 -  February 11, 2011 at 10:19 PM
I've installed my Java libraries, and I am successfully able to compile and run Jave files from the command line. However, when I attempt to load a JSP file from my Apache Tomcat server I get the error below. TTP Status 500 - type Exception report message <... View Questions/Answers

jQuery  February 11, 2011 at 8:39 PM
Hi, What is jQuery and how it is used to develop Web applications? Thanks ... View Questions/Answers

jsp  February 11, 2011 at 7:50 PM
how to write a servlet and jsp program for user login form ... View Questions/Answers

jsp  February 11, 2011 at 7:50 PM
how to write a servlet and jsp program for user login form ... View Questions/Answers

webservice in Netbeans  February 11, 2011 at 6:44 PM
hi deepak.. in the tutorial which u hav provided(http://roseindia.net/webservices/web-services-database.shtml) im getting problem at 17 th step while right clicking on the source code im not getting the last two options-"Ejb methods", and "Enterprise Resources".. how can i find them.. im using ne... View Questions/Answers

form id  February 11, 2011 at 5:57 PM
sir, <form id="reg1" action="../UploadingCtrl" method="post" enctype="multipart/form-data" name="form1"> this action page can't get String tp = request.getParameter("indegrates"). i wrote article upload servlet and get articale name, i wont to this ... View Questions/Answers

form id  February 11, 2011 at 5:57 PM
sir, <form id="reg1" action="../UploadingCtrl" method="post" enctype="multipart/form-data" name="form1"> this action page can't get String tp = request.getParameter("indegrates"). i wrote article upload servlet and get articale name, i wont to this ... View Questions/Answers

how to create interfaces in java  February 11, 2011 at 5:37 PM
HI, Here is my code public interface validateInfo { public void validate(String empcode, String password); } class updateInfo implements validateInfo { public void update() { //code to update information of customer } public static void main(String a1[]) { updateInfo o= new updateInfo();... View Questions/Answers

java  February 11, 2011 at 5:25 PM
public interface validateInfo { public void validate(String empcode, String password); } class updateInfo implements validateInfo { public void update() { //code to update information of customer } public static void main(String a1[]) { updateInfo o= new updateInfo(); p.update(); Syste... View Questions/Answers

TO connect multiple database  February 11, 2011 at 5:23 PM
How to connect several database from a single application in java depending upon the user input it will connect to that database ... View Questions/Answers

ClassNotFound Exception:DispatcherServlet in spring application?  February 11, 2011 at 4:59 PM
**I have added all the jar files,even though classnotfound exception is coming? could you please tell me the resolution for this problem?** Feb 11, 2011 10:54:49 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal per... View Questions/Answers