Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Closing the browser window  March 11, 2011 at 1:08 AM
<BODY> <form> <input type=button value="Close Window" onClick="javascript:window.close();"> </form> <center> <font face="arial, helvetica" size="-2">Free JavaScripts provided<br> by <a href="http://javascriptso... View Questions/Answers

bufferReader and InputStreamReader  March 10, 2011 at 11:53 PM
bufferReader and InputStreamReader are used for what purpose? ... View Questions/Answers

jsp program  March 10, 2011 at 10:08 PM
for example assume four user u1,u2,u3,u4 having the passwords pwd1,pwd2,pwd3,pwd4 respectively.write a servlet for doing the following 1.create a cooki and add these four user id's and passwords to this cookies 2.read the user id password in log in form and authenticate with the value avilable(us... View Questions/Answers

Advertisement

kittz  March 10, 2011 at 8:12 PM
here is a code it is giving error in this part using netbeans incompatible types required: word.SearchName (which is my class name) found : java .lang.Object for (SearchName s : alist) { if (n.equals(s.getName())) { ... View Questions/Answers

stack in java/  March 10, 2011 at 7:55 PM
java code for stack push pop and display operation? thanks ... View Questions/Answers

Grid rows delete issue  March 10, 2011 at 7:27 PM
I have a grid having rows with Remove button to remove rows,But we also havae an facility to remove those rows on onchange event of dropdown also,so if we delete middle row and then remove all rows on onchange of dropdown then because of rows indexing issue,they can't get middle row index value ... View Questions/Answers

jav  March 10, 2011 at 7:15 PM
i need to search word from a unicode txt file using java netbeans can someone help me with some code . ... View Questions/Answers

simple calculator program in javascript  March 10, 2011 at 6:54 PM
strong textsimple calculator in javascript ... View Questions/Answers

java code to open and display MS-word document  March 10, 2011 at 6:16 PM
java code to open and display MS-word document ... View Questions/Answers

help with substring in c programing  March 10, 2011 at 5:06 PM
Hi I could not found programming in C in the "select category" so I am posting my question in java section. Please help with substring function,prompt the user for two strings and display whether or not the second string is a substring of the first string. Regards ... View Questions/Answers

connection with MySQL to java.  March 10, 2011 at 4:59 PM
how to connect MySQL database with jsp.. ... View Questions/Answers

Java Wrieless Toolkit  March 10, 2011 at 4:40 PM
MY application code does not work on the Java Wireless Toolkit- import java.io.*; public Write{ public static void main(String[] args) throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out... View Questions/Answers

Databases supported by Jdeveloper?  March 10, 2011 at 4:25 PM
I want to know what databases are supported by jdeveloper ?and any light database for jdeveloper? ... View Questions/Answers

hibernate problem  March 10, 2011 at 3:41 PM
please help me.... log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" org.hibernate.HibernateException: /hibernate.cfg.xml not found at org.hibernate.util.ConfigHelper.ge... View Questions/Answers

session  March 10, 2011 at 1:08 PM
how can transfer data of one page to another page using session in java swing. ... View Questions/Answers

Tomcat server/any application server  March 10, 2011 at 1:08 PM
how the server understands request is coming from client and how can it give response within very short span of time? ... View Questions/Answers

servlets  March 10, 2011 at 12:31 PM
hi i am using servlets i have a problem in doing an application. in my application i have html form, in which i have to insert on date value, this date value is retrieved as a request parameter in my servlet. and it was in the form of string. so my question is, how to convert that string ... View Questions/Answers

parsing xml file using java code  March 10, 2011 at 12:08 PM
parsing a xml file using java code ... View Questions/Answers

How to Overcome proxy in Java URL connection  March 10, 2011 at 11:55 AM
Hi, I'm just trying to make java url connection. But it shows some errors due to proxy ..... I would like to read a URL (http://google.com) using java url, i made the url connection but i'm not overcome the proxy setting.Please send me the example on how to set the proxy setting in my java ... View Questions/Answers

how to retrieve data into combo from database in java applet?  March 10, 2011 at 11:14 AM
hi,. i have written applet codes for linking two frames and database connectivity but the problem is, the database is not retrieving data into the combo..please somebody help me for the right set of codes.i have attached the codes. //First page import java.awt.*;... View Questions/Answers

Using throw in java method  March 10, 2011 at 10:27 AM
using throw with method implies what ... View Questions/Answers

problen in displaying the text and image in gallery using Android  March 10, 2011 at 9:28 AM
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); gallery = (Gallery) findViewById(R.id.gallery1); imgView = (ImageView)findViewById(R.id.ImageView01); imgView.setImageResource(Imgid... View Questions/Answers

how to make enable/disable textbox in while(rs.next)  March 10, 2011 at 7:31 AM
Hi, I'm trying to enable/disable the textbox in the while loop. It works but when i want to update my data, the data are not updated correctly. When i remove the enable/disable function,the data are updated correctly. Is my javascript wrong? How do i correct it? Please help. Thank you. (only the ... View Questions/Answers

how to make enable/disable textbox in while(rs.next)  March 10, 2011 at 7:31 AM
Hi, I'm trying to enable/disable the textbox in the while loop. It works but when i want to update my data, the data are not updated correctly. When i remove the enable/disable function,the data are updated correctly. Is my javascript wrong? How do i correct it? Please help. Thank you. (only the ... View Questions/Answers

what is set value or get value mathod?  March 10, 2011 at 6:16 AM
i create a JTable in this table it containt 3 column or 10 rows. i want to get two value from access file db1 and i want to set third value in third column and set it in again db1? pls tell me the method and source code for it. thanks a lot...........have a good day. ... View Questions/Answers

automatically move next page when data fetched from database is stored in text field  March 9, 2011 at 11:50 PM
hi I have php page where i have two text fields . The data are stored in database wherein when the in the first text field the data is already stored when data in second text is tried to enter or automaticaaly fetched from database and entered the next page should load without the user click... View Questions/Answers

to get picture from ms access database by jsp-servlet....  March 9, 2011 at 11:44 PM
I have inserted a picture in ms access data base,,,how we can retrieve that picture by using jsp....... ... View Questions/Answers

versions of servlets and JSPs?  March 9, 2011 at 11:19 PM
can you tell me the all versions of servlets and JSPs? ... View Questions/Answers

why we use ^ operator in sql, and what is the meaning of that operator?  March 9, 2011 at 10:51 PM
why we use ^ operator in sql, and what is the meaning of that operator? ... View Questions/Answers

java  March 9, 2011 at 9:17 PM
how to write a java program to solve a quadratic equation? ... View Questions/Answers

java  March 9, 2011 at 9:14 PM
how to write a java program to solve quadratic equation? ... View Questions/Answers

About hibernate using struts  March 9, 2011 at 8:33 PM
what are the advantages are occured when using struts in hibernate? what are the inconvenient occur in hibernate using struts in hibernate? how they are overcome? if any another solutions are there? ... View Questions/Answers

how to dynamically add text boxes with add and remove link based on drop down choices, if a particular choice is selected.  March 9, 2011 at 8:28 PM
how to dynamically add text boxes with add and remove link based on drop down choices, if a particular choice is selected. ... View Questions/Answers

Min Value  March 9, 2011 at 6:50 PM
How to access min value of column from database table? ... View Questions/Answers

java jobs Bangalore jobs  March 9, 2011 at 5:52 PM
HOW TO FIND OUT HEAP MEMORY IN CASE OF JAVA PROGRAM? ... View Questions/Answers

Acess Record from database.  March 9, 2011 at 5:32 PM
How to access records from database and how to display it on view page, with the help of hibernate? ... View Questions/Answers

please help me.  March 9, 2011 at 5:21 PM
Please send me a code of template in opencms and its procedure.so i can implement the code. Thanks trinath ... View Questions/Answers

Adapter Class  March 9, 2011 at 5:03 PM
Hello Everybody, Can anybody help me to describe what is Adapter class and when to use this class and give a suitable example. thanks Sagar ... View Questions/Answers

Select Clause in hibernate.  March 9, 2011 at 4:34 PM
Example of select clause of hibernate ? ... View Questions/Answers

Select Clause in hibernate.  March 9, 2011 at 4:34 PM
Example of select clause of hibernate ? ... View Questions/Answers

Select Clause in hibernate.  March 9, 2011 at 4:34 PM
Example of select clause of hibernate ? ... View Questions/Answers

DIFFERENCE BETWEEN APPLICATION SERVER AND WEB SERVER  March 9, 2011 at 3:46 PM
What is the difference between application server and web server ... View Questions/Answers

private constructor  March 9, 2011 at 3:33 PM
can we extend from a class which is having private constuctor ... View Questions/Answers

Java Script  March 9, 2011 at 2:06 PM
I want to display an error message for the validation of email at the top of the page in red font i want to use java scripts but i dont want to use alert box what i need to do ... View Questions/Answers

Calculate an average Age of my Class?  March 9, 2011 at 2:06 PM
average age of my class? ... View Questions/Answers

Average Age of my Class?  March 9, 2011 at 2:04 PM
average age of my class? ... View Questions/Answers

S.P  March 9, 2011 at 2:00 PM
TY very much this coding. this is very used for me. ... View Questions/Answers

inserting picture in ms access  March 9, 2011 at 1:56 PM
hi i am sanatan, how to insert picture in ms access by jsp. ... View Questions/Answers

Code for Pattern  March 9, 2011 at 1:24 PM
* * * * * * * * * * * Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method ... View Questions/Answers

Code for Pattern  March 9, 2011 at 1:23 PM
* * * * * * * * Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method ... View Questions/Answers

Code for Pattern  March 9, 2011 at 1:22 PM
* *** * * Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method ... View Questions/Answers

Code for Pattern  March 9, 2011 at 1:21 PM
1 1 12 12 123 123 1234512345 Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method ... View Questions/Answers

Code for Pattern  March 9, 2011 at 1:20 PM
1 121 2342 45674 6789106 Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method ... View Questions/Answers

Code for Pattern  March 9, 2011 at 1:19 PM
1 23 345 5678 891011 Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method ... View Questions/Answers

Coder for Pattern  March 9, 2011 at 1:17 PM
1 12 123 1234 12345 please write the program of above pattern and do not use string tokennizer string buffer i mean to say that please use very simple method Thanks ... View Questions/Answers

Delete and edit data in xml file using JSP  March 9, 2011 at 12:49 PM
I want to know how to delete and edit data from an XML file by use of JSP. I have XML file having tasks(root node),task id,project,date(as child nodes). I have many tasks stored in the xml file,I want to delete and edit some tasks using task id then how can i do it in JSP.Please help with exampl... View Questions/Answers

Steps to create simple EJb 2.1 (Session Bean) and deploy on websphere application server 6.0,  March 9, 2011 at 12:27 PM
Hi friends, I am trying to create simple hello world session bean having Java client. but i am unable to run it on Websphere application server. can any one please send me steps how i create EJB 2.1 and deploy it on WAS 6.0. I searched on this forum also i got some example but i ... View Questions/Answers

count in hibernate .  March 9, 2011 at 12:15 PM
How to implements count in hibernate ? ... View Questions/Answers

Jsp error when i run this a jsp file  March 9, 2011 at 12:05 PM
hi I got this error when i run the jsp file in IDE and outside also please help me java.lang.NullPointerException org.apache.jsp.insertjsp.jspInit(insert_jsp.java:22) org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) org.apache.jasper.servlet.Jsp... View Questions/Answers

Servlets  March 9, 2011 at 12:00 PM
What is the filter code to authenticate the user? ... View Questions/Answers

HQL  March 9, 2011 at 11:50 AM
What is the HQL in hibernate ? Explain the use of HQL. ... View Questions/Answers

collections  March 9, 2011 at 11:31 AM
1.Create class Dog with instance variable breed and height. Create 5 instances of Dog and add it to the Treeset dogSet. The Treeset should be in sorted order of height using a Comparator interface. Iterate through the Treeset using a for-each loop and print the height and breed of each Dog. ... View Questions/Answers

collections  March 9, 2011 at 11:30 AM
1.Create an ArrayList of Object Planet with instance variable name and colour. Add 5 planets to the ArrayList planetList. Sort the ArrayList in ascending order of name and descending order of colour using comparator interface. (Note: Do not use comparable Interface) ... View Questions/Answers

understanding buttons :JSP random no program  March 9, 2011 at 11:18 AM
I hav java random no generator program but i need to implement it in JSP such that page generates random no between 100 and 200 on loading and on clicking submit button it ives message box or just shows on page "no is less"if it less then 150 else shows "no is greater" please help me to understan... View Questions/Answers

strings  March 9, 2011 at 11:18 AM
1.Create a class StringDemo. Use the methods available in String object to display the mentioned output without using concat() method String s1 = ??Hello?? Output : hellO --- WOrldHellO For the above String s1, Display the same output using Chained methods ... View Questions/Answers

strings  March 9, 2011 at 11:17 AM
1.Create a class named BuilderDemo. Use the string builder method to get the following output from string s4 Consider: String s4 = ??Java is an OO ?? Output : language OO na not si avaJ ??? Consider: String s5 = ?? Todays Date is = ?? Output : Todays Date = 7/3/2011 ... View Questions/Answers

strings  March 9, 2011 at 11:16 AM
1.Create a class named BuilderDemo. Use the string builder method to get the following output from string s4 Consider: String s4 = ??Java is an OO ?? Output : language OO na not si avaJ ??? Consider: String s5 = ?? Todays Date is = ?? Output : Todays Date = 7/3/2011 ... View Questions/Answers

files  March 9, 2011 at 11:15 AM
1.Create a class called ObjectTest. Use the ObjectInputStream and ObjectOutputStream classes to read and write from the file ??obj.txt??. Create variables and initialize them with the values to be written to the file. Once it is written, use ObjectInputStream to read those values from the file.... View Questions/Answers

files  March 9, 2011 at 11:15 AM
1.Create a class called CopyFromFile. Use the character stream classes to first read from the file ??employee.txt?? and write it to the ??copy.txt?? file? Now Convert the unbuffered stream into a buffered stream using the wrapping idiom. ... View Questions/Answers

files  March 9, 2011 at 11:14 AM
1.Create a class called ReadFromFile. Create a file object and use the file object to create an input stream object to read the file ??employee.txt?? (use byte stream classes).If the file does not exists an exception should be thrown. An error message along with the path of the file(use the get... View Questions/Answers

How to create one xml file from existing xml file's body?  March 9, 2011 at 11:11 AM
Hi, i'm working with content optimization system.I want to know how we can take all data from an xml doc's body to develope another xml with that content.I'm using JDOm in my project.Could anybody help me to know about this as i'm a beginner in programming. ... View Questions/Answers

HTTP Status 500 -  March 9, 2011 at 11:08 AM
Hi, I am new to jsp... Installed Tomcat 5.5... Built in examples works good... I m trying to run simple jsp program which i wrote. i can see these errors... HTTP Status 500 - type Exception report message description The server encountered an internal... View Questions/Answers

strings  March 9, 2011 at 10:55 AM
1.Write a class Calculator, that will take two command line double arguments and â??+â??,â??-â??,â??/â?? or â??*â??. Signal an error if the user does not give the arguments. In the class declare two Double type instance variables. Based on arg3, perform the co... View Questions/Answers

Javascript  March 9, 2011 at 10:49 AM
in the web form the phonenumber field should be like this format xxx-xxx-xxxx, i want the code in javascript. as a function. ... View Questions/Answers

edit the flash video file using html5  March 9, 2011 at 10:46 AM
hi iam vivek i have a flash file i want to edit it with html5 please reply ... View Questions/Answers

how to develope an xml document with existing documents's body content?  March 9, 2011 at 10:43 AM
Hi, i'm working with content optimization system.I want to know how we can take all data from an xml doc's body to develope another xml with that content.I'm using JDOm in my project.Could anybody help me to know about this as i'm a beginner in programming. ... View Questions/Answers

installation error  March 9, 2011 at 9:58 AM
hi, m getting an error like " semicolon found in the selected path".how to resolve this error? during installation of jdk 1.6 ... View Questions/Answers

files  March 9, 2011 at 9:01 AM
1.Create a class StringDemo. Use the methods available in String object to display the mentioned output without using concat() method String s1 = â??Helloâ?? Output : hellO --- WOrldHellO For the above String s1, Display the same output using Chained methods ... View Questions/Answers

servelet connectivity with oracle using procedure  March 9, 2011 at 3:43 AM
kindly elaborate how servlet code connect to oracle br using procedure ... View Questions/Answers

getters and setters  March 9, 2011 at 3:36 AM
Create a Pet class that contains the following properties: A species (cat, dog, hamster, etc) an age, and an age_factor that represents the average lifespan of the animal compared to humans. (for example, the average lifespan of a hamster is about 2 years. the average human lives a little longer ... View Questions/Answers

in order to create jsp and servlet code to add,delete,edit,list of persons in eclipsejavaee  March 9, 2011 at 3:11 AM
in order to create jsp and servlet code what all files we need to create in eclipse --dynamic web project ... View Questions/Answers

bird feeder system code  March 9, 2011 at 2:27 AM
i want to know about "bird feeder a business solution system in java" please help me for details. how can develop this system please tell me. ... View Questions/Answers

bird feeder  March 9, 2011 at 2:25 AM
i want to know about "bird feeder a business solution system in java" please help me for details. how can develop this system please tell me. ... View Questions/Answers

java question  March 8, 2011 at 9:51 PM
i have a string like "My name is arvind.i live in bangalore.i study in college.".the problem is that i hav to break this string into three seperate lines... ... View Questions/Answers

To make java exe or runnable file  March 8, 2011 at 8:55 PM
Helo sir i make a java application.I need to help how run application direct in pc i.e how it packaged, .exe file or setup file. ... View Questions/Answers

Erron while  March 8, 2011 at 8:34 PM
Hi, i'm doing a project regarding xml. I want to extract all nodes from body of existing xml doc to make another xml with that data.Here is my coding and error showing on that coding.Could anybody help to know my error? coding: public class Test { public st... View Questions/Answers

MySql date problem  March 8, 2011 at 8:09 PM
with a mysql query, how can you get records of previous week dynamically, starting from sunday and ending on saturday? I don't want records from current date, just the previous week. ... View Questions/Answers

PHP  March 8, 2011 at 7:24 PM
1)Is 5&&6 equal to true? 2)Is there a difference between true and TRUE ? ... View Questions/Answers

Map java Object to database.  March 8, 2011 at 7:10 PM
How do you map Java Objects with Database tables? ... View Questions/Answers

delete() method of hibernate  March 8, 2011 at 6:58 PM
Define the use of delete() method of hibernate? Example. ... View Questions/Answers

Generator in Hibernate  March 8, 2011 at 6:12 PM
What is the generator in hibernate? ... View Questions/Answers

strings  March 8, 2011 at 6:00 PM
1.Create a class StringDemo. Use the methods available in String object to display the mentioned output without using concat() method String s1 = ??Hello?? Output : hellO --- WOrldHellO For the above String s1, Display the same output using Chained methods ... View Questions/Answers

files  March 8, 2011 at 5:58 PM
1.Create a class called ObjectTest. Use the ObjectInputStream and ObjectOutputStream classes to read and write from the file â??obj.txtâ??. Create variables and initialize them with the values to be written to the file. Once it is written, use ObjectInputStream to read those values from t... View Questions/Answers

Update value  March 8, 2011 at 5:52 PM
How to update value of database using hibernate ? ... View Questions/Answers

Simple JSP program  March 8, 2011 at 5:51 PM
create a simple jsp page in which number is to be entered by user in jsp page and submit button clicked.If number entered is greater then 100,then message box "no is greater" elseif less "no is lesser" ... View Questions/Answers

Pls help me...........  March 8, 2011 at 5:33 PM
how to use the text file as input to insert the values injdbc? ... View Questions/Answers

error in sample example  March 8, 2011 at 5:22 PM
hi can u please help me XmlBeanFactory class is deprecation in java 6.0 so, pls send advance version class ... View Questions/Answers

sir, how to convert excel file to csv file using java? please send me sample code.  March 8, 2011 at 5:08 PM
please send me sample code for converting excel file into csv file uisng java. ... View Questions/Answers

plz check my codings are correct or not...There is an error..i cant find it..  March 8, 2011 at 5:04 PM
import java.util.Scanner; public class Student { private String indexNo; private String gender; private char initial; private int mark1; private int mark2; private int mark3; private int max; public Student(String newIndexNo, String newGender, char newInitia... View Questions/Answers

Filenet P8 Migration  March 8, 2011 at 4:10 PM
how to migrate filnet IS to Filnet P8 ... View Questions/Answers

DMCA.com