Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Image uploading  January 28, 2012 at 8:15 PM
Hi,can anyone explain the following code. The code related to uploading an image file to oracle database using java servlet. CODE import java.io.*; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.... View Questions/Answers

HOW TO SHOW TIME SERIES  January 28, 2012 at 8:01 PM
hi................ i require a small code in java swings to display the output as time series. Can u plz help???????? Reply....... thanks in advance........ ... View Questions/Answers

Hospital management project  January 28, 2012 at 6:13 PM
hospital management ... View Questions/Answers

Advertisement

Pilipa hotel management project  January 28, 2012 at 6:10 PM
hotel management project ... View Questions/Answers

tom project  January 28, 2012 at 5:56 PM
mobile shope ... View Questions/Answers

Memory leak in While loop  January 28, 2012 at 5:15 PM
How to manage a memory leak in While loop ? ... View Questions/Answers

enable disable checkbox in javascript  January 28, 2012 at 5:09 PM
How to enable disable checkbox in javascript? ... View Questions/Answers

change value of mutable string  January 28, 2012 at 4:29 PM
How to change value of mutable string? ... View Questions/Answers

mysql difference between two numbers  January 28, 2012 at 3:52 PM
How to get total bate difference between two dates for example 1/01/2012 and 1/02/2012 in MYSQL? ... View Questions/Answers

Scrolling in UIWebView  January 28, 2012 at 1:00 PM
How to make an un-scroll able UIWebView? ... View Questions/Answers

javascript max size  January 28, 2012 at 12:54 PM
How to retrive Max size in JavaScript ... View Questions/Answers

split string with regular expression  January 28, 2012 at 12:49 PM
How to split string with regular expression in Java? ... View Questions/Answers

how to reset JFrame  January 28, 2012 at 12:26 PM
how to reset JFrame ... View Questions/Answers

remove parent element JavaScript  January 28, 2012 at 11:39 AM
How to remove parent element in JavaScript? ... View Questions/Answers

GUI  January 28, 2012 at 10:41 AM
How to GUI in Net-beans ... ?? ... View Questions/Answers

pyramid  January 28, 2012 at 9:22 AM
hi i need java code for pyramid. the pyramid look like this. A BAB CBABC BAB A ... View Questions/Answers

pyramid  January 28, 2012 at 9:20 AM
hi frnds i need java code for pyramid. the pyramid look like this A BAB CBABC BAB A ... View Questions/Answers

portlet display  January 27, 2012 at 7:32 PM
what is service builder? ... View Questions/Answers

portlet display  January 27, 2012 at 7:30 PM
Hi, i created a portlet by using liferay eclipse IDE. after that i run that portlet successfully. but my portlet is not added to the drop down list of my app. please send the answer ... View Questions/Answers

Core Java  January 27, 2012 at 7:01 PM
have to find the prime numbers which is less than the current prime numbers using loops? ... View Questions/Answers

what is soap protocol  January 27, 2012 at 5:14 PM
what is soap protocol and how can i use this in my iphone application to create a web services application? ... View Questions/Answers

jsp question..  January 27, 2012 at 4:24 PM
what should do in deployment descriptor after adding jstl jar files.. I am the the following message in console screen; The absolute cannot be resolved in either web.xml or the jar files deployed with this application ... View Questions/Answers

jsp question..  January 27, 2012 at 4:24 PM
what should do in deployment descriptor after adding jstl jar files.. I am the the following message in console screen; The absolute cannot be resolved in either web.xml or the jar files deployed with this application ... View Questions/Answers

environment variable  January 27, 2012 at 3:41 PM
what are the environment variable is need to run j2ee application in eclipse could you explain the details ? ... View Questions/Answers

Opentap Report  January 27, 2012 at 3:23 PM
how to run in build report in oepntaps how to make analytics data base in opentaps ... View Questions/Answers

Swing Problem on submission of button  January 27, 2012 at 3:14 PM
How to close current frame (Frame1) and open a new frame (Frame2) already created and pass the data to frame2 from frame1 on the clicking of button in swing? ... View Questions/Answers

how to use jstl tags?  January 27, 2012 at 3:06 PM
I installed jstl jar in my libraries. I got the following error in console screen. I need the solution to resolve this uri in web.xml. please help me.......... "The absolute cannot be resolved in either web.xml or the jar files deployed with this application" ... View Questions/Answers

writing webservices in php  January 27, 2012 at 1:27 PM
How to write a simple web service in PHP? ... View Questions/Answers

mysql between dates not between dates  January 27, 2012 at 1:03 PM
I am trying to list the data between dates and not between dates using join method ..but that not working for me. ... View Questions/Answers

How to copy an jpeg image from one folder to other folder using jsp  January 27, 2012 at 12:54 PM
How to copy an image from one folder to another folder using jsp ... View Questions/Answers

add google map javascript  January 27, 2012 at 12:52 PM
How can i add google map using javascript in my web page? ... View Questions/Answers

uibutton touch up event  January 27, 2012 at 12:08 PM
UIButton event "Touch up inside" under Gesture is not working in my app .. ... View Questions/Answers

struts2 select tag multiple  January 27, 2012 at 12:04 PM
struts2 select tag multiple ... View Questions/Answers

JSP Excel report download for .xlsx format  January 27, 2012 at 12:03 PM
<%@ page contentType="application/vnd.ms-excel" pageEncoding="ISO-8859-1"%> <%response.setHeader("Content-Disposition", "attachment;filename=paxsearchlist.xls"); %> The above code works fine because i am trying to save/open excel file in .xls format but my requirement is to... View Questions/Answers

java  January 27, 2012 at 11:54 AM
i wanna read a particular website and then i wanna read the data which is placed in between html tags like....,etc....and then store into data base... can anybody tell me the solution? ... View Questions/Answers

jframe background color not showing  January 27, 2012 at 11:22 AM
jframe background color is not showing. please suggest. ... View Questions/Answers

class of div tag  January 27, 2012 at 11:19 AM
How can i recognize the selected DIV class ..? ... View Questions/Answers

How to move a file from a directory to other directory  January 27, 2012 at 10:49 AM
I tried the above example it will move the folder to other directory but it does not move the image file or other file to a specified directory. Can anyone help me? Thanks in advance ... View Questions/Answers

database  January 27, 2012 at 9:25 AM
i need to insert time in my database. i need a code to insert time in my database. its very urgent!! ... View Questions/Answers

program not compiling  January 27, 2012 at 1:49 AM
Hello can you help me with this program,I am trying to add a loop at the end of the program but it is not compiling,thank you. import java.util.*; import java.text.*; class HardwareItems { String code; String description; double price; HardwareIt... View Questions/Answers

Java  January 27, 2012 at 1:34 AM
I need a code to add two radio buttons in which one button is selected by default in JSP. Those are Sysmex amalyzer and system analyzer. Please required urgently ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

java html  January 26, 2012 at 10:30 PM
program for jsp ... View Questions/Answers

Time series sorce code  January 26, 2012 at 4:48 PM
hi.......... I want to show the output of my project as time series. Can u give me a simple code for time series. Where i amble able to put on x-axis the date and y-axis the range.? I require the time series forecasting the future......... source code in java swings. ? plz... View Questions/Answers

Time series sorce code  January 26, 2012 at 4:48 PM
hi.......... I want to show the output of my project as time series. Can u give me a simple code for time series. Where i amble able to put on x-axis the date and y-axis the range.? I require the time series forecasting the future......... source code in java swings. ? plz... View Questions/Answers

To store value in session & display it  January 26, 2012 at 4:37 PM
Hello..I m trying to run the following code which will store the session of a book selected on click of the button.But first it was showing NullPointerException and then blank page..Please Help me in this.. This is the JSP Page <html> <h... View Questions/Answers

software  January 26, 2012 at 3:04 PM
Please, Give me sample program for, How to view image on Frame in swing(or)awt(or)applet in Java. (give sample program graduates ... View Questions/Answers

session into a query  January 26, 2012 at 3:03 PM
Hi all this am Sreedhar from Hyderabad i am calling one session variable in mysql query but its not working can any one help me please... here is the query.. $query = 'SELECT * FROM post WHERE post_date < "'.$as.'" and posttitle like "%$SESSION['qs']%" ORDER BY post_date DESC... View Questions/Answers

Software graduates please tell me,  January 26, 2012 at 2:58 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

Software graduates please tell me,  January 26, 2012 at 2:58 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

software  January 26, 2012 at 2:53 PM
Please, How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

JAVA QUESTION  January 26, 2012 at 2:38 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

JAVA QUESTION  January 26, 2012 at 2:38 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

JAVA QUESTION  January 26, 2012 at 2:38 PM
How to view image on Frame in swing(or)awt in Java ... View Questions/Answers

Deployment on apache tomcat 7.0.14.0  January 26, 2012 at 2:00 PM
Hi guys, Sorry but im not speeking english well. During developement , I deploy my app(with the context path : /EasyOrdo.) directly on netbeans, who use this tomcat version, integrated, on port 8084. but I have one another apache tomcat with what I deply others apps that I download, or something ... View Questions/Answers

Deployment on apache tomcat 7.0.14.0  January 26, 2012 at 2:00 PM
Hi guys, Sorry but im not speeking english well. During developement , I deploy my app(with the context path : /EasyOrdo.) directly on netbeans, who use this tomcat version, integrated, on port 8084. but I have one another apache tomcat with what I deply others apps that I download, or something ... View Questions/Answers

question  January 26, 2012 at 12:53 PM
Q2.WAP to convert a octal number into BCD? ... View Questions/Answers

I am creating one jsp page in which I read in a text file, then display that data in tabular format. Now I need to calculate a total.  January 26, 2012 at 12:07 PM
I am reading the file using BufferedReader, then writing the output like this: String fileName = "C:\\M2011001582.TXT"; BufferedReader is = new BufferedReader(new FileReader(fileName)); int lineCount=1; String fileData = ""; out.println("<table ... View Questions/Answers

java  January 26, 2012 at 10:29 AM
can an abstract method be implemented in other class without using extends keyword? ... View Questions/Answers

about array in java  January 26, 2012 at 9:20 AM
speed of a vehicle is measured using the total time and the distance by using the equation given bellow speed(km/hour)=distance(km)/time(hour) Each vehicle is given a unique identification number and the corresponding times are stored in terms of hours. Distance between two cities is 200km and th... View Questions/Answers

accessor arrayList  January 26, 2012 at 2:02 AM
how to use an acccessor to return an arraylist? ... View Questions/Answers

How to create dynamic buttons for adding products on a cart.  January 26, 2012 at 12:17 AM
Hi. I have some problems creating a page to add items into a cart. The page loads dynamic products from a database, and i would like to know how to group this products so that when i click a button, my CartBean gets updated by that product clicked. here, my xhtml page. ... View Questions/Answers

Shannon Entropy Calculation  January 25, 2012 at 11:32 PM
Hi, Can anyone help me to calculate shannon entropy without using Hashmap? ... View Questions/Answers

laxminarayana  January 25, 2012 at 6:17 PM
what is scheduling ... View Questions/Answers

pngcrush caught libpng error not a png file  January 25, 2012 at 4:32 PM
What is " pngcrush caught libpng error not a png file " error that occurs while running my app in simulator? ... View Questions/Answers

XML parsing to Mysql database  January 25, 2012 at 3:14 PM
Can someone please post the code for parsing an XML file into Mysql database using SAX? ... View Questions/Answers

web page reading in java  January 25, 2012 at 2:39 PM
i wanna read webpage in that i want to get the data from the particular tags like (,) and store into the data base...... can any body tell me the solution? plz urgnt. thanks and regards, jasti ... View Questions/Answers

load more with jquery  January 25, 2012 at 12:17 PM
i am using jquery to loadmore "posts" from my site as pagination like twitter... it's working for all posts in my table but it's not working for filtering table.. means if i am entering "php" in my search box its is going to display php posts and after that when i click on load more button it i... View Questions/Answers

Opening Notepad  January 25, 2012 at 11:27 AM
Sir/madam I want to open notepad from java applications and save the contents on it. Can someone please help me to do this. With Regards Vaishnavi Vishwanath ... View Questions/Answers

Java search from sqlservr  January 25, 2012 at 3:06 AM
Hi I am a newbie to java . I know there are a lot of example on search functionality from Db , but can some please help me to implement search functionality where sql server is backend. Thanks ... View Questions/Answers

how to call the print dialog box through JMenuItem  January 24, 2012 at 8:28 PM
What is the way to call the print dialog box through JMenuItem to print the current page...could you please help me by sending code for this?.. ... View Questions/Answers

jsp and struts  January 24, 2012 at 6:00 PM
What is the difference between jsp and struts? Does struts use jsp? ... View Questions/Answers

How to write more than 65536 rows in single excel file but more than 1 sheets?  January 24, 2012 at 3:27 PM
Hi, i want to write more than 65536 rows in single excel file but more than 1 sheets.. now i can write only less than 65536 rows.. but in my office db having more than 1 crore data.. pls help me... here is my code.. public class ExcelInterface extends JFrame implemen... View Questions/Answers

JAVA assignment  January 24, 2012 at 1:24 PM
Is there any1 on this site who can write a java program given a problem statement? any help would be appretiated. ... View Questions/Answers

Website deployment on LAN  January 24, 2012 at 12:57 PM
I have created a dynamic website in netbeans. Now i have to host the website on LAN so that by typing the URL of the project the users are able to view the content from their end. I have no idea as to how i should go about it. I also have a database in Access 2007 at the backend. Plz guide me ste... View Questions/Answers

REGISTRATION OF MBEAN  January 24, 2012 at 12:19 PM
my question is... i have installed jboss, and created a managed Bean(MBEAN)and provided interface and everything. but i dont know whether the service registerd in jmx or not. please suggest me the steps to register a MBEAN in MBEAN SERVER USING JBOSS? ... View Questions/Answers

How can i Dispose Dialog box From LWUIT Component >  January 24, 2012 at 12:10 PM
Hi All, i am Developing one mobile application using lwuit,Midlet.in that am trying to show a dialog when i press key "0". again if i press key "4" the Dialog should be closed.i leave My sample Code Here.go through and let me know the error.Dialog is showing but after i press key 4, th... View Questions/Answers

declare a variable that will store an array of 5 objects  January 24, 2012 at 11:05 AM
Q7. Give a declaration for a variable that will 'store' an array of 5 Card objects. this is my segment: list = new int[5]; I don't know if it is right or wrong. So, kindly could you help me to be a master of Java I would be appreciate it.... View Questions/Answers

Combobox jsp from 0 to 10  January 24, 2012 at 10:43 AM
Hi guys please help me to write a very easy program using jsp to display value in combobox from 0 to 10. How to write the for loop? Please help.Thank!!! ... View Questions/Answers

Count number of characters in a column.  January 24, 2012 at 3:04 AM
I just need you suggestions. Am from Biology Back ground. I just need to find out number of characters in a column i.e, if i have a file with text in this manner ACGT GCTA GCTA i need to count characters in 1st, 2nd, 3rd columns seperatly and also print flase if i found any other characters othe... View Questions/Answers

please help me solve this problem when i am create database connection using servlecontext  January 24, 2012 at 1:05 AM
hi... I have create a database connection using servletcontext . in this code when i login first time it will exceute sucessfully but when i use again the same page it will throw sql exception but i don't understand what is the problem .... the code are as follows. the servle... View Questions/Answers

Dependant & dynamic drop down list - Follow up  January 23, 2012 at 11:03 PM
Thanks for your answer. As per your answer This will select only ONE row (country) from first drop down. In my case user can choose more than one row , which is then sent to next jsp for extract. How to achieve this ? ... View Questions/Answers

Populate a combo box using data from a database  January 23, 2012 at 10:28 PM
Hi Guys, In need of some help, so i have three combo boxes, the first is supplier, the second range and the final model so what should happen is the user selects the first combo box which will then load the next combo box values, now i know how to populate the first one, and t... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

how to validate javascriptcode n i am attaching file give validations  January 23, 2012 at 8:34 PM
<%@page import="java.sql.SQLException"%> <%@page import="com.rajsoft.CAF.util.DBconnection"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.ResultSet"%> <%@page import="com... View Questions/Answers

code to alert when no checkbox is selected and verify them with orther set  January 23, 2012 at 7:47 PM
Hi Guys,I will be very happy if you solve this, I have two lists of checkboxes in the same jsp page , the list names are "attendess" and "Absentees".. Now i need a code to throw alert whenc there is no check box selected under the list Attendees and also alert me when the user checks same name u... View Questions/Answers

Logic and desgin  January 23, 2012 at 7:35 PM
How would this be put in visual logic symbol? ... View Questions/Answers

in my project, i have to add only vertical scrollbar to a panel,but not horizontal scrollbar. i need some example on it,how to doit.  January 23, 2012 at 7:05 PM
in my project, i have to add only vertical scrollbar to a panel,but not horizontal scrollbar. i need some example on it,how to doit. Thanks in advance ... View Questions/Answers

Asp.net with C#  January 23, 2012 at 7:04 PM
Autopopulate values into textbox from database on pressing tab ... View Questions/Answers

Lock while inserting/updating database in multithreaded.  January 23, 2012 at 5:11 PM
Hi, I am having a multithreaded process which replicates the data from many table to one table. My process runs on 4 threads and all are having different connection sessions. I am also handling transaction in such a way that I commit at the end of each transaction and rollback at the time... View Questions/Answers

insert rows from Excel sheet into a database by browsing the file  January 23, 2012 at 3:41 PM
hello, I am trying to insert rows from Excel sheet into SQL database by browsing Excel file in java(JSP). I can insert rows using ODBC connetion. But using odbc user should give DSN in program. I need to insert rows by Browsing file to make it user friendly.i.e user should browse the existing exc... View Questions/Answers

rate and review app iphone  January 23, 2012 at 3:37 PM
How to rate and review app in iphone? ... View Questions/Answers

DMCA.com