Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

Session with GenericServlet  November 4, 2010 at 2:42 PM
Can I create a session with GenericServlet? ... View Questions/Answers

design software  November 4, 2010 at 1:20 PM
hello sir sir you asked me datial of software which i want to make. sir i want to make account software. and also i want to make graphics not command based. please you guide me how i will make. ... View Questions/Answers

Session  November 4, 2010 at 1:14 PM
Are sessions created on the server side? ... View Questions/Answers

Sessions in servlets  November 4, 2010 at 1:01 PM
What is the use of sessions in servlets? ... View Questions/Answers

Session ID  November 4, 2010 at 12:51 PM
How can I change the session ID of the page? ... View Questions/Answers

Expired session  November 4, 2010 at 12:42 PM
How can I recover an expired session? ... View Questions/Answers

help  November 4, 2010 at 12:01 PM
how i can send a pitcture on url in java ... View Questions/Answers

Deploy .war from From NetBeans  November 4, 2010 at 11:59 AM
How to deploy .war file into external running application server directly from Netbeans just as from eclipse? ... View Questions/Answers

Package in Servlet  November 4, 2010 at 11:57 AM
How Create Package in Servlet ? ... View Questions/Answers

Packaging in Servlet  November 4, 2010 at 11:45 AM
Why use Packaging in Servlet ? ... View Questions/Answers

Need the Following MobileApplication Related Code  November 4, 2010 at 11:37 AM
Hi, I need java coding for the following requirements in Collections.. Mobile Subscriber name: Subscriber PhonNo: Add the Subscriber: Update the Subscriber: Delete the Subscriber: Rate Plane Decrease when we called: and one Daemon Thread class ne... View Questions/Answers

java algorithem  November 4, 2010 at 10:58 AM
how do i write a algorithm to find all prime numbers less than 100, can you give me the code example? ... View Questions/Answers

Java  November 4, 2010 at 8:35 AM
Hi I am doing a simple project where i need to edit/delete values in database table using jsp or servlets, when i key in form input, am getting the database table values and at the end of each row i have edit and delete buttons, when i click edit button i need all the values in that parti... View Questions/Answers

Pizza  November 3, 2010 at 11:47 PM
How do I make an array that prompts a user for the size of a pizza they'd like to order (s, m, l, xl) and then displays the price in a System.out.print statement (6.99, 8.99, 12.50, or 15.00) that corresponds with the size chosen and gives an error message if an invalid entry is entered? ... View Questions/Answers

java help  November 3, 2010 at 9:30 PM
Write a Java program that does the following: 1.Creates a grading program based on the Baker College grading standard. You will need to look up the current grade standard. You may use only the letter grades without the +/- signs. A = 93-100 etc. Uses a char arr... View Questions/Answers

How to open excel sheet when excel file is placed in some folder in desktop  November 3, 2010 at 5:30 PM
How to open an excel sheet using windows.open in IE... I am getting an error msg that the path is not correct.. But i have specified the correct path :( ... View Questions/Answers

What is DML?  November 3, 2010 at 5:25 PM
What is DML? ... View Questions/Answers

use JDBC to execute non-standard features that my DBMS provides.  November 3, 2010 at 5:23 PM
Can I use JDBC to execute non-standard features that my DBMS provides? ... View Questions/Answers

Get information about foreign keys used in a table.  November 3, 2010 at 5:21 PM
How can I get information about foreign keys used in a table? ... View Questions/Answers

I determine where a given table is referenced via foreign keys.  November 3, 2010 at 5:20 PM
How can I determine where a given table is referenced via foreign keys? ... View Questions/Answers

Sun's JDBC-ODBC driver does not implement the getPrimaryKeys() method for the DatabaseMetaData Objects.  November 3, 2010 at 5:18 PM
Is there a way to find the primary key(s) for an Access Database table? Sun's JDBC-ODBC driver does not implement the getPrimaryKeys() method for the DatabaseMetaData Objects. ... View Questions/Answers

insert/update records with some of the columns having NULL value.  November 3, 2010 at 5:12 PM
How do I insert/update records with some of the columns having NULL value? ... View Questions/Answers

disallow NULL values in a table.  November 3, 2010 at 5:11 PM
How do I disallow NULL values in a table? ... View Questions/Answers

DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality.  November 3, 2010 at 5:03 PM
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do? ... View Questions/Answers

maximum limit of database connections have been reached.  November 3, 2010 at 5:02 PM
How do I check in my code whether a maximum limit of database connections have been reached? ... View Questions/Answers

maximum limit of database connections have been reached.  November 3, 2010 at 5:02 PM
How do I check in my code whether a maximum limit of database connections have been reached? ... View Questions/Answers

get UnsatisfiedLinkError when I try to use my JDBC driver.  November 3, 2010 at 4:55 PM
Why do I get UnsatisfiedLinkError when I try to use my JDBC driver? ... View Questions/Answers

DMCA.com