Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

JAVA connection pooling  May 7, 2010 at 9:20 PM
how to do JDBC connection pooling in Apache Tomcat ???? ... View Questions/Answers

java script  May 7, 2010 at 7:02 PM
hi sir,the program code that i need for is :1)there are two button in javascripting if you click the Ok button the cancel should disappear . ... View Questions/Answers

writing java programs  May 7, 2010 at 6:50 PM
How do i write a code to display even numbers from 1 to 50 ... View Questions/Answers

Advertisement

java code  May 7, 2010 at 4:13 PM
hi sir, i want coding for the program :1) write a program : add and display the strings by assingning different attribut to each of them and add in a variable ( say advar):"java" "interview""conducted"and also display "interview complete"using addvar.... View Questions/Answers

java  May 7, 2010 at 3:30 PM
can abstract class be final? ... View Questions/Answers

Collections arraylist  May 7, 2010 at 2:24 PM
how we can make array list as syncronised....and what will be the code for that? ... View Questions/Answers

code  May 7, 2010 at 12:54 PM
hi sir my question is i have created a html ang jsp code for login process.my problem is every time it is accepting a new id and password.how to write the code to accept an existing id and password. ... View Questions/Answers

Servlets  May 7, 2010 at 12:28 PM
initially i have one registraion html page.i entered values into that html. now i am reading values into servlet from this html page. These values are going to be inserted into database.now here i want display one thing i.e, If suppose the values insertion in d... View Questions/Answers

swings  May 7, 2010 at 11:41 AM
i want to retrieve image using histogram of that image and display the histogram in the screen that is my problem ... View Questions/Answers

Collections  May 7, 2010 at 11:37 AM
By default, Hashtable is unordered. Then, how can you retrieve Hashtable elements in the same order as they are put inside? ... View Questions/Answers

swing  May 6, 2010 at 7:07 PM
hi..please help me to retrieve image using histogram of that image ... View Questions/Answers

how to get a column values from a excel file after attaching it  May 6, 2010 at 4:38 PM
hi sir,How to get a column values from a excel file after attaching it while sending a email,while sending a email if i attached a file that should be read and get a values from that store that value in To input box.Please help me sir....Thanks and Regards Harini Veerapur ... View Questions/Answers

plese tell -Struts or Spring  May 6, 2010 at 3:46 PM
Hello,i want to study a framework.i have some basic overview of Struts1.1 and Strurts 2.0.i don't know much about spring.which frameork i should do Struts or Spring and which version.i also want to do hibernate.please guide.thanks. ... View Questions/Answers

submitting corect user and passowrd, it again comes on login.jsp  May 6, 2010 at 3:36 PM
i am submit username and password in login.jsp, after submit correct username and password, it again come in login.jsp.Here some files:Struts.xml: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache ... View Questions/Answers

java compilation  May 6, 2010 at 3:22 PM
write java methods to implement queues by the simple but slow method of keeping the front of the queue always in the first position of a linear array. ... View Questions/Answers

java compilation  May 6, 2010 at 3:12 PM
write java methods to implement queues in a linear array with two indices front and rear, such that, when rear reaches the end of the array, all the entries are moved to the front of the array. ... View Questions/Answers

what is static synchronizes  May 6, 2010 at 12:54 PM
what is static method synchronized ... View Questions/Answers

display messages in short  May 6, 2010 at 12:08 PM
dear sir, I am able to send a email and also i am able to getting a message from that email ,storing that in a data base and retrieving showing that in a table .But now i want to get a starting few words from that message rest will be few dots or something.when mouse moves on that spe... View Questions/Answers

Java Query  May 6, 2010 at 11:27 AM
Q. Write a java program to read the an array's elements(not size fixed of an array) entered by user? ... View Questions/Answers

Arrays  May 6, 2010 at 12:49 AM
I want to write a program that prompts the user to enter a number of integers from the keyboard. First ask the user how many integers s/he would like to enter. Then create a corresponding array and prompt the user to enter each of the integers using a for-loop. Once entered, the program should outpu... View Questions/Answers

Jsp code  May 5, 2010 at 11:50 PM
PlaceAd.jsp<%@page import="java.sql.*"%><%@page import="java.io.*"%><%@page import="java.lang.*"%><%@page import="java.util.Date"%><%@page import="java.text.*"%><%@page ... View Questions/Answers

Jsp code  May 5, 2010 at 11:48 PM
<%@page import="java.sql.*"%><%@page import="java.io.*"%><%@page import="java.lang.*"%><%@page import="java.util.Date"%><%@page import="java.text.*"%><%@page import="java.text.Simple... View Questions/Answers

File transfer to teh server  May 5, 2010 at 7:51 PM
hi,, I've been trying to make an application where the user select several fiels using JFileChooser and then the program read all the files and then save the content of all in 1 file and then send it to the server using client/server sockets, I've tried many ways and non seems to worki... View Questions/Answers

File transfer from client to server  May 5, 2010 at 7:44 PM
hi,, I've been trying to make an application where the user select a file using JFileChooser and then the program directly send it to the server using client/server sockets, I've tried many ways an non seems to work .So whats the proper way to do it ? using DataOutputStream or FileOutput... View Questions/Answers

browser  May 5, 2010 at 4:31 PM
I use morzila as my default browser. i u to educate on how I can increase my browser's speed. ... View Questions/Answers

java  May 5, 2010 at 4:21 PM
What is behind this code system.out.println("hi");i means to say that i want to understand the main functionality of this code & what is the depth of this code??how this code is working??plz tell me breifly the core of this code ??? ... View Questions/Answers

java related  May 5, 2010 at 4:17 PM
Why the "public static void main(Strings args[]){}??why we use static key words here!!!? ... View Questions/Answers

Reg:Encapsulation  May 5, 2010 at 3:44 PM
where we use encapsulation in programs?how we know that is encapsulated? ... View Questions/Answers

CV  May 5, 2010 at 3:15 PM
how do you write cv ... View Questions/Answers

to get radio button value  May 5, 2010 at 2:56 PM
hello friend, i have a problem regarding the struts2.i have code like thiss:form > <table border="1"> <tr> <th></th><th>USERNAME</th><th>SKILL</th> </tr> <s:iterator value="... View Questions/Answers

java cloning  May 5, 2010 at 1:20 PM
how to clone an array??? ... View Questions/Answers

WEBSERVICES=1  May 5, 2010 at 1:03 PM
I have develop webservices through wsad classes i dont want like this.I want like Create simple class to acess webservice is it possibule to create simple class to acess the webservice? ... View Questions/Answers

WEBSERVICE  May 5, 2010 at 12:59 PM
Is is possibule to create simple class to acess the webservice?plz help me ... View Questions/Answers

Applet  May 5, 2010 at 12:57 PM
import javax.swing.*;import java.awt.event.*;import java.awt.*; public class Triangle extends JApplet implements MouseListener { // The rest of the applet will be in the next // example. Point[] pt = new Point[3]; int ptCo... View Questions/Answers

Programming with Java  May 5, 2010 at 12:38 PM
Using valid Java code from Chapter 1 to 6, create an object oriented(Java application ) program with a minimum of two classes. (Problem 5 page 167)2. The classes should includes the following requirements:a. Include the dialogue class for getting user input and show... View Questions/Answers

jdbc  May 5, 2010 at 12:22 PM
please help me i am getting jV.sql.exception: data source name and no default driver specified while inserting the image to the database with oracle 11g ... View Questions/Answers

getting radio button at start of each row of table  May 5, 2010 at 11:16 AM
i have done the following things, and this is fine for me. But i want radio button at the place where i mentioned in commenting form in the following code.<table border="2"> <tr> <th>USERNAME</th><th>SKILL</th> </tr>... View Questions/Answers

Java Printing  May 5, 2010 at 6:31 AM
Can anybody plz help in giving the code for printing the contents of JPanel.. It contains JLabels and JTextFields only.. Plz.. Its urgetn.. Printing means sending the document to the Printer.. ... View Questions/Answers

text to speect  May 4, 2010 at 10:53 PM
please i need a j2me library that convert text to speech on me pleaseany one can help me my email is ahmed_akl2010@yahoo.coim ... View Questions/Answers

algorithms and data structures  May 4, 2010 at 3:04 PM
write a java methods to implement queues by the simple but slow method of keeping the front of the queue always in the first position odf a linear array. ... View Questions/Answers

difference between java5 and java6  May 4, 2010 at 3:01 PM
Hi,What is difference between java5 and java6Please let me know quickly ... View Questions/Answers

java compilation  May 4, 2010 at 2:46 PM
write an algorithm which uses a stack to print a given string in reverse order. For example, if the string is `Fat cat`, the output should be `tac taf`. Use the usual stack methods and a method nextChar(S). nextChar(S) returns the next character of S everytime it is used, or else a `$` sentinel. ... View Questions/Answers

how to pass the mutiple values from <Ui:datagrid hyperlink  May 4, 2010 at 2:40 PM
I am getting the error when passing the values from this way emp2=${employee.lastName1} & name=${employee.firstName.How to pass the values from hyperlink in column <ui:dataGrid items="${employees}" var="employee" name="datagrid1" cel... View Questions/Answers

Directory structure in hibernate for stand alone application  May 4, 2010 at 2:31 PM
Hi,Please tell me directory structure of hibernate using only stand alone application. ... View Questions/Answers

to read data stored in ArrayList  May 4, 2010 at 1:55 PM
this is regarding struts2, i have create one ArrayList object and in that i have stored 4 User class objects taking them from database. Now i want to read the data of all 4 User objects from jsp file using struts2 tag. i have done the following thing, but i am getting data only of one User. &l... View Questions/Answers

Getting Current Directory from java  May 4, 2010 at 1:46 PM
I'm designing an application in linux where i need to get the current directory of my java file...I'm using System.getProperty("user.dir")but its not working properlyIt's returning /opt/Softwares/apache-tomcat-5.5.27/logsHow to get the directory of my current ... View Questions/Answers

How to get jSon object in servlet from jsp  May 4, 2010 at 12:41 PM
How to get jSon object in servlet from jsp?In jsp page i have written:var sel = document.getElementById("Wimax");var ip = sel.options[sel.selectedIndex].value;var param;var url = 'ConfigurationServlet?ActionID=Configuration_Physical_Get';htt... View Questions/Answers

HTTP Status 404  May 4, 2010 at 11:49 AM
Hello,i am making a program of tiles using Struts2. i face error HTTP Status 404May 4, 2010 11:31:59 AM org.apache.catalina.core.AprLifecycleListener initINFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the ja... View Questions/Answers

Java  May 4, 2010 at 10:26 AM
Create an applet that illustrates how to support undo and redo in the components based on JTextComponent class. In this applet you have to create three JButtons and one JTextArea that implements the undo and redo operations. The labels for JButtons are Undo,Redo and Exit. ... View Questions/Answers

Java  May 4, 2010 at 10:26 AM
Using Socket Programming develop the echo server and the echo client program that display whatever is typed in the server on to the client. ... View Questions/Answers

Java  May 4, 2010 at 10:24 AM
Explain the advantage of using ?this? keyword in Java. Implement the program that calculates the area of rectangle which make use of the constructor and the ?this? keyword. ... View Questions/Answers

retrieving of value from excel file  May 4, 2010 at 10:08 AM
Dear sir,Thanks for sending a code now i am getting a particular column values i.e EmailId column for sending a massmails,now i have to send a mail that contains a (Name(A),EL(B),CL(C),Bonus(D),EmailId(E) soon...(A,B,C,D,E.. are column names)) matter i.eDear A,U r CL is C ,EL... View Questions/Answers

display messages in short  May 4, 2010 at 10:05 AM
dear sir,i am sending a mail and then displaying all subject, matter and attached file in the table .But in table i have to get a short message i.e starting few words then dots like that ,when a mouse pointer moves on that matter it will show the full matter how to do it sir please help me ..<... View Questions/Answers

JSP:HTML Form in-place Editing  May 3, 2010 at 11:26 PM
I have an HTML form (form #1) which uses a java servlet to save customer data by entering values into textfield/checkboxes/drop down fields to a mysql database(this is working fine). On the same page i also have a search facility that will search and show the results of a customer search in a small ... View Questions/Answers

Changing random results to ASC or DSC  May 3, 2010 at 8:28 PM
I have a script that randomizes results. I have tried to convert code to display a constant result, ascending or descending while in session. I can't seem to convert script due to session value and $rand_num = rand(1,$total_rows - 1);//index.[php]$query = "SELECT *... View Questions/Answers

C Language  May 3, 2010 at 5:19 PM
What is meant by %u in printf statement in c?for example,%d means integer value,like that what is %u? ... View Questions/Answers

Framework MVC java  May 3, 2010 at 2:20 AM
Hi everybody I'm here coze I need your help . The problem that I have project to do it in my study concerning "Makeing a new framework MVC" like SpringMVC, Struts ou JSF and I don't know how to beging and which methode i must implements ....And thanks for tour help.... View Questions/Answers

jdbc  May 2, 2010 at 10:19 AM
hi... please give the code for retrieving the rose image from the database... ... View Questions/Answers

Html Template  May 2, 2010 at 9:59 AM
I use a template to design my website,but some problems arised using template.I pass flag update and insert as a hidden field on to the servlet,the response of the servlet is a jsp page.on this page template is not applied..what can i do? ... View Questions/Answers

java  May 2, 2010 at 8:54 AM
how to write a programme in java to copy one line file to another file.name of file are entered through a keyboard ... View Questions/Answers

java programming  May 2, 2010 at 8:50 AM
write and run a programme that accept a string from keyboard and convert it into a number. ... View Questions/Answers

regarding socket  May 2, 2010 at 12:42 AM
sir I have a project of socket.which takes input from user(client) and checks in database(server) and sends the responses to client but I am facing problem this connection maintains for only single thread if I want to continue this for infinite times what should I do?please give solutio... View Questions/Answers

java Programming  May 1, 2010 at 11:58 PM
hi all i want to devlop a gui for compiling java program.so please help me how could i do this.means to say that how can i compile java program on clicking of a button.please reply me on ravi.dhawan01@gmail.com ... View Questions/Answers

error in netbeanse and glassfish  May 1, 2010 at 7:46 PM
i have this in a jsp page :<jsp:useBean id="rdf" class="test_rdfa.NewClass"> </jsp:useBean>String id=(String)session.getAttribute("id");String url= request.getParameter("wburl");rdf.readGrddl(url,id);... View Questions/Answers

java  May 1, 2010 at 7:34 PM
hi, send me the source code of ball breaking game using swings ... View Questions/Answers

java  May 1, 2010 at 5:44 PM
how to implement using linked list and queues in collectintions ... View Questions/Answers

java  May 1, 2010 at 5:42 PM
how to implement using linkedlist and queue? ... View Questions/Answers

Java.. pls.  May 1, 2010 at 5:21 PM
Hi, sir. it compiler but when search or purchase it didt go true.Sir, can u help me sir. Please Sir..Import java.io.*;public class nathan{String title[]={"Biography","Computers","Science","Sports","Religion"};... View Questions/Answers

JAVA Project  May 1, 2010 at 3:56 PM
Hi Friends, Can somebody please tell me a website from where I can download java live projects along with the source code. ... View Questions/Answers

Templates Download  May 1, 2010 at 3:50 PM
Hi Friends, I was downloading free web templates. But after downloading they save in the form of a zip folder and when you open them they get all distorted. They don't look like as what they should be like. Can someone please tell me the correct way of downloading web templates. ... View Questions/Answers

java  May 1, 2010 at 12:32 PM
hi... help me to retrieve the image from the database please help me ... View Questions/Answers

hi.. i hv few error. pls.  May 1, 2010 at 9:20 AM
hi sir, i have few error. can u pls help me. pls.im very new in java. ths my Uni assgmnt.please help me...import java.io.*;public class nathan{ String title[]={"Biography","Computers","Science","S... View Questions/Answers

java  April 30, 2010 at 5:25 PM
logout<?session_start();?><html><head> <script type="text/javascript"> function show_alert() { var msg = "Values Entered"; alert(msg); } </script></head><... View Questions/Answers

java  April 30, 2010 at 5:23 PM
developer2..........<?session_start();?><?phpinclude "include.php";$sql="INSERT INTO developer (date,logouttime,Achievements,signature)VALUES('$_POST[bar]','$_POST[face2]','$_POST[Achievements]','$_POST[S... View Questions/Answers

java  April 30, 2010 at 5:22 PM
<?session_start();?><html><head><script type="text/javascript">function showUser(str){if (str=="") { document.getElementById("txtHint").innerHTML="";<... View Questions/Answers

java  April 30, 2010 at 5:21 PM
-- phpMyAdmin SQL Dump-- version 3.2.0.1-- http://www.phpmyadmin.net---- Host: localhost-- Generation Time: Apr 30, 2010 at 11:12 AM-- Server version: 5.1.36-- PHP Version: 5.3.0SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";/*!... View Questions/Answers

java  April 30, 2010 at 5:20 PM
<html><head><title>Attendance System </title><script language='JavaScript' type='text/JavaScript'><!--function validate() { if(document.form1.username.value=='') { alert('Please Enter the Username'); return fal... View Questions/Answers

polymorphism  April 30, 2010 at 4:07 PM
what is polymorphism? what is the advantage of function overloading? explain the concept of operator overloading? ... View Questions/Answers

java code  April 30, 2010 at 2:55 PM
i have to store this file into database i know normal xml storing ...but how to proceed through nested elements and attributes i dont know please help me out.......<?xml version="1.0" encoding="ISO-8859-1"?><?xm... View Questions/Answers

storing xml into database  April 30, 2010 at 2:53 PM
hi i have an xml file it contains elements with attributes as well as nested elements so how to go forward .......with it i know how to persist a simple xml file into data base but i m finding some difficulty to start with i m sending u the xml file.......<?xml version=&q... View Questions/Answers

java compilation  April 30, 2010 at 2:44 PM
Every circle has a center and a radiuus. Given the radius , we can determine the circles area and circumference. Given the center, we can determine its position in the x-y plane. The center of a circle is a point in the x-y plane. Design the class circle that can store the radius and the center of t... View Questions/Answers

display messages in short  April 30, 2010 at 2:30 PM
dear sir, i am sending a mail and then dialaing all subject, matter and attached file in the table .But in table i have to ge a short message i.e starting few words then dots ,when a mouse pointer moves on that matter it will show the full matter how to do it sir please help me ..... View Questions/Answers

java  April 29, 2010 at 6:35 PM
Every cylinder has a base and height, where the base is a circle. Design the class cylinder that can captures the properties of a cylinder and perform the usual operations on a cylinder. Derive this class from the class circle designed in programming exercise 4.some of the operations that can be pe... View Questions/Answers

java compilation  April 29, 2010 at 6:25 PM
A point in the x-y plane is represented by its x-coordinate and y-coordinate.Design the class point that can store and process a point in the x-y plane. you should then perform operations on a point, printig the coordinates of the point, returning x-coordinates, and returning the y-coordinate. Also,... View Questions/Answers

dumps  April 29, 2010 at 6:06 PM
I'm preparing for OCA.Can anyone kindly send me the latest dumps of Oracle 9i SQL dumps. Please its really urgent.Thanks in advance ... View Questions/Answers

estjs  April 29, 2010 at 5:56 PM
ExtJS Tutorials,sample applications with output and how to run in eclipse with jboss server ... View Questions/Answers

Output of this one  April 29, 2010 at 2:27 PM
public class Test { int i=-277; {try{ if(Byte i<<1) { System.out.println("Executed"); } else { System.out.println("Error"); } }catch(Exception e){ System.out.print... View Questions/Answers

servlet program problem  April 29, 2010 at 1:34 PM
i used ur servlet example prg with xml file of helloworld program and i run dat program in tomcat, it shows only the files in my specified directory but when i clicked dat file name it just displaying the code alone, reply me how to run or whether i hav to create a separate html file to run i... View Questions/Answers

HTMLParserText  April 29, 2010 at 12:54 PM
Thanks for the file that you send me. But my problem, i want to convert it from HTML to TXT file. This means I have to remove all tags. In this way, I need your helpful.With my best regards ... View Questions/Answers

sir  April 29, 2010 at 12:47 PM
hi sir,in this program there is a jtable,i am insert the records to the jtable .when i am inserting the record to the 5th row of the jtable,the inserting query is not executed,plz see this program and provide solution sir,i am mentioning the error as <<>>>......ma... View Questions/Answers

retrieving of value from excel file  April 29, 2010 at 12:25 PM
Dear sir,Thanks for sending a code now i am getting a particular column values i.e EmailId column for sending a massmails,now i have to send a mail that contains a (Name(A),EL(B),CL(C),Bonus(D),EmailId(E) soon...(A,B,C,D,E.. are column names)) matter i.eDear A,U r CL is C ,EL... View Questions/Answers

java Collections  April 29, 2010 at 11:37 AM
HI Friends, I want to pick a random element from a set.How can i achieve this.I have a set of objects , I want to pick a random object every time from the set.. ... View Questions/Answers

how to pass the mutiple values from <Ui:datagrid hyperlink  April 29, 2010 at 10:56 AM
<column width="100"> <header value="Employee ID" hAlign="center" styleClass="header"/> <item value=" ${employee.lastName1}" hAlign="center" hyperLink="employee_payroll_updatePage.jsp?e... View Questions/Answers

HTMLParserTxt  April 29, 2010 at 10:18 AM
Dear Sir,PLEASE if you can help me. I want to convert HTML file to txt file. I will send you the code. Please can you fix the errors.How I get the follwing plugins. I mean from where?Thanks a lot for your helpful.Code:package DBFin;... View Questions/Answers

Disable offline browser access  April 29, 2010 at 7:49 AM
Hi Please help me to solve the issue, I have been trying my level best to find the solution for disabling the offline browser issue for the security purpose. But so far I don't find any solution.What I needed is;When the user clicks the website from the browser history,... View Questions/Answers

java  April 29, 2010 at 7:30 AM
how to write a program that will create objects and display the number of objects created.(Java)..plzzz help me.. ... View Questions/Answers

java-script,jsp  April 29, 2010 at 6:31 AM
how can i shift to other page when my timer shows t<=0 .i.e timeout? ... View Questions/Answers

java,servlet,jsp  April 29, 2010 at 6:27 AM
i am doing a project on online examination system and in that there are problems that-- 1.i want to disable the back,forward and refresh button.Please give me the code for google crome browser. 2.suppose when i close the browser directly without ending the test then again the... View Questions/Answers

quesion  April 28, 2010 at 9:05 PM
dear sir, i am student presently doing one academic project,but i came across with a problem which is as..1)my project contains coding in java swing,servlets and wml scripts where i wana to access it through mobile...did i need to have separte wml file also..2)fo... View Questions/Answers

jsp listbox  April 28, 2010 at 5:26 PM
thanks for your earlier post.I have one list box filled from the datebase. i want my second listbox to be filled from the database based on the selection of first list box. without refreshing my jsp page. is this possible.thanks in advance. ... View Questions/Answers

DMCA.com