Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

question  June 9, 2011 at 10:59 AM
I have a project named demo using eclipse but while we are trying to run there is an error like type :Status report message : /demo/ description: The requested resource (/demo/) is not available. Please help me ... View Questions/Answers

Java programing help  June 9, 2011 at 8:17 AM
Can you help me create this program? Write a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type and the... View Questions/Answers

find factorial of any number using recursion  June 9, 2011 at 8:10 AM
error in 14 line ; expected int rec( int a) ^ how to resolve this.please correct the code. import java.io.*; class Fact { public static void main(String[]arg)throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.pri... View Questions/Answers

Advertisement

how to use mysql event scheduler in hibernate  June 8, 2011 at 8:14 PM
Hi all, I am creating a web application using hibernate and struts. in that i have requirement that when i update something it has to reflect in database after specific interval of time, i need to use mysql event scheduler My query is like this create event.... On SCHEDUL... View Questions/Answers

Mysql DB backup size increases rapidly  June 8, 2011 at 7:25 PM
we are using mysql 5.1 with jboss application server. recently database size increases rapidly. it goes upto 8GB. how can we optimize the DB? or shall we delete any log files? let me know ur suggestions. ... View Questions/Answers

Resizing Height of UITextView iPhone  June 8, 2011 at 4:56 PM
Hi all, Is it possible to resize the height of the UITextField in objective C? ... View Questions/Answers

inserting image into database  June 8, 2011 at 3:49 PM
how to insert image into database using struts frame work and spring JDBC ... View Questions/Answers

Multiple Inheritance  June 8, 2011 at 3:28 PM
All are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend at most one class so each class can extend more than one class so java any how do multiple inheritance? Can you please explain it. ... View Questions/Answers

question  June 8, 2011 at 3:24 PM
Good afternoon Sir, how to solve the problem of The requested resource is not available+java+eclipse if you can play a demo ... View Questions/Answers

question  June 8, 2011 at 3:16 PM
how to solve the problem of The requested resource is not available+java+eclipse ... View Questions/Answers

My SQL  June 8, 2011 at 3:11 PM
Connection class for MySQL in java ... View Questions/Answers

Dateformat in MySQL  June 8, 2011 at 2:53 PM
Date format in MySQL ... View Questions/Answers

Is PHP interpreted or compiled language?  June 8, 2011 at 1:15 PM
is PHP interpreted or compiled scripting language? ... View Questions/Answers

error in driver connection  June 8, 2011 at 11:01 AM
String driver = "org.gjt.mm.mysql.Driver"; Class.forName(driver).newInstance(); //error at this line Connection con=null; ResultSet rst=null; Statement stmt=null; but this is the syntax for aceesing database in jsp ... View Questions/Answers

Showing error in the driver declaration.Please suggest  June 8, 2011 at 10:46 AM
org.apache.jasper.JasperException: Exception in JSP: /LogIn/8June.jsp:15 12: String driver = "org.gjt.mm.mysql.Driver" 13: //String connectionURL = "jdbc:mysql://localhost:3306/birla_dashboard?user=root;password=root"; 14: 15: Class.forName(driver).newInstance(); 16: ... View Questions/Answers

The server encountered an internal error () that prevented it from fulfilling this request.  June 8, 2011 at 10:42 AM
when i run my code in eclipse i get the error that server encountered an internal error () that prevented it from fulfilling this request and http status error 404 also occurs. is there any problem in tomcat or mysql .Please reply asap. Thanks... ... View Questions/Answers

The server encountered an internal error () that prevented it from fulfilling this request.  June 8, 2011 at 10:42 AM
when i run my code in eclipse i get the error that server encountered an internal error () that prevented it from fulfilling this request and http status error 404 also occurs. is there any problem in tomcat or mysql .Please reply asap. Thanks... ... View Questions/Answers

function addValue  June 8, 2011 at 9:51 AM
i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save? ... View Questions/Answers

function addValue  June 8, 2011 at 9:51 AM
i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save? ... View Questions/Answers

function addValue  June 8, 2011 at 9:51 AM
i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save? ... View Questions/Answers

Prefix / Postfix to Infix  June 8, 2011 at 2:35 AM
Hi, I'm currently a high school student studying Computer Science 3 in the USA. We are currently learning prefix, postfix, and infix and have been tasked with creating a program that converts prefix to infix and another one that converts postfix to infix. I recently arrived here from India and th... View Questions/Answers

java  June 8, 2011 at 12:09 AM
Write a programme in java to take the value of A and B as input and print the value of(A+B)3 and (A+B)2 ... View Questions/Answers

Tomcat server  June 7, 2011 at 6:55 PM
Can anyone tell me in simple words what this error is about.. ERROR org.hibernate.event.def.AbstractFlushingEventListener Could not synchronize database state with session org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value ... View Questions/Answers

Java  June 7, 2011 at 6:43 PM
1Wap to find the area of square and circle using switch statement 2 Wap to find the area of triangle whose sides are a,b,c which are not in equal lenght ... View Questions/Answers

Quest  June 7, 2011 at 6:15 PM
see the above code is to create a form ..now can one proceed to put the data entered in form into a file?? ... View Questions/Answers

NSInvalidArgumentException  June 7, 2011 at 5:57 PM
NSInvalidArgumentException - Please explain the NSInvalidArgumentException and when it occurs..also how can i solve it? Thanks. ... View Questions/Answers

What is NSRangeException  June 7, 2011 at 5:55 PM
Can anyone explain the NSRangeException and the reason why it occurs? ... View Questions/Answers

validating username and password from database  June 7, 2011 at 5:26 PM
Hello sir, i am developing a login page. i want that when i fill data in text fields. it validate data from database. if enter data is match from database. page goes to next page which is servlet. otherwise display an error message. ... View Questions/Answers

link  June 7, 2011 at 3:48 PM
Hi Shruti Step1 :First thing you need to do is fetch the value from database and save it in a variable for ex. temp and put it in between a href tag as : Step2 : Use a id to select this using JavaScript or jQuery to displays some data on click and post data using ajax. ... View Questions/Answers

convert rupees to doller  June 7, 2011 at 2:50 PM
give me the core code that how to convert rupees to doller and doller to rupees . user put the rupees and it convert in doller. ... View Questions/Answers

Transport  June 7, 2011 at 2:13 PM
1- How to handle null pointer exception in try block 2-weak reference 3-strong reference ... View Questions/Answers

CORE JAVA CMD  June 7, 2011 at 1:40 PM
How to run cmd command in jsp?? ... View Questions/Answers

How to perform search using AJAX?  June 7, 2011 at 12:21 PM
Hi, I have following HTML code: <table style="border: 1px solid #9f9f9f; float:right;"> <tr> <td><label for="status">Search Status</td> <td><input type="text" id="status" name="status" dojoType="dijit.for... View Questions/Answers

Employee Management System  June 7, 2011 at 9:38 AM
coding for employee management system ... View Questions/Answers

Regarding JSP code  June 6, 2011 at 7:33 PM
hello sir tell me the way to navigate different type of user like manager and client from same login page to different interfaces in JSP code I am using Oracle 10g database .Exactly problem with me is that i cant be able to write the code for navigate different users from same login page. i had u... View Questions/Answers

Java & OOPs  June 6, 2011 at 7:17 PM
Is JAVA a fully Object Oriented Language? or A what degree Java supports Fully OOPs concept? ... View Questions/Answers

DAO Classes  June 6, 2011 at 5:13 PM
login page code for Dao classes ... View Questions/Answers

My first Java Program  June 6, 2011 at 5:06 PM
I have been caught with a practical exam to do the following: Write a program that takes input from a user through the command line. The user must be prompt to enter a sentence (anything). The sentence may not be less that 100 characters, else, you must ask the user to ente... View Questions/Answers

conversion  June 6, 2011 at 4:09 PM
please give me the code to convert the particular string "messageType=3+sourceSystemId=0+destinationSystemId=0+NPA=1+ prefix=0+phoneNumber=0+length=0+subLength=209+subCode=49+subType=1+ subResult=0+subCause=0+subSrcMSISDN=9876543210+ subDstMSISDN=9876543210+subRsv=+subSrvType=200+subSrvId... View Questions/Answers

conversion  June 6, 2011 at 4:05 PM
please give me the code to convert the particular string "messageType=3+sourceSystemId=0+destinationSystemId=0+NPA=1+prefix=0+phoneNumber=0+length=0+subLength=209+subCode=49+subType=1+subResult=0+subCause=0+subSrcMSISDN=9876543210+subDstMSISDN=9876543210+subRsv=+subSrvType=200+subSrvId=0+... View Questions/Answers

Problem in request object  June 6, 2011 at 3:27 PM
I have created a form where I have file input along with other inputs. I am using jsp to process the inputs. File input is not processing while the rest of the data is being processed.Please Help me out!!! Here is my code: <html> <head> <title> <... View Questions/Answers

Problem in request Object  June 6, 2011 at 3:22 PM
I have created a form where I have file input along with other inputs. I am using jsp to process the inputs. File input is not processing while the rest of the data is being processed.Please Help me out!!! Here is my code: <html> <head> <... View Questions/Answers

Helper classes in java  June 6, 2011 at 3:17 PM
helper classes ... View Questions/Answers

Core Java  June 6, 2011 at 2:59 PM
How to execute cmd command through java?? Give Code of them.. ... View Questions/Answers

web xml  June 6, 2011 at 2:47 PM
which url address is given in web.xml? ... View Questions/Answers

servlets  June 6, 2011 at 2:46 PM
which url address is given in web.xml? ... View Questions/Answers

Question  June 6, 2011 at 2:45 PM
which url address should be given in web.xml? ... View Questions/Answers

link  June 6, 2011 at 2:09 PM
how can we give hyperlinks on data retrieved from the database and when a particular option is clicked it should be saved in another database and details related to that link should be diaplay and stored in the database. Example: "Conference" retrived from the databas Conf... View Questions/Answers

java swings  June 6, 2011 at 1:43 PM
how can we use the shared locks of dbms in java? I am working on a mini project which is based on the eamcet councilling .i am struck with a problem where if a student select a college and a branch and sees there is 1 seat available since my system is not standalone so different people wi... View Questions/Answers

Need help  June 6, 2011 at 12:40 PM
Hello... I need some help I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name.. for example.. i have a method name() which contains 1 string value suppos "s" and i hav 1... View Questions/Answers

count statement that saves results on a variable in a java bean  June 6, 2011 at 11:56 AM
Hello i want to ask you where is the problem and my programme give me only null returns ---> package javalab; import java.sql.*; public class History { private int w ; private int v ; private int c ; public History() {} public Strin... View Questions/Answers

count statement that saves results on a variable in a java bean  June 6, 2011 at 11:54 AM
Hello i want to ask you where is the problem and my programme give me only null returns ---> package javalab; import java.sql.*; public class History { private int w ; private int v ; private int c ; public History() {} public Strin... View Questions/Answers

java equivalent of c function htonl & htons  June 6, 2011 at 11:43 AM
hi is there any java equivalent for the c function htonl & htons.. ... View Questions/Answers

Employee Management System  June 6, 2011 at 11:09 AM
coding for employee management system ... View Questions/Answers

how to make paging with function ?  June 6, 2011 at 11:01 AM
how to make paging with function ? ... View Questions/Answers

JAVA DB connenting Office access..  June 6, 2011 at 10:14 AM
hai friends....iam shackir.. i did 1 program to connect OfficeAccess...in this program everything except insertions are working fine...i cant understand what is the problem..."ANY ONE PLEASE HELP ME" ERROR IS : 3 SQl error in insertValues methord java.sql.SQLException: Driver does not sup... View Questions/Answers

c++  June 5, 2011 at 6:47 PM
i use turbo c++...i want to change the background color...what is the command for it and the header file used.. ... View Questions/Answers

c++  June 5, 2011 at 6:47 PM
i use turbo c++...i want to change the background color...what is the command for it and the header file used.. ... View Questions/Answers

c++  June 5, 2011 at 6:35 PM
i use turbo c++...i want to change the background color...what is the command for it and the header file used.. ... View Questions/Answers

how to search for string using LIKE operator instead of integer?  June 5, 2011 at 4:15 PM
dear sir, i have 3 jsp files, first "index.jsp", "dbtable.jsp", and "table2.jsp". what my code does is goes to the "index.jsp" file and let the user enters an ID to search for itemid, then it shows "dbtable.jsp" file with 3 columns of itemid, itemname, and description. the item... View Questions/Answers

how to covert JPG format to Binary formart using java code..  June 5, 2011 at 2:11 PM
convert JPG format to Binary formart How can i convert JPG format to Binary format using java code plz help me out..... ... View Questions/Answers

image store and get it back  June 5, 2011 at 2:08 PM
store the image in the oracle using blob and get it back hi i am facing problem in the following code . this code can store the image in table but at time of reading it back it never shows me the image and how to convert the image file into binary format.... so that i can store it in a t... View Questions/Answers

question  June 5, 2011 at 11:54 AM
which language is leading the world java or .net and which language followed by all the Oops principles either java or .net ... View Questions/Answers

java question  June 5, 2011 at 11:51 AM
what are the exactly J2EE concepts.. struts and hybernates coming under which catagiry.. ... View Questions/Answers

insert date into database using jsf  June 4, 2011 at 11:16 PM
Hello I need a simple example of source code to insert a date into a database using jsf what do I have to put in backing bean and page jsf ( i need juste a date ) thanks ... View Questions/Answers

salaes detail  June 4, 2011 at 9:17 PM
Creation of Applet for Sales Details Form The applet for Sales Details must include the following: ? The CartID, OrderNo, OrderDate should be displayed automatically. ? Create an Exit button and a Continue button. ? The Garment Name column should have drop down menu for customers to select ... View Questions/Answers

java applet  June 4, 2011 at 9:15 PM
Creation of Applet for Personal Details Form When a customer places his first order of garments, the Personal Details Form is displayed. On completing the form, the customer is assigned a cart id. A customer will be able to buy a product only if they have the cart id. It is essential that the Per... View Questions/Answers

How to draw pie chart in J2ME  June 4, 2011 at 8:14 PM
Hi, I'm developing a program using J2ME and I want to draw a pie chart but it seems J2ME language hasn't available chart component like JFreeChart in Java! could any one help me how can I draw a pie chart in J2ME? ... View Questions/Answers

jsf: generate another panelGrid  June 4, 2011 at 7:19 PM
hello the following is my code print("code sample"); <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> ... View Questions/Answers

retrieve data from database using jsf  June 4, 2011 at 7:06 PM
Hello I want an example of source code to retrieve data from database i have a database (oracle) name as db1 it's contain table 'author' composed of three columns idauthor(primary key),, name ,and city I want after enter value in textbox according idauthor i retrieve name ,and city can yo... View Questions/Answers

How to find out the friend user between two columns in sql database  June 4, 2011 at 5:30 PM
Hi, Can any one please tell me ..how to find out the friend user between two columns in sql database? In other words i wanted to get the corresponding data from each table. Thanks. ... View Questions/Answers

How to get the most recent data from the sql database  June 4, 2011 at 5:02 PM
Hi, just wanted to show the most recent row from the database table...in my web page. for example if i have four records in the table that was added on different different dates.. Now, it the web page that is going to show all the recodes but the latest one on the top. Any suggestion? Th... View Questions/Answers

rename the column in sql  June 4, 2011 at 4:38 PM
How can i rename the column name in SQL? ... View Questions/Answers

Join the two tables in sql  June 4, 2011 at 4:36 PM
How to join the two tables in SQL ..and return the value from common column in SQL Database. ... View Questions/Answers

java questions  June 4, 2011 at 4:22 PM
can i write an inner class in an interface? ... View Questions/Answers

how to turn off bluetooth on mac  June 4, 2011 at 4:16 PM
I want to know ..how to turn off the bluetooth on my mac system. Thanks. ... View Questions/Answers

how to turn off bluetooth on mac  June 4, 2011 at 4:16 PM
I want to know ..how to turn off the bluetooth on my mac system. Thanks. ... View Questions/Answers

About configuring Servlet  June 4, 2011 at 3:33 PM
Hi I culdn't run Apache Tomcat (i already installed Tomcat 5.0 version) on Internet Browser.when i finished installing Tomcat i typed http://local host:8080/ in the internet Browser but it failed.What to do? Another question is that kindly tell me the setting path for TOmcat 5.0 version ... View Questions/Answers

populate Combo Box dynamically  June 4, 2011 at 1:39 PM
Hi, How to populate the Combo Box dynamically using Flex with Jsp's. ... View Questions/Answers

how to scroll multiple images using on Click in Android  June 4, 2011 at 12:03 PM
I am new android platform, now i am working with small application. here there is requirement like multiple image scrolling dynamically. But unfortunately i am unable to scroll multiple images. But i am able to scroll single image. plz let me know, if anyone knows the problem Tha... View Questions/Answers

Java with OOP assignment (Eclipse)  June 4, 2011 at 11:26 AM
How do i control the length of characters in an input? E.g.: Enter your name > Hi * Name too short! ... View Questions/Answers

Hibernate  June 4, 2011 at 11:24 AM
How to create Dynamic array of Objects during HQL execution? ... View Questions/Answers

coding for employee management system  June 4, 2011 at 9:56 AM
coding for employee management system ... View Questions/Answers

online shopping portal  June 4, 2011 at 12:04 AM
Blockquote Scenario: Online Shopping Portal XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. Ho... View Questions/Answers

question  June 3, 2011 at 9:38 PM
how set multiple select box value parent child concept select box ... View Questions/Answers

generate charts using JSP  June 3, 2011 at 8:05 PM
any one know coding for generate bar chart or pie chart using JSP ... View Questions/Answers

JNI using eclipse  June 3, 2011 at 5:40 PM
Hi how to call a c function in java using JNI which we must me able to do entirely in eclipse.as i am a newbie to java,i dont know how to implement JNI using eclipse. ... View Questions/Answers

Which is the best way to travel around Delhi  June 3, 2011 at 5:23 PM
Please suggest us the best way to travel in and around Delhi. Thanks. ... View Questions/Answers

Shopping in Delhi  June 3, 2011 at 5:16 PM
I heard about Connaught Place and Karol Bagh are best markets for shopping in Delhi. But is there any other market.. from where i can buy something traditional that can be related to Delhi as well as Indian culture. Thanks! ... View Questions/Answers

How to display a record containing 30 fields in jsp without scrolling the page horizontally?  June 3, 2011 at 5:15 PM
I want to display records containing 30 fields in a table row.Is it possible in jsp without scrolling the page horizontally? ... View Questions/Answers

I wants to take travel loan in India  June 3, 2011 at 5:00 PM
Hi, i wants to take a travel loan in India ...please suggest from where i can avail it quickly and at minimum rates. Thanks! ... View Questions/Answers

java interfaces implementation  June 3, 2011 at 4:24 PM
hai I have defined one inter face like Maths taking methods like add(), sub(), mul()in interface I take different implementation classes for add() method and sub()and mul() when i trying to implement add()mthod in Addition class it is asking su... View Questions/Answers

question  June 3, 2011 at 3:59 PM
Good after noon Sir, Please send me the code of the problem given below.it's urgent code to display employees on absent and manager can approve,and send a notification message to an employee.using JPanel+mysql+Java ... View Questions/Answers

how to read text file in jtable in netbeans7.0  June 3, 2011 at 3:32 PM
text file is: contig00001 length=586 numreads=4 CGGGAAATTATCcGCGCCTTCACCGCCGCCGGTTCCACCGACGAACGGATACTGCGtGaa ggCCGCGATCCCGTCggaCGGAAAaCGCCcTGGCCCGGGAaCATACCGTTCGGGCCGCCA AGTGTTATAGCCGGACCACTTGTCAGAACATTTCCaaTCCGAAGATGTGAGTtCGGAAGg TAAAAGCCCGACAAGTTGCGCGgTGAATTTAC... View Questions/Answers

Language Translate Probelm  June 3, 2011 at 3:31 PM
I want to build an application showing quoted text in hindi. i found google translate api and google tranliterate api providing language translation. translate api converts - "What is your name." into corrs. hindi text. transliterate api converts - "Aapka naam kya hai." in hindi.<... View Questions/Answers

Multicolumn text flowing multipage sliding  June 3, 2011 at 3:03 PM
Hi.. I need help? Multicolumn text flowing through multipage sliding, should calculate total column, gap, text size, image size for different browser. To be control with Previous Page & Next Page. At the ending of story the next Page sliding should stop. Please give me suggestions how to impl... View Questions/Answers

Impact on change of table name  June 3, 2011 at 2:58 PM
What is the impact when we change the table name. If there are dependencies or anything else related to the table which is going to change. Please update me on this.... Regards, Srinivas Alwala ... View Questions/Answers

question  June 3, 2011 at 1:19 PM
Good Afternoon, code to display the employees on leave,and approve that leave for manager.using JPanel+mysql+Java ... View Questions/Answers

Where to stay in Delhi?  June 3, 2011 at 1:03 PM
Hi, i am visiting New Delhi in the mid of june ...so, just wondering where to stay? Is there an cheap as well as best place or hotel where i can stay for couple of day's? ... View Questions/Answers

Hibernate  June 3, 2011 at 1:00 PM
Can we write more than one hibernate.cfg.xml file... ? if so how can we call and use it.? can we connect to more than one DataBase from a single Hibernate program.? ... View Questions/Answers

DMCA.com