Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

jsp application  April 26, 2014 at 2:56 AM
write a jsp application that will receive an integer from the client , check if the integer is even or odd and send the result to the client. ... View Questions/Answers

How to create a .mdf file from script (.sql)  April 22, 2014 at 10:22 AM
Hi, I have a sql database in 2008 server. now i want it to convert to 2005. so i script it. just help me to create a .mdf file back from the script. ... View Questions/Answers

Deploy war file  April 19, 2014 at 11:07 AM
hi friend, when i deploy my struts-hibernate war file then it is not working while same project running under ecclipse so how can i solve it pls give help me. thanks in advance....... ... View Questions/Answers

Advertisement

How to add the servlet api to my pom.xml?  April 18, 2014 at 2:37 PM
Hi, I have learned Maven Web Application: Creating web application in Maven 3 from your website. Now I have to add the servlet api in pom.xml file. ... View Questions/Answers

How to create web application using maven in Eclipse?  April 18, 2014 at 2:32 PM
I have to create the web project in Maven using the Eclipse IDE. Since Eclipse is very useful and user friendly for working on a project, I am using Eclipse for my project. Now want to use the Maven in the Eclipse. I don'w know how to create web application using maven in eclipse? ... View Questions/Answers

programming c#  April 16, 2014 at 9:45 PM
create and make use of at least one class with appropriate instance methods to solve the programming problem. use console-based menus to navigate between the functionality offered by the application. at least one menu option should allow the user to capture input. ... View Questions/Answers

Database Scrolling Buttons  April 16, 2014 at 4:37 PM
Sir, I have two button "Next" and "Previous". I'am able to retrieve data from database but I don't understand as to how display data on next and previous button clicks. Please help me out. ... View Questions/Answers

Need a Code to calculate hair density in java  April 16, 2014 at 12:24 PM
Hello, Would you please give me a code to calculate the hair density on scalp from image in java? ... View Questions/Answers

Code to calculate hair density  April 16, 2014 at 12:23 PM
Hello, Would you please give me a code to calculate the hair density on scalp from image in java? ... View Questions/Answers

java  April 14, 2014 at 5:51 PM
write a java program using filenotfoundexception ... View Questions/Answers

Write java program?  April 12, 2014 at 9:10 PM
1 11 121 1331 14641 15101051 ... View Questions/Answers

Write java program?  April 12, 2014 at 9:10 PM
1 11 121 1331 14641 15101051 ... View Questions/Answers

write the java program?  April 12, 2014 at 9:07 PM
1 11 121 1331 14641 15101051 ... View Questions/Answers

write the java program?  April 12, 2014 at 9:07 PM
1 11 121 1331 14641 15101051 ... View Questions/Answers

GUI Cash Register system for saloon  April 12, 2014 at 5:51 PM
Gui java cash register I have to make cash register system for saloon. it will look like this but I dont know how to do it. !alt text Example : if cust... View Questions/Answers

Building and Running Java 8 Support  April 12, 2014 at 2:09 PM
As you know Java 8 is already released and available for download. Now I am developer of Java based projects. So, I want to try the latest version of JDK 8 in Eclipse. Since I am using JDK for developing my most of the project it will be great if I am able to use JDK 8 in eclipse. I have ... View Questions/Answers

library management  April 10, 2014 at 5:04 PM
i need java script code for library management system with html ... View Questions/Answers

library management  April 10, 2014 at 5:04 PM
i need java script code for library management system with html ... View Questions/Answers

library management  April 10, 2014 at 5:04 PM
i need java script code for library management system with html ... View Questions/Answers

library management  April 10, 2014 at 5:04 PM
i need java script code for library management system with html ... View Questions/Answers

Retrieving Data from Database to fill Combo Box  April 10, 2014 at 12:45 PM
Sir, I have a JSP Page with a combo box and a label. I have a database that has two fields id and an image. Now I want to fill the combo box with image and on selecting a particular image in combo box it should be displayed on the label. My combo box is only displaying path that is stored in the ... View Questions/Answers

how to use foreign key in java  April 9, 2014 at 11:04 AM
I have two tables in my MySQL database, which were created like this: CREATE TABLE table1 ( id int auto_increment, first name varchar(10), primary key(id) ) CREATE TABLE table2 ( id_fk int, last varchar(30), CONSTRAINT fkid FOREIGN KEY(idfk) REFERENCES table1(id) ON DELETE CASCADE ) The ... View Questions/Answers

c++ new, delete, string class  April 8, 2014 at 11:33 PM
Write one program containing all these string exercises. Read a string from the user into a string named string1. Test it with the data: Good morning Print the following heading and the data contained in string1: Exercise 1 Good morning Create a new string named string2 contai... View Questions/Answers

How to delete content of a log file from linux terminal?  April 8, 2014 at 8:10 PM
Hi, My production server is on the linux machine. I am trying to debug and find the slow running queries. But first I want to delete the content of the /var/log/slow-queries.log file. Can anyone tell me how to do this? Thanks ... View Questions/Answers

Crop Image Code in Applet  April 8, 2014 at 1:42 PM
Sir, Can somebody please provide me with code to crop and save an image in applet. ... View Questions/Answers

Crop Image Code in Applet  April 8, 2014 at 1:42 PM
Sir, Can somebody please provide me with code to crop and save an image in applet. ... View Questions/Answers

Simple Fixed Size Queues  April 8, 2014 at 1:35 PM
Data Structures Lab Lab 4 Simple Fixed Size Queues Build both a Pipeline and a Circular Queue structure of fixed length size of 10 slots.  Data Structure and methods for Queue: ? A Constructor to create and initialize the NODELEMENT entries of the Queue.  ... View Questions/Answers

Simple Fixed Size Queues  April 8, 2014 at 1:33 PM
Data???? Structures Lab Simple???? Fixed???? Size???? Queues Build???? both???? a???? Pipeline???? and???? a???? Circular???? Queue???? structure???? of???? fixed???? length???? size???? of???? 10???? slots.???... View Questions/Answers

java code  April 8, 2014 at 12:38 PM
hi, Can any one tell me " How to read the data which is present om an image in java " ? ... View Questions/Answers

populating one dropdown box depending on the value of other using jsp  April 8, 2014 at 9:37 AM
HI i have scenario i need to populating one dropdown box depending on the value of other using the below table country name state and city name should load in dropdown box one after the other CREATE TABLE CITY_MASTER( CITYID BIGINT NOT NULL, INVENTORY_SOURCE CHAR, CITY_NAME VARCHAR(250), S... View Questions/Answers

Hadoop Mapreduce Java  April 8, 2014 at 2:28 AM
Do you Guys have/provide Hadoop Mapreduce java examples? ... View Questions/Answers

Image Manipulation in Swing AWT  April 7, 2014 at 12:25 PM
Sir, I'am new to Swing Programming. I have to create an application where an image is displayed on one Label. The same image has to be split in parts and stored in database pert wise. Later the user has to retrieve the entire image by viewing a small part of the image. I have already display... View Questions/Answers

How to obtain the selected data item from a list box when listbox contains objects wrapped under Arraylist?  April 4, 2014 at 4:27 PM
I have a jsp page containing a list box and a text box. I am sending an Array List object from a servlet to this jsp page. The listbox gets populated by the data contained in the arraylist. Now, I want to copy the selected item(one at a time) from the list box to the text box. I am unable to do i... View Questions/Answers

DECESION MAKING STATEMENTS  April 4, 2014 at 4:50 AM
The Decision Making statements may be implemented in different forms depending on the complexity of the condition to be tested. Describe various forms of decision making statements in java with a suitable example. ... View Questions/Answers

.bat file  April 3, 2014 at 11:37 PM
hi how can end this while dose not terminated Runtime r = Runtime.getRuntime(); Process p = r.exec("Run.bat"); BufferedReader reader = new BufferedReader(new InputStreamReader(new DataInputStream( new ... View Questions/Answers

.bad file  April 3, 2014 at 11:35 PM
hi how can end this while dose not terminated Runtime r = Runtime.getRuntime(); Process p = r.exec("Run.bat"); BufferedReader reader = new BufferedReader(new InputStreamReader(new DataInputStream( new ... View Questions/Answers

question  April 3, 2014 at 7:28 PM
how to display the uploaded video file size in database using java or javascript ... View Questions/Answers

Applet  April 3, 2014 at 4:54 PM
I have a java applet that has a button. On clicking the button it should disappear and another applet should appear. How to write this code???? Also in login applet after successful login it should display admin applet. I'am new to Swing AWT, kindly guide me. ... View Questions/Answers

Write a program that takes the marks of user as input  April 2, 2014 at 9:42 PM
Write a program that takes the marks of user as input. If marks are greater then 60 the program should display "Great, you have passed the course", else the program should print "Sorry, you have failed he course". // I wish to clarify, because I did not understand how to write a program ... View Questions/Answers

This code send email two times but i want only once  April 2, 2014 at 11:58 AM
public void dbbackup_notify(String email,String data,String subject){ String toEmails = email; Session session=Session.getInstance(props, new javax.mail.Authenticator() { protected PasswordAuthentication getPasswordAuthentication(... View Questions/Answers

This code send email two times but i want only once  April 2, 2014 at 11:58 AM
public void dbbackup_notify(String email,String data,String subject){ String toEmails = email; Session session=Session.getInstance(props, new javax.mail.Authenticator() { protected PasswordAuthentication getPasswordAuthentication(... View Questions/Answers

Best Eclipse plugin for Maven 3  April 2, 2014 at 11:01 AM
Hi, I am trying to use the Eclipse for developing my project. Since eclipse is good IDE with many new features I want to use the Maven 3 in the Eclipse. Can anyone tell me the best Eclipse plugin for Maven 3? Thanks ... View Questions/Answers

Eclipse juno failed to load the jni shared library  April 2, 2014 at 10:23 AM
Hi, I have downloaded the 64 BIT version of Eclipse juno "eclipse-jee-juno-SR2-win32-x86_64.zip". I have unzipped the file and trying to run the eclipse. But its giving the error "Eclipse juno failed to load the jni shared library". Let's know what is the solution? Thanks<... View Questions/Answers

JSP-Oracle connectivity  April 1, 2014 at 12:27 AM
I have created a "dynamic web project" mainly with jsp files in eclipse and now, want to connect with oracle 10g, so how can I proceed for the database connection? ... View Questions/Answers

java collection  March 31, 2014 at 9:08 AM
how do I use a treeset to print unique words ? ... View Questions/Answers

animation  March 29, 2014 at 7:48 PM
We are given a n sets with some values and relations among them. How to make matching diagram of same in java?? ... View Questions/Answers

Java  March 29, 2014 at 1:16 AM
how I can Use the parameter values of a method through out the class? ... View Questions/Answers

Armstrong number  March 28, 2014 at 8:01 PM
I want java program for Armstrong number..? ... View Questions/Answers

How to do url rewritting?  March 28, 2014 at 1:21 PM
Dear Sir/Mam I have this link http://localhost:8085/call4admission/admin/home/Admin_Profile.jsp?pn=1 i want to change the link to http://localhost:8085/call4admission Ho to do?Please suggest ... View Questions/Answers

Search operation in JSP page  March 28, 2014 at 1:16 PM
How to perform search in jsp with MYSQL database plz help me... ... View Questions/Answers

How to remove virtual keypad from apps java  March 28, 2014 at 1:02 AM
I have an galaxy smart s6830 touch Chinese Mobile (240x320) (myriad java platform) (esmertec jbed) and I need to remove keypad from apps . I have put the following into the jar file but, unfortunately, it doesn't work: { "LGE-MIDlet-Height: 400 LGE-MIDlet-On-Screen-Keyp... View Questions/Answers

How to remove virtual keypad from apps java  March 28, 2014 at 12:51 AM
I have an galaxy smart s6830 touch Chinese Mobile (240x320) (myriad java platform) (esmertec jbed) and I need to remove keypad from apps . I have put the following into the jar file but, unfortunately, it doesn't work: LGE-MIDlet-Height: 400 LGE-MIDlet-On-Screen-Keypad: no LGE-MIDlet-Widt... View Questions/Answers

How to remove virtual keypad from apps java  March 28, 2014 at 12:51 AM
I have an galaxy smart s6830 touch Chinese Mobile (240x320) (myriad java platform) (esmertec jbed) and I need to remove keypad from apps . I have put the following into the jar file but, unfortunately, it doesn't work: LGE-MIDlet-Height: 400 LGE-MIDlet-On-Screen-Keypad: no LGE-MIDlet-Widt... View Questions/Answers

Student Management System  March 27, 2014 at 7:53 PM
Hi , Friend can i get the solution for connecting login page of JFrames to JDBC? ... View Questions/Answers

code to send sms alerts using jsp online  March 27, 2014 at 4:07 PM
I am new to mobile aplication development. pls send me the code for sms alerts after clicking the button ... View Questions/Answers

Regarding repository  March 27, 2014 at 2:36 PM
How to check in and check out using SVN repository using eclipse ... View Questions/Answers

Java Program  March 27, 2014 at 10:39 AM
i have a String like ABCD, my output should be as below a,bcd ab,cd abc,d a,b,cd a,bc,d ab,c,d a,b,c,d ... View Questions/Answers

Search  March 25, 2014 at 4:57 PM
Hi, I have a project in which I am trying to enter "Marathi" (Indian local language) data in JSP using JSTL and trying to search data from MYSQL . In mySQL Marathi data is stored. But when I enters data in JSP and tries to search then It shows no data from database. Then for ... View Questions/Answers

Memory  March 24, 2014 at 5:07 PM
what is the different between heap memory and stack memory ? please explain with example ... View Questions/Answers

application over https  March 24, 2014 at 4:22 PM
Hi. This questions might be very simple but I would like to create a simple servlet program and want to access using https and not using http. How to write such program or settings? what makes difference while accessing https over http? ... View Questions/Answers

Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same  March 22, 2014 at 5:57 PM
Hello , My query got solved. Thnx.I am right now going to save the marathi data into mysql and trying to retrieving the same from java using eclipse but after saving it shows " ???? " in place of marathi words . I also set encoding to UTF-8 for mysql database and table. as below. Can yo... View Questions/Answers

Pagination  March 22, 2014 at 11:28 AM
<%@ page language="java" contentType="text/html; charset=ISO-8859-1 pageEncoding="ISO 8859-1"%> <%@ page import="java.util., java.sql., sun.jdbc.rowset.*" %> ... View Questions/Answers

how can i run ASP.Net Server from netbeans IDE?  March 22, 2014 at 6:14 AM
please help me how can i run ASP.Net Server from netbeans IDE? in other word , I have a web services published with IIS7 and I want to use it from my Application My Application is wrote with netbeans Pleas I want a quick response ... View Questions/Answers

java  March 21, 2014 at 9:25 PM
what is public static void main and what is meant by object? ... View Questions/Answers

how to design a jsp page via link which will expire after 3 days if not use?  March 21, 2014 at 10:57 AM
Link is in a mail and if changes occur it will update in database ... View Questions/Answers

how to design a jsp page via link which will expire after 3 days if not use?  March 21, 2014 at 10:57 AM
Link is in a mail and if changes occur it will update in database ... View Questions/Answers

Design a web page using XHTML and JavaScript that does the followings:  March 19, 2014 at 8:23 PM
Design a web page using XHTML and JavaScript that does the followings: 1- Contains several frames (as needed) 2- A frame for viewing the utilities of your page 3- A frame that shows two images (img1, img2) at a time. a. Upon pressing a button, img2 replaces img1 and a new image replac... View Questions/Answers

how to change a column data in a every row in a text file in java  March 19, 2014 at 5:43 PM
i have text file like this 11,6,13/9/14,1287605778,89$ 11,6,12/8/14,8987605798,80$ 11,6,19/9/14,34876057688,890$ 11,6,17/9/14,67876057678,79$ 11,6,25/9/14,12876057658,23$ ... View Questions/Answers

Can you tell me how it worked?  March 19, 2014 at 1:10 AM
public class Ball { private static final int DIAMETER = 30; int x = 0; int y = 0; int xa = 1; int ya = 1; private Game game; public Ball(Game game) { this.game= game; } void move() { if (x + xa < 0) xa = 1; if (x + xa > game.getWidth() - ... View Questions/Answers

FTP Server  March 18, 2014 at 5:22 PM
i'm working on ftp server if one client has uploaded a file i need to save the details of the user who has uploaded the file like username,filename & ipaddress using java ... View Questions/Answers

Html form using JavaScript to display the table content  March 18, 2014 at 1:22 PM
HI There, Greetings, I am new to this java and I need your assistance. I have created the Java project that merges 2 xml file and produce the single xml. Then i extract the single xml and store it in a SQL server db. I have done these part. Now I want to write a H... View Questions/Answers

helllppp plzz  March 18, 2014 at 12:10 AM
Create a method sum of even to find the sum of Multiples of number 5 from 10 to 50, and use it in a program . it's a c# program plz i need the solution ... View Questions/Answers

I want to display the quantity of the selected item of a drop down list in a textbox. The data is stored in database.  March 17, 2014 at 1:29 PM
The code for retrieving data from database into Drop Down List. <% DataSource data = new MysqlDataSource(); Connection con = data.getConnection("root","system"); System.out.println("Connected to MySQL"); PreparedStatement pre = con.prepar... View Questions/Answers

The code for retrieving data from database into Drop Down List.  March 17, 2014 at 1:27 PM
<% DataSource data = new MysqlDataSource(); Connection con = data.getConnection("root","system"); System.out.println("Connected to MySQL"); PreparedStatement pre = con.prepareStatement("select * from library.booklist"); ResultSet result = pre.exec... View Questions/Answers

Image Upload Error  March 16, 2014 at 5:00 PM
hi, I created one education website in jsp....in my registration page image uploading option also i attached in real path...it's working well in local file....when i upload file in live Using FTP....It's showing error in IndexoutboundException....can you guide me how it will resolve...... View Questions/Answers

PWrite function to find a given number (passed as a parameter) from an integer(passed to the function as a parameter) that has number arranged in descending order  March 15, 2014 at 7:29 PM
Write function to find a given number (passed as a parameter) from an integer(passed to the function as a parameter) that has number arranged in descending order ... View Questions/Answers

need help with program  March 15, 2014 at 7:26 PM
To write a program to read a set of words from a file and return the following 1)Each word in the file against its frequency 2) the frequency should be in the descending order of the frequencies of the word ... View Questions/Answers

need help with program  March 15, 2014 at 7:23 PM
To write a program where we can take two integer array as input,Find the missing number from array"B" has all the numbers from array"A" except one,and find the fastest way in doing it. ... View Questions/Answers

core java 15/03/14  March 15, 2014 at 6:59 PM
Q )how to make arraylist as reads only ... View Questions/Answers

hibernate faq 15/03/14  March 15, 2014 at 6:53 PM
i want to display highest salary using criteria , so what is query for criteria ... View Questions/Answers

spring 15/03/14  March 15, 2014 at 6:49 PM
Q) What are the various action performed when an application context is created? Q) Why spring is lightweight? Q) What is nested bean? Why it is useful ... View Questions/Answers

hibernate 15/03/2014  March 15, 2014 at 5:56 PM
Q )in second level cache which type of date we will store in database ... View Questions/Answers

java question 15/03/2014  March 15, 2014 at 5:51 PM
Hi Q)my array size is 10, then how can i identify class A object from array. Q) how jvm know a particular object is serialize or not . Q) i have a table in that table some data duplicate than how many duplicate data are there , how to find it ... View Questions/Answers

Hibernate Criteria Wildcard  March 15, 2014 at 2:35 PM
How to write Criteria Query in Hibernate that uses the Wildcards? ... View Questions/Answers

SMS Sending  March 15, 2014 at 12:31 PM
i create one java swing standalone application....i need to send sms in my software application....can you guide how write the code....i wrote one code using way-2-sms but it show an error url action is wrong....how to know my login action key in way-2-sms...please guide me............. thnks... View Questions/Answers

multimedia  March 15, 2014 at 12:07 PM
How to add multimedia in struts 2 ... View Questions/Answers

callable statement,stored procedure for insert data and also for update data into oracle database using jsp  March 14, 2014 at 1:05 AM
iam a fresher newbie to softparsing i have one task to do soft parsing tl asked to do callable statement,stored procedure for inserting data into oracle database as bind variable and same for update also thank you ... View Questions/Answers

plzz tell me java code for that diamond  March 13, 2014 at 7:44 PM
1 131 13531 1357531 13531 131 1 ... View Questions/Answers

java  March 13, 2014 at 2:55 PM
class operator { public static void main(String args[]) { int a,b,r; float R; char op; System.out.println("enter two numbers"); if(args.length>0) { a=Integer.parseInt(args[0]); b=Integer.parseInt(args[1]); op=Integer.parseInt(args[2]); switch(op) { ... View Questions/Answers

how to display the value of termcell name in label  March 12, 2014 at 10:54 AM
want to display the tercell name in label report of pending apllication of termcellname code of the jsp page is as: <%@ taglib uri="http://displaytag.sf.net" prefix="display"%> <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/tlds/struts-be... View Questions/Answers

Lean yum cache  March 11, 2014 at 12:27 PM
How to clean yum cache in order to claim the disk space? ... View Questions/Answers

cursor by java code  March 11, 2014 at 12:24 AM
hi, please how change cursor location automatically in java code ,, ... View Questions/Answers

java code for cursor  March 10, 2014 at 11:00 PM
hi,please how to change cursor location by java code ,iam use this code but not change the location JTextArea a=new JtextArea(); if(resultText.equalsIgnoreCase("class")){ a.append("a { \n }"); PointerInfo a = MouseInfo.getPointerInfo(); Point b = a.getLocation(); int x = (int)b.getX(); in... View Questions/Answers

cursor location  March 10, 2014 at 8:09 PM
hi,please how to change cursor location by java code ,i use this code but not change the location JTextArea a=new JtextArea(); if(resultText.equalsIgnoreCase("class")){ a.append("a { \n }"); PointerInfo a = MouseInfo.getPointerInfo(); Point b = a.getLocation(); int x = (int)b.getX(); in... View Questions/Answers

Java  March 9, 2014 at 11:53 PM
Write a program that uses JOptionPanes to perform the following steps: Given a distance in metres, outputs that distance in kilometres rounded to the nearest whole kilometre. For example, given 1100m the output will be 1km, and given 1900m the output will be 2km. ... View Questions/Answers

iphone app development  March 9, 2014 at 5:22 PM
hey my first view file name is cardviewcontroller n second is carddetailview n btn name is clkHere so how i used btn to go frm 1 to 2 view ? ... View Questions/Answers

Error : http status 500?  March 7, 2014 at 6:35 PM
hello sir, am using netbeans6.7.1 version i implemented one program i.e web application ..when am excuting this one i got one error http status 500...please solve this error ..when did i mistakn this is the code: SumServlet.java package com.sum; ... View Questions/Answers

asdsdessssd  March 7, 2014 at 4:29 PM
how to swap 2 variables without temp in java ... View Questions/Answers

asdsdessssd  March 7, 2014 at 4:29 PM
how to swap 2 variables without temp in java ... View Questions/Answers

Core JAva  March 7, 2014 at 4:24 PM
how to swap 2 variables without temp in java ... View Questions/Answers

DMCA.com