Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

JSP Email  April 20, 2011 at 11:21 AM
Hi, How to send email using JSP? Thanks ... View Questions/Answers

collections  April 20, 2011 at 11:00 AM
please explain me d flow import java.util.*; public class Array{ public static void main(String[] args){ int arr[]={10,45,25,6,78,12,21}; int arr1[]={10,45,25,6,78,12,21}; int arr2[]={10,45,85,45,12,78,296}; ... View Questions/Answers

code for multiplication of matrix in java using methods  April 20, 2011 at 10:23 AM
code for multiplication of matrix in java using methods ... View Questions/Answers

confirm delete  April 20, 2011 at 9:40 AM
Sir, I want to ask confirmation before deletion, i m using submit button then the form is passed to servlet for deletion,Please help Thanks in advance ... View Questions/Answers

java  April 20, 2011 at 8:31 AM
how to delete all record from table in netbeans. ... View Questions/Answers

Cramers rule for solving equations using java  April 20, 2011 at 1:50 AM
My code: import java.util.Scanner.*; import java.util.*; public class cramersrule { double A[][]; double m[][]; int N; double B[]; public void input() { Scanner s=new Scanner(System.in); System.out.println("enter no of equations of ma... View Questions/Answers

gauss elimination of system of linear equations using java code  April 20, 2011 at 1:46 AM
Here is my code: import java.util.Scanner; import java.util.*; public class gausselimination { private static final double EPSILON = 1e-10; int n;int N; double A[][]; double B[]; public double[] lsolve(dou... View Questions/Answers

determinant of n*n matrix using java code  April 20, 2011 at 1:43 AM
Here is my code: import java.util.Scanner.*; import java.util.*; public class determinantcode { double A[][]; double m[][]; int N; public input() { Scanner s=new Scanner(System.in); System.out.println("enter dimension of matrix"); N... View Questions/Answers

pattern  April 19, 2011 at 9:05 PM
write a java program that can create four different patterns of different sizes. The size of each pattern is determined by the number of columns or rows. For example, a pattern of size 5 has 5 columns and 5 rows. Each pattern is made of character $ and a digit, which shows the size. The size must... View Questions/Answers

Read the value from XML in java  April 19, 2011 at 6:24 PM
Hi, i have an XML with the following code. ... View Questions/Answers

Export data to Excel Sheet in STRUTS 1.3  April 19, 2011 at 6:15 PM
hi. how can i export content present on the jsp to excel sheet on button click..... and challenging part is i have to merge few rows and columns for a particular field(Value)...... Can any one please provide me with an example...... i have gone through POI API but... View Questions/Answers

Create a web application using any technology to display 10 most relevant tweets from Twitter in real-time for the keyword  April 19, 2011 at 5:18 PM
Create a web application using any technology to display 10 most relevant tweets from Twitter in real-time for the keyword "@cldmgc". ... View Questions/Answers

java Thread  April 19, 2011 at 5:17 PM
what is purpose of Thread..? ... View Questions/Answers

data insertion from xml file to database table  April 19, 2011 at 5:16 PM
Hi all, I have data in the XML file. I need to insert it into table in the database using servlet. so please reply me . ThankYou ... View Questions/Answers

Issue in Converting .zip file to .jar file?  April 19, 2011 at 3:53 PM
I have a folder called "printpdf.jar". I have changed the .jar to .zip and did some customizations. After which i had "zipped" it again and made as ".jar". Now the final file is displayed in executable icon rather then text editor icon. How do i make it display in text editor icon. ... View Questions/Answers

pagination.jsp:  April 19, 2011 at 3:36 PM
After runing this jsp it again gives exception . pls can u tell what is reason behind this ?? An Exception is that:- org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/pagination.jsp at line 49 46: } 47: String query1="SELECT SQLCALCFOUND... View Questions/Answers

answer  April 19, 2011 at 1:02 PM
true statements with relation to "sed" command: ... View Questions/Answers

collections  April 19, 2011 at 12:34 PM
please explain me the flow of this prog import java.util.*; public class listinterface { /** * @param args */ public static void main(String as[]) { ArrayList al= new ArrayList(); al.add(new Integer(99)); al.add("sri"); al.add... View Questions/Answers

collections  April 19, 2011 at 12:33 PM
please explain me d flow of this prog in detail import java.util.*; public class HashTreeLinkedhashset { public static void main(String args[]) { HashSet hs=new HashSet(); hs.add(new Integer(99)); System.out.println("sri"); hs.a... View Questions/Answers

Table Creation  April 19, 2011 at 12:31 PM
create the table for the following fields.its very urgent for me.plz help me S.No,Category( From the home page),Name of the Candidate( After registering and after selecting the category),Age,Title of the project,Description,Photo of the project,Video of the project,File of the project,Judges poi... View Questions/Answers

Multi window  April 19, 2011 at 12:30 PM
I am making a bank app using struts 1.2. using only the struts tags and nno jsp tags and scriplets. db connected thru dao. 1st page contains all the details. when i submit this page, a new window opens and asks to enter password. if password entered is correct, the flow goes to previous w... View Questions/Answers

Java  April 19, 2011 at 12:11 PM
How to define rich text box in java? ... View Questions/Answers

Java  April 19, 2011 at 12:11 PM
How to define rich text box in java? ... View Questions/Answers

Javascript & jsp  April 19, 2011 at 11:54 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

Javascript & jsp  April 19, 2011 at 11:52 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

MySql,java  April 19, 2011 at 11:22 AM
In MySQL table i am adding the fields of name,photo,video,age,category.in the category i have some subjects.if one person login into my-site the he upload the one video under one subject.then i want the following thing i want to see the uploaded videos under the one category of same type(for ex m... View Questions/Answers

mysql  April 19, 2011 at 9:34 AM
how to open\import table in .dbf format in mysql ... View Questions/Answers

Show mu;tiple DIV contents in a page  April 19, 2011 at 8:20 AM
Hi All; I want to show the content of forms like this. A drop down list having options say A,B,C. on selecting an option, it should display 1 div out of 3 div contents. 1st div tag contains 1 text box, 2nd div tag contains 2 text boxes, 3rd div tag contains 3 text boxes, i... View Questions/Answers

Java GUI to build a Student Registration Program  April 19, 2011 at 4:57 AM
Write a program to register students for a college. Students have names, addresses and courses. Implement the interface class RegisterStudent. RegisterStudent has one method, public boolean register, which returns the boolean value of true or false if the student is successfully registered... View Questions/Answers

Interface implimentation  April 19, 2011 at 3:01 AM
How to impliment an interface For Achieveing MVC & loosCupling in Any Project ? ... View Questions/Answers

For Loop  April 18, 2011 at 9:25 PM
Write a program using a for loop that computes the following sum: 1/2 + 2/2 + 3/2 + 4/2 + 5/2 + ... N/2 N will be an integer limit the user enters. This is an example of my upcoming quiz. I need help on knowing the answer to this to be sure to pass my quiz. ... View Questions/Answers

Generate xml  April 18, 2011 at 6:46 PM
hi can i generate xml file with xsd using JAXP in java. if possible please send java code. Thanks. ... View Questions/Answers

springstrutshibernate  April 18, 2011 at 5:41 PM
Hello sir; I want Struts 1.2.9 + Spring 2.0.8 + Hibernate 3 CRUD application, i had already seen in our roseindia site of these integration application. but it has only login application. I want crud (create,update,retrieve,delete) application ... View Questions/Answers

Java programming  April 18, 2011 at 5:22 PM
Hello! Is anybody able to do this task: I need to find the percentage of words distribution between parts of speech. I have to mark nouns, verbs, adjectives and perpositions like that: to the end of noun - to add letter D, adjective - B, verb - V and preposition - P. For example, I have the sente... View Questions/Answers

Truncating issue while parsing XML with SAX Parser.  April 18, 2011 at 5:17 PM
I am Parsing one xml file and after parsing I have to enter the data into the database using hibernate. The problem is while parsing some elements, its not getting the complete data, rather some of the characters gets truncated. Has anyone faced this issue nad what is the cause of this issue. Whi... View Questions/Answers

secure web service using mutual certificate security  April 18, 2011 at 5:02 PM
hello, i need help making secure web sevice using MCS (mutual certificate security). I use Glassfish 3.0.1 server. I dont wont to use glassfish keystore and truststore, i wont to use mine. So i made server and client keystore and truststore using this commands: keytool -genkeypair -alias ... View Questions/Answers

Request URl using Retrive data from dtabase  April 18, 2011 at 4:58 PM
Using With GWT 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 j... View Questions/Answers

jsp  April 18, 2011 at 3:49 PM
why jsp is translated into servlet?pls describe precisly... ... View Questions/Answers

Servlet,Jsp  April 18, 2011 at 3:45 PM
This is my requirement?I have a login page and register page?If I give the url as http://localhost:8080/Project/Login.jsp ,it should go to login page?.then from login page on click of register button I can register and then I can do some other task?dats asusual?I did that?but if I give the url a... View Questions/Answers

Select from select list + display  April 18, 2011 at 3:42 PM
i have a select list containing elements, say EmpCode. there are 2 fields below it EmpName and DeptName. As i select EmpCode from the select list, the corresponding EmpName and DeptName should be displayed automatically in empty text fields. I am using struts 1.2 framework for th... View Questions/Answers

Applet for add two numbers  April 18, 2011 at 2:33 PM
what is the java applet code for add two numbers? ... View Questions/Answers

Java interview questions and answers  April 18, 2011 at 2:30 PM
what is garbage collection? What is the process that is responsible for doing that in java? Ans.Reclaiming the unused memory by the invalid objects. Garbage collector is responsible for this process 2.What kind of thread is the Garbage collector thread? Ans. I... View Questions/Answers

struts2  April 18, 2011 at 1:02 PM
hi all i am going to run struts2.x program i got this error when server started java.lang.RuntimeException: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException java.lang.ClassNotFoundException: javassist.ClassPool ... View Questions/Answers

project query  April 18, 2011 at 12:59 PM
I am doing project in java using eclipse..My project is a web related one.In this how to set sms alert using Jsp code. pls help me ... View Questions/Answers

constructor  April 18, 2011 at 12:02 PM
what happen in the background while creating the Object in Java? ... View Questions/Answers

restarting  April 18, 2011 at 11:38 AM
Lucy wants to run the CORBA application on different machines. She tries restarting the server but is unable to do so. What can be the possible reason for the server not getting started? ... View Questions/Answers

DMCA.com