Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

identification of buffer overflow  February 17, 2011 at 2:48 PM
java program for how to track an array declaration in an input program ... View Questions/Answers

Security Policy  February 17, 2011 at 2:39 PM
how to set security policy in java ... View Questions/Answers

guys,, need help,, in java programing,, arrays  February 17, 2011 at 2:14 PM
create a program where you will input 10 numbers and arrange it in ascending way using arrays. ... View Questions/Answers


JDBC  February 17, 2011 at 1:14 PM
how to set classpath for eclipse, java, where to copy jdbc connector ... View Questions/Answers

find jar file name from multiple set of jar files  February 17, 2011 at 12:23 PM
I would like to find jar file name from multiple set of jar files where the given class name√Ę‚?¨¬?com.rational.ft.util.debug√Ę‚?¨¬? is there ... View Questions/Answers

java  February 17, 2011 at 12:05 PM
How to set java Policy for applet using jdk 6 ... View Questions/Answers

Adding .txt files in a given directory  February 17, 2011 at 12:04 PM
I want to read number of XML files from a given directory and extract tag value from body tag and add each tag value as one .txt file in a given directory? I have extracted tag values but plz help me how can I save each body tag as one .txt file and add in a directory? I am using Eclipse. Thanks ... View Questions/Answers

How to connect  February 17, 2011 at 11:49 AM
how to connect to a remote host using jsp? We need to update files to the database of the application on the local machine from the updated database on our webpage. ... View Questions/Answers

date between  February 17, 2011 at 10:57 AM
Hi I√Ę‚?¨‚?Ęve wrote a program by Delphi 7, I√Ę‚?¨‚?Ęve used an Access database and SQL, and also in my tables I have some fields. One of my fields is date_, and the type of the field is DateTime. When I want to select records between 2 dates, I use this query: Select * from table1 Where ... View Questions/Answers

Reading Text file and storing in map  February 17, 2011 at 10:44 AM
Hi I have multiple text files. I want to read thoses files and store those records in map. Map will be of "LinkedHashMap<String, Map<String, String>>" type. Please let me know how it can be done? ... View Questions/Answers

iphone login screen  February 17, 2011 at 9:54 AM
Hi i need solution of below question if any one knows please help me. Use †Dummy †data †but †the †dummy †data †must †not †be †in †the †code †,it †should †either † be † in † an † external † file † (plist/xml) † or † in † a † separate † constant † file.This † improves † the † code ... View Questions/Answers

openJPA - Why merge is doing an insert  February 17, 2011 at 8:55 AM
Why merge on the parent class is doing an insert instead of update? Also, if I try to persist a child, it tries to insert in the parent. The primary key already exists in the parent. Any help is greatly appreciated. ... View Questions/Answers

Only Display Date  February 17, 2011 at 2:15 AM
I want to implement only date not time like that 20 Sep 2011. How can possiple it? ... View Questions/Answers

i need to answer this Question but i can't do it probably  February 17, 2011 at 12:57 AM
use the web to locate the lyrics to the traditional song"The Twelve Days of Christmas" the song contains a list of gifts received for the holiday.the list is cumulative so that as each "day" passes, a new verse contains all the words of the previous verse, plus a new item. write an application th... View Questions/Answers

question about mixing two strings  February 17, 2011 at 12:25 AM
using java script we need to ask two strig and combine them like.. str1= helo str2= worl combined string= hweolrol ... View Questions/Answers

text limitations  February 16, 2011 at 7:01 PM
to give text limitations, i want to show only 50 words in dat page. ... View Questions/Answers

Names  February 16, 2011 at 6:38 PM
Sir why we use st.charAt(0). Is there no subsitute for this. Because i m biginner. Thnx ... View Questions/Answers

database  February 16, 2011 at 6:30 PM
I wanted to know if it is possible to take the fields of a table from a user and then create a table in mysql database......im doing my project in swings netbeans Plz help me ThankYou ... View Questions/Answers

code  February 16, 2011 at 5:36 PM
i have four textboxes.whenever i click on up,down,left or down arrows then the cursor move to another textbox based on the key pressed.i want code for this in javascript ... View Questions/Answers

Definitions  February 16, 2011 at 5:31 PM
give me the definition for this Hibernate,spring,structs,servlets,ejb.jms... ... View Questions/Answers

resolution problem in java  February 16, 2011 at 5:21 PM
I designed project in java in my PC when run the same project in some other PC i can't fully view my java forms.Some said that it is resolution problem ... View Questions/Answers

struts form  February 16, 2011 at 5:19 PM
Hi, This is Rajesh.I'm creating struts form in jsp.i have two textboxes in my jsp.During Jsp page loading focus will automatically should come to second textbox(That means during page loading cursor automatically comes to second text box without mouse action).How to do this. Please help me .. ... View Questions/Answers

user defined function inside a jsp  February 16, 2011 at 5:07 PM
how to write a user defined function inside a jsp page? ... View Questions/Answers

SQL  February 16, 2011 at 3:52 PM
I have 2 queries.I want to run one query in the first day of month and i want to run other query in the other days of month for a routine.How to do? ... View Questions/Answers

hi see and give me reply as soon as possible  February 16, 2011 at 3:44 PM
Hi Friend, I got path,but it will again ask path error first i was gave index.jsp.It is displayed and it is not going to next level. HTTP Status 404 - /struts/hello type Status report message /struts/hello description The requested resource (/struts/hello... View Questions/Answers

Stoting file name in Map  February 16, 2011 at 2:40 PM
how to store id and file name in map ... View Questions/Answers

Would you know answer means please send reply urgent  February 16, 2011 at 1:50 PM
HTTP Status 404 - /struts/HelloWorld.jsp type Status report message /struts/HelloWorld.jsp description The requested resource (/struts/HelloWorld.jsp) is not available. JBoss Web/2.1.2.GA ... View Questions/Answers

how can i get output pls urget tell me  February 16, 2011 at 1:43 PM
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: An exception occurred processing JSP page /HelloWorld.jsp at l... View Questions/Answers

struts  February 16, 2011 at 1:26 PM
<p>hi here is my code can you please help me to solve the exception</p> <h1></h1> <p><strong><em>login.html</em></strong></p> <h1></h1> <p><html> <body></p> ... View Questions/Answers

Recorder  February 16, 2011 at 12:43 PM
I want to record a sound in .wav format in nokia mobile..please help me ... View Questions/Answers

Progress Bar  February 16, 2011 at 12:25 PM
Hi friend, I'm interested in knowing how to progress bar in oracle forms 9i for the trigger when-button-pressed.Thankyou. Thanks and Regards, M.SHANKAR ... View Questions/Answers

overriding in derived class from abstract class  February 16, 2011 at 12:11 PM
why should override base class method in derived class? Instead of override abstract class method, we can make method implementation in derived class itself know? ... View Questions/Answers

Linux  February 16, 2011 at 11:46 AM
hi all, i want to invoke shell program from java. i m using the following code. package script; import java.io.IOException; public class RunShell { public static void main(String[] args) throws IOException { try { Runtime rt= Runtime... View Questions/Answers

File handling  February 16, 2011 at 11:42 AM
how do i search for an occurance of a word in a file and replace with the user input in java? ... View Questions/Answers

List  February 16, 2011 at 11:28 AM
getting values from a form and make a list of them and store them into database? ... View Questions/Answers

View source code of a html page using java ..  February 16, 2011 at 10:53 AM
I could find the html source code of a web page using the following program, http://download.oracle.com/javase/1.4.2/docs/api/java/net/URLConnection.html i could get the html code successfully, but what i want is to get this code into a text file. i am not able to ... View Questions/Answers

top 20 basic programm of java  February 16, 2011 at 10:24 AM
what is the top 20 rule to learn the basic of java. ... View Questions/Answers

index of javaprogram  February 16, 2011 at 10:21 AM
what is the step of learning java. i am not asking syllabus am i am asking the step of program to teach a pesonal student. ... View Questions/Answers

Online Examination System  February 16, 2011 at 10:01 AM
Hi.. I have to create a Online Examination system using struts, Hibernate and stateful session beans.. I Wanna know the use of stateful session beans in project..? ... View Questions/Answers

jsp servlet hosting  February 16, 2011 at 9:59 AM
Hi, What is jsp servlet hosting? Thanks ... View Questions/Answers

jsp hosting  February 16, 2011 at 9:52 AM
What is jsp hosting? Explain me in detail. I have to suggest a hosting company to my boss. Thanks ... View Questions/Answers

connect many access sheet to one access sheet  February 16, 2011 at 9:49 AM
hellow sir. i have six application page it has attribute name rollno(primary key) and attendance of a six diffent different particular subject. and i want to view it on a single access sheet as name rollno attendance of 1,2nd,3rd.....6th. ... View Questions/Answers

cheap jsp hosting  February 16, 2011 at 9:48 AM
Hi, Should we opt for cheap jsp hosting or not? Thanks ... View Questions/Answers

jsp hosts  February 16, 2011 at 9:45 AM
Hi, What is the meaning of jsp hosts or JSP hosting environments? Thanks ... View Questions/Answers

JSP tomcat hosting  February 16, 2011 at 9:42 AM
Hi, What is JSP tomcat hosting? Thanks ... View Questions/Answers

JSP web hosting  February 16, 2011 at 9:37 AM
Hi, What is web hosting? How I can host my JSP/Servlet based applications? How to create a jsp web hosting environment on dedicated server? Thanks ... View Questions/Answers

JSP forwarding  February 16, 2011 at 9:32 AM
What is JSP forwarding? ... View Questions/Answers

code for database deadlock sicuation in java  February 16, 2011 at 9:23 AM
how to prepare code for database deadlock situation in java(JDBC) ... View Questions/Answers

attendance management system  February 16, 2011 at 9:10 AM
i want to project demo on attendance management system. ... View Questions/Answers

Names  February 16, 2011 at 9:08 AM
Pl correct this program. This program will take character from user and show all the name which start that character. import javax.swing.*; class Name1{ public static void main (String arg[]){ char ch; String =JOptionPane.showInputDialog(null,"Enter any character"); switch(ch){ case 1: JO... View Questions/Answers

Java-XML Xerces/Jaxp  February 16, 2011 at 7:46 AM
Im new to Java DOM development. I have doubt or I am bit unclear about fact of JAXP and Xerces. My question is why developer use xerces when jaxp does the job? ... View Questions/Answers

Java-XML Xerces/Jaxp  February 16, 2011 at 7:46 AM
Im new to Java DOM development. I have doubt or I am bit unclear about fact of JAXP and Xerces. My question is why developer use xerces when jaxp does the job? ... View Questions/Answers

procedure  February 15, 2011 at 8:36 PM
step by step procedure to build servlet or jsp in eclipse...? ... View Questions/Answers

UIWebView Activity indicator  February 15, 2011 at 8:04 PM
Can anyone please explain, how to implement a Activity Indicator on UIWebView in my iPhone/iPad application. Thanks! ... View Questions/Answers

AWT Tutorials  February 15, 2011 at 7:49 PM
How can i create multiple labels using AWT???? ... View Questions/Answers

mysql jdbc connectivity  February 15, 2011 at 6:45 PM
i want to connect retrieve data from mysql using jdbc ... View Questions/Answers

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