Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

sum database column  January 7, 2013 at 10:55 AM
please i have two columns-col1 and col2, col1 contain item and col2 contain the quantity of the item col1 col2 Key 4 Soap 5 seat 4 Key 3 Soap 4 how will i query the database to sum the Items ... View Questions/Answers

jdbc  January 7, 2013 at 10:29 AM
if i create one table that consist of usename ,joiningdate for joining date i have used varchar datatype not date . then we store date into database table as a string by using java .then what are the drawbacks. ... View Questions/Answers

JSP  January 7, 2013 at 8:44 AM
How to retrieve the dynamic html table content based on id and store it into mysql database? How to export the data from dynamic html table content to excel?Thanks in Advance.. Plz help me its urgent.. ... View Questions/Answers

Advertisement

Edge detection  January 7, 2013 at 3:27 AM
In an image i can detect edges using Gaussian smooth / Sobel but i have no idea how to count them. How can i describe an edge as numbers??? Or how can i draw a line on top of the image and then count it? Thanks ... View Questions/Answers

wifi problem  January 6, 2013 at 11:40 PM
iam used for wi-fi many site was bloacked but net was speed.am install ultrasurf software my wi-fi was very slow. why? ... View Questions/Answers

wifi problem  January 6, 2013 at 11:36 PM
iam used for wi-fi many site was bloacked but net was speed.am install ultrasurf software my wi-fi was very slow. why? ... View Questions/Answers

jTable data problem  January 6, 2013 at 8:28 PM
Hello. I have a code that read file and store in arraylist and then convert to array(To use for table model) My class extends abstracttablemodel correctly. My All Code is: import java.io.BufferedReader; import java.io.FileReader; import java.io.IOExce... View Questions/Answers

Selection based on other selection in jsp  January 6, 2013 at 6:00 PM
I am trying to create a jsp page. Where I am having a select list containing category name and for each category there are products which are taken from a ms access table using a java method getprodlist(number catid) where catid is the category id.the category id is taken by a f... View Questions/Answers

Prinnt UNICODE character on swing component  January 6, 2013 at 12:35 PM
Hello, I am trying to put unicode character n swing component. can anyone tell me how to do this? Thank you. ... View Questions/Answers

A program solution needed  January 5, 2013 at 8:57 PM
I need a solve for this problem please ! a program that displays grade statistics. The program should read any number of grades (up to 100) and ends when the user enters -1, the program should reject any invalid grade. You should store the numbers in an array The program displays... View Questions/Answers

error  January 5, 2013 at 8:34 PM
When I deploye the example I have this message cannot Deploy HelloWorld Deployment Error for module: HelloWorld: Error occurred during deployment: Exception while deploying the app [HelloWorld] : org.xml.sax.SAXParseExceptionpublicId: file:/C:/glassfish3/glassfish/lib/schemas/web-app25.... View Questions/Answers

forget password  January 5, 2013 at 8:29 PM
can i get coding for forgot password in jsp, need using javamail also cannot.. what should i do?? Thx ... View Questions/Answers

Registration page with JavaScript Validation  January 5, 2013 at 5:35 PM
HTML Registration page with JavaScript Validation - required source code ... View Questions/Answers

jtable  January 5, 2013 at 5:20 PM
i have build an application and i retrieve data from the database and store it in jtable.now i have to make a checkbox column in each row and also a select all option in header but i am not able to do so.i am getting error as:- Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: ... View Questions/Answers

Overriding jaxb binding at client side?  January 5, 2013 at 3:54 PM
How can override jaxb binding at client side? I have a webservice client which creates xmlgregoriancalendar object instead of date. How can I override it at client side? ... View Questions/Answers

Need to have numbers printed like this  January 5, 2013 at 3:43 PM
1 2 0 2 3 0 0 0 3 4 0 0 0 0 0 4 Can someone please help? ... View Questions/Answers

Number Pyramid  January 5, 2013 at 3:04 PM
Hi Everyone, Can someone help me write the code for the following number pyramid: print(" 1 2 0 2 3 0 0 0 3 ... View Questions/Answers

How to change the data in the table dynamically ?  January 5, 2013 at 2:34 PM
This is my code. I want to add a sort button in the page and if i select any sort option then the data displayed in the table below should get sorted dynamically in this jsp page only. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> ... View Questions/Answers

Reading big file in Java  January 5, 2013 at 12:55 PM
How to read a big text file in Java program? ... View Questions/Answers

How to create a class in java  January 5, 2013 at 12:34 PM
I am a beginner in programming and tried to learn how to do programming in Java. Friends please explain how can I create a class in Java. ... View Questions/Answers

classes  January 4, 2013 at 7:32 PM
differnce between class and object ... View Questions/Answers

LooselyCoupledSpring  January 4, 2013 at 6:21 PM
Hello Sir, Can you please explain Spring example comparing with normal Java Code and how it is loosely coupled. Suppose,when the code changes in any file,how it will not effect the other file in Spring. Please sir help me.... View Questions/Answers

LooselyCoupledSpring  January 4, 2013 at 6:21 PM
Hello Sir, Can you please explain Spring example comparing with normal Java Code and how it is loosely coupled. Suppose,when the code changes in any file,how it will not effect the other file in Spring. Please sir help me.... View Questions/Answers

Eucalyptus with Java  January 4, 2013 at 3:01 PM
I'm working in cloud now... Using Eucalyptus i hav set up a cloud. now i need to deploy a java application in the cluster controller.... could u pls pls pls help me with d steps to do that ????????!!!! ... View Questions/Answers

Java null pointer exception handling  January 4, 2013 at 1:37 PM
What is a java.lang.NullPointerException? Why do we use this exception class and when it occurs in any java program? Is this extends from exception class of Java? ... View Questions/Answers

dot net  January 4, 2013 at 12:38 PM
how to open a new window having detailed contents by clicking a marquee text in a page(like news details opening on clicking flash news title) in dot net 2003 ... View Questions/Answers

Jdbc RowSet  January 4, 2013 at 8:12 AM
import java.sql.*; import javax.sql.*; import java.sql.*; import javax.sql.rowset.*; import com.sun.rowset.*; public class RowSetTest { public static void main(String[] args) throws Exception{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); ... View Questions/Answers

Hibernate DetachedCriteria mutiple results in java  January 4, 2013 at 7:20 AM
This is the SQL statement that I have. SELECT FIRSTNAME, LASTNAME, USERTYPE FROM USERPROFILE INNER JOIN USERLOGINSTATUS ON USERPROFILE.USERID=USERLOGINSTATUS.USERID ORDER BY USERPROFILE.FIRSTNAME And I'm trying to execute the code below that I thoug... View Questions/Answers

Java file read write operation  January 3, 2013 at 10:47 PM
how to read and write the data from text file.Suppose i have text file with 4 fields name ,roll no ,marks1,marks2 with more than 20 records......i need to store these value in object and pass to the other class.Suggestion please ... View Questions/Answers

code for traffic control system simulation  January 3, 2013 at 7:57 PM
any one suggest which functions are used to develop a graphical view to traffic control system using awt and swing ... View Questions/Answers

how to update specific row in on update key in the Navicat for mysql trigger  January 3, 2013 at 7:12 PM
Blockquote insert into two(name, date) select name, curdate() from one on duplicate key update name=values(name) ... View Questions/Answers

How to create options in HTML  January 3, 2013 at 7:03 PM
How to create options in HTML? Please guide me. ... View Questions/Answers

Registration Form in HTML  January 3, 2013 at 6:55 PM
User Registration Form in HTML - i wanted to design a user registration form in HTML. So, Can anyone please guide me or give me a peace of code to design a user registration form in HTML. Thanks in Advance! ... View Questions/Answers

query regarding multiple select  January 3, 2013 at 6:25 PM
i have a select in jsp with multiple options.When i select multiple values i am not able to insert it into database and how do i retrieve them..please help me with an example code ... View Questions/Answers

JQuery date change event  January 3, 2013 at 5:01 PM
JQuery date change event I have been designing a date form in HTML and JQuery, wher i need two different date vales start date and end date for any event. I have already writen a function that allows users to choose from start & end... View Questions/Answers

Servlet  January 3, 2013 at 4:09 PM
Hi, Can any one please expalin me below topics SERVLET ENGINE 2.WHY SUPER.INIT(); Thanks alot in advance!! Regards: Akash ... View Questions/Answers

Inner class  January 3, 2013 at 3:10 PM
when we use inner classed in java ? ... View Questions/Answers

ACCESS DATABASE FROM HTML  January 3, 2013 at 2:17 PM
I want to access sql 2008 database in html page without help of ADODB connection.. because if access through ADODB means there is a security problem. so, Access database in html page(client side) with security.. i am new to programing, so let me to know..guide me.. Thanks advance Karthikeyan ... View Questions/Answers

jtextarea  January 3, 2013 at 12:27 PM
how to use append function in jtextarea?? i have build an application and i have to display only particular column data which can have multiple rows.it is not working with settext but using using append the value gets repeated itself.how to get the values only once.plzz help. ... View Questions/Answers

jtextarea  January 3, 2013 at 12:27 PM
how to use append function in jtextarea?? i have build an application and i have to display only particular column data which can have multiple rows.it is not working with settext but using using append the value gets repeated itself.how to get the values only once.plzz help. ... View Questions/Answers

Java upload file to ftp  January 3, 2013 at 12:17 PM
Hi, How to uploaded file to a ftp server in Java? Thanks ... View Questions/Answers

How to align the select tags in a single column.  January 3, 2013 at 11:13 AM
I am developing a JSP page with struts tags. In the JSP page I have a form where the candidate needs to enter his Date of Birth, for which I used for Date,Month and Year which are being displayed in three different rows but I want them in the same column. Can any one please help! ... View Questions/Answers

Command Prompt in UI  January 3, 2013 at 10:45 AM
Hi, Is there any API or JAR file for running all the windows command prompt commands like dir,echo,ping commands? If any please tell me what is it? Thanks & Regards---Vanchinathan.R ... View Questions/Answers

java code  January 3, 2013 at 8:51 AM
An employee _id consist of 5 digits is stored in a string variable strEmpid. Now Mr.Deb wants to store this Id in Integer type to IntEmpid. write Java statements to do this ? ... View Questions/Answers

Strings  January 3, 2013 at 5:52 AM
Create a package ; create a class it should provide a static method that returns the Sting array and takes a String as parameter. such as: The string passed will be a comma separated string e.g. this, is, a, String. This method will split the string with "," as a delimiter. the return St... View Questions/Answers

program  January 3, 2013 at 2:59 AM
Write a program to print details of a week for a particular day using array of objects Integer and String. OUTPUT: First Day of Week is Monday Second Day of Week is Tuesday Third Day of Week is Wednesday Forth Day of Week is Thursday Fifth Day of We... View Questions/Answers

question "writing prog"  January 2, 2013 at 11:38 PM
Hello I want helping for this question, please Write a program that reads some friendsâ?? names, stores them in an array, and then prints out on the screen all friends who start by a particular letter enter by the user. I should use an array! thanks ... View Questions/Answers

help me please  January 2, 2013 at 11:35 PM
Hello I want helping for this question , Please Write a program that reads some friends� names, stores them in an array, and then prints out on the screen all friends who start by a particular letter enter by the user. ... View Questions/Answers

jquery  January 2, 2013 at 7:57 PM
What are the Jquery similarities or difference with other java script libraries? ... View Questions/Answers

java program for me to see who are on my server  January 2, 2013 at 7:26 PM
Hello, Im a beginner in java, doing some tutorials and stuff. I wanna write a java program to put on my server where i wanna see if like 3 people are on my server PLUS that i want them so save their name and info on my server. ... View Questions/Answers

jTextArea  January 2, 2013 at 5:02 PM
how to get each/all values from ms access database into jtextarea of a particular entity..??Please Help.. ... View Questions/Answers

HTML login page code  January 2, 2013 at 1:29 PM
Hi all, I am writing my first HTML JavaScrip validation page called "UserLogin.html". So, please guide me how to validate user and password feild in JavaScript? If possible then please provide me the complete HTML JavaScript code for User Login Page. Thanks in Advance! ... View Questions/Answers

Minute to Win It  January 2, 2013 at 11:56 AM
Frnds i urgently need the code for an online game similar to cows and bulls played by two opponents. The game can be played with 2digits, 3digits and also with 4digits at different levels respectively. Computer selects a two digit number, all digits are different. In current implementation numbe... View Questions/Answers

arrays  January 1, 2013 at 8:52 PM
can anyone help me out with this two programs plz?? in a main class ,create an array {4,34,5,3,6,8,1} remove 3 and 5th element and shift following left and adding zero at the end of array... another one is to search a numeric value nd search it plzz... ... View Questions/Answers

Eucleadian formula  January 1, 2013 at 6:22 PM
Finding Kth Nearest And Farthest Neighbor Of An Point By Implementing Euclidean Formula..Can any one able 2 provide me a java code for this.... ... View Questions/Answers

SEARCH AND SORT  January 1, 2013 at 3:59 PM
Cam any one provide me the code in java that : Program to search for MAX,MIN and then SORT the set using any of the Divide and conquer method... ... View Questions/Answers

Mouseover Image Dispaly  January 1, 2013 at 10:41 AM
Hi, I need HTML code for mouseover image display, when the mouse is on some text. Thanks in advance. ... View Questions/Answers

how to show random image in ASP.net?  December 31, 2012 at 10:04 PM
hello bros i saw in many websites..there is a programming of random image changing.... i want to use this in my ASP.NET websites, can any one suggest me code or any kind of help..so that i can do it.may be it will dot net or may javascript code..suggest me bros ... View Questions/Answers

Resultset with one to many relationship  December 31, 2012 at 5:01 PM
Suppose there are 5 tables in database named A,B,C,D and E. A has one to many relationship with B,C,D and D has one to many relationship with E. Beam class of A contains array of Class B,C, and D Bean class of D contains array of Class E Suppose my query is Select * from A a, B b , C c , ... View Questions/Answers

Result Set one to many mapping  December 31, 2012 at 3:58 PM
Suppose there are 5 tables in database named A,B,C,D and E. A has one to many relationship with B,C,D and D has one to many relationship with E. Beam class of A contains array of Class B,C, and D Bean class of D contains array of Class E Suppose my query is Select * from A a, B b , C c , ... View Questions/Answers

arrays  December 31, 2012 at 2:32 PM
Write a program to print details of all the months with number of days in a year (Leap or Non Leap year) using array of objects Integer and String. ... View Questions/Answers

Vitamio example  December 31, 2012 at 2:30 PM
Please Give me Whole Code with Manifest file for vitamio example in Android...for Playing Video in Videoview. ... View Questions/Answers

java  December 31, 2012 at 2:29 PM
Hi I want to take an input msg from the user in a textbox in a jsp. (Enter your msg[ ]) So user enter a msg eg "Hello " and clicks o submit button and then control goes to a new jsp. In the new jsp i want to display the msg(the msg that the user entered in the textbox )in an textarea. ... View Questions/Answers

Bank Management System  December 31, 2012 at 1:03 PM
I need a Bank Management System Project in Java Swing ... View Questions/Answers

JdbcCallableStatement  December 31, 2012 at 11:36 AM
-------procedure to create oracle9i database-------------------- CREATE OR REPLACE PROCEDURE EXPERIENCE_PRO(ENO NUMBER,E OUT NUMBER)IS d1 date; d2 date; BEGIN select sysdate into d1 from emp where empno=eno; select sysdate into d2 from dual; e:=(d2-d1)/365; END; --------------------------... View Questions/Answers

Stacked Bar Chart  December 31, 2012 at 11:11 AM
How to display a stacked bar chart using java from the values stored in the ms access database?Plzz help..its urgent. ... View Questions/Answers

create dropdown cell in csv or excell from mysql data in php  December 30, 2012 at 11:51 PM
Hello sir i want to create drodown cell in csv from mysql data is this is possible or not? if this is posible please share answer or reference link Thanks in advance ... View Questions/Answers

program  December 30, 2012 at 10:27 PM
)Create a class called College with a method displayDetails which should print "IIT Mumbai" in console. Inside the main method instantiate the College class and invoke the method. ... View Questions/Answers

program  December 30, 2012 at 10:23 PM
Create a class called Employee with member variables employeeId, employeeDept and employeeSalary. Create a method called setEmployeeDetails with three parameters to set the employee details. Create another method called print to display the employee details in below format: <... View Questions/Answers

Remove JTable row that read txt file records  December 30, 2012 at 10:01 PM
Hi every one. i have a jtable that correctly read data frome file and show them in own. I want to add a "Delete" button that when select a row and clicked button, row must deleted. But, when i click the button, row dont deleted and a ArrayOutOutBoundsException occur. my whole code is this... View Questions/Answers

help  December 30, 2012 at 1:48 PM
please answer these two assignments every one related to each other for me before Tuseday I answer the first part please continue to me?? public abstract class Person implements Comparable { private int CivilNumber; private String Name; private double Salary... View Questions/Answers

Barcode reader  December 30, 2012 at 4:40 AM
hi all, i wont to operation in the out put from Barcode reader. dose java support Barcode reader`s result ... View Questions/Answers

java arrays  December 29, 2012 at 11:24 PM
i need a java program to store student details like id,name,addr,marks,average,total..using arrays..input data using scanner class and by using class, object and constructor.... ... View Questions/Answers

java  December 29, 2012 at 3:05 PM
Hi I want to take an input msg from the user in a textbox in jsp and then control goes to a new jsp on click of button.In the new jsp i want to display the msg in an textarea. Plz help Thanks ... View Questions/Answers

jsp  December 29, 2012 at 1:12 PM
I can't get any answer please guide me..i got an exception which is shown in star above in my yesterday program ... View Questions/Answers

javascript introduction for programmers  December 29, 2012 at 1:10 PM
A brief Introduction of JavaScript(web scripting language) for Java Programmers. ... View Questions/Answers

can we use scanner class,class , object and methods to get output without using constructor ????  December 29, 2012 at 12:57 PM
im getting error here..i hav used scanner class for the input at the run time ..and created the object to call the methods...why am i getting error here... can we get output using scanner class , object and methods without using constructor??? //Program to illustrate the classes and obje... View Questions/Answers

document.getElementById  December 29, 2012 at 12:56 PM
What is the use of document.getElementById method in JavaScript? Please provide a short example of this method in HTML. ... View Questions/Answers

jsp  December 28, 2012 at 7:52 PM
<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="error.jsp"%> <%@page import="com.ingenious.impicitdao.*,com.ingenious.bean.*"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd... View Questions/Answers

StrutsHibernateProject  December 28, 2012 at 5:54 PM
Hi.... I am pravesh yadav, currently working on struts and hibernate framework,can anyone post some examples for the same,targeting database transactions. ... View Questions/Answers

servlet  December 28, 2012 at 3:55 PM
Hi, Can we run cmd.exe in serlvet? if possible please give one example. Thanks & Regards ... View Questions/Answers

string manipulation in xml  December 28, 2012 at 3:11 PM
im working on build.xml using apache ant... in one of the targets i am assigning a var file with the full path of .sql files present in a folder. while executing that .sql file in xml its giving me error as ""\" unexpected character" solution is I have to chage every "\" with "\" but couldnt find... View Questions/Answers

Clearing session in jsp  December 28, 2012 at 3:10 PM
i have developed a web appilcation using jsp and when user try to logout, session is not clearing even though i have used session.invalidate() and session.removeAttribute("username"); session.removeAttribute("type"); When i press back button of browser it redirects to previous page of the user.<... View Questions/Answers

java.lang.NoSuchMethodError for registerColumnType  December 28, 2012 at 11:24 AM
hi i am trying to build a small project which automatically creates the table schema.while building i am getting the error that registerColumnType method is not present though i have added the jar file containing org.hibernate.dialect.* and have defined my required dialect in the hibernate.cfg.xm... View Questions/Answers

java  December 28, 2012 at 10:37 AM
can you give an example of how to use servlet context ... View Questions/Answers

jdbc odbc  December 28, 2012 at 9:12 AM
Sir, i want to get the selected value from JCombobox to ms access database...means the value which i selected it may me text or number simply i just want to print in ms access or stored on ms acess databse in selected comlumn??? ... View Questions/Answers

search from database  December 28, 2012 at 4:44 AM
DBUtil util = new DBUtil(); try { JOptionPane.showMessageDialog(null, "Connection Opened!"); Connection con = util.getConnection(); PreparedStatement stmt = con.prepareStatement("INSERT INTO dbo.mut_det(rm_id,box_no,weight,note_state,d... View Questions/Answers

HQL update problem  December 28, 2012 at 2:02 AM
public void saveGuest(List<Long> listid) throws HibernateException{ SessionFactory sf=HibernateSessionFactory.getSessionFactory(); System.out.println(listid); //long ID=0; try { session=sf.openSession(); Query qry= session.crea... View Questions/Answers

jdbc odbc  December 27, 2012 at 10:15 PM
i want to fetch the data from the ms access and print on ms word for printing purpose?? the whole program is in swing to ms acess connectivity.. the whole set up is perform only printing part is remaining? so help me how can i perform operation thanks in advanced... ... View Questions/Answers

jdbc odbc  December 27, 2012 at 10:15 PM
i want to fetch the data from the ms access and print on ms word for printing purpose?? the whole program is in swing to ms acess connectivity.. the whole set up is perform only printing part is remaining? so help me how can i perform operation thanks in advanced... ... View Questions/Answers

type casting  December 27, 2012 at 10:04 PM
what is type casting ... View Questions/Answers

java bit  December 27, 2012 at 9:55 PM
what is java bit ... View Questions/Answers

what is bit  December 27, 2012 at 9:52 PM
what is bit ... View Questions/Answers

struts 1.3  December 27, 2012 at 4:23 PM
please provide me a login application using struts1.3 hibernate and mysql thanks ... View Questions/Answers

inserting all the values in a html table column  December 27, 2012 at 1:53 PM
strong text hai everyone, i'm a fresher to servlet i need to know that, how can i insert all the values in a html table column into a database. Thanks in advance. ... View Questions/Answers

Technical words for Business Analyst  December 27, 2012 at 1:52 PM
Please provide me the list of technical words that a business analyst can use while creating artifacts. ... View Questions/Answers

How to design project document for client and programmer  December 27, 2012 at 1:43 PM
As a business analyst, how one can create a tailored artifacts for client and programmer. ... View Questions/Answers

n raised to power p  December 27, 2012 at 1:21 PM
wap to input 2 integers n and p.find and print n raised to the power p without using Math.pow() function ... View Questions/Answers

series  December 27, 2012 at 12:32 PM
wap to generate and display 54321 4321 321 21 1 in blue j without using any buffered or anything,i want only a simple prg ... View Questions/Answers

c code  December 27, 2012 at 12:26 PM
c code for this formula x=(y-0.22z-072)4; where y=7.32 x=3.1 then ans x=23.9 end code for this ... View Questions/Answers

DMCA.com