Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Error in JfreeChart  November 10, 2010 at 1:12 AM
I am getting an error when i am using jfreechart for graph generation, that is: D:\my\linechart.java:5: package org.jfree.chart does not exist import org.jfree.chart.*; what is the reason and possible solution to the problem. ... View Questions/Answers

Hibernate & JPA  November 9, 2010 at 11:49 PM
What is difference between JPA and Hibernate ? Both of them look similar then what is the exact difference between them ? ... View Questions/Answers

neo mathabe(neomathabe@yahoo.com)  November 9, 2010 at 11:20 PM
Hi pls help im stuck, my program wont run. thank you. /********************/ /* ... View Questions/Answers

Advertisement

Mr  November 9, 2010 at 11:13 PM
Hi friends i have this code below, it does not want to run.pls help me i'm stuck. Thank you. /*******************<... View Questions/Answers

server error  November 9, 2010 at 11:02 PM
during starting of WAS server in eclipse, everytime this warning comes........ WARN [Settings] Settings: Could not parse struts.locale setting, substituting default VM locale plz do help me.. ... View Questions/Answers

attach a calendar in java  November 9, 2010 at 8:46 PM
how i attach a calendar near the box of date of birth in application form of java ... View Questions/Answers

write a program to use for loop print **********========== in c language  November 9, 2010 at 8:37 PM
write a program to use for loop print **========== in c language ... View Questions/Answers

Ajax request object  November 9, 2010 at 8:18 PM
i have to open more than one time a same jsp page with same input using Ajax.. But it will be opened only one time. i can open If i give different input.. how to solve this problem ... View Questions/Answers

Want to access my Ms-access Db file which is placed inside the same Jar file  November 9, 2010 at 8:14 PM
how do i access my Ms-Access file placed in the same jar file where my application code/class file r present??? Want to access it via Code or is their any alter-native?? Do i need any Driver to do this ... i m able to access a Ms-access via JDBC but cant find the file wen kept inside the same jar... View Questions/Answers

Chirag Shah  November 9, 2010 at 7:53 PM
Hi I use your code but i m getting 'dojo' is undefined j.s error and even the text box is also not visiable. ... View Questions/Answers

print rectangle triangle with ?*? using loops  November 9, 2010 at 7:44 PM
* * * * * * i want print like this.what is the code? ... View Questions/Answers

focustraversalpolicy taborder Swing JTable  November 9, 2010 at 5:41 PM
how to make a focustraversalpolicy that can make the tab order to jump over one column ... View Questions/Answers

execute shellscript in javascript  November 9, 2010 at 3:44 PM
Hello Can anyone please help me how to execute a shellscript in javascript ... View Questions/Answers

report generation using jsp  November 9, 2010 at 2:48 PM
report generation coding using jsp ... View Questions/Answers

creating table in hibernate  November 9, 2010 at 2:25 PM
how to create table by the help of hibernate ... View Questions/Answers

How to edit values in textboxes from database using jsp  November 9, 2010 at 1:13 PM
Hi RoseIndia, I need help to solve my technical problem, i want to edit values in textboxes from database table using jsp, here is my code Please can anyone help me editData.jsp <%@ page language="java" import="java.util.*;"%> <%@ page language="java" import="java.sq... View Questions/Answers

CLasspath  November 9, 2010 at 12:59 PM
what is classpath? ... View Questions/Answers

CLasspath  November 9, 2010 at 12:59 PM
what is classpath? ... View Questions/Answers

How to execute shellscript in Javascript  November 9, 2010 at 12:41 PM
Hello Can anyone please explain me how to execute shellscript in Javascript Thanks, ... View Questions/Answers

How to load file from the directory in J2ME?  November 9, 2010 at 12:14 PM
Video player J2ME. I have a folder name "music". I want to display all file with extension is "*.mpg" on the List. How can I do it, plz help me. ... View Questions/Answers

store input and display previous input as well current input. in jsp  November 9, 2010 at 12:13 PM
Hi Friend, In this JSP program i want display the previous input as well current inputs also. currently only current input i am able to display whenever i am trying to take new input it replaces old one. i want to store and display the previous input above and current below that. ... View Questions/Answers

how to forward select query result to jsp page using struts action class  November 9, 2010 at 12:09 PM
how to forward select query result to jsp page using struts action class ... View Questions/Answers

RelationShip  November 9, 2010 at 11:54 AM
i have 2 table with one to many relationship how to add in these tables with hibernate please provide me, sample example. example:- one person have many address, when adding person will simply add, and for address will take fk of person, when fetching person object will give address array too.... View Questions/Answers

creation button using objective c  November 9, 2010 at 11:09 AM
creation button using objective c ... View Questions/Answers

struts2-spring-hibernate  November 9, 2010 at 10:41 AM
What are the files concerned with spring in a struts2-spring-hibernate web application? And what do we write in those files? examples? ... View Questions/Answers

Junit 4  November 9, 2010 at 6:57 AM
Hello, I need someone to help me with the generic implementation of the toString method testing using Junit 4? ... View Questions/Answers

virtual world  November 9, 2010 at 6:48 AM
i want a program like consider 10 * 10 array. first we are in the middle i.e 5 * 5 position . we have to ask the user that in which direction he is interested to move.i.e east or west or north or south. the output should display that particular coordinate after moving. ... View Questions/Answers

memory  November 8, 2010 at 11:01 PM
what is memory? ... View Questions/Answers

query  November 8, 2010 at 10:59 PM
can we combine struts2 and EJB technology in 1 project??? i've 2 use thse 2.. using eclipse ... View Questions/Answers

read an image in java  November 8, 2010 at 10:53 PM
qns: how we can read an image tell me about its code? ... View Questions/Answers

Expression Language execution in notepad  November 8, 2010 at 10:13 PM
how to execute expression language in notepad for java i am using apache tomcat server4.0. ... View Questions/Answers

web site building  November 8, 2010 at 9:23 PM
to make a website, what are the hardware and software requirements? ... View Questions/Answers

How can I initialize the JSONArray and JSON object with data?  November 8, 2010 at 9:11 PM
How can I initialize the JSONArray and JSONObject with data? ... View Questions/Answers

servlets  November 8, 2010 at 8:54 PM
why we are using servlets ... View Questions/Answers

servlet (tomcat server) and jar  November 8, 2010 at 8:54 PM
how to create a jar file and where to place the jar file in tomecat server ... View Questions/Answers

download  November 8, 2010 at 6:58 PM
how to download the file in server using php code: "<form method="post" action=""> enter the folder name<input type="text" name="t1" > <input type="submit" value="search" name="s1"> </form> <form method="post"> <?php if(isset(... View Questions/Answers

Data extraction from an image file.  November 8, 2010 at 6:56 PM
I have made an image of the removable disk of a mobile phone and it is save as filename.img.I have to retrieve data from the the image which also include deleted data.Can i used java to extract these data from the image file? Which are the libraries to be used? ... View Questions/Answers

Java file accessin from cd rom  November 8, 2010 at 6:05 PM
I need to find the cd rom path in diffrent system using java and access the files in the cd rom plz help plz help plz help plz help plz help ... View Questions/Answers

Java file accessin from cd rom  November 8, 2010 at 6:05 PM
I need to find the cd rom path in diffrent system using java and access the files in the cd rom plz help plz help plz help plz help plz help ... View Questions/Answers

JToolBar  November 8, 2010 at 5:30 PM
How to add tool tip for the JToolBar? ... View Questions/Answers

can we add primitive data to wrapper class object  November 8, 2010 at 5:21 PM
Hi, Here is my code: class Myclass{ public static void main(String args[]){ int i=2; Integer a= new Integer(3); a=a+i; System.out.println("a"+a); } } Thanks ... View Questions/Answers

java  November 8, 2010 at 4:14 PM
RARP implementation using java socket ... View Questions/Answers

read a file  November 8, 2010 at 2:38 PM
read a file byte by byte ... View Questions/Answers

Substring in java  November 8, 2010 at 1:17 PM
example:output 0f the code.. Input String:University of the Cordilleras Input Substring:of Output:1 ...use non static methods,don't use (.Substring).. ..please help me.. ..thank you.. deadline:November 12,2010_friday.. ... View Questions/Answers

Substring in java  November 8, 2010 at 1:17 PM
example:output 0f the code.. Input String:University of the Cordilleras Input Substring:of Output:1 ...use non static methods,don't use (.Substring).. ..please help me.. ..thank you.. deadline:November 12,2010_friday.. ... View Questions/Answers

liferay  November 8, 2010 at 12:43 PM
what is liferay ,how it works,what is its lifecycle ... View Questions/Answers

java  November 8, 2010 at 12:26 PM
why we are using beans in spring ... View Questions/Answers

circlr  November 8, 2010 at 12:11 PM
how to write the circle code in html ... View Questions/Answers

struts2  November 8, 2010 at 11:02 AM
how to read properties file in jsp of struts2 ... View Questions/Answers

registration application  November 8, 2010 at 10:23 AM
How to develop a registration application in struts which has seperate file for database connection and data checking and form and action? ... View Questions/Answers

JAVA CLASS INHERITANCE  November 8, 2010 at 10:00 AM
Someone please help me write this program. Create a class called Accounts that has the following members: i)An instance integer variable called acc_no. ii) An instance string variable called acc_name. ii)An instance double variable called balance. iv) An overloaded constructor that initializes t... View Questions/Answers

EJB,java beans  November 8, 2010 at 8:10 AM
What is EJB poles,mainfest,jar files? What is nongraphical bean? Please send me as notes. ... View Questions/Answers

package in java  November 8, 2010 at 7:54 AM
when i run a package it give a error exception in thread "main" java.lang.NoClassDefFoundError what i do ... View Questions/Answers

NEED ASSISTANCE ASAP!! THANX!!  November 8, 2010 at 12:09 AM
Problem 4.1 Design an implement an application that displays a button and a label on a screen. Every time the button is pushed, the label will display a random number between 1 and 1000, inclusive. Name your class RandomNum. You will need two classes to implement this. Problem 4.2 ... View Questions/Answers

error  November 7, 2010 at 10:29 PM
java.lang.unsupportedclassversionerror:bad major version at offset 6 how to solve this???? ... View Questions/Answers

how to set folder size in php  November 7, 2010 at 9:54 PM
hi , i know how to create folder but i dont know how to set size for folder did u know means tell me. thankyour... ... View Questions/Answers

Ajax  November 7, 2010 at 9:45 PM
how to include ajax in jsp page? ... View Questions/Answers

java  November 7, 2010 at 5:58 PM
use final and write a java code to calculate salary of an employee? ... View Questions/Answers

Programming  November 7, 2010 at 2:23 PM
how to save output of java file in .txt format? ... View Questions/Answers

java project  November 7, 2010 at 12:45 PM
i would like to get an idea of how to do a project by doing a project(hospital management) in java.so could you please provide me with tips,UML,source code,or links of already completed project with documentation. ... View Questions/Answers

Fetch Records from SQL database and convert into XML file  November 7, 2010 at 11:52 AM
Hi Experts, I want a complete end to end code for the below requirement. I would like to explain you the below requirement into 3 steps. cases. I request you to please provide me the code to FULFIL my requirement.... 1) Fetch all the records from a SQL VIEW (not from original table) ... View Questions/Answers

Skyline Problem  November 7, 2010 at 7:12 AM
Given a set S of rectangles, each of which has a side in common with the x axis and non-negative y values the skyline of S is the line tracing the largest y value from any rectangle in S The Problem: Write the method getSkyline() that accepts a rectangle set S and returns the skyl... View Questions/Answers

jsf &hibernate integration  November 7, 2010 at 7:11 AM
how can i get session factory from hibernate configuration file with java server faces application specially(bean methods)? ... View Questions/Answers

?  November 7, 2010 at 1:39 AM
Write a program using switch statement that reads a character representing a geometrical figure, then asks the user to enter the required data (ex. Radius for a circle, length and height for a rectangle, etc. ...) . The program should then print the area and circumference. Figures are: circle(... View Questions/Answers

implement internationlism in Flemish ans Spanish using Sturts1.1  November 7, 2010 at 1:07 AM
HI - we are using struts1.1, we have a requirement to implement internationlism in Flemish ans Spanish. Will this be supported in Struts1.1? How to resolve this issue, Apprecaite if anyone help on this immediately. ... View Questions/Answers

Embed Default Browser within Java Application  November 7, 2010 at 12:15 AM
After some googling i found out about JDIC but i m unable to use it Please guide me how to use JDIC to embed browser with or without using Netbeans I ve already tried this ... View Questions/Answers

file reader  November 6, 2010 at 8:52 PM
import javax.swing.JApplet; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.JTextField;<... View Questions/Answers

javascript  November 6, 2010 at 8:24 PM
how to run jscript progame in notepad ... View Questions/Answers

javascript  November 6, 2010 at 8:18 PM
how to run jscript progame in notepad ... View Questions/Answers

java code  November 6, 2010 at 7:29 PM
import java.io.*; import java.applet.*; import java.awt.*; import java.awt.event.*; import java.sql.*; import sun.jdbc.odbc.*; public class menu extends Frame implements WindowListener,ActionListener { MenuBar mb; MenuItem student,rollnowise,namewise,allresult; public static menu m; roll... View Questions/Answers

A question  November 6, 2010 at 7:18 PM
Please explain the directory structure required to execute a jsp program? I have package named package1 . This contains a class named class1. I created directory as folder "Webroot" The Webroot folder contains 2 subfolders named "WEB-INF" and "src" and 2 jsp pages. The src folder contains a subf... View Questions/Answers

display  November 6, 2010 at 6:36 PM
write a program that determines the limit of an integer ... View Questions/Answers

display  November 6, 2010 at 6:36 PM
write a program that determines the limit of an integer ... View Questions/Answers

c++  November 6, 2010 at 6:35 PM
write a program that gets a key or character from the keyboard and displays it ASII code in decimal, hexadecimal and binary form.It must also give a description of the key pressed ... View Questions/Answers

Java timer  November 6, 2010 at 1:46 PM
Hi. I want to use a timer in one of my java projects and I found one online, it allows the user to type an input from the keyboard for predetermined number of seconds and it's exactly what I want but I can't find out how to store the input in a string. Please show me how. Here's the code: ... View Questions/Answers

how to perform the client side validations to the dropdown list using javascript?  November 6, 2010 at 12:55 PM
Hi Good Morning! This is Prasad, I want to perform the client side validation to the dropdown list using javascript. So give me sample.I am waiting for the your valuable reply. Please send me reply as soon as possible. Thanks & Regards J.Prasad ... View Questions/Answers

How could we get log file as simple text format  November 6, 2010 at 9:52 AM
Above given javaerrorlog creates the log file in xml code how could we get it in simple text Manmohan ... View Questions/Answers

Help With an Array  November 6, 2010 at 3:00 AM
So what Im trying to do is write an array declaration to represent students names for a class and homework grades for each student. I have included my arrays for a declaration for 25 students names in a class and also a declaration for students tests grades in a class of 40. Now what I am trying ... View Questions/Answers

Help With an Array  November 6, 2010 at 2:52 AM
// ******************** // Sales.java // // Reads in and stores sales for each of 5 salespeople. Dis... View Questions/Answers

Hash table  November 6, 2010 at 12:11 AM
Hi guys.. I have question about hash table How to implement a hash table of English words? with these methods ï??· A method put(s), which adds the string s to the table, if it is not already there (a bit different from the one presented in the lecture). ï??· A method... View Questions/Answers

Difference b/w spring 2.x and 3.x  November 6, 2010 at 12:09 AM
difference b/w spring 2.x and 3.x ... View Questions/Answers

please help me to solve this question about array  November 5, 2010 at 10:27 PM
write a program thatt stores vowels (a,e,i,o and u)in an array. Ask the user to enter any character. The program should ignore the case of that character (uppercase or lowercase) and determine whether the entered character is vowel or not. ... View Questions/Answers

Confusion on Functions. Help Please?!  November 5, 2010 at 7:07 PM
Write a program which has a number of functions for getting the area i.e. area of circle, area of square, area of rectangle and area of cylinder. Right, I've got some of it, but I'm just not getting anywhere with it really :( Some help please?! ... View Questions/Answers

structs2  November 5, 2010 at 6:31 PM
plz send to me for structs2 videos ... View Questions/Answers

Algorithm  November 5, 2010 at 2:31 PM
How can i write a code for sort ascending order to ten given numbers. Thank you ... View Questions/Answers

switch statement  November 5, 2010 at 2:24 PM
i want to write a java program that computes Fibonacci,factorial,string reversal and ackerman using switch case to run as a single program ... View Questions/Answers

creating an applet for student management system  November 5, 2010 at 11:33 AM
Write an applet/awt application which displays the interface for the program described below. When the applet/awt application is executed it will display the screen in the appropriate layout, and responds to the user's actions. The program simulates a student management system having the ... View Questions/Answers

20 question Game involving recursive methods  November 5, 2010 at 8:21 AM
I have a problem with compiling my program. Any help please. My code of line where it says "Node first = question.new Node()" i get the error"String.Node cannot be resolved to a type" import java.util.Scanner; //import TwentyQuestions.Node; public class TwentyQues... View Questions/Answers

PHP/HTML/AJAX Question  November 5, 2010 at 3:18 AM
I have a PHP/HTML program that sends a parm to a .JS program using Ajax logic (onchange) and it returns it. It returns it as a HTML var but I need it as a PHP $var. How do I get it to into a $var and where should the code to do it be (in the .js or as a html or PHP statement? ... View Questions/Answers

Upload Code error on deploying  November 5, 2010 at 2:47 AM
on deploying the above code as it is said it is giving error that " No getter method for property thefile of bean org.apache.struts.taglib.html.BEAN " Error 500--Internal Server Error javax.servlet.jsp.JspException: No getter method for property thefile of bean org.apache.struts.taglib.h... View Questions/Answers

how do you change the message box to a specific color  November 4, 2010 at 9:46 PM
How do you change the message box color to a specific color? I can get the color to change with each input but i cant give it a specific color. Example I'm trying to change the message box to red but its not really working. Can you help me? ... View Questions/Answers

Changing the message box to a specific color  November 4, 2010 at 9:45 PM
How do you change the message box color to a specific color? I can get the color to change with each input but i cant give it a specific color. Example I'm trying to change the message box to red but its not really working. Can you help me? ... View Questions/Answers

How to open an Acroform in iText?  November 4, 2010 at 5:31 PM
I modified a client's Acroform in Acrobat Pro 9, and now the client says he can't open it in iText. I had never even heard of iText before this. It's been a while since I did any Java coding, and I don't have a lot of experience with it anyway. So I am lost as to how to start. I downloaded iT... View Questions/Answers

Question on java  November 4, 2010 at 5:17 PM
why java is not purely oop? ... View Questions/Answers

Cookies  November 4, 2010 at 4:10 PM
How do I disable a cookie ? ... View Questions/Answers

Cookies  November 4, 2010 at 3:34 PM
What are persistent cookies and pre-session cookies? ... View Questions/Answers

java bEGINNER  November 4, 2010 at 3:18 PM
WHAT IS THE BEST WAYS,BOOKS AND pRACTICAL IMPLEMENTATION TECHNIQUES FOR A BEGINNER ? ... View Questions/Answers

source  November 4, 2010 at 3:09 PM
how to pass the morethan one fields from one page to another page in struts1.2? i am using tchnologies are struts1.2 oracle 10g myecllipse 8.6 so please post the exact source code to support the above technologies. thanks... ... View Questions/Answers

Javascript  November 4, 2010 at 3:01 PM
Dear Sir, I have a jsp page in which i have link to store existing details of students in a school.By that link i have to pass their roll number.That link should open another pop-up window with name,address field.After saving that edetails,that screeen should automatically be closed, and ... View Questions/Answers

source code  November 4, 2010 at 2:50 PM
how to get the fields from one page to another page in struts by using JSTL? ... View Questions/Answers

DMCA.com