Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

web development.  June 12, 2012 at 10:08 AM
I have designed a website using asp.net in that i have used oracle as database,in that users can upload,view and edit their details.so,how to write code for edit,update and delete button in asp.net and these changes has to be reflected in oracle database table. ... View Questions/Answers

splash screen time delay iphone  June 12, 2012 at 10:03 AM
How can i delay the splash screen? ... View Questions/Answers

How do I change the while loop in this code to the range with range list style display page (like search results on google) for a ResultSet() in jsp?  June 12, 2012 at 5:08 AM
<%@ page language="java" import="java.sql.*" %> <html> <head> <title>Display data from database in jsp</title> </head> <body> <table border="0" width="75%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> <... View Questions/Answers

Ads

DropDown Department Login  June 12, 2012 at 2:53 AM
Hi all, I am doing a project using JSP. My Issue is..... I have two departments name Customs and Accounts in the database with different tables. I have designed the HTML page in such a way the I have a drop down list consisting of Customs and Accounts. I have user accounts of both the dep... View Questions/Answers

Application reading data from JDBC database  June 11, 2012 at 11:58 PM
I would like to develop an online registration system that captures details of potential candidates for a Prime Game competition. The application has two links namely "register" and "view competition participants". The "register link" takes user to a page generated by a servlet that capt... View Questions/Answers

memory span and shrink - pointers  June 11, 2012 at 11:25 PM
Memory span and shrink as per application requirement and this is one of major advantage of pointer. please explain the above statment with an example with respect to c. ... View Questions/Answers

store and retrive image from the database  June 11, 2012 at 11:22 PM
please provide me with the code and the explanation of what each line does for the below query. -how to store and retreive images from sql database using sql commands -how to store and retreive images from sql database using asp.net/c# thanks in advance ... View Questions/Answers

memory layout  June 11, 2012 at 11:16 PM
how much space does each segement(data,stack,heap,static) holds in memory? memory here refers to ram or hard disk? ... View Questions/Answers

About method calls  June 11, 2012 at 11:00 PM
If I have a method that is called so many times, what can I do to increase its priority? If the question looks ambiguous, just tell me what things I can do if I have a method that is being called so many times. Because I have to use this functionality somewhere in java project... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:56 PM
Prompt the user to enter the name of a text file to search for. If the name does not end in a .txt extension, display an error message. Search for this file in the current directory. If the file does not exist print a message that says so. ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:55 PM
Write a program to use a File object and print even numbers from two to ten. Then using RandomAccessFile write numbers from 1 to 5. Then using seek () print only the last 3 digits. ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:54 PM
Write a program that stores the names of four employees in an array of strings. Store the contents of the array in an alphabetical order in a file and display it back on console. Do not use the RandomAccessFile class*/ ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:53 PM
In a random access file, first write the alphabets a,b, c, d till z. Read the file in reverse order and print it on screen. ... View Questions/Answers

RANDOM ACCESS FILE CONCEPT  June 11, 2012 at 7:52 PM
Write a program to write the details of an employee to a file. Details such as year of joining, department code, employee name and salary should be included. You must use RandomAccessFile to accomplish this. Now, read the data that has been written in the previous step and display it on the co... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:51 PM
Write a program to read and write the details of an employee like year of joining, Department code, salary using some byte stream classes. ... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:50 PM
Write a program that reads input from the console in the form of a string. When the user enters a word called end, the program should stop reading from the console and print out the values that have been entered so far.*/ ... View Questions/Answers

FILE HANDLING CONCEPT  June 11, 2012 at 7:50 PM
Write a program that reads input from the console in the form of a string. When the user enters a word called end, the program should stop reading from the console and print out the values that have been entered so far.*/ ... View Questions/Answers

FILE CONCEPT  June 11, 2012 at 7:48 PM
Prompt the user to enter the name of a text file to search for. If the name does not end in a .txt extension, display an error message. Search for this file in the current directory. If the file does not exist print a message that says so. ... View Questions/Answers

wrapper class concept  June 11, 2012 at 7:47 PM
Write a Java class that stores an integer item id, a string item name and a float price. Store all these in a String member Variable, separated by a space delimiter. Use an overloaded method to add these different types to the String member. Provide a get method to retrieve the formatted string m... View Questions/Answers

HQL in hibernate ? Explain the use of HQL.  June 11, 2012 at 7:02 PM
What is the HQL in hibernate ? Explain the use of HQL. ... View Questions/Answers

sleep method in thread java program  June 11, 2012 at 6:59 PM
How can we use sleep method in thread ? ... View Questions/Answers

Hibernate generated SQL statements on console  June 11, 2012 at 6:36 PM
If you want to see the Hibernate generated SQL statements on console, what should we do? ... View Questions/Answers

UIImageView set Image URL  June 11, 2012 at 6:28 PM
Show image by URL ... View Questions/Answers

Define the session factory interface in hibernate?  June 11, 2012 at 6:22 PM
Define the session factory interface in hibernate? ... View Questions/Answers

write a program for complete JDBC based application  June 11, 2012 at 6:02 PM
thank you sir giving answer for my question. my another question is: Write a complete JDBC based application where in the user supplies the following table as input and the program should have the facilities of Adding, Modifying, Viewing and Deleting the Records of the given table. Stud<... View Questions/Answers

Update value of database using hibernate.  June 11, 2012 at 5:37 PM
How to update value of database using hibernate? ... View Questions/Answers

Use of delete() method in hibernate.  June 11, 2012 at 5:31 PM
Define the use of delete() method of hibernate? ... View Questions/Answers

Why to use Session interface in Hibernate?  June 11, 2012 at 5:28 PM
Why to use Session interface in Hibernate? ... View Questions/Answers

add imageview to uiview  June 11, 2012 at 5:28 PM
i want to add an image to UIView background. ... View Questions/Answers

If and else if ladder  June 11, 2012 at 5:23 PM
How we can use if and else if statement? ... View Questions/Answers

Switch Statement  June 11, 2012 at 5:02 PM
How we can use switch case in java program ? ... View Questions/Answers

coolection class  June 11, 2012 at 4:01 PM
how to find maximum and minimum from a list using max & min method of collection class ... View Questions/Answers

Write an event driven program to perform the arithmetic operations as shown in the interface  June 11, 2012 at 1:09 PM
hi sir i have an assignment question, but i don't know the java programming code for that question. my question is here: Q. Write an event driven program to perform the arithmetic operations as shown in the interface arithematic operators: this is the form heading enter n1 :te... View Questions/Answers

image file upload to a web server  June 11, 2012 at 1:08 PM
Refer roseindia post http://www.roseindia.net/jsp/fileupload/Sinleupload.xhtml.shtml. It works fine on my local computer. But when I use it on a server it don't work. My server uses Apache Tomcat 5 server. How can I upload a file to the web server? ... View Questions/Answers

sending a zip file to servlet  June 11, 2012 at 12:48 PM
I have created a .zip file in a servlet on the local system(no static ip). The .zip file contains xml files. I have to send it to another servlet which is in a server(has a static ip). I have done the other way round(server to local). But, not able to send and receive from the local system to ser... View Questions/Answers

Problem about coding in ajvascript  June 11, 2012 at 11:58 AM
I created a three radio buttons in the following way How many iphone styles are present in the image? <input type="radio" name="option" id="option" value="01" /> 01<br /> <input type="radio" name="option" id="option" value="03... View Questions/Answers

different output trying to execute same java code  June 11, 2012 at 11:54 AM
i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding to read value from serial port : import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements Runnable, SerialPortEventListener { stati... View Questions/Answers

different output trying to execute same java code  June 11, 2012 at 11:54 AM
i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding to read value from serial port : import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements Runnable, SerialPortEventListener { stati... View Questions/Answers

different output trying to execute same java code  June 11, 2012 at 11:48 AM
i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding to read value from serial port : import java.io.*; import java.util.*; import javax.comm.*; public class SimpleRead implements Runnable, SerialPortEventListener { static ... View Questions/Answers

data base  June 11, 2012 at 11:03 AM
how to connect coding in data base ? ... View Questions/Answers

simple source code for tower of hanoi in android  June 11, 2012 at 12:21 AM
may I get a source code for tower of hanoi game in android pls.If possible help me as much as possible. ... View Questions/Answers

dropdown list and text fields in php  June 10, 2012 at 10:38 PM
How could I use php to populate text fields by selecting a name of a business from dropdown list? Those text fields that will be populated by information in regards its company name, suite number, description, and opening times from a mysql database. If you can, post code in php. Also, the user w... View Questions/Answers

Using Servlets, JSP for Online Shopping  June 10, 2012 at 9:38 PM
What is wrong with my code ? JSP <form action="LoginServlet "method="post" > <table> <tr ><td>Username:</td><td><input type="text" name="Id" ></td></tr> <tr><td>Pa... View Questions/Answers

How to populate text fields using php code?  June 10, 2012 at 9:18 PM
How could I use php to populate text fields by selecting a name of a business from dropdown list? Those text fields that will be populated by information in regards its company name, suite number, description, and opening times from a mysql database. If you can, post code in php. Also, the user w... View Questions/Answers

PHP Sticky form problem  June 10, 2012 at 7:46 PM
I have done the full coding of a sticky form. It is a simple calculator. Whenever I input the value and press "add" or"minus" or "multiply"..etc..etc..and also the reset button the result does not display. Please see my coding below...and advice me what is the problem, and what it need me to done... View Questions/Answers

PHP Sticky form problem  June 10, 2012 at 7:45 PM
I have done the full coding of a sticky form. It is a simple calculator. Whenever I input the value and press "add" or"minus" or "multiply"..etc..etc..and also the reset button the result does not display. Please see my coding below...and advice me what is the problem, and what it need me to done... View Questions/Answers

Login With Drop Down, Having Departments in different table  June 10, 2012 at 4:16 PM
Hi all, I am doing a project using JSP. My Issue is..... I have two departments name Customs and Accounts in the database with different tables. I have designed the HTML page in such a way the I have a drop down list consisting of Customs and Accounts. I have user accounts of both the d... View Questions/Answers

jsp-priviledge  June 10, 2012 at 12:18 PM
how to do priviledge in jsp? ... View Questions/Answers

dynamic polymorphism  June 10, 2012 at 9:27 AM
give an example for dynamic polymorphism? ... View Questions/Answers

jsp-datagrid  June 9, 2012 at 11:26 PM
hello sir...i have one view page in which edit and delete option are there in a datagrid view and i want to show data in page wise(pagination)...with previous and next links....i am also attaching my code for your convience....plz look to it its very urgent....plz...?????? ... View Questions/Answers

jsp-datagrid  June 9, 2012 at 11:26 PM
hello sir...i have one view page in which edit and delete option are there in a datagrid view and i want to show data in page wise(pagination)...with previous and next links....i am also attaching my code for your convience....plz look to it its very urgent....plz...?????? ... View Questions/Answers

jsp-datagrid  June 9, 2012 at 11:26 PM
hello sir...i have one view page in which edit and delete option are there in a datagrid view and i want to show data in page wise(pagination)...with previous and next links....i am also attaching my code for your convience....plz look to it its very urgent....plz...?????? ... View Questions/Answers

select clause in hibernate  June 9, 2012 at 7:33 PM
Example of select clause of hibernate? ... View Questions/Answers

Method overloading in java program  June 9, 2012 at 7:17 PM
How can we use method overloading in java program? ... View Questions/Answers

Enum data type  June 9, 2012 at 5:40 PM
How can we use enum data type in java program? ... View Questions/Answers

How to set Marathi font to Label??  June 9, 2012 at 1:20 PM
Hello, I am doing one project in java-Swing Farm Management i want to set Marathi label in that so how i can? plzzzz help me its urgent........ ... View Questions/Answers

java inheritance  June 9, 2012 at 1:07 PM
problem with following code.... class Employee { int empno; String name; String edesig; Employee() { empno=0; } Employee(int eno,String ename,String ed) { empno=eno; name=ename; edesig=ed; } public void disp() { System.out.prin... View Questions/Answers

java program  June 9, 2012 at 12:38 PM
Write a program to demonstrate the concept of various possible exceptions arising in a Java Program and the ways to handle them. ... View Questions/Answers

Emulator for j2me in eclipse  June 9, 2012 at 11:41 AM
I want to run my J2ME Application in Eclipse. Its made in Netbeans IDE but want to run in Eclipse. For that I installed J2ME plug-ins but I want emulator to run the application. Please send some link for installing emulator so I can run it in Eclipse as well. Thanks in Advance. ... View Questions/Answers

inserting same data to different tables in oracle  June 9, 2012 at 8:53 AM
Hi there ...! i have to insert un,pwd, to three oracle tables, like admin, user, stud, but i want pickup these table names from a drop down list in html...is there any chance can anyone explain this solution ... View Questions/Answers

inserting same data to different tables in oracle  June 9, 2012 at 8:53 AM
Hi there ...! i have to insert un,pwd, to three oracle tables, like admin, user, stud, but i want pickup these table names from a drop down list in html...is there any chance can anyone explain this solution ... View Questions/Answers

inserting same data to different tables in oracle  June 9, 2012 at 8:53 AM
Hi there ...! i have to insert un,pwd, to three oracle tables, like admin, user, stud, but i want pickup these table names from a drop down list in html...is there any chance can anyone explain this solution ... View Questions/Answers

inserting same data to different tables in oracle  June 9, 2012 at 8:53 AM
Hi there ...! i have to insert un,pwd, to three oracle tables, like admin, user, stud, but i want pickup these table names from a drop down list in html...is there any chance can anyone explain this solution ... View Questions/Answers

inserting same data to different tables in oracle  June 9, 2012 at 8:53 AM
Hi there ...! i have to insert un,pwd, to three oracle tables, like admin, user, stud, but i want pickup these table names from a drop down list in html...is there any chance can anyone explain this solution ... View Questions/Answers

inserting same data to different tables in oracle  June 9, 2012 at 8:53 AM
Hi there ...! i have to insert un,pwd, to three oracle tables, like admin, user, stud, but i want pickup these table names from a drop down list in html...is there any chance can anyone explain this solution ... View Questions/Answers

Basic problem for Java experts  June 9, 2012 at 4:18 AM
This assignment will test your knowledge of Arrays Array searching Array sorting Array processing Specification An athletics club require a simple statistical analysis program for analysing lap speed for runners. The program should provide the following functionality Allo... View Questions/Answers

How do I change the while loop in this code to the range with range list style display page for a resultSet() in jsp?  June 9, 2012 at 2:36 AM
this is count record code <%@ page language="java" import="java.sql.*" %> <html> <head> <title>Count data from database in jsp</title> </head> <body> <table border="0" width="75%" cellspacing="0" cellpadd... View Questions/Answers

How to make phone call from web application  June 9, 2012 at 12:54 AM
I'm creating an XHTML application, which can be viewed via IPhone or Blackberry. Application needs to make call to a specific number when user clicks a particular button. Please suggest on how to do this. I'm new to this. Thanks in advance. ... View Questions/Answers

use data from database as hyperlink and pass the data in the hyperlink  June 8, 2012 at 11:38 PM
Hi Friends, I am using the data from database as hyperlink and pass the data as a parameter in the hyperlink to a servlet page. By using display table and display tag property I have displayed a column data as hyperlink. I want to pass the 1 or two colum data into the hyperlink.I have tri... View Questions/Answers

jsp-datagrid  June 8, 2012 at 11:26 PM
hello sir.....i have 20 records in my database and i am showing those data in datagrid view but now i want to show 10 data in one page and another 10 data in next page....by what way can i make previous and next option in my datagrid view with 1,2 pages....plz help me...awaiting for your response... View Questions/Answers

jsp-datagrid  June 8, 2012 at 11:26 PM
hello sir.....i have 20 records in my database and i am showing those data in datagrid view but now i want to show 10 data in one page and another 10 data in next page....by what way can i make previous and next option in my datagrid view with 1,2 pages....plz help me...awaiting for your response... View Questions/Answers

problem question please need urgent answers  June 8, 2012 at 10:06 PM
Problem Statement Given a cyclic list with elements as numbers in sorted order, write a function to insert a new element (5) into the cyclic list that maintains the sorted order of the cyclic list. Do not assume that the cyclic list is referenced by its minimal element. A perfectly cycli... View Questions/Answers

problem question please need urgent answers  June 8, 2012 at 10:06 PM
Problem Statement Given a cyclic list with elements as numbers in sorted order, write a function to insert a new element (5) into the cyclic list that maintains the sorted order of the cyclic list. Do not assume that the cyclic list is referenced by its minimal element. A perfectly cycli... View Questions/Answers

Javap Tool application  June 8, 2012 at 8:13 PM
import java.awt.*; import java.lang.reflect.*; import java.awt.event.*; import java.awt.event.WindowListener.*; class Javap extends WindowAdapter implements ActionListener{ Button b; TextArea area; TextField tf; Javap(){ Frame f=new Frame(); Label l=new Label("Welcome to javap tool"); l.setBounds... View Questions/Answers

insert record in between the two records  June 8, 2012 at 7:43 PM
it is possible to insert record in between the two records? ... View Questions/Answers

Explain the persistence class in hibernate?  June 8, 2012 at 6:48 PM
What is persistence class in hibernate? ... View Questions/Answers

Calculate sum and Average in java  June 8, 2012 at 6:47 PM
How to calculate sum and average in java program? ... View Questions/Answers

What is the main feature of Hibernate3?  June 8, 2012 at 6:46 PM
What is the main feature of Hibernate3? ... View Questions/Answers

What is hibernate technology in java?  June 8, 2012 at 6:43 PM
What is hibernate technology in java? ... View Questions/Answers

what is an entity in hibernate?  June 8, 2012 at 6:39 PM
what is an entity in hibernate? ... View Questions/Answers

Method with Varags  June 8, 2012 at 6:37 PM
How to use Vargas method in java? ... View Questions/Answers

While loop Statement  June 8, 2012 at 6:29 PM
How to print a table using while loop? ... View Questions/Answers

While loop Statement.  June 8, 2012 at 5:44 PM
How to Print Table In java using While Loop? ... View Questions/Answers

pojo class having problem  June 8, 2012 at 5:38 PM
Cannot find any information on property 'Username' in a bean of type 'LoginBean.LoginBeanClass' org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(JspRuntimeLibrary.java:664) org.apache.jsp.loginBeanjsp.jspService(loginBean_jsp.java:62) org.apache.jasper.runtime.Ht... View Questions/Answers

Swing Application help  June 8, 2012 at 5:19 PM
Hi am developing an application. I have set up an ADD button, which if clicked should open the add information form in the same window. I mean should not close and open another window. also after the last text box should show the save button to save the records in database ... View Questions/Answers

Add UIImageView to UIScrollVIew  June 8, 2012 at 5:04 PM
How can i add UIImageView to UIScrollview? I have already created both UIIMageView and ScrollView programmatically and added it the view. as given below.. [self.view addSubview:myScrollView]; But still my image view is not visible..why? ... View Questions/Answers

Pojo and java beans  June 8, 2012 at 4:35 PM
Can anyone tell me where we should use pojo class and where we should use beans. We use pojo class to make the object of mapping file in hibernate framework. Can I use pojo class in those applications where I don't use any database and how ? Please give any example. Can I use pojo class in any ... View Questions/Answers

jtable-adding a row dynamically  June 8, 2012 at 4:23 PM
hi..i am doing a project for pharmacy .. *pblm:* when i want to enter the details in jtable while running the application there are 3 rows and 4 columns which is default bt when we we have to add one more row dynamically as a new row 4th if the details are large.but ev... View Questions/Answers

Emulator for j2me in eclipse  June 8, 2012 at 4:20 PM
I want to run J2me application in eclipse. For that i need an emulator..but i can not get it any how. Please help me. ... View Questions/Answers

how i can access Microsoft Access database by java program  June 8, 2012 at 4:15 PM
how i can access Microsoft Access database by java program ? if any package or jar file required then please specify it. please give java source code for such database connectivity in short ... View Questions/Answers

Embed flex video  June 8, 2012 at 3:48 PM
Hi, I want to embed "application/x-shockwave-flash" content in my mxml.Basically I want to hit one url , get "application/x-shockwave-flash" content from it and display it in my mxml/swf.How to do that? ... View Questions/Answers

Try and catch in Exception Handling.  June 8, 2012 at 3:23 PM
How can we use try and catch block in exception handling? ... View Questions/Answers

jsp priviledge  June 8, 2012 at 3:11 PM
hello sir...i am doing one user mamagement project. i have to priviledge for user categories....plz help me by providing code for priveledge in jsp..its very urgent...????? ... View Questions/Answers

jdbc type-4 driver  June 8, 2012 at 1:27 PM
I was tried the code that you give to run type-4 driver . import java.sql.*; import oracle.jdbc.driver.*; import oracle.sql.*; while compiling the error was like: package oracle.jdbc.odbc.driver does not exist. import java.oracle.jdbc.driver.*; * package oracle.sq... View Questions/Answers

JSON  June 8, 2012 at 12:44 PM
How do i fetch string values from client side and then parse it using JSON ... View Questions/Answers

Stateless Bean Error  June 8, 2012 at 12:10 PM
Ejb stateless bean giving following error,please help me. 11:49:54,894 INFO [STDOUT] Error:$Proxy72 cannot be cast to com.javajazzu p.examples.ejb3.stateless.CalculatorRemote ... View Questions/Answers

upload image data  June 8, 2012 at 11:08 AM
Hii Upload image dat in csv files.. ... View Questions/Answers

upload image data  June 8, 2012 at 11:08 AM
Hii Upload image dat in csv files.. ... View Questions/Answers

"opening video data error" in j2me  June 8, 2012 at 10:45 AM
Any one know about the error c When i am trying to play video on spice device its throw an exception, but the same code work on other devices very well please tell me the issue behind that and give the solution to handle this exception. ... View Questions/Answers

how to run a java program using run.exec()?  June 8, 2012 at 10:34 AM
Hi..i want to compile and run a java file using run.exec().i.e., without compiling and running from command prompt i want to do them in the program itself.I am able to compile the program but it is not executing.showing an error stating that file doesnot exist. can i expect a sample java program ... View Questions/Answers

DMCA.com