Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How much time it takes to learn Java  July 12, 2013 at 7:58 PM
Hi, As a beginner in programming how much time it will take to learn Java programming? I have little experience in creating HTML Pages. I have also written the JavaScript validation code in HTML pages. Will JavaScript help me in Learning Java? Thanks ... View Questions/Answers

How to add mod_deflate to apache without recompiling  July 12, 2013 at 1:08 PM
Hi, What is the best way to add moddeflate to the Apache server without recompiling the Apache? I have a Linux server (Centos) and I have to add the moddeflate module. How to add mod_deflate to apache without recompiling? Thanks ... View Questions/Answers

How can I learn Java?  July 12, 2013 at 10:35 AM
Hi, I have just completed a course in HTML and C programming language. I have some programming experience in visual basic. Now I want to learn Learn Java programming and become the expert in Java programming. How can I learn Java? in shortest possible time. I mean I just want to begin the... View Questions/Answers

Advertisement

how to retrieve data from database  July 11, 2013 at 6:19 PM
unable to retrieve data from database using mySQL by using jsp sessions and beans for editing ... View Questions/Answers

EJB interceptors Demo  July 11, 2013 at 3:11 PM
Please give me a detailed description and the demo for developing the interceptors in EJB. If possible give me a videos. ... View Questions/Answers

conerting web project into .exe file  July 11, 2013 at 12:10 PM
I have creted a web project in MyEclipse 8.6 i want to convert it to .exe file how to achive it? ... View Questions/Answers

Dynamically Update textbox from database  July 10, 2013 at 5:47 PM
I have a database as shown below.(database created using SQL Server 2005) name : george,simon address : bangalore,hyderabad now I want the following thing to be done. I have a form with two text boxes. if I type something in one textbox, the corresponding value to that ... View Questions/Answers

JAVA EXCEL  July 10, 2013 at 11:56 AM
How to read the contents of an excel, perform some calculation and wrote the calculated values to another excel using poi ... View Questions/Answers

Populate dropdown menu from database using jsp and servlet  July 10, 2013 at 12:49 AM
please i need code to populate dropdown menu from mysql database using jsp and servlet. thanks ... View Questions/Answers

Java application help!  July 9, 2013 at 8:57 PM
In Deep Water Associates operates a business that offers a variety of services to customers who own swimming pools, including cleaning and filling pools. Write a program that calculates the price of a service call. The price includes a set $75 fee for cleaning plus an additional fee based on the ... View Questions/Answers

To read & write a excel file using the core java  July 9, 2013 at 6:52 PM
Hai, I'm new to JavaProgram.But now i need java program to read & write a excel file so, can anyone help me to learn the above mentioned topic(link for the portion) thoroughly ... View Questions/Answers

jsp solution  July 9, 2013 at 1:29 PM
Can you tell me i am ri8 now develop application eclipse where i suppose to create java file i know that jsp file will be put in web content folder... 2 nd que i had show many demo in you tube package (like folder ) it will be generated automatically can you show me demo in screen shot, plz help... View Questions/Answers

Configure apache Tomcat to work with Eclipse and PDT in php  July 9, 2013 at 6:39 AM
I had installed apache tomcat version 6 to my pc. Besides, I had also download and install PDT to my Eclipse (Indigo) and write my php code in Eclipse. I had try to run my php code, but it keep show me "The page cannot be display". I not sure weather i had configure my apache Tomcat or not with E... View Questions/Answers

Java swimming application  July 9, 2013 at 2:52 AM
In deep water associates operate a business that offers a variety of services to customers who own swimming pools, including cleaning and filling pools. Create pool class that calculates the price of a service call. The price includes a set $75 fee for cleaning plus an additional fee based on the... View Questions/Answers

GARBAGE COLLECTOR  July 8, 2013 at 11:22 PM
What is garbage collector in java? ... View Questions/Answers

Interview question at Software AG  July 8, 2013 at 11:07 AM
write a program to print a string which take input from 0 to 9 like "0122233455" and give o/p as 0,1,2,3,4,5** in java .... Any one plz help me to solve this prog. ... View Questions/Answers

java  July 8, 2013 at 8:40 AM
how to connect the database and rmi program with a program ... View Questions/Answers

Jbutton in JTable cells  July 7, 2013 at 9:41 PM
I am a Java Beginner... I want a code in which I display data in Jtable from database and correspondingly a JButton for each cell and when i click on that button a new window should open with that respective row's data details.. Please help me ... View Questions/Answers

career in java  July 7, 2013 at 7:45 PM
I have just completed my BE(IT). I am interested to make my career/profession in java. i know core java, Servlet, JSP . What to study more? How to study j2ee programing? which ebook i should download or purchase to study J2EE programming? thanks in advance. ... View Questions/Answers

find all unique character in string using java  July 7, 2013 at 2:56 PM
example: hello how are you. output should be waryu ... View Questions/Answers

JSP-embedded flash games  July 6, 2013 at 11:27 PM
Is it possible to get the scores in a embedded flash game in a jsp? ... View Questions/Answers

database related query  July 6, 2013 at 6:29 PM
i have created database in phpmyadmin of wampserver ! but i can't see it in mysql command line ! Can anybody please help me ?? ... View Questions/Answers

Android Studio error installing Gradle  July 5, 2013 at 5:20 PM
Hi, I am creating a project with Android Studio. It is giving error "Android Studio error installing Gradle"? What can be the solution of this problem? Thanks ... View Questions/Answers

Macro Enabled Excel  July 5, 2013 at 9:16 AM
I read the contents from xlsm file and I created the new xlsm file and wrote the same content to it using apache poi. When I trying to open the new xlsm file manually which I created new throwing an error like the may file may be created or the format is invalid. How to resolve this error.... View Questions/Answers

Code for a triangle.....  July 4, 2013 at 7:30 PM
1 1 5 1 1 5 25 5 1 What is the source Code for above output? ... View Questions/Answers

getting voucherPin  July 4, 2013 at 6:29 PM
I am doin an online credit topup application..and i need a method to fetch and decrypt the voucherpin from Database.. this is my voucher repository Class. public interface VoucherRepository extends JpaRepository<Voucher, Long>{ @Query("from voucher ... View Questions/Answers

jdbc  July 4, 2013 at 3:17 PM
import java.sql.*; import java.io.*; public class InsertRecord { public static void main(String args[])throws SQLException,IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter eno:"); String eno=br.r... View Questions/Answers

jdbc code  July 4, 2013 at 2:25 PM
import java.sql.*; import java.io.*; import java.util.*; public class CallBill { public static void main(String args[])throws SQLException,IOException { DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection con=DriverManager.getConnection("jdbc:orac... View Questions/Answers

jsp image display  July 4, 2013 at 11:54 AM
this is my saveImage.jsp file: <% ServletContext context = pageContext.getServletContext(); String initPath = context.getInitParameter("file-upload"); String filePath=initPath; String path=(request.getRequestURL().toString()); String urlPath=path.substring(0,pa... View Questions/Answers

jsp and java script  July 4, 2013 at 9:24 AM
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%> <%@taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%> <html> <head> </head> <body onload="check()"> <bean:define id="itemName" scop... View Questions/Answers

SCJA  July 4, 2013 at 7:51 AM
I LIKE TO KNOW ABOUT THE SCJA CERTI.. EXAM DETAILS ,FEE STRUCTURE&HOW IT IS CONDUCTED.. ... View Questions/Answers

SCJA  July 4, 2013 at 7:51 AM
I LIKE TO KNOW ABOUT THE SCJA CERTI.. EXAM DETAILS ,FEE STRUCTURE&HOW IT IS CONDUCTED.. ... View Questions/Answers

plsz i want the coding details of line  July 3, 2013 at 2:34 PM
package vc.api; import java.awt.Color; import java.awt.Dimension; import java.awt.image.BufferedImage; import java.io.File; import java.util.Random; import javax.imageio.ImageIO; import vc.controller.Controller; /** * 1. @author ???? */ public cla... View Questions/Answers

plsz i want the coding details of line  July 3, 2013 at 2:34 PM
package vc.api; import java.awt.Color; import java.awt.Dimension; import java.awt.image.BufferedImage; import java.io.File; import java.util.Random; import javax.imageio.ImageIO; import vc.controller.Controller; /** * 1. @author ???? */ public cla... View Questions/Answers

parent and child dropdown  July 2, 2013 at 7:38 PM
Hi, I have one scenario in spring,i need to populate child drop down,based on parent dropdown using spring mvc and ajax get request. Am able to hit the controller and able to get the results and i dont know how to use it in child drop down.How to set that child dropdown in success ...... View Questions/Answers

Line From code  July 2, 2013 at 1:13 PM
document.getElementById("demo").innerHTML=Date(); Please explain each and every word in this line ! ... View Questions/Answers

steps to create desktop application in java swing using eclipse with drag and drop options  July 2, 2013 at 12:03 PM
please help to create desktop application in java swing using eclipse with drag and drop and what are the plugins required for it...? ... View Questions/Answers

connection to mysql in jsp  June 30, 2013 at 9:26 PM
please i got this error message when trying to connect to mysql database in jsp. Unknown character set: 'utf8mb4' ... View Questions/Answers

asp.net  June 30, 2013 at 11:42 AM
which place can use the WCF in most of the ASP.net projects ... View Questions/Answers

How to display a file for 24 hours?  June 29, 2013 at 8:33 PM
How to display a file for 24 hours ... View Questions/Answers

date program  June 29, 2013 at 7:23 PM
I have to differentiate my activities as todays task,10days before task,20days before task and 30days before task.So I have two variables: String fromtodate; String todate; so i need to have a program to //1means todays task if(dt==1){ //something to restrict date for today only using th... View Questions/Answers

java  June 29, 2013 at 3:56 PM
I would like to develop an application like if parent want to meet the faculty he need to take an appointment before meeting. In that application they have to given some timing slot if the slot are available he have to select the time other if it is already selected by any other parent then the a... View Questions/Answers

Java  June 29, 2013 at 11:52 AM
Whether Java is pure object oriented Language??? ... View Questions/Answers

Java Program(Please reply asap)  June 28, 2013 at 3:41 PM
Find out the ways in which numbers can be added to get the same result Example:- 10 1+9=10 1+2+3+4=10 1+9=10 ... View Questions/Answers

Round the Decimal values  June 28, 2013 at 3:39 PM
How to round the decimal value with out using Math.round() Example:round the 2.7 as a 3.0 round the 2.4 as a 2.0 ... View Questions/Answers

About Select tag  June 28, 2013 at 12:27 PM
hello Sir I am using select tag in jsp page and i want to change the background color of label which I have given to the select tag but how ? There is no any attribute to change the background color of label in select tag please give me the solution my code as fol... View Questions/Answers

How to supress displaying username and password in Java Web Start 10.21.2.11 Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM  June 27, 2013 at 12:57 PM
I have installed Java 1.7.21 from java 1.6. I am observing username and password (match properties) in JNLP console. In Java 1.6, I have no problem with JNLP console messages. Could you Please tell me how to suppress username and password from JNLP console using Java 1.7.21? The following... View Questions/Answers

Print pdf file in JavaScript - IE and Chrome  June 27, 2013 at 12:44 PM
<!DOCTYPE html> <html > <head> <script type="text/javascript"> function printPDF() { if (navigator.appName == 'Microsoft Internet Explorer') { //Wait until PDF is ready to print if (typeof document.getElementBy... View Questions/Answers

Print pdf file in JavaScript - IE and Chrome  June 27, 2013 at 12:43 PM
<!DOCTYPE html> <html > <head> <script type="text/javascript"> function printPDF() { if (navigator.appName == 'Microsoft Internet Explorer') { //Wait until PDF is ready to print if (typeof document.getElementBy... View Questions/Answers

httpsession  June 27, 2013 at 8:43 AM
how the one servlet call the another servlet without the help of requestDispatcher ,with the httpsession,setAttribute,getAttrbute ... View Questions/Answers

single selection of chechbox among multiple selection when in a loop.  June 26, 2013 at 3:40 PM
i am using cmd prompt to run and execute the java pgm. here i need your help that when in a loop i trying to choose single checkbox among multiple checkboxes but here am getting multiple selection(previous selected item also coming again).plz help me guys ... View Questions/Answers

Refresh Button returns null point exception when clicked  June 25, 2013 at 11:22 PM
Dear all Please assist with the following: How to rectify a piece of code for the refresh button in java. When clicking the button it returns an error "null point exception" Thanks ... View Questions/Answers

Spring 3  June 25, 2013 at 3:18 PM
Hi I want to know how to write code Spring 3 for registration and login pages with help of data bse.Please help me I am new to Spring.. ... View Questions/Answers

PHP saying folder does not exist  June 25, 2013 at 2:07 AM
This PHP code is supposed to check if a folder exists based on the value of the URL perimeter ?username= <?php $username = $_GET["username"]; $filename = "http://officedocs.freeserver.me/userdata/" . $username . "/docs.xml"; ... View Questions/Answers

interface  June 24, 2013 at 11:40 PM
why do we need interface in java..if it`s usefull for to obtain multiple inheritance in the sense how it gonna be achieved...and i can achieve multiple inhertitance by extends one class with another (by multilevel)...the y we need interface...THis is question often i heard from my developer...... View Questions/Answers

Java Script.  June 24, 2013 at 1:01 PM
Hi i want to submit two form using javascript.The below code submitting two forms in server but its not working in browser like chrome and firefox am struggling for many days give me solution as soon as possible. function f2Submit() { document.form.action=""; ... View Questions/Answers

java mail send using setText()  June 24, 2013 at 10:44 AM
Hai , Am newly mail send portion in java , Here i write my code , final String userName = "xxxxxx@gmail.com"; final String password = "xxx xx xxx"; Properties properties = new Properties(); properties.put("mail.smtp.auth", "true"... View Questions/Answers

Fault Injectors.  June 23, 2013 at 2:34 PM
Hi, May I know what is the best fault injectors to inject fault into IBM Websphere Application Server (WAS)'s java application? & the tutorial on how to use it? Coz I just install the ibm benchmarking system, Trade 6: http://www.ibm.com/developerworks/data/tutorials/dm0506lau/section... View Questions/Answers

error  June 22, 2013 at 3:55 PM
I am running a program insert into statement in sql using servlets which is given at your link http://www.roseindia.net/servlets/ServletUserEnquiryForm.shtml getting an error given below SQLException caught: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error please suggest... View Questions/Answers

Need Sample code To check the Windows services status is up or down in Linux mechine  June 22, 2013 at 2:00 AM
Hi, I did code to check the windows services are up or down that could be worked in only windows box,but my requirement is windows services is up or down ,this has to check that in linux with simple standlon java application please provide any sample code. below code can work in only windows bo... View Questions/Answers

Java  June 21, 2013 at 5:42 PM
How to retrieve the files from the local serve using jsp and servlet ... View Questions/Answers

JAVA_EXCEL  June 21, 2013 at 5:31 PM
I need to read the all the contents of excel which has multiple tabs and store the contents in a list using bean and copy the same content another excel. For example if I have three tabs in an excel with some contents. The contents from all the three tabs has to be read by java program and has to... View Questions/Answers

how to display data in List Or grid or in table in Jsp  June 21, 2013 at 10:41 AM
<%@page import="java.util.Calendar"%> <%@ page import="org.apache.lucene.search.IndexSearcher"%> <%@ page import="org.apache.lucene.analysis.Analyzer"%> <%@ page import="org.apache.lucene.analysis.snowball.SnowballAnalyzer"%> <%@ page ... View Questions/Answers

search an element in arraylist and display in jsp page  June 20, 2013 at 8:15 PM
Hello Can anyone help how to take input from user from a jsp page to search for a substing in arraylist in java class and display the list in jsp page Thanks ... View Questions/Answers

What is License Terms for using your code  June 20, 2013 at 12:11 AM
Hi, I have used Datepicker.java with some modification from your site. Can you please inform me what is the License terms for using it ? Thanks Venkatesh .P ... View Questions/Answers

Show pdf's in web browser by using jsp?  June 19, 2013 at 2:54 PM
Hi, I want to display pdf file in browser by clicking the link, available in JSP page. When am trying to do this by using Anchor tag with absolute path, it is showing the error as: Http status - 404. How can i resolve it in JSP? ... View Questions/Answers

Assigning value to anchor <a></a> tag using custom tag  June 19, 2013 at 7:58 AM
hi, I am trying to assign a value to anchor tag within a custom tag and redirecting the link to ReadPDF.jsp a show in the code . I want to display the value in the jsp , while retreiving the value and displaying its either null or empty . I think im not assiging the value properly... View Questions/Answers

java code using while loop  June 18, 2013 at 7:58 PM
* * * ... View Questions/Answers

what kind of error  June 18, 2013 at 11:36 AM
SEVERE: Error deploying configuration descriptor WebApplication2.xml java.lang.NoClassDefFoundError: javax/faces/webapp/FacesServlet at com.sun.faces.config.FacesInitializer.<clinit>(FacesInitializer.java:105) at java.lang.Class.forName0(Native Meth... View Questions/Answers

home button macbook pro keyboard  June 18, 2013 at 11:17 AM
what is the substitute of Home and End button on macbook pro keyboard? ... View Questions/Answers

ahmad  June 18, 2013 at 5:45 AM
if x is an int equal to 25 what will x be after the statement x/=4 ... View Questions/Answers

Struts 2 + Ajax  June 17, 2013 at 8:35 PM
hi , i am new in java ,i need a help I am setting the attribute in by session.setAttribute which is passes values to a jsp page, in which i have used display:column tag ,now the problem is that i have a attribute which contain a path of pdf i.e (c:\demo.pdf) which i want to display in jsp without... View Questions/Answers

change database values when click next button on jsp page  June 17, 2013 at 3:21 PM
How to retrive database values rondomly and display jsp page ,when user click next and previous bottons change the values on jsp page? ... View Questions/Answers

Java  June 17, 2013 at 1:14 PM
I want to develop the admin page and employee login page where each and every employee has to login after that the current login time and date should be stored in the database it has to seen by admin people ... View Questions/Answers

program code  June 15, 2013 at 2:51 PM
I want a program that accepts a word from TextField and check with multiple .csv file and displays the snippets from csv file into TextArea. Please help me.. ... View Questions/Answers

Java program for connectfour game  June 14, 2013 at 3:24 PM
Hello, my program is about connectFour game. I need help with resolving the logic for this problem. I appreciate your help very much. **Client:** package FourPack; import javax.swing.*; /* Algorithm Level 0: Continue until the user w... View Questions/Answers

Barcode designer  June 14, 2013 at 11:44 AM
Hi, I want to create a barcode designer tool..wherein we can create different design for barcode with the arrangements of numbers. please guide me on the editor how to create a editor in java to design barcode in different formats. thanks, ... View Questions/Answers

calling from iphone through programitically in iphone  June 13, 2013 at 3:26 PM
calling from iphone through programitically in iphone please help me my senario is if i click send sms button message should deliver to xyz person and that xyz person make a call to me please help me in this situation its urgent plzzzzz..... ... View Questions/Answers

Client Server Java app  June 13, 2013 at 3:10 PM
I developed a client server based java networking Instant Messaging app. The client program is needed to be run on the client computer whereas the server program is on server computer. This works in my local wi-fi network(Home network). But i want this one to deploy on internet using some servers... View Questions/Answers

session tracking  June 12, 2013 at 10:56 PM
session tracking is of four type. 1.hidden form field 2.url rewriting 3.http session interface 4.cookies. please explan the third type with example ... View Questions/Answers

ScartApplication aplicacion ecommerce  June 12, 2013 at 10:13 PM
Hola.He descargado la aplicacion shoppingcart "ScartApplication" pero cuando el carrito de compras no adjunta todos los productos que uno quiere comprar sino que lo hace uno por uno que codigo falta para que funcione como yo lo quiero es decir que adjunte varios productos por vez,a ver si me pas... View Questions/Answers

Java PrintStream significance and where to use this?  June 12, 2013 at 8:28 PM
I found many programmers using PrintStream in their codes. I looked for this,but failed to get the clear idea of its significance,Why to use it? "Unlike other output streams, a PrintStream never throws an IOException and the data is flushed to a file automatically i.e. the flush method i... View Questions/Answers

Design and Implement GPA Calculator  June 12, 2013 at 7:45 PM
Once the user clicks on the calculate button the program should display on a dialog box first the info about the student like his name. ID, session and student type. Second the program should display the GPA. Once the user clicks on the clear button all the fields in the form shoul... View Questions/Answers

write code in c#  June 12, 2013 at 3:46 PM
sir I want to write a save and save as code in the c#(windosForm).Please help me. ... View Questions/Answers

JAVA  June 12, 2013 at 12:38 PM
how to develop chat window( i am developing a school project in that requirement is student should chat with faculty n facutly should chat with admin vice versa. chat box should be common to all the roles) the conversation should be stored in the database. Thanks minni ... View Questions/Answers

How to use place hoder in IE(version : 8)  June 12, 2013 at 11:48 AM
how to use placeholder for input field(type=text) and password field (type= password) in IE. ... View Questions/Answers

LOGIN ERROR  June 12, 2013 at 10:06 AM
ERROR SCRIPT: LOGIN FAILED", $_SESSION['login fail']='0',}?> Ty Team ... View Questions/Answers

LOGIN FAILED", $_SESSION['login fail']='0',}?>  June 12, 2013 at 8:44 AM
please correct my error guys. ... View Questions/Answers

I GOT ERROR FOR MY PROJECT  June 12, 2013 at 8:27 AM
Dear Friend/ RoseIndia Team, Firstly I would to thank u Guys help me so many time.. I got error on my little project when running at server. please correctly my error Guys... ERROR CODE: "LOGIN FAILED", $_SESSION['login fail']='0',)?>" if will prepa... View Questions/Answers

Validation for customer information  June 11, 2013 at 11:04 AM
hi.... I have created one jsp page which contains customer infomation such as name,city,emailid,mobileno,date of birth.I want to do validation for all these fields using javascript....customer id is auto incremented in database.... ... View Questions/Answers

current date set  June 11, 2013 at 10:41 AM
I need to set current date as default in a drop down list which has a label tag too in my jsp page.please somebody help me. ... View Questions/Answers

j2me  June 9, 2013 at 10:32 PM
hi i'm a java beginner and i am working in j2me. i am using java wireless tool kit and java sdk. and the problem is that i am not getting the out put in the java sdk. for the source code provided by you. please give me answer. i am using sdk 3.0 and java wtk 2.5.2 ... View Questions/Answers

java textfield problem  June 9, 2013 at 6:07 PM
I want to navigate the content of text field from one class to another and viceversa through button but when I am getting the text from first class I am getting null value.please help me..here is the code import javax.swing.*; import java.awt.event.*; class Frame1 extends ... View Questions/Answers

swing text field problem  June 9, 2013 at 6:01 PM
I want to navigate the content of text field from one class to another and viceversa through button but when I am getting the text from first class I am getting null value.please help me..here is the code import javax.swing.*; import java.awt.event.*; class Frame1 extends ... View Questions/Answers

swing text field problem  June 9, 2013 at 6:01 PM
I want to navigate the content of text field from one class to another and viceversa through button but when I am getting the text from first class I am getting null value.please help me..here is the code import javax.swing.*; import java.awt.event.*; class Frame1 extends ... View Questions/Answers

JAVA  June 8, 2013 at 4:33 PM
I want to develop a code to upload a multiple files using following plugin http://valums-file-uploader.github.io/file-uploader/: can u pls help me in writing the code Thanks minni ... View Questions/Answers

Java  June 7, 2013 at 4:12 PM
How to upload a pdf,txt,doc,images file with a specfic size using jsp and servlets in the serve??? Thanks in advance minni ... View Questions/Answers

Java Question  June 7, 2013 at 2:34 PM
Create a function FindWeightedPath() which wi l l take an ar ray of str ings as input. The structure of the ar ray wi l l be as fol lows: The first element in the ar ray wi l l be the number of nodes N (points) in the ar ray as a str ing. The next ... View Questions/Answers

How to get Java SDK  June 6, 2013 at 6:26 PM
Hi, I have purchased a new computer and installed windows 7. Now I have to get the Java SDK and install on my computer for developing and testing Java programs. So, can anyone tell me How to get Java SDK? Thanks ... View Questions/Answers

DMCA.com