Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java question  January 9, 2013 at 7:30 PM
Hello sir/mam, In collection there is method called toArray() which is used to convert collection into array at tat time array is used 2 store diffferent objects,how is it possible can you describe it briefly? ... View Questions/Answers

problem with package  January 9, 2013 at 7:13 PM
Dear sir, i have created one java file with package com.net; and i compiled the program.it showing the .class file in " net" folder.The problem is i want to use that .class file in some other project.well i created the object and set the class_path but still it showing error message as can n... View Questions/Answers

Jbutton  January 9, 2013 at 6:18 PM
How to get the enter key function in multiple jbutton?? ... View Questions/Answers

Advertisement

com in ms word  January 9, 2013 at 4:39 PM
how to use com object to fetch data from ms word and storing it into sql database. ... View Questions/Answers

com in ms word  January 9, 2013 at 4:39 PM
how to use com object to fetch data from ms word and storing it into sql database. ... View Questions/Answers

what is business policy & strategic management  January 9, 2013 at 4:08 PM
what is business policy & strategic management? Is there any difference in between two? ... View Questions/Answers

jtabbedpane  January 9, 2013 at 3:56 PM
How to add jtextfield or jtabbedpane by coding using java netbeans?? plzz help ... View Questions/Answers

VERIFICATION  January 9, 2013 at 3:02 PM
How to send verification mail on alternate mail id which is filled in login detail by directly catch the alternate mail id after login submission. ... View Questions/Answers

Time Table in Java  January 9, 2013 at 1:07 PM
Hi, Deepak i am developing a time table for a school on java,but i am confuse how to start so please give me idea about this. ... View Questions/Answers

retrieving image from mysql db with standard height and width  January 9, 2013 at 11:26 AM
Hi . Here is my code to retrieve an image from mysql db. Its working properly. But i want the image with specified width and height. How to specify it in this code. Thanks in advance. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" ... View Questions/Answers

retrieving image from mysql db with standard height and width  January 9, 2013 at 11:25 AM
Hi . Here is my code to retrieve an image from mysql db. Its working properly. But i want the image with specified width and height. How to specify it in this code. Thanks in advance. <%@ page language="java" contentType="text/html; charset=ISO... View Questions/Answers

Collection Framework  January 9, 2013 at 1:21 AM
Please help me out..I have a class as below public class Employee { private int Id; private String name; private int salary; private int age; } public class Collection { public static void main(String[] ar... View Questions/Answers

java question on exception  January 8, 2013 at 11:22 PM
can we use inbuilt exception variable with throw keyword in java ... View Questions/Answers

How to get the full path location using input type=file  January 8, 2013 at 6:36 PM
Hi. I have used input type=file> in HTML to select an image. But it selects only the image but not with its full path location. how to do it? Thanks in advance. ... View Questions/Answers

currency symbols in excel  January 8, 2013 at 6:21 PM
How to add a currency symbol in Excel sheet? Please guide me. ... View Questions/Answers

How to check text in textbox using JavaScript  January 8, 2013 at 6:11 PM
How to check text in textbox using JavaScript I have a form in HTML that contains text feilds and a submit button. The main purpose of this form is to take input from user. My qestion is that is it possible to check text feilds for text or null value. I want the HTML form... View Questions/Answers

search for exact match in excel  January 8, 2013 at 5:49 PM
How to search for an exact match in excel and show data if the matched sting is found? Please tell me the script. Thanks in Advance! ... View Questions/Answers

what is sata cables for hard drive  January 8, 2013 at 3:34 PM
what is sata cables for hard drive? ... View Questions/Answers

How to give value for select in HTML dynamically using javascript  January 8, 2013 at 3:34 PM
hi. Consider the situation i am having 2 select options called degree and department. if i select a degree the departments corresponding to that degree only should be displayed in the dept list. how to do this using javascript? ... View Questions/Answers

to fetch data from ms word and storing into database  January 8, 2013 at 2:13 PM
i want to know how to fetch datafields from ms word and storing into database??? please answer soon .its urgent. ... View Questions/Answers

constructor inheritance  January 8, 2013 at 1:07 PM
can we inherit constructor ?if not then why yhis example is given class A { public A() { System.out.println("In A ctor"); } } class B extends A { public B() { System.out.println("In B ctor"); ... View Questions/Answers

in string how will write the return statement..........?  January 8, 2013 at 12:43 PM
import java.util.Scanner; class BinaryConversion12{ static int j=1; static int l=1; public static void main(String args[]){ int i=Integer.parseInt(args[0]); if(i>=256){ System.out.println("please enter decimal no should be lessthan 256"); } else{... View Questions/Answers

how to dynamically create one file with any example in php  January 8, 2013 at 12:17 PM
how to dynamically create one file with any example in php ... View Questions/Answers

jFormattedTextField  January 8, 2013 at 11:54 AM
Restrict TextField to enter only 2 digits before and after decimal point in Java Swings? please help ... View Questions/Answers

Tag In Project POM To Close My Java Application If JRE 1.6 Is Not Found?  January 8, 2013 at 11:31 AM
I have an application compiled in Java. I build my code through Maven. I want a tag in my project POM, so that if JRE 1.6 is not found in the system during run-time, it should not allow my Java application to launch. Can I get any help with regard to this ? ... View Questions/Answers

pass data from java frame to file  January 8, 2013 at 9:54 AM
i want to write the data to file, and data must be copy from java frame java frame contains 7-8 labels n below that 1 table. i want store all this data to 1 file. plz help me ... View Questions/Answers

Image in mysql  January 8, 2013 at 9:36 AM
Hi. How to insert and retrieve images in mysql db using JSP or JAVA Servlet? Thanks in advance. ... View Questions/Answers

Exception occurred com.mysql.jdbc.PacketTooBigException  January 8, 2013 at 9:34 AM
Hi. I am trying to insert an image to mysql db. but I am getting the exception "Exception occurred : com.mysql.jdbc.PacketTooBigException: Packet for query is too large (2291161 > 1048576). You can change this value on the server by setting the maxallowedpacket' variable.". how to resolv... View Questions/Answers

Exception: com.mysql.jdbc.Driver  January 7, 2013 at 9:15 PM
How to resolve Exception: com.mysql.jdbc.Driver in netbeans? Thanks in advance. ... View Questions/Answers

netbeans with mysql and tomcat  January 7, 2013 at 9:09 PM
Hi. I have to run a JSP or JAVA file in netbeans with mysql database and tomcat server 7.0. But while the page loading itself it say error. ClassNotFoundException: com.mysql.jdbc.Driver. How to resolve it. Thanks in advance. ... View Questions/Answers

Running Java Applications as software  January 7, 2013 at 5:40 PM
Please tell me what to do if you want your java application to run like a real software,eg a java GUI application that connects to the database(Mysql)running on the computer like any other windows software. ... View Questions/Answers

jbutton  January 7, 2013 at 5:08 PM
How to use enter function in jbutton?plzz help ... View Questions/Answers

update the java code in Tortaise SVN  January 7, 2013 at 5:07 PM
HI , I need to update the code in my local workspace. after installing SVN plugins all projects are showing block astricks in my code . please let me know how to processed further to get latest code through Tortaise SVN in IBM Rational application. ... View Questions/Answers

upload image and fields.....fields is id name.....  January 7, 2013 at 3:07 PM
Hi this is sreenu my problam is capcharing data to the servler thi is my frame Id: Name: browse:Image are file; ... View Questions/Answers

upload image and fields.....fields is id name.....  January 7, 2013 at 3:07 PM
Get Data using Java Servlet The frame takes following input.. Id: Name: browse:Image are file;... View Questions/Answers

Core Java  January 7, 2013 at 1:02 PM
Hi, can one please share the code to count the occurance of each charaters in a given String?? For example: String is "aabbcad" o/p will be:- a3b2c1d1 or a=3, b=2,c=1,d=1 ... View Questions/Answers

changing the file content  January 7, 2013 at 12:44 PM
I have requirement like this, a file contain maximum 1000 lines. I want to cahnage the 501 line content. I know this logic , reading the file content and changeing the 501 line content and crating one more file and storing this changeing information String line=null;... View Questions/Answers

What is webservices?  January 7, 2013 at 12:11 PM
What is web-services and what are the different types of web-services? It would be great if someone explain me the difference between these types of web-services in Java. ... View Questions/Answers

Sum database colum in java  January 7, 2013 at 11:07 AM
please i have two columns-col1 and col2, col1 contain item and col2 contain the quantity of the item columns and their corresponding quantity: cup 4, Soap 5, seat 4, cup 3, Soap 4 how will i query the database to sum the Items and display output so that it will be like this Cup ... View Questions/Answers

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

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

DMCA.com