Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  January 26, 2011 at 10:33 PM
sum of three integer in jsp ... View Questions/Answers

java  January 26, 2011 at 10:33 PM
sum of three integer in jsp ... View Questions/Answers

Java GUI  January 26, 2011 at 9:45 PM
1) Using Java GUI, create a rectangular box that changes color each time a user click a change color button. 2) Modify Question 1 to include a new button named insert image, that allow user to insert a bitmap image in the box ... View Questions/Answers

Advertisement

filewriter  January 26, 2011 at 8:13 PM
Hi this is venkatesh goud. I have written program for writing given string into .txt file but it is not displaying output currectly please give me solution for bellow problem. the control is not transfering to new line when \n used. But when i am opening this text file in wordpad or ms-word... View Questions/Answers

MySql find and replace string  January 26, 2011 at 7:28 PM
How to find and replace string or special characters in MySql & PHP? ... View Questions/Answers

hi!  January 26, 2011 at 7:06 PM
how can i write aprogram in java by using scanner when asking user to enter element user will be free to enter any type that he/she wants to to enter, like(int,double,float,String,....) thanx for answering.... ... View Questions/Answers

char array java  January 26, 2011 at 5:56 PM
char array programmes in java All capital letters should be replaced with the next letter ... View Questions/Answers

flex  January 26, 2011 at 5:11 PM
Write a web application that let user to draw a polygon to a screen. After the polygon is ready user can click on a screen and the application will clearly indicate whether the clicked point was inside or outside of the polygon. ... View Questions/Answers

help me..  January 26, 2011 at 3:52 PM
what are the component needed by grid computing, cloud computing and ubiquitous computing? discuss about the security of above computing. difference between that 3 computing. ... View Questions/Answers

sorting and filtering the displayed table data using jsp and xml  January 26, 2011 at 3:28 PM
I have created a xml file and a jsp file, which uses DOM parser to display the content of xml file in web page. Now I would like to sort and filter those data that is displayed in web page. How to do it ??? Please help as soon as possible. Thanks. ... View Questions/Answers

I/O to another applications  January 26, 2011 at 3:11 PM
**What if there exists an application that needs a certain input and will give an output. Using Java, how can we invoke that application with an input and read the resulted output?** ... View Questions/Answers

help me to solve this question...  January 26, 2011 at 2:56 PM
Given below is a class definition for Book. Type and compile the class, and answer the following questions: class Book { String title; //book‚??s title double price; //book‚??s price public Book(String t, double p) { title = t; price = p; } public String getT... View Questions/Answers

Class Cast & illegal state Exception in blackberry  January 26, 2011 at 1:32 PM
tell me please i m facing class cast exception. when i click on Maps & iGoogle in Google Homepage on my emulator then it gives class cast & Illegal State exception in Blackberry emulator. All links are open except above two. it is my own browser where these exception are occured ... View Questions/Answers

UITextfield Background Color  January 26, 2011 at 1:06 PM
In my iPhone application, i am using text field as a search field. The code is working fine but the problem is ..it's showing a background color. Though my text field color is white. Can you please suggest.. , how can i remove the background color of text field. Thanks! ... View Questions/Answers

\wrapper  January 26, 2011 at 12:46 PM
Hands on Exercise on Wrapper Class: Write a Java code that converts integer to Integer converts Integer to String converts String to integer converts int to String converts String to Integer converts Integer to integer displays the largest and smallest values of type integer converts the... View Questions/Answers

\wrapper  January 26, 2011 at 12:46 PM
Hands on Exercise on Wrapper Class: Write a Java code that converts integer to Integer converts Integer to String converts String to integer converts int to String converts String to Integer converts Integer to integer displays the largest and smallest values of type integer converts the... View Questions/Answers

Screen shot  January 26, 2011 at 12:07 PM
webpage screenshot source code ... View Questions/Answers

webpage capture  January 26, 2011 at 12:00 PM
webpage capture source code using jsps and servlets ... View Questions/Answers

java parsing of data types  January 26, 2011 at 11:21 AM
Why its not works? char ch; String s=* ch=Character.parseChar(s) program: char op; DataInputStream dis=new DataInputStream(System.in); System.out.print("Enter operator (+,-,*,/,%): "); op=Character.parseChar(dis.readLine()); ... View Questions/Answers

network security analyzer  January 26, 2011 at 11:04 AM
i want a prog which runs on a firewall machine and continuously checks the firewall log file for any attack, if it detects any attack the prog should send a warning to the administrator in the form of a pop-up window with some information about the attack . ... View Questions/Answers

Screen Capture  January 26, 2011 at 11:03 AM
How to capture the screen using jsps and servlets ... View Questions/Answers

enable text box and label on selection  January 26, 2011 at 10:55 AM
hello, Please tell me how to enable label and text box on selection of drop down list box. in drop down list box all values come from database. please reply. ... View Questions/Answers

Clickable chart with Tool Tip  January 26, 2011 at 10:52 AM
Can we generate the charts with tooltip and onclick events using jfreechart in jsps and servlets. ... View Questions/Answers

jsp code  January 26, 2011 at 8:52 AM
what are the jsp code for view page in online journal. ... View Questions/Answers

Resources have been modified iPhone  January 26, 2011 at 12:46 AM
Hi, My client is getting Resources have been modified error while installing AdHoc distribution on his iPhone. How to solve Resources have been modified iPhone error? Thanks ... View Questions/Answers

What is robot.txt file?  January 26, 2011 at 12:31 AM
Hi, What is robot.txt file? Thanks ... View Questions/Answers

customize method in java  January 25, 2011 at 8:39 PM
hi there i want to create one customize method in which any no of parameters can be pass e.g the limit is 13 and if user wants to enter 3 inputs then that much can only be proceed so can i have solution for this? thanks in advance ... View Questions/Answers

still error  January 25, 2011 at 6:52 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String k=txtname.getText(); ... View Questions/Answers

java help  January 25, 2011 at 6:26 PM
How to Open CSV Files in a Microsoft Excel Application Using Java Code with example pgm. ... View Questions/Answers

file I/O  January 25, 2011 at 6:16 PM
Write a java class which it should do below ∑ Read the attached file. ∑ Sorted out and writer it into another file(sorted values). ∑ Also find the SECOND biggest number in the attached file and print it in console. ... View Questions/Answers

UITextField Programmatically iPhone  January 25, 2011 at 6:04 PM
How to create UITextField Programmatically in iPhone? ... View Questions/Answers

Online Shopping Portal  January 25, 2011 at 6:00 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along with th... View Questions/Answers

Servlet  January 25, 2011 at 5:52 PM
Sample programs using Servlets in J2EE ... View Questions/Answers

Servlet  January 25, 2011 at 5:52 PM
Sample programs using Servlets in J2EE ... View Questions/Answers

iPhone Make Call from App  January 25, 2011 at 5:45 PM
iPhone Make Call Programmatically I have created an application in iPhone that has the functionality to make Call from App. I am just wondering how to make a call programmatically... is there any iphone make call api? ... View Questions/Answers

servlet programe  January 25, 2011 at 5:31 PM
import java.io.*; import javax.servlet.*; public class Helloservlet extends GenericServlet{ { public void service(ServletRequest request, ServletResponse response) throws ServletException , IOException { String msg="HelloWorld"; response.setContentT... View Questions/Answers

Tutorial  January 25, 2011 at 4:50 PM
suggest me some good spring material for begginer.... ... View Questions/Answers

receiving null value in back bean by the jsf page  January 25, 2011 at 4:42 PM
i have done above things but i m receiving null value in back bean by the jsf page plz tell me solution as soon as possible ... View Questions/Answers

Zooming Panel  January 25, 2011 at 4:41 PM
Hello, i have to create a small panel of size( 50, 50 ), which allow to display web pages and should allow the user to zoom the panel on mouse wheel to fit the screen. can someone please help me! i have be able to make the URL display correctly, but am unable to make the panel to grow in size on ... View Questions/Answers

Unable to compile Servlet  January 25, 2011 at 4:36 PM
First I installed the tomcat server in C:\apache-tomcat-6.0.14 directory. Then I created a system variable CATALINA_HOME with the value C:\apache-tomcat-6.0.14. Then I created another system variable JAVA_HOME with the value C:\Program Files\Java\jdk1.6.0.14 Then I created... View Questions/Answers

error!!!!!!!!!  January 25, 2011 at 4:25 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String e=txtname.getText(); String f=txtgen.getT... View Questions/Answers

error!!!!!!!!!  January 25, 2011 at 4:24 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String e=txtname.getText(); String f=txtgen.getT... View Questions/Answers

error!!!!!!!!!  January 25, 2011 at 4:24 PM
st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText(); String e=txtname.getText(); String f=txtgen.getT... View Questions/Answers

Datagrid not working  January 25, 2011 at 3:43 PM
The code here is working fine, apart from the fact that that I'm using netbeans 6.5 and the servlet v2.5 and struts 1.1. the datagrid tag gives an error saying that the items attribute does not accept ant expression. I looked up on the internet for answers. according to one i used the following v... View Questions/Answers

online voting system source code in java  January 25, 2011 at 3:42 PM
Please send me source code for online voting system in java. please replay as fast as. Thank you. ... View Questions/Answers

write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string  January 25, 2011 at 2:49 PM
write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string ex:If a user enters a numbered value in a text field, like 1 or 2 or 3 or 4 the o/p should appear as 1st or 2nd or 3rd or 4th. ... View Questions/Answers

write a java pogram to add elements to linked list using keyboard and display it  January 25, 2011 at 2:27 PM
write a java pogram to add elements to linked list using keyboard and display it ... View Questions/Answers

incementation  January 25, 2011 at 12:28 PM
why it displays aa, after incremening $a='z'? ... View Questions/Answers

Pass a dom object from jsp to servlet  January 25, 2011 at 12:17 PM
I am creating a dom object in my jsp page. now i want to pass that object in a servlet through calling servlet in jsp. can anyone help me? ... View Questions/Answers

incrementing characters  January 25, 2011 at 12:08 PM
why it displays aa, after incremening $a='z'? ... View Questions/Answers

where the progrming is done in the struts.  January 25, 2011 at 12:01 PM
where the progrming is done in the struts. ... View Questions/Answers

finout longest word in sentence  January 25, 2011 at 9:29 AM
write a program , how to find out the longest word in a sentence using java ... View Questions/Answers

searching string  January 25, 2011 at 9:25 AM
how to write a program for searching a string ... View Questions/Answers

reverse string  January 25, 2011 at 9:22 AM
how to reverse a string without changing its place ... View Questions/Answers

how to reverse a string without changing its place  January 25, 2011 at 9:21 AM
how to reverse a string without changing its place ... View Questions/Answers

need help to create applet  January 25, 2011 at 7:51 AM
Can u help me..?? I get a task ...and i dont know how to make it... So I hope that u can help me... Here is the task... ~Create an Applet using all Layout Manager(use whatever component in each layout) a) FlowLayout b) BorderLayout c) GridLayout d) Grid... View Questions/Answers

Array List  January 25, 2011 at 7:08 AM
Could somebody help me to solve this question. I am glad to hear ideas or answers from everyone. The situation: Complete the class House and HouseApp below to display class House{ int lotNo; String type; //Bungalow, SemiDetached double price; public House ( int l, String t, do... View Questions/Answers

Array List  January 25, 2011 at 7:04 AM
Complete the class House and HouseApp below to display class House{ int lotNo; String type; //Bungalow, SemiDetached double price; public House ( int l, String t, double p) { √Ę‚?¨¬¶ } public int theLotN() { √Ę‚?¨¬¶ } public String theType(){√Ę‚?¨¬¶} public doubl... View Questions/Answers

An exercise using (SRS) as a blue print for Abstraction and Modeling in a one page answer. Was this example correct?  January 25, 2011 at 2:01 AM
The software tool to help automate the process of producing a blueprint for problems with a television by using operation systems(SRS). By using this system will enable the user to model from an (OO)perspective (i.e., software perspective). As an Operator System Object Modeler the program to auto... View Questions/Answers

Dependent drop down list  January 24, 2011 at 11:20 PM
hi,i am trying to design a form on which 2 dependent drop down list is used my code is successful but when i select class from first drop down list all the data get lossed means the value entered in fields before drop down list get blank.what can i do for this? This is the code <... View Questions/Answers

JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use.  January 24, 2011 at 11:05 PM
init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Created dir: D:\Paritosh\My JSP\WebApplication1\dist Building jar: D:\Paritosh\My JSP\WebApplication1\dist\WebApplication1.war Starting JBoss Application Server JBoss... View Questions/Answers

Tutorial  January 24, 2011 at 9:14 PM
Please give me a solution (running program) for the questions below: 1) Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named Erase. When a user clicks this button, the whole drawing/scribble will be erased. <... View Questions/Answers

Tutorial  January 24, 2011 at 9:08 PM
Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named ‚??Erase‚??. When a user clicks this button, the whole drawing/scribble will be erased. Write a program to display a user-input character. The user can also mo... View Questions/Answers

Tutorial  January 24, 2011 at 9:03 PM
Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named √Ę‚?¨Ň?Erase√Ę‚?¨¬?. When a user clicks this button, the whole drawing/scribble will be erased. Write a program to display a user-input character. The user can ... View Questions/Answers

Tutorial  January 24, 2011 at 9:03 PM
Write a program for drawing/scribbling using a mouse. Draw by dragging with the left mouse button pressed. Create a button named √Ę‚?¨Ň?Erase√Ę‚?¨¬?. When a user clicks this button, the whole drawing/scribble will be erased. Write a program to display a user-input character. The user can ... View Questions/Answers

php format number to 2 decimal places  January 24, 2011 at 9:01 PM
Hi, How to format a number in PHP to 2 decimal places? Can anyone provide me good code for php format number to 2 decimal places? Thanks ... View Questions/Answers

search for a name  January 24, 2011 at 8:24 PM
Search for a name Write a program to accept an array of names and a name and check whether the name is present in the array. Return the count of occurrence. Use the following array as input {?Dave?, ?Ann?, ?George?, ?Sam?, ?Ted?, ?Gag?, ?Saj?, ?Agati?, ?Mary?, ?Sam... View Questions/Answers

garbage collection  January 24, 2011 at 8:18 PM
how to use garbage collection in program using core java ... View Questions/Answers

where exactly we use interface and where abstract class?  January 24, 2011 at 6:37 PM
what is the use of interface over abstract class? and where we should use interface and where abstract class? ... View Questions/Answers

how to connect two databse through HibernateFramework  January 24, 2011 at 5:53 PM
how to connect two databse through HibernateFramework ? ... View Questions/Answers

Serlization  January 24, 2011 at 5:42 PM
give me real time example of serialization? ... View Questions/Answers

Finding searching phrase of a search engine  January 24, 2011 at 4:52 PM
how to find out searching phrase of a search engine..? like, if visitors enter the keyword to google, is is any possible to get that keyword.. ... View Questions/Answers

image save to folder in java  January 24, 2011 at 4:35 PM
Hi, I am working with java. In my application i want to give facility to user to add and change image. I use open dialog box to select image, it will work properly i.e on button click open dialog is open select any image i want to store that selected image into specified folder and that ... View Questions/Answers

platform(s/w requirements) for run jsp programs?  January 24, 2011 at 4:32 PM
in which platform jsp programms are run? ... View Questions/Answers

error please send me the solution  January 24, 2011 at 4:15 PM
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet Could not display records. DisplayServlet.doPost(Di... View Questions/Answers

error please send me the solution  January 24, 2011 at 4:15 PM
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet Could not display records. DisplayServlet.doPost(Di... View Questions/Answers

SEVERE: Error listenerStart  January 24, 2011 at 3:52 PM
Hi When I deployed my web application( named: hospital) in Tomcat 6.0.29, I am getting the following issue and I am not able to access my application. SEVERE: Error listenerStart Jan 24, 2011 3:48:07 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/hospital] sta... View Questions/Answers

inheritance  January 24, 2011 at 3:51 PM
can constructors of the parent class be inherited by the child class? ... View Questions/Answers

java  January 24, 2011 at 3:35 PM
hai sir. i have doubt sir. in my form i have one grid table.and these values should pass to database and next to the another form please give me reply as soon as possible ... View Questions/Answers

Java  January 24, 2011 at 2:47 PM
can an interface extend more than one interfaces? justify? give one example. ... View Questions/Answers

Online Shopping Portal  January 24, 2011 at 2:46 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along ... View Questions/Answers

null interface  January 24, 2011 at 2:46 PM
what is the null interface and what is the use of it in real java project ? ... View Questions/Answers

setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key headerView.  January 24, 2011 at 1:30 PM
HI, In my iPhone application I am getting following error: setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key headerView. How to solve this? Thanks ... View Questions/Answers

org.springframework.scheduling.quartz.SimpleTriggerBean repeatinterval  January 24, 2011 at 1:06 PM
Hi, What is the org.springframework.scheduling.quartz.SimpleTriggerBean repeatinterval for 1 Minute 5 Minutes 10 Minutes 1 Hour Thanks ... View Questions/Answers

Export chart to JPEG file  January 24, 2011 at 1:02 PM
Hi. I have one problem. I have generated piecharts and barcharts using chartlib.js and jquery in jsp. Now i want to export this charts to jpeg file . how can i do this? Thank q in advance.. ... View Questions/Answers

Expain the following code ?  January 24, 2011 at 12:58 PM
please explain the following line of code clearly? <html:link href="user.do?parameter=create">Create User</html:link> ... View Questions/Answers

Distinguishes JavaBeans from Java Classes  January 24, 2011 at 12:15 PM
What is the difference between a Java Bean and an instance of a normal Java class?Explain with an example, pls? ... View Questions/Answers

Online Shopping Portal for xyz.com  January 24, 2011 at 12:03 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along with th... View Questions/Answers

Online Shopping Portal for xyz.com  January 24, 2011 at 12:03 PM
XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered or not, can view the various products along with th... View Questions/Answers

C Program with Database Connectivity  January 24, 2011 at 11:33 AM
How To Connect MySQL Database in C Program with Graphics. ... View Questions/Answers

util.Zip  January 24, 2011 at 10:25 AM
I have to read a zip file form given path in my class,that zip file may contains many file but i want only one file content how to code this please help mee.......... ... View Questions/Answers

struts tags  January 24, 2011 at 8:08 AM
I want develop web pages using struts tags please help me,but i searched many sites but that sites doesn't give correct information. examples of struts tags are ... View Questions/Answers

Java  January 24, 2011 at 12:31 AM
What is class path and path in java ... View Questions/Answers

i have a problem to do this question...pls help me..  January 24, 2011 at 12:18 AM
Write a program that prompts the user to input an integer and the output the number with the digits reversed. For example if the input is 12345, the output should be 54321. ... View Questions/Answers

online examination system project in jsp  January 24, 2011 at 12:17 AM
How to show the status bar which shows how much time is remaining in online examination system in jsp.my ... View Questions/Answers

Redirecting the console output into a file in Java  January 23, 2011 at 11:54 PM
Hi, i coded a program that read specific lines from a text file. It's working well. Now i want to redirect the output of the console to a text file. i used your tutorial, but it's not working for me. Could you please help for this code. [CODE] import java.io.*; imp... View Questions/Answers

error in taking input from user.  January 23, 2011 at 10:53 PM
//i m having problem inputting the array from user.my program is import java.io.*; class bubble { public static void main(String args[]) { int a[]=new int[20]; int i=0; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter 10 no. to sort"); try { ... View Questions/Answers

confusion  January 23, 2011 at 9:30 PM
how can i write a program to swap a value without using any arithmetic or any other third variable??? and also for adding two numbers without using any arithmetic operator??????? in c language ... View Questions/Answers

extract equation  January 23, 2011 at 8:28 PM
I want to extract equation from doc. ... View Questions/Answers

how to connect two swing frames  January 23, 2011 at 7:23 PM
how to connect two swing frames ... View Questions/Answers

DMCA.com