Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Configuration issues with tomcat5  December 14, 2011 at 1:19 PM
i have copied a tomcat5 zip file and unzit it in my system C:/ drive....i am folowing every standard and my directory structure is given below:-               Demo(Project Name)                                /WEB-INF   ... View Questions/Answers

Configuration issues with tomcat5  December 14, 2011 at 1:18 PM
i have copied a tomcat5 zip file and unzit it in my system C:/ drive....i am folowing every standard and my directory structure is given below:-               Demo(Project Name)                                /WEB-INF   ... View Questions/Answers

use ajaxtag in Struts1.3  December 14, 2011 at 12:18 PM
How can use ajax tag library in jsp file in struts 1.3 ... View Questions/Answers

Advertisement

Issue in Stateless session bean example  December 14, 2011 at 10:40 AM
Hi Team, I tried your Stateless session bean example in the path http://www.roseindia.net/ejb/examples-of-StatelessBean.shtml. I got the below exception can you plese guide to rectify the issue. $Proxy65 cannot be cast to com.javajazzup.examples.ejb3.stateless.CalculatorRemote1<... View Questions/Answers

Help me please with my final homework  December 14, 2011 at 1:09 AM
Write a Java program of your choice that demonstrates the following concepts: ? Input and Output. ? Selection/Conditional (e.g. if statement). ? Arithmetic. ? Loops. ? Arrays. ? Classes/Objects ... View Questions/Answers

java  December 13, 2011 at 11:47 PM
command line problem ... View Questions/Answers

c++  December 13, 2011 at 10:42 PM
.write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70=A. ... View Questions/Answers

Connection to Database  December 13, 2011 at 10:22 PM
Hello, I have a website with more than 50 pages. Each page is configured to connect to my SQL database to query data. However, most of times my web pages displays the error message" Too many Connection". I know that this is because of too many connections are requested from SQL server at same t... View Questions/Answers

media player  December 13, 2011 at 10:13 PM
sir, i need coding for media player application. That includes audio,video,sound recording and voice recognition. As for my mini-project will u help me?.just give me idea/guide plz. ... View Questions/Answers

media player  December 13, 2011 at 10:13 PM
sir, i need coding for media player application. That includes audio,video,sound recording and voice recognition. As for my mini-project will u help me?.just give me idea/guide plz. ... View Questions/Answers

media player  December 13, 2011 at 10:13 PM
sir, i need coding for media player application. That includes audio,video,sound recording and voice recognition. As for my mini-project will u help me?.just give me idea/guide plz. ... View Questions/Answers

java  December 13, 2011 at 7:58 PM
where it is used ... View Questions/Answers

May I know how to create a web page?  December 13, 2011 at 2:47 PM
can u suggest me how to start? ... View Questions/Answers

Explain about threads:how to start program in threads?  December 13, 2011 at 2:33 PM
import java.util.*; class AlphabetPrint extends Thread { public void print() { for(int i=1;i<=26;i++) { System.out.println((char)i); } } public void run() { print(); } } class ... View Questions/Answers

add same tables in jsp page  December 13, 2011 at 12:42 PM
hi I have a table in my jsp page with data, now I want to add same copy of table without its default value in same page whenever I click add more table, how do I do that. ... View Questions/Answers

getting coords from an image.  December 13, 2011 at 11:52 AM
how to get coordinates dynamically(in run time) from an image?? pls help me.... ... View Questions/Answers

struts and hibernate integration  December 13, 2011 at 11:36 AM
i want entire for this application using struts and hibernate integration here we have to use 4 tables i.e studenttable,coursetable,admin table,student and student_course table at fist student login and select the courses using chekboxes and logout after that admin login and cli... View Questions/Answers

program on helloworld :explain  December 13, 2011 at 10:25 AM
class Hello { public static void main(String[] args) { System.out.println("hi"); } } ... View Questions/Answers

program on helloworld :explain  December 13, 2011 at 10:14 AM
class Hello { public static void main(String[] args) { System.out.println("hi hello hru "); } Blockquote } ... View Questions/Answers

build failure error with maven  December 13, 2011 at 9:57 AM
hi, when i clean install a maven file I am getting the error in command prompt like sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release. There are several instances of using BASE64Encoder in the core which generates a compiler warning. Apache commons-codec... View Questions/Answers

Can not input value into text field which use sx:datetimepicker  December 13, 2011 at 9:41 AM
I am using lib: struts2-dojo-plugin-2.2.3.1.jar. My source is below: print("<sx:datetimepicker name="info.date1" id="date1" displayFormat="yyyyMMdd HHmmss" cssStyle="font-size:13.5px" accesskey="true" />"); I input value from calendar, it runs... View Questions/Answers

Can not input value into text field which use sx:datetimepicker  December 13, 2011 at 9:24 AM
I am using lib: struts2-dojo-plugin-2.2.3.1.jar. My source is below: I input value from calendar, it runs normal. But i input value from keyboard by hands and then i move ... View Questions/Answers

FTP server  December 12, 2011 at 4:23 PM
How to store a series of files in a ftp server using java? ... View Questions/Answers

rate my app iphone SDK  December 12, 2011 at 3:53 PM
How can i enable "Rate and Review Application" feature of my application on iTune? ... View Questions/Answers

check radio button on retrieving the value from database.  December 12, 2011 at 3:38 PM
HI i am new to jsp.In my applcation i having a problem. I am retrieving user payment from database and according to that i want to check the cash cheque radio button checked.If user has done payment through cash then when i am retrieving user information from database the i want to show cash radi... View Questions/Answers

java job  December 12, 2011 at 2:58 PM
How to get Java Job very easily? ... View Questions/Answers

Validating XML  December 12, 2011 at 2:21 PM
Hi, I have a string containing data in XML format. I have to Validate this xml data. Is there any method in java that allows strings as input to validate xml? ... View Questions/Answers

camera roll iphone not working  December 12, 2011 at 1:24 PM
How to access the camera in my iPhone application. Please explain. ... View Questions/Answers

Read Lines from text file  December 12, 2011 at 12:54 PM
Here's a brief desc of what my Java code does .. I'm using BufferedReader to read lines from a text files and split each line based on a predefined size... Eg : If the 1st line of the text file is as follows ABC12345DEF3 and i need to split it based on a size like 3,5,2,2(which i'm reading from a... View Questions/Answers

Java Buffered Reader  December 12, 2011 at 12:49 PM
Here's a brief desc of what my Java code does .. I'm using BufferedReader to read lines from a text files and split each line based on a predefined size... Eg : If the 1st line of the text file is as follows ABC12345DEF3 and i need to split it based on a size like 3,5,2,2(which i'm reading from... View Questions/Answers

save uiimage to photo library  December 12, 2011 at 12:23 PM
How to saved the clicked picture on camera roll in iPhone. I always want to write the file into photo library. ... View Questions/Answers

Sort last modified file time in java  December 12, 2011 at 12:19 PM
How to sort the last modified file time in java? ... View Questions/Answers

supermarket program  December 12, 2011 at 12:17 PM
i want program in java which is used in supermarkets,medical shops? ... View Questions/Answers

core java  December 12, 2011 at 12:05 PM
In java primitive variables will get its default value automatically after declaration. Then why it is mandatory to initialize a variable before using it. ... View Questions/Answers

Coding errors for printing function, please help  December 12, 2011 at 9:39 AM
Hello, We, my classmates and I, wrote this software but I ran into problems with printing button. Can someone please take a look and help me to fix this. Although it is not actually printing the persons class schedule, we have currently coded the print button for class schedule to bring up the p... View Questions/Answers

Please HELPP  December 12, 2011 at 12:39 AM
The University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module. You are required to write a program in Java that achieves this. The program is in a number of parts. The program should allow the tutor to enter ... View Questions/Answers

Please help with this Q ASAP  December 12, 2011 at 12:36 AM
The University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module. You are required to write a program in Java that achieves this. The program is in a number of parts. The program should allow the tutor to enter ... View Questions/Answers

java program to create xml file with append data in well-formed  December 12, 2011 at 12:26 AM
Sorry sir your given xml append data program is not well-formed. I'll make you more clear what I want. If this is my xml file Tom Cruise 45 Now when I append some data, I should have my previous data in it. Like... View Questions/Answers

Scanning a word in a TEXT document......  December 11, 2011 at 9:57 PM
Hi Genius persons... I'm having many resumes in my FOLDER called HARISH in D:(colon) i want to scan that files(ms.word) and separate them in DATABASE. i want to scan the files by searching the JAVA and .net words present in the files..if JAVA word is present means it has to be separated in separa... View Questions/Answers

Scanning a word in a TEXT document......  December 11, 2011 at 9:57 PM
Hi Genius persons... I'm having many resumes in my FOLDER called HARISH in D:(colon) i want to scan that files(ms.word) and separate them in DATABASE. i want to scan the files by searching the JAVA and .net words present in the files..if JAVA word is present means it has to be separated in separa... View Questions/Answers

java pogram  December 11, 2011 at 5:45 PM
i am requesting to admin please send me the code in which i can check the email address that is it in 4 octit and octit value lie between 0 to 255 my email is ... View Questions/Answers

image steganography  December 11, 2011 at 3:44 PM
Hello.could you please tell me how to start developing code for image steganography?could you provide some key points showimg its implementation? ... View Questions/Answers

get value from multiple textbox in jsp  December 11, 2011 at 12:41 PM
how to get multiple textbox value in another jsp? If i using the following code <%for(int i=0;i<3;i++) {%> <td>name<input type="text" class="name" id="name"></td> <% }%> ... View Questions/Answers

place data in text fields from database using jdbc  December 11, 2011 at 12:30 PM
i want get the data from database and place the records in the respective textfields using jdbc and swing like eno,ename,loc from emp table. ... View Questions/Answers

for loop  December 11, 2011 at 10:28 AM
what is for loop ... View Questions/Answers

Please help with this Q  December 11, 2011 at 8:34 AM
Write a program that should allow a tutor to enter in various marks which students have been awarded, until the tutor enters in a mark exceeding 100. At this point the program should display a histogram. Each star represents a student who achieved a module mark in the range shown. 0-29 ... View Questions/Answers

code  December 11, 2011 at 7:52 AM
*strong textstrong text*hello,i'm having some problems getting the correct code for a program.The output of the program is listed below with the user's input enclosed in curly brackets.Any help would be appreciated,thank you. WHAT DO YOU WANT TO ORDER! NAME:{Harr... View Questions/Answers

R programming language.  December 10, 2011 at 10:38 PM
i want to know about R-programming language. what is it? how to work on it? if possible provide me a ebook on the topic.... ... View Questions/Answers

Browse an image  December 10, 2011 at 6:10 PM
hi................ i want to browse an image from the folder and display in form of my project..... can u tell me how to do this????? i am using java swing......... ... View Questions/Answers

jar file not reading input from serial port  December 10, 2011 at 4:49 PM
i used a coding for getting data from serial port. JOptionbox with "port not found" message is shown when i execute thru jar file. but when i execute thru netbeans, data is received from comm port. why it is happening? i attached the coding i used. public class SimpleRead implements Runna... View Questions/Answers

jar file not reading input from serial port  December 10, 2011 at 4:44 PM
i used a coding for getting data from serial port. JOptionbox with "port not found" message is shown when i execute thru jar file. but when i execute thru netbeans, data is received from comm port. why it is happening? i attached the coding i used. public class SimpleRead implements Runna... View Questions/Answers

Sorting the array  December 10, 2011 at 3:52 PM
Implement a program to process votes for 5 candidates in a talent contest. The program should use a String array to hold the names of the 5 candidates and an integer array to record the number of votes for each contestant. It should prompt the user to enter the number of the candidate the... View Questions/Answers

dialogbox issue  December 10, 2011 at 3:10 PM
in my application,when i click on button it is showing dialobBox ,for this i added one action listenr.it is working fine.but,the dialob box is not in application environment.even i closed my application,the dialogBox is still opening.and when i clickedon any region of applocation ,the dialogbox d... View Questions/Answers

setting keys  December 10, 2011 at 2:08 PM
Hi Sir\Mam,At present we are doing Payroll Project .I would like to set some special keys for my forms and i want the coding to do the same .Pls Provide me source code for setting keys as soon as possible ... View Questions/Answers

incomplete pointer type NSMutableDictionary  December 10, 2011 at 12:24 PM
My iphone app is throwing the "incomplete pointer type NSMutableDictionary" issue on running the iphone app. What is this issue and how can i remove it. NSMutableDictionary *dict = [UIUtils dictionaryFromXMLNode:ele]; ... View Questions/Answers

Array element comparison  December 10, 2011 at 11:41 AM
I have arrays of Length(L) , width(W) and Height(H) of same size(in length). Here L , W and H are entered by user. Eg:- Assuming size as 5. Therefore ; Array 1 be 10 , 5 , 6 Array 2 be 12 , 6 , 8 Array 3 be 15 , 4 , 9 Array 4 be 8 , 3 , 6 Array 5 be 10 , 8 , 4 Now I want to compare Array ... View Questions/Answers

Need help with this!  December 10, 2011 at 11:18 AM
Can anyone please help me with this? It's suppose to write to a file student information: student name, student Id, test scores and then read back from the file if you want to delete or modify anything for later use. All the students info is put into arrays, but it is not writing to a file at all... View Questions/Answers

retrieve value from db in text box + calendar implementation.  December 9, 2011 at 8:46 PM
I have used http://www.roseindia.net/javascript/javascript-calendar.shtml code for implementing calendar in my project... It has calendar.html file in which there is already a text box..Now i want to get the value retrieved from database in that text field how can i do it... Pleas... View Questions/Answers

Setting the Monitor brightness using Java  December 9, 2011 at 5:04 PM
I am Facing problem in writing a code to change the Monitor Brightness using Java. This problem is solved using ASP.net how to change in java please give me some suggestions. Thanks in Advance ... View Questions/Answers

nmber printed in pyramid format  December 9, 2011 at 4:40 PM
how to print this format using java 1 23 345 4567 56789 ... View Questions/Answers

Sort  December 9, 2011 at 3:35 PM
Hi i would really be thankful if someone could help me with this A program is required to ask users to rate the Java programming language using a number in the range 0 - 10. The data input is ended by entering -1. After all the votes have been counted, the program should o... View Questions/Answers

Sorting and Searching  December 9, 2011 at 3:33 PM
Hi i would really be thankful if someone could help me with this A program is required to ask users to rate the Java programming language using a number in the range 0 - 10. The data input is ended by entering -1. After all the votes have been counted, the program should ... View Questions/Answers

Retrieving list of uploaded files.  December 9, 2011 at 3:28 PM
I need to retrieve list of files uploaded by all user's and display it on the webpage. Example: I uploaded 3 files on a website. its uploaded. now the file resides in a directory in the server. now the list of uploaded files should be showing in page where other users can download it. he... View Questions/Answers

coding for railway reservation project  December 9, 2011 at 12:55 PM
i want to help for creating coding in visual basic for railway reservation project ... View Questions/Answers

radio button value on edit action  December 9, 2011 at 12:27 PM
This is my edit.jsp code...In my project 'm having search module where i have to search customer by name...I have provided show edit add and delete link for each customer that is searched...Problem 'm facing is on edit action 'm not retrieving radio button value..i have used if else logic..Bt its... View Questions/Answers

how to refresh google map using ajax by fetching lat long from database  December 9, 2011 at 12:16 PM
i have a jsp page where we select the object and by submitting the form the route travelled by it will be displayed on the google map by fetching the lat long from db. Now, i need to refresh the map using ajax.Pls help me how to do this ... View Questions/Answers

divide html page  December 9, 2011 at 10:59 AM
how to divide html page into 3 parts without using frames? ... View Questions/Answers

Code Help Needed  December 9, 2011 at 10:38 AM
I am trying to help a buddy of mine with this program and I can't seem to figure it out. I am still working on it but any help would be appreciated. The program is suppose to write to and read from a file: student names, scores, make a report, edit and delete data from the file. Right now it comp... View Questions/Answers

Java File Handling Test Results  December 9, 2011 at 1:49 AM
Is somebody able to help me with this Write a program to read each name from the file and prompt the user to enter the percentage for that student at the keyboard. I need to input this as a percentage though and output as pass or fail import java.util.Scanner; import java.io.*;<... View Questions/Answers

difference between servletconfig and servletcontext in java  December 9, 2011 at 1:01 AM
difference between servletconfig and servletcontext in java ... View Questions/Answers

difference between servletconfig and servletcontext in java  December 9, 2011 at 12:53 AM
ServletConfig is implemented by the servlet container to initialize a single servlet using init(). ServletContext is implemented by the servlet container for all servlet to communicate with its servlet container, for example, to get the MIME type of a fil... View Questions/Answers

Rate Java  December 9, 2011 at 12:43 AM
program is needed to ask users to rate the Java programming language using a number in the range 0 - 10 ... View Questions/Answers

Java Sorting and Searching  December 8, 2011 at 11:57 PM
If anyone could help me with this I would be really thankful! Write a program that stores the names of these artists in a String array. The program should prompt the user to enter the name of an artist and output that artist's position in the charts or a message saying that they are not p... View Questions/Answers

how to increas size of button (especially width)  December 8, 2011 at 6:54 PM
how to increas size of button (especially width)and height Thanks in advance ... View Questions/Answers

displaying long size arrow line in a jsp  December 8, 2011 at 6:52 PM
Hi all, How can we display an arrow mark with a specified height and width in a jsp. Please help me in resolving this problem. Thanks, Suresh ... View Questions/Answers

oops concepts  December 8, 2011 at 5:32 PM
What is polymorphism?Explain with an example. What is abstraction?Explain with an example. What is inheritance?Explain with an example. What is encapsulation?Explain with an example. ... View Questions/Answers

JDialobBox issue  December 8, 2011 at 5:24 PM
i have one button.when clicked on it has to show a dialog box..but the dialog box should correctly display on top of buttonwhere button is placed in the panel,but not above region in the window..plese send code for this. ... View Questions/Answers

Java find the error 6  December 8, 2011 at 4:23 PM
Java find the error 6... View Questions/Answers

library management system jsp project  December 8, 2011 at 4:01 PM
i need a project of library management system using jsp/java bean ... View Questions/Answers

library management system jsp project  December 8, 2011 at 4:01 PM
i need a project of library management system using jsp/java bean ... View Questions/Answers

library management system jsp project  December 8, 2011 at 4:01 PM
i need a project of library management system using jsp/java bean ... View Questions/Answers

turbo c pre-increment question  December 8, 2011 at 12:14 PM
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times) ... View Questions/Answers

run time error  December 8, 2011 at 12:13 PM
my program compile successfully but does not showing output for any program ... ... View Questions/Answers

ping program  December 8, 2011 at 9:58 AM
my program will ping upto 192.168.100.59. and i want to insert that particular inforamtion into my oracle db.and i want to update it in my network. here my question is:my prog inserting only one ipadress into my db but i want every ip info into my db.so can u pls help me out. code: import java.io... View Questions/Answers

html report generation in emma code coverage using ANT acript  December 8, 2011 at 8:56 AM
Hi Deepak, I am using emma code covarage tool and to generate coverage report by using Ant script i am getting following exception [report] sun.io.MalformedInputException [report] at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:278) [report] at sun.nio.cs.StreamDecoder$... View Questions/Answers

USER DEFINED CLASS  December 8, 2011 at 2:28 AM
hi please help me with my project: Exercise # 1 Create a java program for a class named MyDate that contains data members and a constructor that meet the criteria in the following list. This class is used to initialize instance variables. â?¢ The non-static integer data membe... View Questions/Answers

Generating report in java  December 7, 2011 at 11:49 PM
How can I generate a report in java? ... View Questions/Answers

Need SQL Statement  December 7, 2011 at 9:11 PM
QUESTION IS CAPITALIZED AT THE BOTTOM... There is a table Employee, with three columns: Name (varchar), Department (varchar) and Salary (int): Name Department Salary John Manufacturing 30000 James Manufacturing 30000 Michael Manufacturing 300... View Questions/Answers

socket connection: how to parse data from server?  December 7, 2011 at 8:47 PM
hi, I am a j2me programmer,i want to retrieve some data from server using socket connection,I h'v established the connection through the port and getting the data from the server with inputstream read() method. Now I want to know, how to parse the data from server. if possible ple... View Questions/Answers

problem while reading .csv file  December 7, 2011 at 7:21 PM
I have a problem here..... i am reading a .csv extention file which has some value....but the problem is der is an amount column which contains , in between (eg) 3,899.00 which inturns creates a seperate filed like 3 and 899.00 plzz give me some solution for it ... View Questions/Answers

Todd oracle DB connection through PHP  December 7, 2011 at 6:29 PM
Can u please explain how to connect Todd oracle DB using PHP & What are the setups we need to perform? Thanks! ... View Questions/Answers

write a program  December 7, 2011 at 6:17 PM
write a program add 2 no.s without use arithmetic,unary operaters in java ... View Questions/Answers

Pagination example with html code  December 7, 2011 at 5:49 PM
Hi, could u please provide pagination code with clear cut explanation. Thanks in advance.. ... View Questions/Answers

compile time error  December 7, 2011 at 2:29 PM
my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo" fibbo is my class name for find out the fibbonaci series. ... View Questions/Answers

compile time error  December 7, 2011 at 2:29 PM
my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo" fibbo is my class name for find out the fibbonaci series. ... View Questions/Answers

compile time error  December 7, 2011 at 2:29 PM
my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo" fibbo is my class name for find out the fibbonaci series. ... View Questions/Answers

jdialogbox issue.  December 7, 2011 at 1:59 PM
i have one button.when clicked on it has to show a dialog box.but even click on it several times it has to open dialog box only once. if it is already not opened atleast once,then only it has to open dialog box.plese send code for this. Thanks in advance raveen ... View Questions/Answers

forwarding request to a jsp from a filter and displaying image in that jsp  December 7, 2011 at 11:45 AM
Hi all, I have placed all the jsps in pages folder and images in images folder. in pages folder i placed login.jsp and in images folder i placed tatalogo3.jpg. following is login.jsp login.jsp ... View Questions/Answers

retreive integer data from database  December 7, 2011 at 11:16 AM
i made a table named result having two fields 1>rollno 2>marks i creates a gui where i use a textfield and two buttons "ok" and "cancel" i want to take input from textfield as an integer(rollno) and the marks associated with that must be displayed.i write the following code but the error appear... View Questions/Answers

Servlet - Gender  December 7, 2011 at 10:26 AM
Hi, I am having problem in displaying the gender properly. I have selected Female as the gender option but when I edit the page it turns out that the first option I see is Male and not Female. Should I use if statemnt? That if Female is selected in the option it should then display Fema... View Questions/Answers

DMCA.com