Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

struts  March 2, 2012 at 9:55 AM
how to generate bar code for continuous numbers in a loop using struts ... or atleast for a given number. ... View Questions/Answers

jsp and servlry  March 2, 2012 at 9:25 AM
I want to create a login page using three buttons add,modify and delete,using mvc in jsp and servlet.How i can create this page kindly answer me fast................. ... View Questions/Answers

javascript  March 2, 2012 at 8:23 AM
how to create random question using javascript? ... View Questions/Answers

Advertisement

Gui plz help  March 2, 2012 at 7:51 AM
Create a Java application that would allow a person to practice math (either addition, subtraction, multiplication or division). The questions must be randomly generated ( the values for each number should be in the range from 1 to 10). In total, 10 questions should be asked. After 10 questions ... View Questions/Answers

Layout Manager  March 1, 2012 at 9:56 PM
for compile file "Javac SApplet.java" (working fine) but, java SApplet (not compile) error message: Exception in thread "main" java.lang.NoSuchMethodError:main Please follow the program import javax.swing.*; import java.applet.*; import java.awt... View Questions/Answers

return the position of last occurrence of an element  March 1, 2012 at 6:47 PM
A method " findLast(E element) " returns the position of the last occurrence of the given element. If this element is not in the list, then the null reference should be returned. The implementation of this method should search the list from the end towards the beginning, terminating when the elem... View Questions/Answers

return the position of last occurrence of an element  March 1, 2012 at 6:47 PM
A method " findLast(E element) " returns the position of the last occurrence of the given element. If this element is not in the list, then the null reference should be returned. The implementation of this method should search the list from the end towards the beginning, terminating when the elem... View Questions/Answers

uploading a file  March 1, 2012 at 5:55 PM
When I am trying to upload a file to another system in lan at a location "http://192.168.12.5:8080/tomcat-docs/myapps",then it is giving the following error message "http://192.168.12.5:8080/tomcat-docs/myapps (The filename, directory name, or volume label syntax is incorrect)".what could be the ... View Questions/Answers

manipulating dat retrieved from the DB using php arrays  March 1, 2012 at 5:34 PM
am querying the DB as follows: $`result=mysql_query("SELECT name,itemquantity FROM mytable WHERE price='$price'");` now,i want to create an array to insert the values that are as a result of this query e'g let's say this is the resultant data: ... View Questions/Answers

manipulating dat retrieved from the DB using php arrays  March 1, 2012 at 5:33 PM
am querying the DB as follows: $`result=mysql_query("SELECT name,itemquantity FROM mytable WHERE price='$price'");` now,i want to create an array to insert the values that are as a result of this query e'g let's say this is the resultant data: ... View Questions/Answers

manipulating dat retrieved from the DB using php arrays  March 1, 2012 at 5:29 PM
am querying the DB as follows: $`result=mysql_query("SELECT name,itemquantity FROM mytable WHERE price='$price'");` now,i want to create an array to insert the values that are as a result of this query e'g let's say this is the resultant data: ... View Questions/Answers

javascript duplicate value  March 1, 2012 at 5:23 PM
In javascript how to find the duplicate or variable that contains same value for example ...two different variables contains the same URL Link. ... View Questions/Answers

manipulating dat retrieved from the DB using php arrays  March 1, 2012 at 5:23 PM
am querying the DB as follows: $`result=mysql_query("SELECT name,itemquantity FROM mytable WHERE price='$price'");` now,i want to create an array to insert the values that are as a result of this query e'g let's say this is the resultant data: ... View Questions/Answers

delete javascript object  March 1, 2012 at 5:15 PM
How to create and delete an object in JavaScript? ... View Questions/Answers

settimeout in javascript  March 1, 2012 at 5:07 PM
How to call the settimeout() function in JavaScript after a specified time? ... View Questions/Answers

switch case instead of if else  March 1, 2012 at 4:58 PM
How to write code in switch case instead of if else in Java..? ... View Questions/Answers

How to fill double array in java  March 1, 2012 at 4:43 PM
how to fill double array in java...? ... View Questions/Answers

Prometric Centers AND Examination Timing  March 1, 2012 at 1:01 PM
Please provide me list of prometric centers in mumbai for SCJP and also date & time for the examination. Thank You In Adv ... View Questions/Answers

E BOOK REQUIRED  March 1, 2012 at 12:21 PM
Wicket in Action pdf required Urgently. Thnx ... View Questions/Answers

jquery ajax and servlet  March 1, 2012 at 12:04 PM
hi.. i am using jquery,ajax and servlet in ma application.On the webpage when user selects id from the drop downbox and ckicks on "show person " button i am calling a servlet "GetPerson" through ajax inside this servlet i have set some session variables "myID" n "name"...when it returns back to t... View Questions/Answers

c programe  March 1, 2012 at 11:23 AM
12345 54321 1234 4321 123 321 12 21 1 1 ... View Questions/Answers

spring form field clearence  March 1, 2012 at 11:22 AM
hi, I have spring form application in which i have security question and answer field for answer field validation after giving wrong format validation occurs but the field remains in that text field, I want clear the text field after validation occurs ... View Questions/Answers

java  March 1, 2012 at 9:45 AM
detect barcode and it should generate dynamic continuous numbers for id cards.. ... View Questions/Answers

DATABASE  March 1, 2012 at 9:40 AM
how to store data into database using JDBC & SQL ... View Questions/Answers

count characters  March 1, 2012 at 9:29 AM
i have to print the total number of char 'A' in all string entered.. example: please enter your string: selangor melaka kedah sabah sarawak terengganu the output must be count the total number of char 'A'... ... View Questions/Answers

Making XY line chart with string and double axis  March 1, 2012 at 1:25 AM
Good evening everybody So i'm trying to make a XYLine chart with JFreechart. The data comes from 2 arraylist, so a for-loop should do the trick parsing the values into the dataset. The horizontal axis are going to be represented by a string (showing day and time) and the vertical indicate... View Questions/Answers

Database  March 1, 2012 at 12:32 AM
Hi, i need help building a database based on something like video store rentals, online shopping orders. Help would be appreciated. I need to develop a UML class diagram for the system. based on your diagram, briefly discuss, domain, super key, primary key, associations (r... View Questions/Answers

Java applet  February 29, 2012 at 10:07 PM
I wanted as many clicks are there ,circles should be displayed there. I tried this code but it erases previous circles. plz help. public void mouseClicked(MouseEvent m) { x=m.getX(); y=m.getY(); repaint(); } public void paint... View Questions/Answers

Java applet  February 29, 2012 at 10:07 PM
I wanted as many clicks are there ,circles should be displayed there. I tried this code but it erases previous circles. plz help. public void mouseClicked(MouseEvent m) { x=m.getX(); y=m.getY(); repaint(); } public void paint... View Questions/Answers

code error.please help.urgent!!!!!  February 29, 2012 at 9:54 PM
I am uploading a file.but i get an error.please correct the code. i get an error where check2 is not being printed.plz correct package sercls; import java.lang.Class; import java.lang.String; import java.lang.Exception; import java.io.PrintWriter; import java.io.IOException; impor... View Questions/Answers

file uploading  February 29, 2012 at 9:45 PM
How to upload music files onto the server and save the file information to the mysql database fetch and play the music files on a display page without download thus streaming the files ... View Questions/Answers

Need a java program  February 29, 2012 at 8:06 PM
Write a code of java to print the fibonacci series. ... View Questions/Answers

DB2  February 29, 2012 at 8:04 PM
Actually i want to store Live Video Streaming(from Camera) in data base(DB2) & also i want to retrieve the stored video from client(Authorized Person). So Please send me the java code for above functions ... View Questions/Answers

excel parsing and print data in the form of table  February 29, 2012 at 7:15 PM
my reqment is i have to parse the excel and i need to print the data in the table by using swing jtable or else ....can u give the solution please.... ... View Questions/Answers

JAVA  February 29, 2012 at 7:03 PM
how to insert data from netbeans 7.0 into SQL server 2005 software using Struts? ... View Questions/Answers

Struts2  February 29, 2012 at 6:06 PM
java.lang.NullPointerException org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) org.apac... View Questions/Answers

JSP Pagination  February 29, 2012 at 5:20 PM
Hi , I have several JSP's that displays data from a DB specifically MSSQL.. But being that there are several hundred's of data to be shown, I want to implement Pagination.. Can someone show me a sample code which I could possibly use?? ... View Questions/Answers

array split string  February 29, 2012 at 5:02 PM
array split string ... View Questions/Answers

java binary file io example  February 29, 2012 at 4:44 PM
java binary file io example ... View Questions/Answers

function error too many input arguments  February 29, 2012 at 4:32 PM
function error too many input arguments ... View Questions/Answers

connection retry in java  February 29, 2012 at 4:15 PM
How to retry the connection automatically once it get disconnect..? ... View Questions/Answers

java connection leak  February 29, 2012 at 4:09 PM
How to check the connection leak in Java..? ... View Questions/Answers

Store Variable in Java  February 29, 2012 at 3:57 PM
How to store Variables in Java? ... View Questions/Answers

Reset checkbox style to default  February 29, 2012 at 3:39 PM
Reset checkbox style to default ... View Questions/Answers

JAVA  February 29, 2012 at 2:41 PM
how to insert data from netbeans 7.0 into sql server 2005 software using Struts? ... View Questions/Answers

java  February 29, 2012 at 2:40 PM
how to insert data from netbeans 7.0 into sql server 2005 software? ... View Questions/Answers

php push notification  February 29, 2012 at 2:36 PM
php push notification ... View Questions/Answers

Java  February 29, 2012 at 11:19 AM
what is java ... View Questions/Answers

Code error  February 29, 2012 at 11:17 AM
package trail; import com.sun.syndication.feed.synd.SyndEntry; import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.io.SyndFeedInput; import com.sun.syndication.io.XmlReader; import de.l3s.boilerpipe.extractors.ArticleExtractor; import java.io.IOException; imp... View Questions/Answers

import file  February 29, 2012 at 11:14 AM
public void importFile(BlobDomain fileData) { InputStream inStr = fileData.getInputStream(); Workbook workbook = Workbook.getWorkbook(inStr); Sheet sheet = workbook.getSheet(0); int colCount = sheet.getColumns(); int rowCount = sheet.getRows(); Cell a,b,c,d,e,f,g,h; ... View Questions/Answers

SERVLET  February 29, 2012 at 11:02 AM
I want to create a login form with one text box submit edit and elete button,when user submit his/her user id then the value pass to the servlet and if the user id is correct then a new page will be displayed with his name,when user enter his id and click on the edit button,then the value should ... View Questions/Answers

java  February 29, 2012 at 10:38 AM
how to develop pagination concept on retrieving data from db in struts by using jdbc.. ... View Questions/Answers

java  February 29, 2012 at 10:38 AM
how to develop pagination concept on retrieving data from db in struts by using jdbc.. ... View Questions/Answers

java  February 29, 2012 at 10:38 AM
how to develop pagination concept on retrieving data from db in struts by using jdbc.. ... View Questions/Answers

Chess Game  February 29, 2012 at 2:03 AM
How could I make a basic 8x8 chess table with two dimensional arrays and insert the chess pieces in the array? ... View Questions/Answers

JPA  February 28, 2012 at 9:39 PM
I HAVE MADE A PROJECT IN I HAVE MADE ONE - ONE RELATION MY CODE IS ALSO RIGHT FROM MY POINT OF VIEW. AND WHEN I RUN IT IS GIVING ME THE MESSAGE AS BELOW::::::: run: [EL Info]: 2012-02-27 09:42:36.466--ServerSession(26453377)--EclipseLink, vers... View Questions/Answers

list of predeined methods and use java  February 28, 2012 at 6:59 PM
I need list of predefined methods in java like reverse,compare,tostring, etc.. ... View Questions/Answers

Getting Computer Date in java  February 28, 2012 at 5:37 PM
Hi , I want to get the PC Date and insert it to a DB, specifically MSSQL.. Everything in my scriptlet works but this.. String strDate = new Date(); I get this server error, "The type Date is ambiguous". I've also tried Date date = new Date(); ... but it get's the same erro... View Questions/Answers

Java Webservice  February 28, 2012 at 5:10 PM
Can i have a introductionary java webservice pdf introductionary with example ? ... View Questions/Answers

Jdatechooser : not able to fetch date in a specific format  February 28, 2012 at 3:22 PM
get date from Jdatechooser in format ddmmyyyy i am trying to use a component by KAI TOEDTOr called Jdatechooser http://www.toedter.com/en/jcalendar/api/index.html at this website now i can't fetch date from it ina a specific format... but i am able to get date i am using netbeans ... View Questions/Answers

JSP Submit Button  February 28, 2012 at 3:10 PM
i have jsp page with two submit buttons i use image as a submit button asddd input type=image,value=submit,src=abc.png ,alt=submit i want to pass this image value to servlets how to send plz any one can help me ... View Questions/Answers

web page altering while displaying servlet response  February 28, 2012 at 2:59 PM
in my application one index.jsp and one servlet is there and the servlet contains some db code and i want to display response of that servlet in a div in my index.jsp for this im using <%=request.getAttribute("data")%> this code and in servlet RequestDispatcher rd = re... View Questions/Answers

Apache Tomcat Login Failed  February 28, 2012 at 1:13 PM
Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). ... View Questions/Answers

Apache Tomcat Login Failed  February 28, 2012 at 1:13 PM
Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). ... View Questions/Answers

How to embed an executable plugin in my website?  February 28, 2012 at 12:30 PM
I want to embed an executable plugin in my website that will return client's Mac address run time. I am working with jsp/servlet. Please Help. ... View Questions/Answers

spring Model class  February 28, 2012 at 12:23 PM
how to connect database in spring MVC ,sample model class and diplay results from database ... View Questions/Answers

jsp page with two submit buttons  February 28, 2012 at 9:45 AM
HI.., i have jsp page with two submit buttons i use image as a submit button as input type=image,value=submit,src=abc.png ,alt=submit i want to pass this image value to servlets how to send plz any one can help me ... View Questions/Answers

how to send and retrieve image along with text to and from database  February 28, 2012 at 9:11 AM
im using app engine and i have two logics from different sources and i want to combine them. ive used the greeting example from app engine and i have a random image generator. im so stumped right now and i dont know how to combine the two. i want to take the random image along with the text and s... View Questions/Answers

JSlider disabling sliding through arrow keys  February 28, 2012 at 5:36 AM
I want that JSlider should not moved by using arrow keys. Is it possible? then guide me please. ... View Questions/Answers

popup window checkbox and sbumit button  February 28, 2012 at 2:48 AM
Hi, Requirement: popup window having multiple checkboxes, I have to select couple of checkboxes and click the submit button. I am unable to get the check box values... need help on this .... my javascript code: function openWin(form) { ... View Questions/Answers

Screen flashing  February 27, 2012 at 11:45 PM
Hey I am trying to make my screen flash (like a white flash as if from a camera). This is my code so far: <html> <head> <title> Temporary Template </title> <style type="text/css"> td { text-align:center; } tr.r... View Questions/Answers

JBoss Unix and Line Separator  February 27, 2012 at 11:05 PM
Hi, I am trying to solve an critical problem. I have an application which write a batch file using the method println from the PrintWriter class from java api, this method uses the default line separator from O.S. \n on unix, but I am trying to change to \r\n. I change the run.conf scri... View Questions/Answers

java  February 27, 2012 at 10:26 PM
Could someone answer in netbeans please. Write a method that takes two String arrays as parameters and checks if they are identical. Write a program that takes in a series of strings from the user and stores them in an array. The program should compare this array to a hard-coded array and... View Questions/Answers

java  February 27, 2012 at 10:25 PM
Could someone answer in netbeans please Write a program that takes in a string and a letter from the user and displays the number of appearances of the entered letter in the entered string. THE STRING SHOULD BE ENTERED AND THEN THE USER IS ASKED TO INPUT ONE LETTER. IT IS THEN COU... View Questions/Answers

JTABLE IS NOT RETIVING DATE FROM MS ACCESS  February 27, 2012 at 9:24 PM
PLEZ help me to retrive date from access to jtable....... import java.awt.BorderLayout; import java.sql.*; import javax.swing.*; import java.awt.event.*; import java.util.*; public class StudentIssueView extends JFrame { private Connection connectio... View Questions/Answers

turbo C Question 6.  February 27, 2012 at 7:32 PM
Explain call by value and call by reference with easy examples. ... View Questions/Answers

Limits of "For loop"  February 27, 2012 at 3:03 PM
Hi, How can I check the upper limit and lower limit of 'FOR' loop during unit testing using Junit. Thanks & Regards Ankit ... View Questions/Answers

response.sendDirect  February 27, 2012 at 1:32 PM
Is this response.sendDirect correct? response.sendRedirect("register.jsp?firstNameURL="+request.getParameter("cust_firstName")"?lastNameURL="+request.getParameter("cust_lastName")" "); I have multiple parameters that I want to put in this res... View Questions/Answers

tag name in xml  February 27, 2012 at 1:30 PM
How to get tag name in xml? ... View Questions/Answers

add a property to instance variable  February 27, 2012 at 1:19 PM
How to add a property to instance variable in iPhone SDK? ... View Questions/Answers

JAVA  February 27, 2012 at 12:52 PM
how to show & hide textbox value based on checkbox in html ... View Questions/Answers

turbo C Question 5.  February 27, 2012 at 12:48 PM
is it possible to print "", 1st line (5 times),2nd line *(4 times),3rd line *(3 times),4th line *(2 times) & 5th line *(1 times) with Align Right. and also reverse order as 1,2,3,4,5 (but right aline) like pyramid. ... View Questions/Answers

parser xml one page to another  February 27, 2012 at 12:39 PM
parser xml one page to another ... View Questions/Answers

javascript regular expression  February 27, 2012 at 12:11 PM
i need a regular expression code for JavaScript ..? ... View Questions/Answers

loading page in div  February 27, 2012 at 12:00 PM
how to load another web page in div? ... View Questions/Answers

Difference between SCJP Exams  February 27, 2012 at 11:57 AM
What is the differences between SCJP 5 (310 - 055) exam and SCJP 6 (310 - 065) exam??? Thank You In Adv. ... View Questions/Answers

adding view to viewcontroller  February 27, 2012 at 11:51 AM
How to add a frame window that opens on button click .. in iPhone application? ... View Questions/Answers

java jtextpane  February 27, 2012 at 11:38 AM
How to validate java jtextpane..? ... View Questions/Answers

ordering the data on a selected key  February 27, 2012 at 11:18 AM
I am willing to present the data in a particular event order.. ... View Questions/Answers

row_id  February 26, 2012 at 11:51 PM
sir i have created a table my_table with two rows n two column with smillar name in each cell without any primary key , how can i change the first row and third column's name in sql server 2005 , kindly send me the query ... if m changing the one name,instead of one all name are changing coz all... View Questions/Answers

row_id  February 26, 2012 at 11:51 PM
sir i have created a table my_table with two rows n two column with smillar name in each cell without any primary key , how can i change the first row and third column's name in sql server 2005 , kindly send me the query ... if m changing the one name,instead of one all name are changing coz all... View Questions/Answers

Method Overloading  February 26, 2012 at 10:06 PM
In java can method be overloaded in different class????????????/// ... View Questions/Answers

Method Overloading  February 26, 2012 at 10:06 PM
In java can method be overloaded in different class????????????/// ... View Questions/Answers

Reading string from file timed  February 26, 2012 at 5:56 PM
So I want to make a file reader/ buffered reader that reads a new line of the textfile, lets say every 30 second. Like it reads the first line, waiting 30 seconds, read the next line and so one. Im thinking it might come in handy using tread.sleep() I've searched but can't seem to... View Questions/Answers

JAVASCRIPT FOR ONLINE QUIZ  February 26, 2012 at 4:46 PM
i m creating a set of online questionnaire consist of 12 questions with choice of answers from 0-6.i've done creating a html codes.but have to calculate percentage based on total scores.my problem is i want to use get element by id function to read the score.if any questions is missed out there m... View Questions/Answers

correct the sql error and retrive data....plez  February 26, 2012 at 3:44 PM
i am getting a SQL Error while retriving data from access to jframe called "datatype mismatch in criteria expression" plez do help me and studentId's datatye is number...... private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handl... View Questions/Answers

how to create a new table for the already existing user in the website  February 26, 2012 at 3:15 PM
haiii....i want the code in jsp "how to create a new database for every user that has been already existing in the website?"....plzzzz help me.... ... View Questions/Answers

How to make a chat application using Struts 2 ?  February 26, 2012 at 12:25 PM
Hello, I'm working on my final year project. i've to add chat application in that. how it can be done? 'm using eclipse for that.... plzzz reply ... View Questions/Answers

iperf command in java  February 26, 2012 at 9:17 AM
How to write a code for iperf command in java? ... View Questions/Answers

Autoupdating graph  February 26, 2012 at 1:02 AM
Hey Anyone who might help me making a XY graph, that autoupdates lets say every 5th minute. All the datasets comes from an mySQL database, and the dataset in the database, comes from a txt file and are being transmitted every 4th minute Frank ... View Questions/Answers

DMCA.com