Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

how to remove spell check in flex when button is clicked  November 10, 2010 at 4:08 PM
how to remove spell check when button is clicked in rich text editor control. ... View Questions/Answers

How to open a window from a java program (from code)[ (onclick of something text )]  November 10, 2010 at 2:49 PM
When I download the code an put it in Eclipse, the applet is run, but on click of the button displayed in the applet, a new window with google is not opened. Kindly help. ... View Questions/Answers

Struts framework  November 10, 2010 at 2:49 PM
How to populate the value in textbox of one JSP page from listbox of another JSP page using Struts-html tag and java script? ... View Questions/Answers

Ads

Disadvantages..... of java and .net  November 10, 2010 at 2:48 PM
Disadvantages of Java and .Net? ... View Questions/Answers

Struts framework  November 10, 2010 at 2:42 PM
How to populate the value in textbox of one JSP page from listbox of another JSP page using Struts-html tag and java script? ... View Questions/Answers

Day for the given Date in Java  November 10, 2010 at 1:37 PM
How can i get the day for the user input data ? ... View Questions/Answers

java.lang.NumberFormatException: null  November 10, 2010 at 1:14 PM
I get org.apache.jasper.JasperException: java.lang.NumberFormatException: null exception when i submit the form plz help me regarding this.. ... View Questions/Answers

automatic code  November 10, 2010 at 12:20 PM
how to call servlet automatically ... View Questions/Answers

validation in struts2 using .xml file  November 10, 2010 at 11:25 AM
how to do xml validation in struts2 on dynamic fields ... View Questions/Answers

unix  November 10, 2010 at 11:22 AM
Create a method sum whose signature is the following: public static int sum(String[] arr); sum should take in an array of strings, each of which is a number, and add them together. Incorporate sum into a program which sums its command line arguments: $ java Sum 2 4 11 4 21... View Questions/Answers

unix  November 10, 2010 at 11:18 AM
hai friends, I am new to to java with unix.can you any one tell me ho to work unix in windows xp.i search in net,it will show the aludra.usc.edu.how can i install this? thanks... ... View Questions/Answers

unix  November 10, 2010 at 11:13 AM
Write a program lc[1] which takes a file name as its sole argument and prints out how many lines the file contains. An example execution of this program might look as follows: $ java lc lc.java 20 $ ... View Questions/Answers

Junit  November 10, 2010 at 9:39 AM
How to capture junit error reports in to a file. ... View Questions/Answers

Java to extract info to HTML  November 10, 2010 at 9:37 AM
I need to write a java program that will extract information (events) from .ics files, such as those used in iCalendar, into HTML format. I started by creating string instance variables for each subcategory I need to extract from the file and creating an individual method to extract each of the s... View Questions/Answers

Form Code To Dispay Webpages On My Site  November 10, 2010 at 8:37 AM
I want to use a form input box to display different pages on my site depending on the code the user types into the box. example: Producer Code 1234 would bring up Producer 1 page, Producer Code 4321 would bring up Producer 2 page and so on for 6 different producers. ... View Questions/Answers

This question in Jmeter  November 10, 2010 at 6:51 AM
hi..i want to send request(xml) 100 times but each time in request xml one element needs to change, otherwise request will be failed since its duplicate ... View Questions/Answers

Updating variables in a loop? and only printing certain messages after the first iteration?!  November 10, 2010 at 1:15 AM
I've written a program that reads two values. I then want it to repeatedly read a further two values until someone enters 0. The reason why I want to do this is so I can use it to work out some calculations and ratios. So effectively at every calculation except the first, I would be print... View Questions/Answers

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

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

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

DMCA.com