Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

how can i prevent duplicate records using servlets and MVC model?  April 27, 2011 at 4:51 PM
hai, I need a program to insert values into database at the same time it shows error msg on response page while we are giving duplicate entry of a primary key.i want this program in MVC model.can anyone help me... Thanks&Regards P.Divya ... View Questions/Answers

send Binary Data by doGet or doPost?  April 27, 2011 at 4:31 PM
which method in doGet or doPost is use to send binary date to server? ... View Questions/Answers

Printing stars  April 27, 2011 at 3:55 PM
I am a beginer and i have one assignment which couldnt give me any idea how to do it..The Question is "Get a string "001222014654" and print o/p as 0 - * 1- ** 2- * 4- ** 5-* 6-* I dont know how to split these strings in java so that i can put it in array..can so... View Questions/Answers

Advertisement

give answer  April 27, 2011 at 2:56 PM
. Which of the following will he use to compile the KeyTest class successfully ... View Questions/Answers

HTML  April 27, 2011 at 12:59 PM
how can we design the gird form view in html i want the following fields in the grid form The fields are Name of the candidate,Title of the work,Description of the work,video of the work,Image of the work,points from the judges.Under the video of the work i want two buttons like view and download... View Questions/Answers

Creation of xml  April 27, 2011 at 11:13 AM
Hi, I need to fetch details from my database and to create a xml file containing all those datas...My database datas are in key value pair... AppID Label Value 12345 Applicant name XXXX 12345 Masterno YYYY 12345 Batchno ZZZZ 12345 Tradelic... View Questions/Answers

socket programing in servlet  April 27, 2011 at 10:24 AM
give me a example to write socket programing in servlet ... View Questions/Answers

mouseover  April 27, 2011 at 9:40 AM
Sir, I have stored three images in database for one perticular item,when search is made only one image is dispaled,i want to do mouseover on that image and display other two images in popup using javascript or ajax. please help Thanks ... View Questions/Answers

struts problem ... need help urgently.. please reply ASAP  April 27, 2011 at 8:26 AM
Hi Every1, I want to make an application using struts 1.2. I am a beginner on struts. Dont know much about struts. In application I have to make jsp to get some search keys from user and according to that I have to show data from DB on jsp. Files I have created are : JSP ACTION... View Questions/Answers

Java using Netbeans Object Oriented Programming  April 27, 2011 at 5:38 AM
I am trying to make a program that uses a main class and a separate class with one public method and one private method. The main method in the main class asks the user for 2 strings and a set of numbers for an array. This array is then sorted in descending numerical order. It then initiates the ... View Questions/Answers

How can I write a GUI stack program by Java to push Image files instead of other data type items?  April 27, 2011 at 3:50 AM
How can I write a GUI stack program by Java to push Image files instead of other data type items? for the push instruction I wish to give the name of the image file to add it in to the stack, and set the pop instruction to remove the image which is at the top of the stack? please help? ... View Questions/Answers

Keybourd in java  April 27, 2011 at 2:57 AM
I have wrote a GUI java program which acts as a keyboard, in the program I have used a JTextfield and a collection of Buttons in my program. when the user click to any of the Button the result appears in the Textfield, I want to modify my Keyboard program to make it possible of displaying the res... View Questions/Answers

Keybourd in java  April 27, 2011 at 2:57 AM
I have wrote a GUI java program which acts as a keyboard, in the program I have used a JTextfield and a collection of Buttons in my program. when the user click to any of the Button the result appears in the Textfield, I want to modify my Keyboard program to make it possible of displaying the res... View Questions/Answers

Latitude and Longitude  April 27, 2011 at 12:51 AM
Hi, I have to learn about Latitude and Longitude. Can any one tell me what is the use of Latitude and Longitude? Thanks ... View Questions/Answers

how can create clock baisc in java  April 27, 2011 at 12:34 AM
think u for help me .. ... View Questions/Answers

how can create clock baisc in java  April 27, 2011 at 12:34 AM
think u for help me .. ... View Questions/Answers

how can create clock baisc in java  April 27, 2011 at 12:34 AM
think u for help me .. ... View Questions/Answers

SOCKET PROGRAMING IN THE JAVA FOR NETWORKING CONCEPT  April 26, 2011 at 8:51 PM
I WANT TO KNOW ABOUT THE JAVA SOCKET PROGRAMING FROM BASIC LEVEL AND HOW CAN I WORK ON IT I KNOW THE JAVA PROGRAMING.SO PLEASE HELP ME HOW CAN I DO SOCKET PROGRAMING? ... View Questions/Answers

xml output  April 26, 2011 at 5:28 PM
generate an xml output in the following format <FileCount> <DOC>AA <RTF>BB <PDF>CC <Total>DD where AA=total number of .DOC files found BB=total number of .RTF files found,etc ... View Questions/Answers

SQL  April 26, 2011 at 5:10 PM
what data type we use for the uploading the video and image files in MySQL server 2008 ... View Questions/Answers

Managment  April 26, 2011 at 3:51 PM
Pl sir convert this C program to java program. #include<graphics.h> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> void lincol(int,int,int); void delrec(void); void edit(void); void add(void);... View Questions/Answers

Managment  April 26, 2011 at 3:51 PM
Pl sir convert this C program to java program. #include<graphics.h> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> void lincol(int,int,int); void delrec(void); void edit(void); void add(void);... View Questions/Answers

Managment  April 26, 2011 at 3:51 PM
Pl sir convert this C program to java program. #include<graphics.h> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> void lincol(int,int,int); void delrec(void); void edit(void); void add(void);... View Questions/Answers

Managment  April 26, 2011 at 3:51 PM
Pl sir convert this C program to java program. #include<graphics.h> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> void lincol(int,int,int); void delrec(void); void edit(void); void add(void);... View Questions/Answers

Managment  April 26, 2011 at 3:51 PM
Pl sir convert this C program to java program. #include<graphics.h> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> void lincol(int,int,int); void delrec(void); void edit(void); void add(void);... View Questions/Answers

scjp  April 26, 2011 at 3:18 PM
What is the eligibility for appearing scjp examination? ... View Questions/Answers

SCJP Eligibility  April 26, 2011 at 3:14 PM
What is the eligibility for appearing scjp examination? ... View Questions/Answers

java project question  April 26, 2011 at 10:46 AM
hi!!! I am doing a web related project in java.. And i am new to jsp. I am getting the following wargings. Pls help me with proper solution. Wargings are as follows. Description Resource Path Location Type Class is a raw type. References to generic type Class<T> shoul... View Questions/Answers

I have crude application  April 26, 2011 at 10:34 AM
I have crude application, how to load into this roseindia.net ... View Questions/Answers

mouseover effect  April 26, 2011 at 9:50 AM
Sir, I have stored three images in database for one perticular item,when search is made only one image is dispaled,i want to do mouseover on that image and display other two images in popup. please help Thanks ... View Questions/Answers

How to Upload a file directly to Oracle database using JSP or Servlets?  April 26, 2011 at 8:55 AM
Hi I want to upload a file(csv or excel) to Oracle 10g Database using JSP, here is my code which gives me an error.. Addfile.jsp <%@ page import="java.sql.*" %> <HTML> <BODY bgcolor="#99CCCC"> <p&... View Questions/Answers

Can you help me with applet?  April 26, 2011 at 7:30 AM
I'm very new to applet, and i'm weak in graphic design part. How can i add the graphic in my test project? Can you help me with this: import java.io.*; import java.util.*; import javax.swing.*; public class fortoys { public static void main(String args[]) { new fortoys... View Questions/Answers

A programm for error free transmission of data using UDP in java  April 26, 2011 at 6:44 AM
Hi ! My name is Waleed and Im studing Telecommunication engineering in Oslo engineering college. I've got a project in java programming that should be submitted on 01.05.11, the problem is im not that good at java programming :( . Here is the project, i hope you can help me w... View Questions/Answers

How to pass javascript variable in Scriplet of JSP?  April 26, 2011 at 1:28 AM
How can I assign the value of a javascript variable to a variable declared in jsp scriplet? Is it possible? ... View Questions/Answers

Read Excel data using JSP and update MySQL databse  April 25, 2011 at 10:41 PM
HOw to read excel data using JSP and update MySQl database ? ... View Questions/Answers

programming problem  April 25, 2011 at 10:41 PM
Kingdom of Maplewood is a beautiful country comprising of a lot of small islands of different areas. All the islands are in a straight row. King Rosewood is getting old and has decided to divide the islands among his two sons - Eric and Finn. Luckily, the total number of islands is even. He... View Questions/Answers

java num  April 25, 2011 at 9:43 PM
Write a Java program to find the number of characters in a file ... View Questions/Answers

java IO  April 25, 2011 at 9:42 PM
Write a Java program to accept a file name as command line argument. Append the string "File Modified by Programme" to the end of the same file and print the contents of the modified File. ... View Questions/Answers

java tool  April 25, 2011 at 8:15 PM
I installed edit plus tool but it couldn't compile and excute the coding ...how to retify that problem..... ... View Questions/Answers

need a login applet in java  April 25, 2011 at 7:45 PM
i'm java beginner. Can some java master teach me how to write a login applet? combine with my coding import javax.swing.*; import java.applet.*; import java.awt.*; import java.util.*; import java.text.*; import java.awt.event.*; public class BoatRental extends Applet implements Ac... View Questions/Answers

need a login applet in java  April 25, 2011 at 7:45 PM
i'm java beginner. Can some java master teach me how to write a login applet? combine with my coding import javax.swing.*; import java.applet.*; import java.awt.*; import java.util.*; import java.text.*; import java.awt.event.*; public class BoatRental extends Applet implements Ac... View Questions/Answers

can Stack accept imageIcon ..??  April 25, 2011 at 5:28 PM
how can write program like album ..by using Stack as an ideas datastracture and using imageIconb ?? please help me ..thanks alot .. ... View Questions/Answers

Hibernate Integration  April 25, 2011 at 3:40 PM
I am doing project using Struts 2,Eclipse Galileo IDE, MySQL Server and Hibernate. I can't able to do the insert,update,delete operation in any way. I have done much things but still now I found difficulty. So give me related help. Thank You. ... View Questions/Answers

how to create a reminder app using threads in Servlets?  April 25, 2011 at 2:47 PM
I want to make a Reminder application in Servlets. When the date and/or time is matched (threads will be required!), a "pop-up window or a web-page should automatically get re-directed!". I have used threads for core java, but never used for Servlets! any help? ... View Questions/Answers

GWT -- retrive the data from Database  April 25, 2011 at 2:20 PM
the user can create an event. In the create page, we have three buttons. Save as draft, preview and save and post buttons. Once the user entered all the datas and if he clicks the Preview button, you have to create a dynamic jsp which should read the contents from the db based on the event id. Bu... View Questions/Answers

SQL  April 25, 2011 at 1:30 PM
In my computer i have microsoft sql 2008.how can i set that in the cmd.i want to use that in cmd.what is the default username and password for that ... View Questions/Answers

url parameter using retrive data from database in jsp  April 25, 2011 at 1:11 PM
the user can create an event. In the create page, we have three buttons. Save as draft, preview and save and post buttons. Once the user entered all the datas and if he clicks the Preview button, you have to create a dynamic jsp which should read the contents from the db based on the event id. ... View Questions/Answers

Insert image from user using and save in database  April 25, 2011 at 10:59 AM
when i am trying to upload a image from user and trying to save into oracle9i database it will always give this error...... if any one know the solution...please tell me how to remove that HTTP Status 500 - type Exception report message descripti... View Questions/Answers

how to solve this..  April 25, 2011 at 10:37 AM
Given a list of students and their marks Name | Science | Math | English | Computer Ahmad | 28 | 100 | 66 | 34 Samad | 56 | 89 | 55 | 55 Johan | 78 | 77 | 34 | 100<... View Questions/Answers

how to solve this..  April 25, 2011 at 10:37 AM
Given a list of students and their marks Name | Science | Math | English | Computer Ahmad | 28 | 100 | 66 | 34 Samad | 56 | 89 | 55 | 55 Johan | 78 | 77 | 34 | 100<... View Questions/Answers

problem of confirmation  April 25, 2011 at 10:01 AM
sir, I tried ur code but when i click on cancel it still submits I dont need to pass id as record is already diaplayed using ajax and i used it in delete button like this <form method="post" id="myform" name="myform" action="delete_sup"> ... View Questions/Answers

Need an Example of calendar event in java  April 25, 2011 at 10:00 AM
can somebody give me an example of calendar event of java? ... View Questions/Answers

Accessing MS ACCESS databse using a HTML webpage [created using Javascript]  April 24, 2011 at 11:38 PM
HI team, This is Srinivas, and I have a query and i explained here... I have to save some datas in an MS ACCESS database file [*.mdb], after pressing the button - 'Submit'. the webpage includes fields like Name, Age, Sex, Country etc. And the datas in each fileld should be sav... View Questions/Answers

html  April 24, 2011 at 10:46 PM
diffrence between html and xml ... View Questions/Answers

error log and send Database  April 24, 2011 at 12:31 PM
hi my requirement is validate xml and xsd in java.If there is an errors then i will log error and store into error table. so plz if any one knows send code urgent. error table details-------------- Table Name: error_process columns... View Questions/Answers

error log  April 24, 2011 at 12:30 PM
hi my requirement is validate xml and xsd in java.If there is an errors then i will log error and store into error table. so plz if any one knows send code urgent. error table details-------------- Table Name: error_process... View Questions/Answers

Servlet  April 24, 2011 at 12:29 PM
Why init() is required to perform initialization activities instead of constructor? ... View Questions/Answers

function  April 24, 2011 at 10:06 AM
difference between function overloading and operator overloading ... View Questions/Answers

need someone to do/help with code  April 23, 2011 at 7:39 PM
i need someone to do a code for me. It is a restaurant menu that displays a list of 10 food items. A customer inputs what they want to eat and they receive back a total price for the order. Also, I want a second class that is able to tell the owner how much he made that day, along with the number... View Questions/Answers

read a positive real numbers from highest to lowest  April 23, 2011 at 6:46 PM
write a java program that will read a sequence of 10 positive real nos. entered by the user and will print the same numbers in sorted order from lowest to highest using arrays . PLEASE NEED HELP ,STUCK WITH THIS :( ... View Questions/Answers

help in java  April 23, 2011 at 5:23 PM
Shopping cart Create 3 shopping carts from a Cart class. Each class should have four items in it, a title, a price for the 4 items and the number of each. Your shopping cart should use private variables, so use getter and setter methods to access the items (variables) in your Cart Object. After ... View Questions/Answers

java help  April 23, 2011 at 5:22 PM
Design and implement a class called DateWriter that has three instance variables: a string for month, an integer for day, and an integer for year. The class should has a constructor to accept and initialize the values of the instance variables, and a getter and a setter method for each instance v... View Questions/Answers

java program  April 23, 2011 at 5:22 PM
accept two numbers and print their hcf ... View Questions/Answers

help in java  April 23, 2011 at 5:14 PM
Temperature Write a Temperature class that has two instance variables: a temperature value (a floating-point number) and a character for the scale, either C for Celsius or F for Fahrenheit. The class should have a number of constructor methods: one with two parameters for the two instance variabl... View Questions/Answers

java help  April 23, 2011 at 5:13 PM
Rational numbers are numbers that can be represented as a fraction p / q where p is an integer number and q is a positive integer (q != 0). Design and implement a Java class RationalNumber for representing such numbers. Implement methods to add and mutliply rational numbers. Implement a method fo... View Questions/Answers

help in java  April 23, 2011 at 5:11 PM
Gross And Dozens Design and implement a class called GrossAndDozens to convert a given number of eggs into the number of gross, the number of dozens, and to the number of left over eggs. If you have N eggs, then you have N/12 dozen eggs, with N%12 eggs left. Write a program that asks the user how... View Questions/Answers

Web Service  April 23, 2011 at 4:25 PM
Dear Sir, My code is :- For webService:- import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; @WebService public class PaymentInfo { @WebMethod public String updatePaymentDetails(@WebParam String[] parms) { ... View Questions/Answers

Web Service  April 23, 2011 at 4:25 PM
Dear Sir, My code is :- For webService:- import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; @WebService public class PaymentInfo { @WebMethod public String updatePaymentDetails(@WebParam String[] parms) { ... View Questions/Answers

jsp  April 23, 2011 at 1:13 PM
code for jsp automatic genration using html ... View Questions/Answers

HTML  April 23, 2011 at 12:57 PM
I want the following fields as in the form of grid view Fields are Name of the candidate,title of the work,description of the work,video of the work,image of the work,points from the judges and above of this grid form i want category and age as the drop down buttons.when i am select the c... View Questions/Answers

pagination  April 23, 2011 at 11:33 AM
please let me know how to fetch records from database and display them using paging in jsp and struts ... View Questions/Answers

Array Name  April 23, 2011 at 9:51 AM
How To Set Value in Two-Dimension ArrayList ??? ... View Questions/Answers

interfaces  April 23, 2011 at 3:44 AM
how we can define relationship between simple classes & interfaces. ... View Questions/Answers

java  April 23, 2011 at 12:57 AM
DocumentBuilderFactory say briefly about this ........with usage and package include details also... ... View Questions/Answers

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0  April 22, 2011 at 11:24 PM
Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp-servlet please gives me complete guidance steps ,code for SSL Implementation / enable In Apache Tomcat 6.0 ... View Questions/Answers

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0  April 22, 2011 at 11:24 PM
Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp-servlet please gives me complete guidance steps ,code for SSL Implementation / enable In Apache Tomcat 6.0 ... View Questions/Answers

Drop Down Box  April 22, 2011 at 10:47 PM
In a Drop Down box I want to show the user All the Country In the World. And when he type A-z,then each of the type Show those country which start with those word. Like I For-India. ... View Questions/Answers

16 Digit  April 22, 2011 at 10:41 PM
In a text box I can Only type A-Z & 1-10 upto 16 Digit. ... View Questions/Answers

Phone no  April 22, 2011 at 10:36 PM
I have box where i can only put the number except + . Like +91 ... View Questions/Answers

Two - dimension arraylist  April 22, 2011 at 7:19 PM
how to create two - dimension arraylist in jsp-servlet??? ... View Questions/Answers

HTML  April 22, 2011 at 5:23 PM
how can we give the unlimited size in the html ... View Questions/Answers

Html  April 22, 2011 at 4:45 PM
in the web page if judge select the age and category then automatically under that conditions the details will be display in the form of grid give me that code in html and java ... View Questions/Answers

Text box Checking  April 22, 2011 at 2:45 PM
I want to Write only the word A-Z in a text box What is the code? ... View Questions/Answers

HTML  April 22, 2011 at 12:25 PM
in html how can we can upload the file <tr> <td><strong>Video of the work:</strong> <td><b> <input type="text" name="Video of the work:" size="30"> </b> </td> </tr> ... View Questions/Answers

how to modify QuestionServlet.java page?  April 22, 2011 at 12:12 PM
Dear frnds, how to modify existing QuestionServlet. java file. ... View Questions/Answers

help in java  April 22, 2011 at 7:57 AM
Rational Numbers Rational numbers are numbers that can be represented as a fraction p / q where p is an integer number and q is a positive integer (q != 0). Design and implement a Java class RationalNumber for representing such numbers. Implement methods to add and mutliply rational numbers... View Questions/Answers

help in java  April 22, 2011 at 7:56 AM
Write a program that will evaluate simple expressions such as 17 + 3 and 3.14159 * 4.7. The expressions are to be typed in by the user. The input always consist of a number, followed by an operator, followed by another number. The operators that are allowed are +, -, *, and /. Your program should... View Questions/Answers

help in java  April 22, 2011 at 7:55 AM
Team Roster Create a program called TeamRoster that uses a class called Roster. Roster should contain a team name and the names of all the players on the team written into one string. Use a method called addTeamMember() to append a new member to your roster string. After creating two roster... View Questions/Answers

help in java  April 22, 2011 at 7:54 AM
Write a Temperature class that has two instance variables: a temperature value (a floating-point number) and a character for the scale, either C for Celsius or F for Fahrenheit. The class should have a number of constructor methods: one with two parameters for the two instance variables, and a no... View Questions/Answers

help in java  April 22, 2011 at 7:51 AM
3.Flights Design and implement a class called Flight that represents an airline flight. It should contain instance data that represents the airline name, flight number, and the flight's origin and destination cities. Define the Flight constructor to accept and initialize all instance data. Includ... View Questions/Answers

help in java  April 22, 2011 at 7:39 AM
Design and implement a class called Sphere that contains instance data that represents the sphere's diameter. Define the Sphere constructor to accept and initialize the diameter, and include getter and setter methods for the diameter. Include methods that calculate and return the volume and surfa... View Questions/Answers

Multi-Date Handling Problem  April 22, 2011 at 3:34 AM
In our project we are using Oracle 10g as our data base, the problem is that we are picking In-date & Out-date from a calendar and on the basis of that date we are checking that on that date some features are available or not, if available then we are storing that data to our Database, but we... View Questions/Answers

updating an access database with visual basic 2010  April 21, 2011 at 11:59 PM
I am building a program in visual basic 2010 that connects to an access database. I was wondering if you could help me figure out the code for the save button. When the information is entered I need it to update the information in access. This information needs to be updated on at least two of... View Questions/Answers

Related to Project  April 21, 2011 at 9:38 PM
how speech to text project can be make in java? Please tell me the coding part therapeutically i know i have to use java speech api which offer two technology 1. speech recognization 2. speech syenthesis but i have no coding idea? please help me......... ... View Questions/Answers

Javascript DOM  April 21, 2011 at 9:24 PM
I'm getting into client-side scripting using javascript. I am attempting to build a football team fixture application. The user would able to enter the number and name of the teams and then applicaion would generate a fixture list. I was knocking about using DOM ... View Questions/Answers

Sql Query  April 21, 2011 at 9:09 PM
Is this query work in Db2 or not ? Select * from FORUM LIMIT 2; ... View Questions/Answers

Sql Query  April 21, 2011 at 9:09 PM
Is this query work in Db2 or not ? Select * from FORUM LIMIT 2; ... View Questions/Answers

java prog  April 21, 2011 at 7:45 PM
write a java program to accept a file name as command line argument.Append the string "file modified by program" to the end of the same file and print the contents of the modified file. ... View Questions/Answers

Why disable.this works in fireFox but n ot IE  April 21, 2011 at 7:20 PM
When I put this line of code in my program, it works beautifully in firefox, but does not submit when using IE <input type="submit" id="9" value="Generate Report" onclick="this.disabled=true; value='Please wait while report generates';"> Any ideas? I a... View Questions/Answers

pagination.jsp  April 21, 2011 at 7:15 PM
<p>&lt;%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> &lt;% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %></p&g... View Questions/Answers

DMCA.com