Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How can I execute a PHP script using command line?  November 12, 2010 at 11:53 AM
How can I execute a PHP script using command line? ... View Questions/Answers

What is the difference between mysql_fetch_object and mysql_fetch_array?  November 12, 2010 at 11:51 AM
What is the difference between mysqlfetchobject and mysqlfetcharray? ... View Questions/Answers

How To Get the Uploaded File Information in the Receiving Script?  November 12, 2010 at 11:48 AM
How To Get the Uploaded File Information in the Receiving Script? ... View Questions/Answers

Advertisement

Getting Exception  November 12, 2010 at 11:45 AM
How to get exception from commented code in java? ... View Questions/Answers

bean life cycle methods in spring?  November 12, 2010 at 11:42 AM
bean life cycle methods in spring? ... View Questions/Answers

What is meant by urlencode and urldecode?  November 12, 2010 at 11:42 AM
What is meant by urlencode and urldecode? ... View Questions/Answers

What are the differences between require and include, include_once?  November 12, 2010 at 11:38 AM
What are the differences between require and include, include_once? ... View Questions/Answers

How To Write the FORM Tag Correctly for Uploading Files?  November 12, 2010 at 11:28 AM
How To Write the FORM Tag Correctly for Uploading Files? ... View Questions/Answers

How do you define a constant?  November 12, 2010 at 11:25 AM
How do you define a constant in php? ... View Questions/Answers

What Is a Persistent Cookie?  November 12, 2010 at 11:22 AM
What Is a Persistent Cookie?. Explain it. ... View Questions/Answers

What is the difference between $message and $$message?  November 12, 2010 at 11:21 AM
What is the difference between $message and $$message? ... View Questions/Answers

How can we repair a MySQL table?  November 12, 2010 at 11:19 AM
How can we repair a MySQL table? ... View Questions/Answers

How can we know the number of days between two given dates using PHP?  November 12, 2010 at 11:16 AM
How can we know the number of days between two given dates using PHP? ... View Questions/Answers

What is meant by PEAR in php?  November 12, 2010 at 11:11 AM
What is meant by PEAR in php? ... View Questions/Answers

What’s the difference between include and require?  November 12, 2010 at 11:07 AM
What?s the difference between include and require? ... View Questions/Answers

What does a special set of tags <?= and ?> do in PHP?  November 12, 2010 at 11:04 AM
What does a special set of tags do in PHP? ... View Questions/Answers

Session in Php  November 12, 2010 at 11:01 AM
What Is a Session? ... View Questions/Answers

What's PHP ?  November 12, 2010 at 10:59 AM
What's PHP ? ... View Questions/Answers

Query for gathering info from 3 tables with condition depended on 4th table  November 12, 2010 at 10:51 AM
I have 4 tables, 1 User profile (PK usrid), 2 Friend list(pk ugid), 3 user updates(PK updatesguid), 4 comments on updates(PK comment guid) i want a query in which I will get a data of people, there updates, and comments on updates who are friend of current user.(tables are InnoDB and hav... View Questions/Answers

tomcat jsp call DLL  November 12, 2010 at 1:41 AM
Where can i find Example of use JSP under Tomcat environment call DLL ... View Questions/Answers

swings:how to link from one form to another form  November 11, 2010 at 11:32 PM
how to link from one form to another form ... ... View Questions/Answers

Forensic..  November 11, 2010 at 11:10 PM
Hi everyone. I need an urgent response from you all.plz help me. 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 ... View Questions/Answers

plz help me out with this problem...please write the program for me.thanxxxxx  November 11, 2010 at 10:18 PM
Write a program that will print out a hydro bill. The bill will be formatted as the example on the next page. The following information will be entered by the user: - Account number (12 digit code) - Address - Kilowatts used for the month for evening useage - Kilowatts used for the month for dayt... View Questions/Answers

plz help me out with this problem...please write the program for me.thanxxxxx  November 11, 2010 at 10:18 PM
Write a program that will print out a hydro bill. The bill will be formatted as the example on the next page. The following information will be entered by the user: - Account number (12 digit code) - Address - Kilowatts used for the month for evening useage - Kilowatts used for the month for dayt... View Questions/Answers

Screen scrapper tool java source code  November 11, 2010 at 9:56 PM
From where can i dload the souce code for this screen scrapper tool ? Please let me know. Thanks ... View Questions/Answers

Project on mailing system using Java/JSP  November 11, 2010 at 9:56 PM
I am making a project on mailing system in Java/JSP. How could I display the inbox messages on the home page of user? Please tell me about how to handle these messages in database? ... View Questions/Answers

How to Open Picture From M.S. Access Database using Java Servlet ?  November 11, 2010 at 9:54 PM
Hi all my Friends I have below code which insert a picture into M.S. Access Database But i m still not able to open this picture through Java using M.S. Access and i wants to open this Picture On Web Browser using Java Servlet anybody can help me....? //Code for Insert Picture into M.S... View Questions/Answers

spring  November 11, 2010 at 9:36 PM
i am a beginner in java.. but i have to learn spring framework.. i know the core java concepts with some J2EE knowledge..can i learn spring without knowing anything about struts ... View Questions/Answers

a1  November 11, 2010 at 9:04 PM
read a string from java who contains spaces ... View Questions/Answers

HTTP Status 405 - Request method 'GET' not supported. Its urgent  November 11, 2010 at 7:28 PM
When I use window.open('/admin/provisionNodeSamlPost.do?actionType=metadataview') in onclick method, following error is displaying in new window. "HTTP Status 405 - Request method 'GET' not supported." Anybody reply ASAP, its urgent. ... View Questions/Answers

how to pass form values from javascript of html page to jsp page  November 11, 2010 at 4:58 PM
This is my sample html page which contains inline javascript which calculates the geocode and tries to return the lattitude and longitude .But my question is how to submit all the form values with lattitude and longitude returned from showlocation funtion to submitform.jsp page and display latitu... View Questions/Answers

Struts 2 issue  November 11, 2010 at 3:59 PM
hi, I have one jsp page and having one hidden field methodName and when we submit request we get value in action class and again i am redirecting request to same jsp page and on click of submit submiting values to same action now problem is when we submit request first time e.g value in hidden... View Questions/Answers

How to check whether database exists?  November 11, 2010 at 3:41 PM
Hi, I have to create a database in mysql. I am able to create that successfully from using JDBC. But before to creating the database, i want to check whether database exists or not? How can i do this check. can any one help me on this. Please find thesample code ... View Questions/Answers

java quetions  November 11, 2010 at 3:41 PM
how to add an image into word document using java ... View Questions/Answers

java  November 11, 2010 at 3:08 PM
how i get system time in hh:mm:ss format? ... View Questions/Answers

button with rounded corner in java  November 11, 2010 at 2:35 PM
Hi, I want to create a JButton with rounded corners in swings. I went through many programs but did not got the solutions. Thanks and regards, Vivek Birdi ... View Questions/Answers

maintain previoous state on a Jsp  November 11, 2010 at 11:34 AM
i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit the page using submit button when again i open the detail of the same id, pr... View Questions/Answers

Urgent Solution required  November 11, 2010 at 11:26 AM
This is possible to transfer that file from client to server and read that file and view it in JSP. If it is can you send the example. thanks alot in advance ... View Questions/Answers

Serializable  November 11, 2010 at 10:56 AM
what is serializable and when it is used? ... View Questions/Answers

In data structure in java how to parse the given string and counts the member of character that match the given data?  November 11, 2010 at 10:24 AM
Design a parser that parse the given string and counts the member of character that match the given data.using the STACK or QUEUE Example output ** GIVEN STRING: a b c d e f g INPUT STRING: a c d e f No.of matches: five wou... View Questions/Answers

Drivers  November 11, 2010 at 9:37 AM
How to insert Drivers in jdbc for java ... View Questions/Answers

Struts project in RAD  November 11, 2010 at 9:07 AM
How to create a struts project in RAD. ... View Questions/Answers

Java to extract info from .iCalendar files  November 11, 2010 at 7:38 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

How to read the data in text file seperated by by ',' in java using IO Operations  November 11, 2010 at 1:37 AM
in Text file data like raju 45,56,67 ramu 46,65,78 raji 34,23,56 this is the student marks in text file.this data read and calculate the marks and sent the another text file like raju pass 67% ramu pass 56% raji fail how to write th... View Questions/Answers

java  November 10, 2010 at 8:54 PM
write a program to accept strig from user and find out vowel,blank and non blank characters. ... View Questions/Answers

java  November 10, 2010 at 8:50 PM
write a program to accept string from user and find out statistics no. of digits, no. of lowercase letters,no. of uppercase letters, no. of total characters, no. of total words,no. of symbols ... View Questions/Answers

CREATE AND WRITE FILE THREAD JAVA  November 10, 2010 at 8:08 PM
Hi guys I was wondering how can I make this program in java with threads. I need to create a file and write in it (i know how to do that) but by listening in some port all the data that is being send until reaches an specific size Im kind LOST GUYS! I need help Im a beginner :( <... View Questions/Answers

palindrom  November 10, 2010 at 7:52 PM
write a program to accept a no. and find that no. is a palindrom or not using function. ... View Questions/Answers

Urgent Answer Req  November 10, 2010 at 7:14 PM
how to view the file content which is at client side from jsp in java ... View Questions/Answers

Printing numbers up to N into a file  November 10, 2010 at 6:55 PM
I'd like to print the first N integers, that is, "1, 2, 3, 4, ..., N-1, N", say N equals 1000, or 10000 or whatever. I'd also like to have the result stored as a file instead of having it only on the screen. How should I do it? ... View Questions/Answers

Web  November 10, 2010 at 4:53 PM
Application is not working in any versions of IE. Its working good in firefox. Please help me.. Thanks in advance. ... View Questions/Answers

JME image read  November 10, 2010 at 4:46 PM
how to display more then one image in jme after reading from nokia 6303 phone. reply me at maheshwari1986ashish@gmail.com ... View Questions/Answers

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

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

DMCA.com