Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Ads

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

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

Downloader  April 21, 2011 at 5:50 PM
How to make a downloader with help of JSP? ... View Questions/Answers

Redirect Entire Frame  April 21, 2011 at 4:06 PM
Hello All:) I ve 2 frames in a html file. Say Header and Trailer. I ve a link to logout. When i click on logout, it will redirect in the trailer part. Before redirecting the page i had redirected to some other JSP file say process_logout.jsp. The header part will remain constant.<... View Questions/Answers

inheritqnce and polymorphyism  April 21, 2011 at 4:02 PM
what is inheritance and polymorphysm? ... View Questions/Answers

Connected Mode and Dissconnect mode coding concept.  April 21, 2011 at 2:18 PM
Tell Me about Connected Mode and Dissconnect mode coding concept. also give me some syantax. ... View Questions/Answers

Tomcat  April 21, 2011 at 12:46 PM
to run one application in tomcat server which files we need.i think jsp,xml,html is sufficient ... View Questions/Answers

html  April 21, 2011 at 11:37 AM
how we can give the form actions in html after register button in the login page ... View Questions/Answers

hibernate  April 21, 2011 at 11:14 AM
hi what are the necessary jar files that we need to set in the classpath to execute a hibernate application ... View Questions/Answers

linked list  April 21, 2011 at 11:04 AM
program for single linked list? ... View Questions/Answers

fibanocii  April 21, 2011 at 11:03 AM
program for fibanocii series? ... View Questions/Answers

Palindrome  April 21, 2011 at 11:00 AM
program to verify palindrome? ... View Questions/Answers

security  April 21, 2011 at 10:19 AM
how we provide security to on line project. using security algorithum. ... View Questions/Answers

reconfirm problem  April 21, 2011 at 9:15 AM
sir, I tried ur following code <script language="javascript"> function deleteRecord(){ var doIt=confirm('Do you want to delete the record?'); if(doIt){ var f=document.form; f.method="post"; f.action='../delete_sup?'; f.submit(); ... View Questions/Answers

Please provide coding for following problem  April 21, 2011 at 7:14 AM
Please provide the coding for the following problem: You will write a java program that will read data from a file. The data in the file will be: John Doe 75 Joe Blow 65 Mary Smith 80 John Green 82 Jill White 97 The program will rad the data into three separate arrays: Firstname a... View Questions/Answers

Can ArrayList accept an ImageIcon >>????  April 21, 2011 at 5:02 AM
haw can create ArrayList witch can accept Image ..mean when i use add() method, instead item let me add image to the ArrayList in run time .{should be the program using GUI}.. please help me please ... View Questions/Answers

CSS Apply  April 20, 2011 at 11:24 PM
How can I apply different CSS to my application for background by taking CSS list in Select tag i.e. Combo box. for e.g As in Orkut we select theme & by clicking to apply it changes background theme & color but data is same plz give me solution and respective code for that ... View Questions/Answers

foreign key error in sql  April 20, 2011 at 10:23 PM
create table matchdetails(mid varchar2(10),mdate date,team1 varchar2(10),team2 varchar2(10), stadium varchar2(10),city varchar2(10),mom varchar2(10),primary key(mid,mdate); ->the match tablle is created create table batsman(mid varchar2(10),pid varchar... View Questions/Answers

java program  April 20, 2011 at 10:20 PM
write a program that accepts only 3 integer values as command line arguments.print the values enter by the user. handle ArrayIndexOutofbounds exception and number format exception by providing appropriate message. ... View Questions/Answers

enable text box  April 20, 2011 at 7:48 PM
Dear all I would like to enable a textbox by clicking on a button. pleas ehelp me out how can i do this regards JV ... View Questions/Answers

pagination.jsp  April 20, 2011 at 7:35 PM
org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/pagination.jsp at line 54 51: } 52: String query1="SELECT SQLCALCFOUND_ROWS * FROM db2admin.reglimit "+iPageNo+","+showRows+""; 53: ps1=conn.prepareStatement(query1); 54: rs1=ps1.executeQuery(); 55... View Questions/Answers

public String getResult  April 20, 2011 at 6:31 PM
String temp=""; for (int i=0,j=1; i<j; i++,j++){ if ((x[i].indexOf((d))!=-1){ temp+=x[i]; temp+=":"; } { return temp; } what is the output when d= "life" and x={"life is full"."great life"."despair life"."lif"."beauty life"."kill"."... View Questions/Answers

create folders and sub folders based on excel data  April 20, 2011 at 4:32 PM
Hi, i have a requirement that , read the data from excel sheet and based on that data i need to create folders and subfolders. here the excel sheet looks like this: **Parent_folder Sub_Folder1 Sub_Folder2** Bank Department Banking ... View Questions/Answers

Saving image and text in mysql db using spring?  April 20, 2011 at 3:13 PM
Hii, My requirement is to save the employee details(including image) into mysql db.i want to save the image location in db .And actual image(binary formate) should save into server? Iam using spring.Iam not getting how to do this.Plz help me... ... View Questions/Answers

JAVA  April 20, 2011 at 3:06 PM
send me one example program by combining the Servlets, JavaScript,html,Jdbc in this take the fields as name,email,password.apply some conditions to email and password.then we are retrieve this from our database ... View Questions/Answers

sql,java  April 20, 2011 at 3:02 PM
i am writing some code in java.that values are stored in database.plz send me one example for this for example taking the fields as s.no,category,name of the candidate,age,title of the project,video uploading,photo uploading like that..... ... View Questions/Answers

reading dropdown values from properties file in jsp  April 20, 2011 at 12:08 PM
reading dropdown values from properties file in jsp ... View Questions/Answers

Confirm problem  April 20, 2011 at 12:05 PM
Sir i have used following code in button delete onclick="if (confirm('sure?')) submit();" and if i choose cancel it still submits the form however if choose cancel i want to remain on same jsp page please help ... View Questions/Answers

Javascript & jsp  April 20, 2011 at 11:56 AM
Dear Sir, Thanks a ton for all your answers throughout.I asked this question long ago.This time i nedd it very urgent.I think it might be a short solution.How can i get the navigation link whilr traversing through the pages. e.g.-On the top of the page if i navigate to the page pa... View Questions/Answers

DMCA.com