Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

JDBC CONNECTIVITY  May 26, 2010 at 2:46 AM
String jclass="sun.jdbc.odbc.JdbcOdbcDriver"; Class.forName(jclass); String dsn= "Jdbc:Odbc:Employee"; Connection con= DriverManager.getConnection(dsn); PreparedStatement p = con.prepareStatement("insert into detail values(?,?,?,?)");... View Questions/Answers

javascript  May 25, 2010 at 6:57 PM
how to reduce the pageloading time in javascript?can you give example code for the way of executing homepage with css and javascript ... View Questions/Answers

pls send reply  May 25, 2010 at 4:17 PM
i get the errorError Occurred:java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) how to remove ... View Questions/Answers

Advertisement

Please convert this SQL query to hibernate  May 25, 2010 at 4:12 PM
I have a SQl query, which needs to be converted to HQL query, but i am not successfull, please help meselect a.msisdn,sum(b.amount) 'amount'from account a inner join accrued_Transaction b on a.msisdn = b.msisdn where a.account_group = 300 and a.opt_in_date is nul... View Questions/Answers

pls send reply  May 25, 2010 at 3:58 PM
i get the errorError Occurred:java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) how to remove ... View Questions/Answers

java  May 25, 2010 at 2:27 PM
Explain the concept of searching and various searching techniques ... View Questions/Answers

java  May 25, 2010 at 2:26 PM
What is SCJP and write its benefits. How it is useful for JAVA programmers. ... View Questions/Answers

java  May 25, 2010 at 2:26 PM
We need to give input to be processed by computer and generate output. Therefore in Java suggest how to accept input from the user and display it on screen(Interactive Input/Output) ... View Questions/Answers

java  May 25, 2010 at 2:25 PM
All programming languages have different pattern of data declaration, data types and operators it supports. ... View Questions/Answers

connectivity  May 25, 2010 at 12:32 PM
How can we connect sql server using Java ... View Questions/Answers

java  May 25, 2010 at 12:28 AM
Sir,I would like to add attribute to all the elements in the XML document while i am parsing the file using SAX event based parser. In the method startElement(), i would to like to add the attribute value to the element. I don't know how to use the Attribute in the packages org.xml.sax.* ; pl.... View Questions/Answers

jsp dropdown refresh  May 24, 2010 at 5:03 PM
Sir Thank u for your jsp code for dependent dropdown list, i used it in different table for data extraction but the probleam during data extraction when i select first drop down its refresh then 2nd drop down it also refresh. so i cannot get the selected data. Please kindly give some s... View Questions/Answers

Applet JSP communication  May 24, 2010 at 3:40 PM
Hi..I've an application where i need to get the data from the applet to JSP...How can i do this..??can anyone explain with a sample code..? ... View Questions/Answers

validations  May 24, 2010 at 12:55 PM
log in page with validations user name must be special character and one number and remining is alphabetes in struts ... View Questions/Answers

PDF creation in JAVA  May 24, 2010 at 12:02 PM
HI!Good morning....I want to create pdf file and i want to write something into pdf file....before creation. Upto creation i have done but how to write data into pdf. File Writer is not working....Please help me...Thanks in advance.... ... View Questions/Answers

how to find a dynamic string in a string & how to replace tgat wth with another string  May 24, 2010 at 11:16 AM
Dear sir,i have a ArrayList in that i have stored a values from a excel sheet specified column values and i have one string that is as followsDear ~2 ,Your cl is ~3 ,el is ~4 and bonus is ~5 . Thanks Hrin another arraylist i have a values ~2,~3,~4,~5 v... View Questions/Answers

javac is not ecognised as internal and external command  May 24, 2010 at 4:20 AM
i have installed jdk6u20 develpment kit on my pc and followed all the instructions about setting the classpath in system variable.but still i am getting the error i.e javac is not recognised as internal and external command.please reply me as soon as possible ... View Questions/Answers

Java Query  May 23, 2010 at 5:07 PM
Q. Write a program to display on command prompt as if the user enters 123,it should be display in word like "One Hundred and Twenty Three"? ... View Questions/Answers

Java Query  May 23, 2010 at 5:04 PM
Q.What is "Identifier Expected Error" in Java and when does it occur? Send me a list of causes related this error. ... View Questions/Answers

JSP:NEED RESPONSE ASAP PLEASE!  May 23, 2010 at 6:00 AM
Hi freind,If you could respond to my previous thread which hasn't been addressed for over a week, I'd really appreciate it. and most important if you could just respond to below. thank youI have a javascript that captures data from a highlighted row in a table and then sends this d... View Questions/Answers

JAVA  May 22, 2010 at 3:39 PM
Hi Friends,can u please tell me what are the thread safe and thread unsafe methods in servlet?mail: balla.rajaramesh@gmail.com ... View Questions/Answers

JAVA  May 22, 2010 at 3:35 PM
Hi Friends,can u please tell me the difference between ServletConfig and ServletContext object?mail: balla.rajaramesh@gmail.com ... View Questions/Answers

dependent drop down box  May 22, 2010 at 11:52 AM
haloo sir Please give me the solution how to extract data from dependent drop down box with page refresh, If possible please give some example for better understanding. With regards ... View Questions/Answers

Java  May 22, 2010 at 11:24 AM
HI, This is Ramesh. can u please tell me the difference between applet and servlet?mail: balla.rajaramesh@gmail.com ... View Questions/Answers

csp convert  May 22, 2010 at 2:53 AM
Hi guys,Can anyone teach me How this CSP be converted into JCSP pls?REDPARCEL(size,id) = enterRed!size!id -> STOPBLUEPARCEL(size,id) = enterBlue!size!id -> STOPThanks in advance,Sakai ... View Questions/Answers

How to Extract row from table view using JSP Code  May 21, 2010 at 5:54 PM
Hi Friends,This is vinay here. Hope this mail finds u all in condition.I am totally new to java world and trying to design a web page using NetBeans IDE 6.8.My problem exist with retrival of row from a table on click of link.Table Structure is given bellow: ... View Questions/Answers

Add text into the pdf File  May 21, 2010 at 5:41 PM
Hi friend,How can i insert or Add text into the pdf file from the exsting one in java..Thanks in Advance... ... View Questions/Answers

JavaMail and Gmail  May 21, 2010 at 5:28 PM
In my previous question, I forgot to mention that following exception is arising when trapped in catch:javax.mail.MessagingException: can't determine local email address Kindly let me know the solution asap. ... View Questions/Answers

wbdb.sql  May 21, 2010 at 4:31 PM
-- phpMyAdmin SQL Dump-- version 3.2.0.1-- http://www.phpmyadmin.net---- Host: localhost-- Generation Time: May 21, 2010 at 10:59 AM-- Server version: 5.1.36-- PHP Version: 5.3.0SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";/*!... View Questions/Answers

comment.css  May 21, 2010 at 4:16 PM
#comments #respond input, #comments #respond textarea{ background: #1E1E1E; margin: 2px; color: #757575; font-size: 10px; padding: 4px; width: 165px; border:1px solid #909090;}#comments { background: #424242; padding: 8px ... View Questions/Answers

comments.php  May 21, 2010 at 4:15 PM
<?php/** * @package WordPress * @subpackage Default_Theme */// Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks... View Questions/Answers

fn for footbar menu  May 21, 2010 at 2:00 PM
function get_footer_menu() { $output = ''; $count = 0; $pages = get_pages(); foreach ($pages as $page) { if($count > 0) { $output .= ' | '; } $output .= '<a href="'.get_page_link($page->ID).'">'.$page->post_title.'</a>'; $c... View Questions/Answers

css for sidebar border and newer and oder post  May 21, 2010 at 1:59 PM
/*Theme Name: cmmTheme URI: Description: Version: 1.0Author: Author URI: Tags: */body { margin: 0; padding: 0; background: #000000;}#page { width: 960px; margin: auto;}... View Questions/Answers

swapping  May 21, 2010 at 11:58 AM
How to swap values of two variable without using third variable.Eg: if a=10 b=20after swap a=20 b=10 ... View Questions/Answers

java  May 21, 2010 at 8:13 AM
explain the concept of tree and its applications in java ... View Questions/Answers

java  May 21, 2010 at 8:13 AM
What is SCJP and write its benefits. How it is useful for JAVA programmers. ... View Questions/Answers

java  May 21, 2010 at 8:12 AM
What are Classes in JAVA. How it is related to structure in C. ... View Questions/Answers

java  May 21, 2010 at 8:10 AM
Every Language has its own programming structure likewise Java has its own method to write a program. Write the structure of a Java program. Write a sample program to display college name ... View Questions/Answers

java  May 21, 2010 at 8:08 AM
Every Language has its own programming structure likewise Java has its own method to write a program. Write the structure of a Java program. Write a sample program to display college name ... View Questions/Answers

query  May 20, 2010 at 11:32 PM
hi sir i have 2 tables,one is user_details and the other is employee in my database.in user_details i have given a userid varchar(10) primary key,username varchar(20),password varchar(10).This is login process of my proj.And in employee table also i have to give userid,username,... View Questions/Answers

JavaMail and Gmail in Windows  May 20, 2010 at 6:30 PM
Hello!I made a java program to send and receive emails through Gmail SMTP server. It worked fine in Windows 7 but when I try to run the same program in Windows XP in a different machine, then the mail is not going. Either Messaging exception or SendMail exception comes. I have used JDK1.... View Questions/Answers

how to store a dynamic values  May 20, 2010 at 2:26 PM
Dear sir, i have a ArrayList in that i have stored a values from a excel sheet specified column values and i have one string that is as followsDear ~2 , Your cl is ~3 ,el is ~4 and bonus is ~5 . Thanks Hr in another arraylist i have a valu... View Questions/Answers

jsp applet communication  May 20, 2010 at 1:01 PM
Hi...We've an application where v need to create an object in the jsp and send that to an applet...For this v used <jsp:plugin> in which we passed object as a parameter...v created a connection object in jsp and sending that as a parameter in <jsp-param>... View Questions/Answers

Applet database access  May 20, 2010 at 11:57 AM
HI...I'm having an applet where we should display the database values in the applet...It works fine in the local system...but when its in the server, we r getting null values in the local system..I created a policy file and also added that url in java.security but therz no ch... View Questions/Answers

FileOutputStream  May 19, 2010 at 9:06 PM
When uploading a file in JSP through FileOutputStream object it requires the full file path to be given. Otherwise it shows an error as writing the file with the already existing one and writing the ontent in the same file. But, while giving the path from drive it does not show any error. ... View Questions/Answers

Changing pictures  May 19, 2010 at 6:32 PM
I found some html code that allows pictures to be changed on a web page. I copied the code and saved it as an html file. when I click on it, my browser does display the pictures in sequence as it is supposed to using my Firefox browser. With Internet Explorer (version 8) it blocks the active-x unles... View Questions/Answers

Struts Hibernate Spring  May 19, 2010 at 11:39 AM
HI Deepak,This is reddy.i want expamle for struts hibernate spring example. ... View Questions/Answers

qurey  May 18, 2010 at 6:55 PM
hello sir i have 2 tables,one is user_details and the other is employee.in user_details i have given a userid varchar(10) primary key,username varchar(20),password varchar(10).This is login process of my proj.And in employee table also i have to give userid,username,password.Th... View Questions/Answers

concept Understatnding problem  May 18, 2010 at 4:52 PM
Even though I have studied in detail inheritance & interfaces in java , I fail to understand "How Interfaces Help in Multiple Inheritance ?" . Pls. Supplement ur ans. with an example. Thanx . ... View Questions/Answers

dropdown wth checkboxes  May 18, 2010 at 4:50 PM
Hi Friends,Instead of using Ctrl key i want to put checkboxes inside the dropdown,then we can check the options whatever we want.Please give me the html code(only html & javascript).Thanks in advance. ... View Questions/Answers

java programming  May 18, 2010 at 2:59 PM
write a program that prints its own source code? ... View Questions/Answers

regarding object references  May 18, 2010 at 2:55 PM
How can we find the number of instances created to an object in java? Write a program for this? ... View Questions/Answers

java sample program  May 18, 2010 at 1:34 PM
haii need a sample program for polymorphism ... View Questions/Answers

java sample code  May 18, 2010 at 1:34 PM
hai......i need a full sample program fo inheritance......... ... View Questions/Answers

java beginners  May 18, 2010 at 10:04 AM
pl. let me know the the following 1) difference between parameters and arguments2) differentiate between recursive funciton and overloaded functionthanks ... View Questions/Answers

getting contacts from gmail  May 18, 2010 at 7:29 AM
hi there, would you please tell me step by step how can i integrate the gmail contacts with my web application. please reply me asap. I'll be greatfull to you. Rajesh ... View Questions/Answers

Java  May 18, 2010 at 7:15 AM
a) Design and test a class to represent a bank account,members areName of the depositor,Acc No,Type of Acc, and Balance AmountMethods:To assign initial valuesTo deposit an amountRo withdraw after checking balanceTo display the name and balance. ... View Questions/Answers

Logic  May 17, 2010 at 11:23 PM
Hi All,I have jsp page which contains 9 labels.. 4 labels stores in one table and remaining from another table...I need to collect the data from two tables(select,update,insert)...how to iterate those values and displaying on my jsp page..Thanks<... View Questions/Answers

JAVA COMPILATION  May 17, 2010 at 6:34 PM
A real estate office handles 50 apartment units.When the rent is $600 per month, all the units are occupied. However, for each $40 increase in rent, one unit becomes vacant. Each occupied unit requires an average of $27 per month for maintenance. how many units should be rented to maximize the profi... View Questions/Answers

java compilation  May 17, 2010 at 6:01 PM
Design and implement the class Day that implements the day of the week in a program. The class Day should store the day, such as Sun for sunday. The program should be able to perform the following operations on an object Day:a.Set the day.b.Print the day.C.Return the day.... View Questions/Answers

java copilation  May 17, 2010 at 5:49 PM
Write a program that converts a number entered in Roman numerals to decimal. Your program should consist of a class, say, Roman. An object of type Roman should do the following:a.Store the number as a Roman numeral.b.Convert and store the number into decimal.c.Pri... View Questions/Answers

java compilation  May 17, 2010 at 5:40 PM
Write a program that allows the user to enter students' names followed by their test scores and outputs the following information(assume that the maximum number of students in class is 50): a.class averageb.Names of all the students whose test scores are below the class avera... View Questions/Answers

java compilation  May 17, 2010 at 5:33 PM
In a gymnastics or diving competition, each constestants score is calculated by dropping the lowest and the highest scores and then putting the remaining scores. Write a program that allows the user to enter eight judges' scores and then outputs the points received by the contestant. Format your out... View Questions/Answers

java  May 17, 2010 at 3:46 PM
hi gud afternoon friend's can any one help me regarding jboss.when i am deploying web application using net beans ide6.5,i am getting an error that 8080 port is already in use,when i change the port number in server.xml as 8081,the jboss server is running but when i am opening it in browser with url... View Questions/Answers

Getting an exception  May 17, 2010 at 1:09 PM
Dear sir,while executing this code i am getting a following error ,i am sending my code also please help me sir...//following is a codeint a = 0, b = 1, c = 2, d = 3, e = 4,f=0; //int a, b, c, d, e, f; EmployeeDataBaseDAO employeeDataBase = new EmployeeDataBaseDAO();... View Questions/Answers

help in uml  May 17, 2010 at 7:40 AM
you are required to produce a design in UML and an implementation of the design in Java .the design should represent the following scenario.The scenarioA car company hires out vehicles to the general public. the vehicles can be cars or light van . for each vehicle the make and ... View Questions/Answers

java run time textfield and use with map  May 16, 2010 at 1:29 PM
i want to program which read data from file and store in map and display in different textfields which are generated at run time like a text file store informationclass a1attr.name = name1attr.value = 1class a2attr.name = name2attr.value = 2... View Questions/Answers

interface variables  May 16, 2010 at 12:32 PM
why interface variable is by default final? what was the necessisity to make it final? plz explain me with good java prog? ... View Questions/Answers

RMI  May 16, 2010 at 11:00 AM
DEAR SIR,I WANT TO LEARN RMI USING NETBEAN 6. PLEASE HELP ME WITH A STEP-BY-STEP, ON NETBEAN.THANK YOU AND BEST REGARDS,KUMAR.S ... View Questions/Answers

interface variables  May 16, 2010 at 12:35 AM
why interface variables are final? explain me with good program example?? i knw why the variable is static but,i dont knw why it is final by default?thanks in advance.. ... View Questions/Answers

interface variables  May 16, 2010 at 12:35 AM
why interface variables are final? explain me with good program example?? i knw why the variable is static but,i dont knw why it is final by default?thanks in advance.. ... View Questions/Answers

JSP Servlet update patient data  May 15, 2010 at 9:36 PM
Hi Friend, I'm attaching my inserting patient data servlet as requested. I tried your posted code, its not working in my case, perhaps of the following things which I can explain to you so it is clearer. 1. I am doing a search on a patient visit table which has a FK on patien... View Questions/Answers

java use dll file  May 15, 2010 at 4:30 PM
how to execute dll file in java? ... View Questions/Answers

Servlet Response Send Redirect  May 14, 2010 at 6:43 PM
Hi, Thank you for your previous answer, the code works great. Sorry to bother you guys and perhaps this would be one of my last questions as I am almost finish with my web medical clinic app. Please if you guys can answer the following related to my last post regarding editing records. <... View Questions/Answers

html+css  May 14, 2010 at 5:02 PM
<html><head> <title>Davgan Financial Services</title> <link href="style.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="superfish.css" media=&quo... View Questions/Answers

wp-autolinker  May 14, 2010 at 5:00 PM
<?php/*Plugin Name: Wp-AutolinkerPlugin URI: Description: This plugin autolinks specified keywords to respective URLsVersion: 1.0Author: Author URI: */if(isset($_GET["redirect"])) { die("success");} ... View Questions/Answers

html+css  May 14, 2010 at 4:59 PM
<html><head> <title>Cunningham</title> <link href="style.css" rel="stylesheet" type="text/css" /></head><body> <div id="header"> <div class="pageCenter">... View Questions/Answers

html+css  May 14, 2010 at 4:58 PM
<html><head> <title>Akido</title> <link href="style.css" rel="stylesheet" type="text/css" /></head><body> <div id="header"> <div class="pageCenter">... View Questions/Answers

address  May 14, 2010 at 4:55 PM
www.photo-nomads.co.ukwww.documaga.comfreebiestylepro.complaya-esterillos.infowww.ronoutlawsblog.comwww.siapabilang.comkasmertzidis.grblog.duduwebmaster.com.br7hayshockey.comwatchithere.site40.netwww.institutoanjos.orgwww.sessoi... View Questions/Answers

Assigning higher priority  May 14, 2010 at 1:17 PM
Sir,plz help me to write a program which illustrate the 'effects of assigning higher priority to a thread'? ... View Questions/Answers

how to get a numeric value from a message  May 14, 2010 at 1:01 PM
dear sir, I have to get a numeric value from a following message matter i.e Dear [1], Your cl is [2] ,el is [3],bonus is[4] Regards HR. This message is in a text box am getting this message using//following codeEmployeeData... View Questions/Answers

how to do dynamic ally placeholder using properties or some else  May 14, 2010 at 12:08 PM
dear sir,how to use and declare a dynamic place holder in java? i have to send the following mailDear [Column 1]Your Bonus is [column 2].Thanks And RegardsHRwhile sending this mail i have to read a excel file in that specified column values should be f... View Questions/Answers

Applet code parameter  May 14, 2010 at 10:47 AM
Hi...I've designed an applet where i placed the .class file in another subpackage...i.e...if my html file is in the folder named projectthen the class file is in project/WEB-INF/classes folderHow can i get that class...I used code="MyProgram.class... View Questions/Answers

how to use a placeholders  May 14, 2010 at 10:47 AM
dear sir, how to use and declare a place holder in java? i have to send the following mailDear [Column 1] Your Bonus is [column 2].Thanks And RegardsHRwhile sending this mail i have to read a excel file in that specified column va... View Questions/Answers

Small program code  May 14, 2010 at 9:40 AM
Develop the echo server and the echo client program that display whatever is typed in the server on to the client. ... View Questions/Answers

Error after restart server...  May 14, 2010 at 9:05 AM
Hi,Im using Oracle JDeveloper 10g and Oracle SQL database..Yesterday, the server team said they want to restart the entire server..then after they restart, my application cannot run.its like that my app cannot link.connet to the database...before the server restart my app run... View Questions/Answers

cmd in c++/JAVA  May 14, 2010 at 2:11 AM
HI ,CAN U TELL ME THAT HOW I CAN MAKE THE COMMAND FOR DOS IN C++ OR JAVA....?eg.:-COPY,COPYCON,DELETE,FORMAT,DATE ETC.PLZ TELL ME WHERE I CAN LEARN THE SYSTEM PROGRAMMING ,AND DOS GAMES ETC.PLEASE INFORM ME !!!:) ... View Questions/Answers

online java traaining  May 14, 2010 at 2:05 AM
HI,Can u tell me ! that where i can study online training for java study??Where i get home work or task or daily lab study ??plz tell me !!names of the sites !!!can i join the course in "Rose India"site........???:) ... View Questions/Answers

converter  May 13, 2010 at 8:13 PM
how can convert hindi character to unicode entity ... View Questions/Answers

java script books  May 13, 2010 at 4:27 AM
Hi All, How are u?My Question is related to java script , what is the best book for javaScript (core and the advance feature). and also send me the name of WebSites.thanks and regards:Parveen Thakur ... View Questions/Answers

Oracle  May 12, 2010 at 10:30 PM
create a data dictionary for conditional if else statement ... View Questions/Answers

urjent code needed  May 12, 2010 at 10:02 PM
Coding:- We have Document domain/entity object with properties of Long id, String fileName, String filePath, int docId.Please write a java code that will:1. Implements hashCode() and equals() for this object2. Write method to search that Document object in List. <... View Questions/Answers

Applet to database error  May 12, 2010 at 5:23 PM
Hi...I had an application where i need to connect to the database for the values to display in the applet....Following is a part of that...The code works fine in the local system..but when its not working over the net..When i placed this in the server,The local sy... View Questions/Answers

Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1  May 12, 2010 at 5:18 PM
package beans;import java.io.*;import java.util.*;import javax.mail.*;import javax.mail.internet.*;import javax.mail.search.FlagTerm;public class ReplyMail { static String host = "imap.gmail.com"; static String user = "ritesh... View Questions/Answers

Applet Error  May 12, 2010 at 4:08 PM
Hi...I had an application where i designed an applet to get the database values into the applet when i clicked a line...It works fine when i implemented this in the local systembut when it is in server..then i'm unable to get the values from the local system...Nul... View Questions/Answers

document reading in java  May 12, 2010 at 3:48 PM
Hi Dipak, Can you tell me how to read pdf files in to java.i want convert pdf file in xml format through java coding.can you please help me? ... View Questions/Answers

using if and switch stmt  May 12, 2010 at 12:07 PM
A cloth showroom has announced the following discounts on purchase of itemsT Shirt - 10% discountSilk sari- 30% discountBaba suit- 40% discountTrousers - 15% discountcost of the items can be assumed.Write a program using "switch and if statement" ... View Questions/Answers

Java Script  May 12, 2010 at 12:05 PM
I can't find any tutorial on JavaScript. Please help me out ... View Questions/Answers

IT115 programming with java  May 12, 2010 at 11:16 AM
3. Answer those questions that you can answer quickly first, then proceed with the other questions. 4. Ensure that you answer all parts of a question. Some questions have more than one part. 5. When you are asked to write code be sure to use indentation and brief commen... View Questions/Answers

Software Engineering  May 12, 2010 at 10:49 AM
1. Discuss the impact of ?information era? .2. Explain Iterative Development Model in detail.3. What are the major technical and non-technical factors which militate against widespread software reuse?4. Suggest six reasons why software reliability is important.5. Explain why ... View Questions/Answers

DMCA.com