Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Pyramid  May 30, 2011 at 12:48 AM
Help me to write the following: 1 121 12321 1234321 123454321 ... View Questions/Answers

calculation  May 29, 2011 at 11:13 PM
helo all, can any one tell me ...how to add values taken from text box and display it to user. the requirement is..from total amount to be paid and total paid we have to find the due amount to be paid..and each employee is issued with voucher number after paying,and if required we can add some ad... View Questions/Answers

how to create a login page and registration page?  May 29, 2011 at 10:51 PM
hellow, pls tell me the code for how we can create a login page and registration page and how we can store the info in database.only in advance java as jsp. ... View Questions/Answers

Advertisement

beginner  May 29, 2011 at 9:41 PM
difference between Application Server and Web Server? ... View Questions/Answers

beginner  May 29, 2011 at 9:39 PM
explain difference between get and post methods? ... View Questions/Answers

tokenizing a java file  May 29, 2011 at 9:31 PM
Hi i am new to java and i am trying to build lexecal analyser for java code , I am in the beginning want to read the file then tokanize it, so i wrote this code that read line from the buufer , put it in string then put the tokens into array of string ,but after run the code it gives" error:n... View Questions/Answers

Jsp  May 29, 2011 at 8:25 PM
Can I implement interface in jsp? ... View Questions/Answers

I want design samples for JSP project  May 29, 2011 at 7:28 PM
Sir, I world Like to do a project in jsp techonology. But i have no idea of selecting the project, especially if i selected any project i have no idea that is how to build ie how to design the project with specified thing ie design is somewhat critical to me..please suggest me a good project with... View Questions/Answers

Interview question  May 29, 2011 at 4:28 PM
what is mean by Dynamic class loading....? ... View Questions/Answers

static keyword  May 29, 2011 at 10:28 AM
Hii, In which portion of memory static variables stored in java. Is it take memory at compile time? thanks deepak mishra ... View Questions/Answers

IJVM  May 29, 2011 at 8:32 AM
need help The â??powerâ?? function currently does not exist in IJVM. For example, if two numbers 2 and 3 are on the stack, the power function would compute 2 power 3, i.e. 23 that should give 8 as the result. Assume two positive numbers (say, a and b) are provided on the stack (with a bei... View Questions/Answers

IJVM  May 29, 2011 at 8:32 AM
need help The â??powerâ?? function currently does not exist in IJVM. For example, if two numbers 2 and 3 are on the stack, the power function would compute 2 power 3, i.e. 23 that should give 8 as the result. Assume two positive numbers (say, a and b) are provided on the stack (with a bei... View Questions/Answers

IJVM  May 29, 2011 at 8:29 AM
using IJVM..can anybody help me in this question User should be prompted to enter two non-negative numbers (say, a and b where a >0 and b > 0) line by line and then press the enter key. Your program should calculate and display the following for these numbers (see sample output below): ... View Questions/Answers

problem with dynamic url  May 29, 2011 at 12:46 AM
Hello! I was asked to implement a dynamic url code below to a html template I designed. I am a web designer, and although I understand the code, there is something wrong with it, or maybe I didn't do it right. Can't figure out why there is a space in the path on the "$t_url". Thanks!... View Questions/Answers

send sms from pc to mobile  May 28, 2011 at 9:54 PM
java program to send sms from pc to mobile ... View Questions/Answers

display repeated lines in a file  May 28, 2011 at 9:51 PM
i want a java program that accepts file from user and displays the repeated lines in a file ... View Questions/Answers

program using StringTokenizer  May 28, 2011 at 9:37 PM
I want to know about StringTokenizer,so can you please explain it with an example? ... View Questions/Answers

How to reach agra from Delhi?  May 28, 2011 at 8:16 PM
Hi, I have to travel to Agra from Delhi next week. Please let's know how I can reach Agra from Delhi by road? Thanks ... View Questions/Answers

How to reach agra from Delhi?  May 28, 2011 at 8:16 PM
Hi, I have to travel to Agra from Delhi next week. Please let's know how I can reach Agra from Delhi by road? Thanks ... View Questions/Answers

how to send email in php and attech with any file  May 28, 2011 at 5:33 PM
how to send email and attech with any file like text, image, video. ... View Questions/Answers

form based file upload using servlets  May 28, 2011 at 5:27 PM
Hai all, I wrote a program to upload a file into specified directory and store the file path and username into database. for that i created a html page having browse option and text box i used commons-fileupload and commons-io APIs. while i enterd username and upload file path ... View Questions/Answers

How to Auto Delete Bids after certail time expire.?  May 28, 2011 at 4:27 PM
I am developing alibaba.com like website where after time expires ,buying request need to be deleted. So is there any idea experts have for this type of problem. ... View Questions/Answers

How to Auto Delete Bids after certail time expire.?  May 28, 2011 at 4:27 PM
I am developing alibaba.com like website where after time expires ,buying request need to be deleted. So is there any idea experts have for this type of problem. ... View Questions/Answers

Compose mail by clicking on send mail button  May 28, 2011 at 1:18 PM
How i get microsof out look page opend for composing mail by just clicking on send mail button and when outlook page open then in to:my email id is written on my jsp page ... View Questions/Answers

hacking  May 28, 2011 at 12:20 PM
how to hack the ip adress by java coading ... View Questions/Answers

java  May 28, 2011 at 10:47 AM
write a program to define a student class with attributes student no student no student age student gender declare a default constuctor one method to accept the details from the user ( set details()) and method to display the details 9 get details()). ... View Questions/Answers

Swing application  May 28, 2011 at 5:05 AM
Hello, I want to develop a Swing application similar to J2EE application.The only difference is that, the users will access the application not through web browsers, instead through a Swing desktop application GUIs. Please help me to develop such an application. ... View Questions/Answers

Loading a jsp page (with record from database) from another jsp page  May 27, 2011 at 10:04 PM
Suppose I have two jsp pages Search.jsp and Getdata.jsp. There are two fields in Search.jsp say Serial no,year and a button VIEW DATA. I want, when I click the button(VIEW DATA), Getdata.jsp will be loaded filling up all of its fields with records from database(against Serial no and year).That is... View Questions/Answers

j2me  May 27, 2011 at 9:50 PM
i want code in which when we input same data in midlet page ... than on ok button it will show in servlet page.. code that pass information to mobile application page to servlet page.. ... View Questions/Answers

sales detail  May 27, 2011 at 8:15 PM
creation of applet for sales deatils form the applet for Sales Details must include the following: ï?® The CartID, OrderNo, OrderDate should be displayed automatically. ï?® Create an Exit button and a Continue button. ï?® The Garment Name column should have drop down menu for customers to... View Questions/Answers

persoanl detail  May 27, 2011 at 8:13 PM
creation of applet for personal details form When a customer places his first order of garments, the Personal Details Form is displayed. On completing the form, the customer is assigned a cart id. A customer will be able to buy a product only if they have the cart id. It is essen... View Questions/Answers

java applet  May 27, 2011 at 8:07 PM
create applets to accept the personal details and sales details in the database. create jdbc application to connect the applets with the database. ... View Questions/Answers

how to make traffic light code in java  May 27, 2011 at 7:57 PM
what is code of traffic light in java ... View Questions/Answers

Creating Multiple ArrayList  May 27, 2011 at 7:26 PM
I want to create multiple ArrayList . import java.util.*; class ArrayListNames{ public static void main(String args[]){ //here i want to create 10 arraylists of type string. for(int i=0;i<10;i++){ List<String> ("L"+i)=new ArrayList<String>(... View Questions/Answers

program to display all words in the file in the sorted order without duplicates  May 27, 2011 at 3:46 PM
I want a java program which accepts a file from user and displays all words in the file in the sorted order without duplicates ... View Questions/Answers

intersection of two files  May 27, 2011 at 3:37 PM
hi!could you please provide me with the java program for displaying intersection of two files? ... View Questions/Answers

how to update image in php  May 27, 2011 at 3:32 PM
how to update image in php ... View Questions/Answers

variables are **called instance variables because they are created** whenever an object of the class is instantiated.  May 27, 2011 at 1:13 PM
i am new to java and also to the programming world at large. Data is encapsulated in a class by placing data fields inside the body of the class definition. These variables are called instance variables because they are created whenever an object of the class is instantiated. This... View Questions/Answers

J2ee-Servlet  May 27, 2011 at 12:34 PM
What is servlet wrapper class? Can u explain it. also send any link of Sun, so i can see the details. ... View Questions/Answers

java code for threading example for connecting data base  May 27, 2011 at 11:56 AM
Write a program that has two threads First thread queries the database and fetches all the employee records from the emp table. Stores the employee objects in a collection. then, it serializes each employee object and stores to a local file. Upon serializing all the employee objects, it p... View Questions/Answers

JAVA: Recusrion, Binary Search  May 27, 2011 at 8:27 AM
I want to learn about Binary Search and Recursion but I'm confused on how to do it. I know that I also need arrays, Inheritance, Interface, etc for this program. I also know that this needs to be implemented into a lot of classes. So if you could figure out this program for me that would be great... View Questions/Answers

How save,get picture from database in my jsp page?  May 26, 2011 at 8:28 PM
How i save picture in db after browsing it,and also how i get it on my other jsp page????????? ... View Questions/Answers

storing records which of a file into a table of mssql database  May 26, 2011 at 7:00 PM
I have a requirement like this, A file contains some records with headers same as column names of a table. I have to store those records into a table as records using hibernate and jdbc ... View Questions/Answers

java with brava server integaration  May 26, 2011 at 6:14 PM
how to integrate java with brava java client? ... View Questions/Answers

java with brava server integaration  May 26, 2011 at 6:14 PM
how to integrate java with brava java client? ... View Questions/Answers

IJVM  May 26, 2011 at 5:41 PM
User should be prompted to enter two non-negative numbers (say, a and b where a >0 and b > 0) line by line and then press the enter key. Your program should calculate and display the following for these numbers (see sample output below):  Sum (a + b)  Difference (a - b or b - a, whichever gives... View Questions/Answers

jsp  May 26, 2011 at 5:30 PM
Thank u sir for quick response. my compilation path is http://localhost:8080/calendar1/jsp/insertdate.jsp i got the following error ype Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. ... View Questions/Answers

jsp  May 26, 2011 at 5:20 PM
when i compile the dateOfBirth.html i got the following errors in tomcat type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to com... View Questions/Answers

hasim  May 26, 2011 at 5:00 PM
if u can possible create the constructor in abstract class? ... View Questions/Answers

database  May 26, 2011 at 4:17 PM
dateofbirth is not save into the database while i am enter from html browser.it shows as null.whats the reason for this ... View Questions/Answers

pls help me it urgent  May 26, 2011 at 2:07 PM
hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

pls help me it urgent  May 26, 2011 at 2:07 PM
hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

pls help me it urgent  May 26, 2011 at 2:07 PM
hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

advantages of get method?  May 26, 2011 at 11:53 AM
php in what is advatages of get methods and how you can use get methods. ... View Questions/Answers

java  May 26, 2011 at 11:50 AM
Applet program using JComboBox and JCheckBox. Explain in Detil about JRdio button and give exaple. how do you add a number to a GUI using swing? Briefly describe about JTable with exaple program. what do you mean by pluggable look and feel appearance?... View Questions/Answers

get method  May 26, 2011 at 11:39 AM
how to use get method: secure method is post method and most of use post method why use a get method. ... View Questions/Answers

jsp servlet  May 26, 2011 at 10:37 AM
dispay hindi in jsp ... View Questions/Answers

jsp  May 26, 2011 at 10:34 AM
how to write hindi in jsp and store in database as unicode ... View Questions/Answers

Struts  May 26, 2011 at 8:52 AM
Why struts rather than other frame works? ... View Questions/Answers

Struts  May 26, 2011 at 8:50 AM
why in Struts ActionServlet made as a singleton what is the specific reason how it useful in the webapplication development? ... View Questions/Answers

servlet question  May 26, 2011 at 12:55 AM
which method is used by destory() in servlet to release the resources and destroy the instances. ... View Questions/Answers

a trigger to call .bat file oracle  May 25, 2011 at 7:57 PM
hey,pls help mei want to know that can we call java/.bat file from plsql/proceudre /trigger ... View Questions/Answers

how to configure the hibernate in netbean  May 25, 2011 at 5:57 PM
how to configure the hibernate in netbean 6.5 ... View Questions/Answers

Spring alternative to Form Based Login  May 25, 2011 at 5:46 PM
print("code sample");how can we make a server to listen to login event i.e. Authenticate a user not using jsp. Using a login form we can use the jspringsecurity_check. How can we do it by sending a web service call and not using any form based authentication? ... View Questions/Answers

XML remove tags  May 25, 2011 at 5:33 PM
how i update a tag from xml file? ... View Questions/Answers

XML  May 25, 2011 at 3:01 PM
How i remove a tag from xml and update it in my xml? ... View Questions/Answers

Different JRE  May 25, 2011 at 2:31 PM
Java is platform independent. The why different JRE's there for differen operating systems. ... View Questions/Answers

Jsp doubt  May 25, 2011 at 2:30 PM
In Employee.jsp form, When i click employee id value in combo box , how i get the related employee name will be displayed in text field? i already stored combo box values from database. ... View Questions/Answers

Arrays  May 25, 2011 at 2:18 PM
Create a program to mark and grade a set of multiple choice test results.This is a console programm that uses JOptionPane dialog boxes as well. Read a set of 10 correct answers,using a JOptionPane dialog box and store the entire answer as one string in one variable.There are no spaces bet... View Questions/Answers

java serialization  May 25, 2011 at 2:14 PM
when we serialize the object while this object having the another object reference but we dont want to serialize that object inside the serializable object? if we do this it throw the null pointer exception after deserialize? how we do that so that it does not throw that exception ? ... View Questions/Answers

update image  May 25, 2011 at 1:35 PM
sir, I want to do update image into database ... View Questions/Answers

Postive Clipped Sine Wave  May 25, 2011 at 12:11 PM
Please Could You send the code of a clipped sine wave... Thanks ... View Questions/Answers

supplying values to in parameters of stored procedure in ms sql and displaying out parameters  May 25, 2011 at 11:56 AM
I have to execute following procedure ALTER PROCEDURE [dbo].[get_date] @codeId int, @vardate as datetime OUTPUT AS SELECT Date FROM Tbl_CustData WHERE codeId = @codeId ... View Questions/Answers

MySQL concating string  May 25, 2011 at 11:43 AM
Hi, How to concatenate the two fields data in MySQL? Thanks ... View Questions/Answers

J2ME  May 25, 2011 at 11:28 AM
how to create table using four field in RMS? ... View Questions/Answers

error  May 25, 2011 at 11:24 AM
java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2592) at com... View Questions/Answers

creating and executing stored procedure using hibernate  May 25, 2011 at 10:21 AM
I have to execute following query using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION VARCHAR(200) SET @i_STARTDATETIME = '2011-05-21 00:00:00' SET @i_ENDDATETIME = '... View Questions/Answers

could someone help in this ........  May 25, 2011 at 6:49 AM
dear Sir/Mrs I'll be thankful for helping me on this ....... write a program that reads 10 numbers. find the largest number and count the occurrence of the largest number from a declared array. assume the assigned 4.6.3.2.5.6.6.1 and 6. the program will display the largest number os 6 and... View Questions/Answers

java  May 25, 2011 at 6:45 AM
write a program that reads 10 numbers,Display the number in ascending order and also display the number in descending order? ... View Questions/Answers

java  May 25, 2011 at 6:20 AM
write a program that reads 10 numbers,find the largest number and the occurrence of the largest number from declare array. ... View Questions/Answers

jsp using netbeans  May 25, 2011 at 2:59 AM
Code to access and manage multiple e-mail accounts on the same page.. user should be able to edit mail accounts' link as required ... View Questions/Answers

Text to voice  May 24, 2011 at 10:52 PM
sample code for text to voice in objective c..... ... View Questions/Answers

How to Display Data in a tree structure on the GUI  May 24, 2011 at 8:40 PM
how to display data in a tree structure on the GUI? I need this sort of UI to display data showing a set of rules showing various conditions and the actions related to the conditions ... View Questions/Answers

Tamcat apache server error  May 24, 2011 at 6:24 PM
four days before it was working. now its not working HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5.31 how to rectify the above error ... View Questions/Answers

executing mysql plsql block using hibernate  May 24, 2011 at 5:58 PM
I got one requirement like this, I have to execute following query by using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION VARCHAR(200) ... View Questions/Answers

spring mvc configuration with mysql using jdbc  May 24, 2011 at 5:13 PM
hai I want to configure web mvc with mysql using jdbc template. when I submit values using registration form it will reflect on database which i was created earlier. send me code for this ... View Questions/Answers

HTTP Status 404 -  May 24, 2011 at 3:40 PM
HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5.31 how to rectify the above error ... View Questions/Answers

Mouse Motion  May 24, 2011 at 3:28 PM
Could you please send me the code of finding the (x,y) co-ordinates in a JFrame Compoenent..?? I need it urgently for my project. ... View Questions/Answers

JAVA to SQL  May 24, 2011 at 3:03 PM
package abhijeet; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.L... View Questions/Answers

sql quries  May 24, 2011 at 2:37 PM
i want basic sql quries please provide that ... View Questions/Answers

Program to draw rectangle on each mouse click and erase priviouse rectangles  May 24, 2011 at 2:32 PM
Program to draw rectangle on each mouse click and erase previous rectangle on next mouse click ... View Questions/Answers

Java  May 24, 2011 at 1:32 PM
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective? ... View Questions/Answers

Using Jasper Report files in java projects using Eclipse IDE  May 24, 2011 at 1:00 PM
Hello all, I am using iReports for generating reports from Database. I am able to get the .jasper with .jrxml files. I am developing a web portal in Eclipse which requires report generation. I wanted to know the procedure to use these .jasper file in ECLIPSE. If anyone give me the code along with... View Questions/Answers

string  May 24, 2011 at 12:57 PM
"3"+4+5 and 3+6+"4" what is the out put please tell me the output ... View Questions/Answers

hasmap  May 24, 2011 at 12:50 PM
how to convert set to map ... View Questions/Answers

Retrieve data by clicking a link  May 24, 2011 at 11:31 AM
In a page there are 5 links.Every link has a hidden value. According to that hidden value data should be retrieved from the database and data should be displayed in a new page.How to do it?Please help. ... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

Java  May 24, 2011 at 11:06 AM
Dear sir,here is the my html page.i dont know for that page coding in java how to upload at a time three files like text,image.video.plz help me.following is the my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.... View Questions/Answers

DMCA.com