Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  January 7, 2011 at 5:44 PM
Refer to the class notation below: Box Height : Integer Length: Integer Depth: Integer Colour: String Method computeVolume : double Based on the class notation above, write a full Java program that includes class Box() and its attributes. The program w... View Questions/Answers

java  January 7, 2011 at 5:43 PM
Write a program that uses a â??FORâ?? loop that convert Inch to Centimetre that produce the following output. Create a method toCentimetre that will return the conversions. The formula for the conversion is Centimetre = inch * 2.54. Inches Centimetre ----------... View Questions/Answers

java  January 7, 2011 at 5:41 PM
Define a class named Sphere that inherits the properties of the class Circle in Question 1. The class also contains: â?¢ A private data field named weight of type double with the default value 1.0. â?¢ A default Sphere constructor. â?¢ A constructor that initializes the Sphere objectâ??s ... View Questions/Answers

Advertisement

java  January 7, 2011 at 5:39 PM
Define a class named Circle with the following properties: â?¢ An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both data fields specify the radius and the colour of the Circle object respectively. Set th... View Questions/Answers

space between buttons iPhone SDK  January 7, 2011 at 5:39 PM
Hi, can any one please explain how to add space between UIButtons in iPhone SDK. Actually i am creating Multiple UIButton's and added them to my UIScrollView. But problem is that those buttons are placed over each other. Please tell me how can i set fix margin between buttons. Thanks!... View Questions/Answers

servlet  January 7, 2011 at 4:42 PM
print("code sample"); import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; public class Login extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException ... View Questions/Answers

iPhone SDK Multiple UIButton  January 7, 2011 at 3:24 PM
In my iphone SDK program.. i wanted to create multiple UIButton programatically. I know how to create button and i have already created and added it to my view. But that is only one ..and i requirement is to create multiple UIButton's according to number of items available into database. ... View Questions/Answers

heap sort in java  January 7, 2011 at 3:23 PM
plz modify this program so that it can take input as integers and string both..... public class heap_Sort{ public static void main(String a[]){ int i; int arr[] = {1,3,4,5,2}; System.out.println("\n Heap Sort\n---------------\n"); System.out.prin... View Questions/Answers

Struts2 tag  January 7, 2011 at 1:29 PM
function of hidden tag? ... View Questions/Answers

loacation of errorpage in web.xml for 404 error  January 7, 2011 at 1:28 PM
The webpage cannot be found HTTP 404 Most likely causes: â?¢There might be a typing error in the address. â?¢If you clicked on a link, it may be out of date. What you can try: Retype the address. Go back to the previous page. Go t... View Questions/Answers

error404  January 7, 2011 at 1:11 PM
hi i am getting an error code 404 so that i placed it in web.xml as a Errorpage.jsp but where should i locate ErrorPage.jsp plz help me out ... View Questions/Answers

UIButton setTitle forState  January 7, 2011 at 12:12 PM
i was trying to change the UIButton title for different State in my iPhone application.. can anyone please suggest.., how can i setTitle forState. Thanks ! ... View Questions/Answers

Generating dynamic fields in struts2  January 7, 2011 at 12:00 PM
Hi, I want generate a web page which should have have some struts 2 tags in a group and a "[+]" button for the group. On click of this button one more group of fields should be generated and so on. Can anybody tell me how can I accomplish this task? If I accomplish how to read those field... View Questions/Answers

Documentum  January 7, 2011 at 11:40 AM
Can anybody provide me the basic interview question on documentum with answers? ... View Questions/Answers

how to check and print the no of times an integer is repeated in an array  January 7, 2011 at 11:38 AM
how to check and print the no of times an integer is repeated in an array??? suppose my input is 2 4 2 5 2 4 3 4 5 2 then my output should be 2-4 times 4-3 times 5-2 times 3-1 times ... View Questions/Answers

uploadingmobile application  January 7, 2011 at 11:15 AM
how to upload the images from mobile to server i need the sample codes for in net bean IDE in the language of J2ME ... View Questions/Answers

Digitally signing email through Java mail api  January 7, 2011 at 10:38 AM
how to sign (Digital Signature) one message using Java mail api ... View Questions/Answers

Please , can any one answer this Question?  January 7, 2011 at 10:35 AM
How to cummunicate one web application to another web application in different places? ... View Questions/Answers

HTTPClient Post method  January 7, 2011 at 10:11 AM
HTTPClient Post method HI friends, I am trying a JAVA API for this i want a Java HTTPClient program. i tried but i am unable to complete. can any one plz help me.......... Plz, PLz help me out .............. waiting 4 ur reply..... Regards. Milind ... View Questions/Answers

i/o  January 7, 2011 at 9:48 AM
java program using inputstream and outputstream ... View Questions/Answers

i/o  January 7, 2011 at 9:48 AM
java program using inputstream and outputstream ... View Questions/Answers

i/o  January 7, 2011 at 9:48 AM
java program using inputstream and outputstream ... View Questions/Answers

i/o  January 7, 2011 at 9:48 AM
java program using inputstream and outputstream ... View Questions/Answers

input output  January 7, 2011 at 9:45 AM
java program using fileinputstream and fileoutputstream ... View Questions/Answers

input output  January 7, 2011 at 9:45 AM
java program using fileinputstream and fileoutputstream ... View Questions/Answers

input output in java  January 7, 2011 at 9:44 AM
java program using filereader and filewriter ... View Questions/Answers

i/o streamas  January 7, 2011 at 9:42 AM
java program using bufferedreader and bufferedwriter ... View Questions/Answers

real time question  January 7, 2011 at 9:25 AM
can you just give me the example of using hibernate in DAO classes ... View Questions/Answers

Help!  January 7, 2011 at 8:53 AM
thanks for ur code, I'd like to ask a question: after press "c" or "C", timer starts and after every delay ms, it'll print "This line is printed only once." or just print once. I'm writting a timer but it seems to perform once. ... View Questions/Answers

NetworkInterface is a Wifi Interface?  January 7, 2011 at 8:49 AM
How to find if wifi network interfaces from the returned result of NetworkInterface.getNetworkInterfaces(); ... View Questions/Answers

Ajax applications  January 6, 2011 at 11:51 PM
Hi, Where can I find Ajax applications? Thanks ... View Questions/Answers

Ajax example  January 6, 2011 at 11:46 PM
Hi, Where can I find Ajax example program? Thanks ... View Questions/Answers

Ajax books  January 6, 2011 at 11:44 PM
Hi, Which is the best Ajax books? Thanks ... View Questions/Answers

Ajax wiki  January 6, 2011 at 11:35 PM
Hi, What is the url of wiki for Ajax tutorial. Thanks ... View Questions/Answers

Learn Ajax  January 6, 2011 at 11:32 PM
Hi, Give good links to learn ajax. What is the correct url at roseindia.net to learn Ajax? Thanks ... View Questions/Answers

What is Ajax?  January 6, 2011 at 11:28 PM
Hi, What is Ajax and what is use of Ajax in web programming? Thanks ... View Questions/Answers

Ajax examples  January 6, 2011 at 11:25 PM
Hi, I am Java programmer and I have done programming in Java. Now I am learning ajax from scratch. Tell me the good examples of Ajax. Thanks ... View Questions/Answers

Ajax  January 6, 2011 at 11:21 PM
Hi, What is Ajax? What is the use of Ajax? Thanks ... View Questions/Answers

Why does Java provide both abstract class as well as interface  January 6, 2011 at 11:01 PM
why does java have both abstract class as well as interface? what is the need or importance of having both? ... View Questions/Answers

assignment  January 6, 2011 at 7:09 PM
Question 1 Define a class named Circle with the following properties: â?¢ An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both data fields specify the radius and the colour of the Circle object r... View Questions/Answers

java program  January 6, 2011 at 6:47 PM
write a program to print 1234 567 89 10 ... View Questions/Answers

JSTL in Netbeans 6.9.1  January 6, 2011 at 4:47 PM
I am seeking your help in solving problem I am facing. The problem has been described below: I am using JSTL1.1 core tag in my jsp. In order to use JSTL in my JSP I had written below code for pointing JSTL core tag <%@taglib prefix="c" uri="/WEB-INF/core-rt" %> I have p... View Questions/Answers

Java  January 6, 2011 at 3:29 PM
Hello Friend, Thanks for revert... Actually am new to java, I having softwares like netbeans IDE6.8, Tomcat and Mysql(server), I create a login page with table from mysql which is properly work, I want that if registered user login the page successfully then they seen a link, when they press the... View Questions/Answers

can i Execute PHP code inside python script?  January 6, 2011 at 3:23 PM
can i Execute PHP code inside python script? ... View Questions/Answers

java  January 6, 2011 at 3:22 PM
based on id the message should display in bean or java file[tool tip] ... View Questions/Answers

if i run this prog, i got exeption in thread "main" java.lang.ArrayIndexOutOfBoundsException:0 at Maxof2.main(Maxof2.java:9), whats the resolution for ths?  January 6, 2011 at 2:59 PM
class Maxof2{ public static void main(String args[]){ //taking value as command line argument. //Converting String format to Integer value int i = Integer.parseInt(args[0]); int j = Integer.parseInt(args[1]); if(i > j) System.out.pri... View Questions/Answers

How to send NSURLConnection synchronous request on https?  January 6, 2011 at 2:34 PM
Hi, Give me program example of NSURLConnection synchronous request on https. Thanks ... View Questions/Answers

Hibernate Session instances  January 6, 2011 at 2:32 PM
Hi, Can I create multiple instances of Hibernate Session object? Thanks ... View Questions/Answers

How to decrease image thumbnail size in java?  January 6, 2011 at 2:29 PM
Hi, I my web application I have to create the thumbnail size image from the image file uploaded by user. How to decrease image thumbnail size in java? Thanks ... View Questions/Answers

Hibernate unique key validation example  January 6, 2011 at 2:26 PM
Hi, How to preform unique key validation in Hibernate application? Thanks ... View Questions/Answers

The app was not installed on iphone because its resources have been modified  January 6, 2011 at 2:23 PM
Hi, I am getting following error while my client is installing my AdHoc build on his iPhone: "The app was not installed on iphone because its resources have been modified" What is the solution? Thanks ... View Questions/Answers

hibernate query  January 6, 2011 at 2:09 PM
hibernate apache par kam karta hai kya ... View Questions/Answers

compile this program and let me know the resolution  January 6, 2011 at 1:28 PM
class Maxof2{ public static void main(String args[]){ //taking value as command line argument. //Converting String format to Integer value int i = Integer.parseInt(args[0]); int j = Integer.parseInt(args[1]); if(i > j) System.out.pri... View Questions/Answers

jsp question  January 6, 2011 at 12:59 PM
I have to create a jsp page with 40 labels and 40 textfields whereas 20 labels and corresponding textfield should be in 1st column and the remaining should be in 2nd column....how can i seperate the two columns using a line....can u help me???? ... View Questions/Answers

Javascript code  January 6, 2011 at 12:33 PM
Thank you a lot for your support throughout the process. Here again i am in a doubt.Can you please clarify? I have a page called studentRegd.jsp,which then redirect it to studentDetail.jsp,then it redirects it to Confirm.jsp.My question is how to show the page navigation details on the top of... View Questions/Answers

alert  January 6, 2011 at 12:05 PM
after pressing ok button in alert message it has to stop but it is going to next page plz help form this problem ... View Questions/Answers

how to send spaces using get method.  January 6, 2011 at 11:48 AM
hi i want to know how to send spaces using get method? for example like http://localhost:8080/Sandeep?name=rose india sorry for my english ... View Questions/Answers

size of all primitive data  January 6, 2011 at 11:23 AM
java program for to find the size of all primitive data types in java ... View Questions/Answers

Integers separated by a ", " in a string  January 6, 2011 at 4:27 AM
How do I get integers separated by a ', ' in C++ in a string? Ex. string=1, 2, 3; //something to find the integers and put them in array a cout< output: 123 ... View Questions/Answers

html question  January 6, 2011 at 2:56 AM
how can i create a list of color name using html ... View Questions/Answers

rmiquestion  January 6, 2011 at 12:57 AM
how to get server's time and date for client ... View Questions/Answers

403 Forbidden error - What is 403 Forbidden error, please explain...  January 5, 2011 at 10:09 PM
Can anyone please explain, What is 403 Forbidden error. And how can i remove this error, which is restricting my page from loading it. Thanks!! ... View Questions/Answers

403 Forbidden error - What is 403 Forbidden error, please explain...  January 5, 2011 at 10:09 PM
Can anyone please explain, What is 403 Forbidden error. And how can i remove this error, which is restricting my page from loading it. Thanks!! ... View Questions/Answers

Java  January 5, 2011 at 8:40 PM
Thanks friend....but could you please forward me one sample project? like index.jsp, response.jsp and *.java files(if necessary) ... View Questions/Answers

Java  January 5, 2011 at 8:00 PM
The factorial of an integer m is the product of conrective integers from 1 to m. that is factorial m=m!=m(m-1)........*1 write a program that computer and prints a table of factorial for any given m ... View Questions/Answers

java program  January 5, 2011 at 7:54 PM
wap to show concept of class in java ... View Questions/Answers

Ejb  January 5, 2011 at 7:17 PM
what kind of web projects requires ejb framework? ... View Questions/Answers

Ejb  January 5, 2011 at 7:17 PM
what kind of web projects requires ejb framework? ... View Questions/Answers

Ejb  January 5, 2011 at 7:17 PM
what kind of web projects requires ejb framework? ... View Questions/Answers

string array based problem  January 5, 2011 at 6:59 PM
R/sir, firstly thanks to help me so much. but now it can sort string very well but in case of integers as it treats integers here as string, it sorting like this: i/p: 12 14 11 3 sorted value: 11 12 13 3 this is the problem here...... import java.util.*; public class St... View Questions/Answers

servlet  January 5, 2011 at 6:36 PM
what are the all necessary configuration to run a servlet? ... View Questions/Answers

java  January 5, 2011 at 6:28 PM
how to get values using datainputstream in java? ... View Questions/Answers

i need to replace this if statement code with switch case code  January 5, 2011 at 5:35 PM
i need to replace this code with switch case for(int i=0;i<100;i++){ if((i%3)==0) system.out.println("java"); if((i%5)==0) system.out.println("technology"); if((i%15)==0) system.out.println("java technology"); } thanks a lot ... View Questions/Answers

How to get xml file form http port using web service  January 5, 2011 at 5:19 PM
hi I am suresh i am using netbeans 6.9 to develop a web service for getting xml from http port and use the xml data to convert it to java file and store it to DB. But i am struck with getting xml file. How to access xml file in web service? Please Help me ... View Questions/Answers

sun  January 5, 2011 at 5:02 PM
how to run one jsp file ... View Questions/Answers

regarding project  January 5, 2011 at 2:39 PM
sir we need help about project. we have idea about his project please guide me sir. OBJECTIVES OF THIS PROJECT: -Ability to test the programmer for basic interaction skills to understand the client requirement. -Ability of the programmer to ask the right ques... View Questions/Answers

regarding project  January 5, 2011 at 2:30 PM
OBJECTIVES OF THIS PROJECT: -Ability to test the programmer for basic interaction skills to understand the client requirement. -Ability of the programmer to ask the right questions and get the relevant answers. -Ability of the programmer to definitely write a work ... View Questions/Answers

regarding project  January 5, 2011 at 2:30 PM
OBJECTIVES OF THIS PROJECT: -Ability to test the programmer for basic interaction skills to understand the client requirement. -Ability of the programmer to ask the right questions and get the relevant answers. -Ability of the programmer to definitely write... View Questions/Answers

Array /string based problem....  January 5, 2011 at 2:04 PM
thanx to help me.but again a problem is here that it sorts single char as (a,b,c,n,m)but not the string .and also its perform sorting on single digit no as(1 2 4 5)but not on multidigit no. plz solve this problem also as soon as possible..... import java.util.*; public class StringArraySe... View Questions/Answers

unzip  January 5, 2011 at 12:50 PM
I have uploaded a docfile and converted into zip file and saved in server. I also downloaded a same file with .zip But i need to unzip a file and save in other location and download it. plz help me out ... View Questions/Answers

machha  January 5, 2011 at 12:42 PM
how to export data from jsp to excel ... View Questions/Answers

PHP form  January 5, 2011 at 12:19 PM
Hi Sir/Madam, I am developing an attendance form using php, which displays the name and ID of a Employees which are fetched from Db and I am adding one textfield to enter the Attendance... The problem is I am not getting How to read these Multiple textfield with the same name va... View Questions/Answers

Beans in Swings table  January 5, 2011 at 12:07 PM
Hi Sir/Madam.... I am Trying Develop an Swing from which include an table which displays the data from mysql table and i am adding one Jtextfield in each row in the last column and i want to update the table with that textfield values... The thing is it will be having multiple va... View Questions/Answers

iphone location framework  January 5, 2011 at 11:57 AM
Which framework do i need to add to get the iphone current location in iPhone frameworks? ... View Questions/Answers

JSONArray  January 5, 2011 at 11:52 AM
Why we use JSONArray? ... View Questions/Answers

Difference between http and https  January 5, 2011 at 11:47 AM
Difference b/w HTTP and HTTPS please provide answer in tabular form. ... View Questions/Answers

convertion before downloading  January 5, 2011 at 11:47 AM
convert zip file which is in server to doc while before downloading ... View Questions/Answers

Java  January 5, 2011 at 11:39 AM
Why C++ is not purely object Oriented? ... View Questions/Answers

uikeyboard done button/return button  January 5, 2011 at 11:27 AM
Hi everyone!!! Just worried about ..how to return the UIKeyboard on done or return button click in my iPhone application. Thanks ... View Questions/Answers

machha  January 5, 2011 at 11:13 AM
how to export data from html to excel without using apache poi ... View Questions/Answers

adding two numbers using bitwise operators  January 5, 2011 at 11:09 AM
adding two integer numbers with using bitwise opeators ... View Questions/Answers

warfile  January 5, 2011 at 10:54 AM
how to create&deploy the war file on weblogicserver while running a servlet on it ... View Questions/Answers

To Find the Latitude and Longitude of current position  January 5, 2011 at 10:15 AM
Hello Friends I need to find the Latitude and Longitude of a particular place. For this we have any Java code or not.. Pls Reply if You know. ... View Questions/Answers

XML and java  January 5, 2011 at 9:14 AM
Hi I have xml data in XMLStreamreader object how to retrive tha data and write into a file using java Your help will be much appreciated Thanks ... View Questions/Answers

Serching  January 5, 2011 at 12:23 AM
sir i want a program inwhich serching is done in name wise and date wise ... View Questions/Answers

Java Jdbc  January 5, 2011 at 12:20 AM
sir i want to databse(oracle 10g)connectivity through java through program ... View Questions/Answers

java Layout  January 5, 2011 at 12:01 AM
sir i want a program of all the layout of java which have two or three button and a database connectivity ... View Questions/Answers

servlet-jdbc  January 4, 2011 at 11:16 PM
import java.io.*; import java.lang.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class ServletInsertingDataUsingHtml extends HttpServlet{ public void doPost(HttpServletRequest request, HttpServletResponse response) thr... View Questions/Answers

Thumbnail creator for uploaded video files in jsp  January 4, 2011 at 10:24 PM
i am working in jsp..i need a thumbnail creator for the video that will be uploaded by the user of my website(like youtube)...Once the video has been uploaded,i wanna display the thumbnail of that video to the user.. ... View Questions/Answers

java  January 4, 2011 at 9:19 PM
floyd's triangle 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 ... View Questions/Answers

DMCA.com