Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

Creating custom output using XMLUnit - MatchTracker duplicates the output data  March 7, 2014 at 11:34 AM
how to create a custom output using xmlunit, I have tried it and used MatchTracker, but the match tracker was repeated for the total number of nodes in input xml and I am having duplicate data in output ... View Questions/Answers

Generate Keys  March 6, 2014 at 10:53 PM
hello i need code to generate key , after that send Keys to email address user. for example if you member in your website,if member not having Secret Keys not can download files if member having secret key i can download files by Using JSP in Java ... View Questions/Answers

using ajax i want to insert data into oracle database  March 6, 2014 at 12:18 AM
i would like to insert/update/select/delete from jsp to oracle database using ajax? please send a code for this iam using oracl database thank you ... View Questions/Answers

Java Developer  March 5, 2014 at 2:18 PM
where we should use interface and where we should use abstract class ? ... View Questions/Answers

Java Developer  March 5, 2014 at 2:15 PM
What is scenario where i use interface and where use interface ... View Questions/Answers

automatically resend when connection lost in sending email  March 5, 2014 at 2:12 PM
send automatically email when connection lost in sending bulk email using javamail for exp more than 10000 emails ... View Questions/Answers

automatically resend when connection lost in sending email  March 5, 2014 at 2:12 PM
send automatically email when connection lost in sending bulk email using javamail for exp more than 10000 emails ... View Questions/Answers

automatically resend when connection lost in sending email  March 5, 2014 at 2:12 PM
send automatically email when connection lost in sending bulk email using javamail for exp more than 10000 emails ... View Questions/Answers

ffmpeg converting file mp4 to mov  March 5, 2014 at 11:13 AM
Hi, How to convert the mp4 file into mov file? Thanks ... View Questions/Answers

multiplication function in jsp using scriptlet function  March 4, 2014 at 1:06 PM
how to display data on text filed at total amount??? FlashTemplatesDesign.com Free Css Templates ... View Questions/Answers

Ho to get virtual key code.  March 3, 2014 at 11:49 PM
Hi How to get virtual key code from button.I made on screen keyboard.But it not proper work for windows ,shift,alt and ctrl key. pls suggest me. ... View Questions/Answers

class not found exception  March 3, 2014 at 7:16 PM
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterprint("code sample"); ... View Questions/Answers

Java  March 3, 2014 at 3:00 PM
i want to write a java program which accepts 2 files as input . ie one file contains certain words and i need to search those words in another file , if found display the line number and frequency of occurence of the word. can any one give me the full code .? Thanks and Regards ... View Questions/Answers

java  March 2, 2014 at 10:55 PM
create a java program to read any integer number from the user and display in words from the following sample output formate input Enter any integer number 1234 Output One two three four ... View Questions/Answers

how to generate reports from oracle database using jsp and ajax code  March 1, 2014 at 12:21 PM
Hai masters i am new to this Java world. my team leader ask me to generate sales report data from oracle database to jsp page please any one know how to do this send me a code to my email:nemathdba@gmail.com its a humble request my team member Java programmer unable to do this task..so its bur... View Questions/Answers

link  February 28, 2014 at 2:51 PM
hey frnds can anyone plz tell me how can i store my videos as link in my database and can retrive the video using servlet by clicking on to that link .it may be confusing sorry about that and if someone can than plz help me ... View Questions/Answers

Hello ..  February 27, 2014 at 5:33 PM
Hello, I need a code for .. Want to read csv file (which is having name nd mobile number) from jsp and if i give search by name mobile number should get displayed and if i give mobile number name should get displayed . the code must be l... View Questions/Answers

how to add mulitiple projections  February 27, 2014 at 12:31 PM
how to add mulitiple projections and return them ... View Questions/Answers

computer science  February 27, 2014 at 3:41 AM
Objective:Work with hash tables by creating a hash table using linear probing. I need this code in java. "LinearProbingHashTable.java" Description:Create a generic class called LinearProbingHashTable<K,V>. It should contain a private static class, Entry&l... View Questions/Answers

java help!  February 26, 2014 at 10:22 PM
I need help starting off a program I am trying to write for class. The class should contain a private instance variable to represent temperature in Degrees Celsius and it should have the following methods: Temperature(float); and Temperature()-which sets the temperature to 0.0 degrees celsius.The... View Questions/Answers

How to found which class or method contain specific annotation?  February 26, 2014 at 3:18 PM
Suppose we are having a class with separate user define annoation in same package like @One class A { } @Two class B { } @One class C { } How will I find which class is using @one annotation and which @Two? OR... View Questions/Answers

C++  February 26, 2014 at 12:44 AM
Trace the bubble sort using the following integers,which represent the elements in an array. 5,7,3,8,6,7,3 ... View Questions/Answers

JavaScript  February 25, 2014 at 9:53 AM
How to appear the second dropdown list after selecting the first dropdown. Please send me the code to siva.ssk83@gmail.com ... View Questions/Answers

this is a hibernate question  February 24, 2014 at 11:52 AM
connection pooling code in hibernate ... View Questions/Answers

this is a hibernate question  February 24, 2014 at 11:52 AM
connection pooling code in hibernate ... View Questions/Answers

this is a hibernate question  February 24, 2014 at 11:52 AM
connection pooling code in hibernate ... View Questions/Answers

svn  February 24, 2014 at 10:41 AM
i want svn total information ... View Questions/Answers

how to writw connection pool coding  February 24, 2014 at 10:39 AM
java connection poolprint("code sample"); ... View Questions/Answers

JAVA  February 23, 2014 at 12:37 PM
i have to order a pizza online and once after submitting my order i have to get a order number. after i receive a order number, i should be able to track the same online. ... View Questions/Answers

C program to print the following  February 23, 2014 at 12:57 AM
Hello, Some one help me with a "C Program" to print the following as output: 4444444 4333334 4322234 4321234 4322234 4333334 4444444 // for input 4. And also for any inputs. (Actually there is no category as C in the category menu, that is why I choosed Java ... View Questions/Answers

Spring 4 features  February 22, 2014 at 10:02 PM
Can anyone tell me the spring 4 features? I wan't to learn the new features of Spring 4 framework quickly? Thanks ... View Questions/Answers

How to prevent adding duplicate items to the shopping cart  February 22, 2014 at 12:24 AM
this is saved as index.php <html> <head> <title>Catalog</title> <link rel="stylesheet" href="mm_travel2.css" type="text/css" /> </head> <body bgcolor="#C0DFFD"> <tr> <td width="40">&nbsp;</t... View Questions/Answers

crud operations with foreign key constraint.  February 20, 2014 at 11:54 AM
I neeed to know how to perform crud operations in mysql with foreign key constraint using mvc architecture i.e using servlet jsp and bean. please provide all the code so that i can understand better. ... View Questions/Answers

how to show set of images continously using JScrollpane in java  February 19, 2014 at 5:38 PM
how to show set of images continously using JScrollpane in java ... View Questions/Answers

how to show set of images continously using JScrollpane in java  February 19, 2014 at 5:38 PM
how to show set of images continously using JScrollpane in java ... View Questions/Answers

How to connect on screen keyboard to system.  February 19, 2014 at 1:10 PM
How to connect on screen keyboard to system.I made on screen keyboard in java(swing).Now i want connect to system means when i pressed any button then it type on notepad or any other.Please anybody help me. Thanks in Advance. ... View Questions/Answers

How to connect on screen keyboard to system.  February 19, 2014 at 1:10 PM
How to connect on screen keyboard to system.I made on screen keyboard in java(swing).Now i want connect to system means when i pressed any button then it type on notepad or any other.Please anybody help me. Thanks in Advance. ... View Questions/Answers

Java  February 18, 2014 at 10:55 AM
I am doing my major project in java cloud computing topic is Fog computing mitigating insider data theft attack in cloud.... Give me full coding for my project..... help me ... View Questions/Answers

servlet  February 18, 2014 at 10:50 AM
I want the full coding for uploading a file in local drive D usin jsp,java class and servlet... help me thanks in advance.... ... View Questions/Answers

How to make a servlet to automatically call another servlet at some time instant.  February 16, 2014 at 11:24 AM
Can some one assist me How to make a servlet to automatically call another servlet at some time instant. currently I have a single servlet which displays results from 3 different tables. Now I have to make each table to display in separate HTML page, in which first servlet display should ... View Questions/Answers

what is the Advantages moqui framework vs other frameworks  February 15, 2014 at 3:23 PM
Can you please, tell me what is the Advantages moqui framework vs other frameworks.. Thanks in advance ... View Questions/Answers

what is the difference between moqui framework vs other frameworks  February 15, 2014 at 3:22 PM
HI Can you share what is the difference between Moqui framework vs other frameworks..? ... View Questions/Answers

Please help me out  February 12, 2014 at 8:29 PM
Description* You are hired to develop a laptop inventory information system for Sheridan College in order to keep track of the information about the laptops lent to the students. Users can add or remove data as well as perform searches on the database. Using your IDE (NetBeans or Eclipse), ... View Questions/Answers

I really need help with this assignment question Please help me out Please  February 12, 2014 at 10:10 AM
* Description* You are hired to develop a laptop inventory information system for Sheridan College in order to keep track of the information about the laptops lent to the students. Users can add or remove data as well as perform searches on the database. Using your IDE (NetBeans or Eclip... View Questions/Answers

Application server to download  February 10, 2014 at 3:15 PM
Which Application server can be downloaded for free to use personally at home to practice JSP,EJB etc? ... View Questions/Answers

Writing to and reading from a binary file in java.  February 8, 2014 at 11:34 PM
I have written the following code to convert an ASCII text file to a binary file: public static void main(String args[]){ DataOutputStream dos = null; Scanner input = null; try{ dos = new DataOutputStream(new FileOutputStream("zipbinary.txt")); ... View Questions/Answers

Swing Button Example  February 7, 2014 at 2:43 PM
Hi, How to create an example of Swing button in Java? Thanks ... View Questions/Answers

How to use charAt() method in Java?  February 7, 2014 at 12:49 PM
Hi, what is the correct way of using chatAt() method in Java? Thanks ... View Questions/Answers

Java  February 7, 2014 at 12:28 PM
code when you enter one alphabet in textfield the record with all first alphabet should appear in table in java ... View Questions/Answers

POI Tutorial  February 7, 2014 at 10:58 AM
Hi, How to access the Excel file in Java? I have heard about POI in Java. Can anyone share me the url of the tutorial? Thanks ... View Questions/Answers

What is iText in Java?  February 6, 2014 at 10:41 PM
Hi, What is iText in Java? How to create PDF in Java? Thanks ... View Questions/Answers

Where can I find reviews of IT solutions company in India to choose from?  February 6, 2014 at 6:49 PM
Where can I find reviews of IT solutions company in India to choose from? ... View Questions/Answers

Quartz framework tutorial  February 5, 2014 at 6:19 PM
Hi, I am trying to create the scheduler application. Can any one provide me the url of Quartz framework tutorials. Thanks ... View Questions/Answers

How to create charts in Java?  February 5, 2014 at 3:42 PM
Is there any example of creating charts and graphs in Java? thanks ... View Questions/Answers

Hibernate 4.3 and JPA 2.1 support  February 3, 2014 at 6:25 PM
Hi, Does Hibernate 4.3 provide support for JPA 2.1? I am trying to figure out the Hibernate 4.3 and JPA 2.1 support to use it in my Project. Thanks ... View Questions/Answers

Develop Bulk SMS sender  February 3, 2014 at 5:41 PM
Hi, i Want to implement Bulk SMS sender Application using java is it possible through XMPP ? any other technology ? ... View Questions/Answers

How to create Hibernate session factory name?  February 3, 2014 at 1:44 PM
Hi, I am new to Hibernate and I would like to learn how to create Hibernate Session factory name? Thanks.. ... View Questions/Answers

Can you provide me Hibernate configuration tutorial?  February 3, 2014 at 12:41 PM
Hello There, I want to learn about Hibernate configuration, Can anyone provide me with hibernate configuration tutorial> Thanks.. ... View Questions/Answers

I want to build sessionfactory in hibernate 4. Need help.  February 3, 2014 at 12:32 PM
Hello, I want to build sessionfactory in hibernate 4. Need help. ... View Questions/Answers

I want to learn Hibernate tutorial quickly  February 3, 2014 at 12:15 PM
Hello, I want to learn Hibernate tutorial quickly. Is there any way.. I want to learn Hibernate online.. Please help.... ... View Questions/Answers

DMCA.com