Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How can we extract string 'roseindia.net ' from a string http://deepak@roseindia. net using regular expression of php?  November 12, 2010 at 1:03 PM
How can we extract string 'roseindia.net ' from a string http://deepak@roseindia. net using regular expression of php? ... View Questions/Answers

JavaScript basic  November 12, 2010 at 1:00 PM
What does "1"+2+4 evaluate to? ... View Questions/Answers

Would you initialize your strings with single quotes or double quotes?  November 12, 2010 at 12:59 PM
Would you initialize your strings with single quotes or double quotes? ... View Questions/Answers

Advertisement

How can we submit a form without a submit button?  November 12, 2010 at 12:57 PM
How can we submit a form without a submit button? ... View Questions/Answers

What is the special meaning of __sleep and __wakeup?  November 12, 2010 at 12:56 PM
What?s the special meaning of _sleep and _wakeup? ... View Questions/Answers

What’s the special meaning of __sleep and __wakeup?  November 12, 2010 at 12:55 PM
What?s the special meaning of _sleep and _wakeup? ... View Questions/Answers

JavaScript basic  November 12, 2010 at 12:51 PM
What is === operator ? ... View Questions/Answers

WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP?  November 12, 2010 at 12:50 PM
WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP? ... View Questions/Answers

JavaScript basic  November 12, 2010 at 12:48 PM
How about 2+5+"8"? ... View Questions/Answers

How do you call a constructor for a parent class?  November 12, 2010 at 12:47 PM
How do you call a constructor for a parent class? ... View Questions/Answers

differences between GET and POST methods in form submit  November 12, 2010 at 12:46 PM
What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods? ... View Questions/Answers

Are objects passed by value or by reference?  November 12, 2010 at 12:41 PM
Are objects passed by value or by reference? ... View Questions/Answers

How To Protect Special Characters in Query String?  November 12, 2010 at 12:39 PM
How To Protect Special Characters in Query String? ... View Questions/Answers

EJB  November 12, 2010 at 12:37 PM
How is EJB different from servlets? ... View Questions/Answers

what is the value of $$b?  November 12, 2010 at 12:36 PM
If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b? ... View Questions/Answers

what’s the value of $$b?  November 12, 2010 at 12:36 PM
If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b? ... View Questions/Answers

If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b?  November 12, 2010 at 12:35 PM
If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b? ... View Questions/Answers

What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?  November 12, 2010 at 12:33 PM
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain? ... View Questions/Answers

How do I find out the number of parameters passed into function9. ?  November 12, 2010 at 12:28 PM
How do I find out the number of parameters passed into function9. ? ... View Questions/Answers

give the code for servlets session  November 12, 2010 at 12:27 PM
k give the code of total sample examples of servlet session ... View Questions/Answers

What is the difference between ereg_replace() and eregi_replace()?  November 12, 2010 at 12:25 PM
What is the difference between eregreplace() and eregireplace()? ... View Questions/Answers

When are you supposed to use endif to end the conditional statement?  November 12, 2010 at 12:23 PM
When are you supposed to use endif to end the conditional statement? ... View Questions/Answers

maximize an image using javaScript  November 12, 2010 at 12:20 PM
Write the code to maximize an image using javaScript? ... View Questions/Answers

WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()?  November 12, 2010 at 12:16 PM
WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()? ... View Questions/Answers

How do you pass a variable by value?  November 12, 2010 at 12:15 PM
How do you pass a variable by value? ... View Questions/Answers

How can we encrypt the username and password using PHP?  November 12, 2010 at 12:14 PM
How can we encrypt the username and password using PHP? ... View Questions/Answers

using $ sign in PHP  November 12, 2010 at 12:12 PM
Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example? ... View Questions/Answers

assign value problums in php  November 12, 2010 at 12:00 PM
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem? ... View Questions/Answers

I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?  November 12, 2010 at 11:59 AM
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem? ... View Questions/Answers

I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?  November 12, 2010 at 11:58 AM
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem? ... View Questions/Answers

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

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

DMCA.com