Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

File I/O  January 16, 2012 at 1:07 PM
greetings i was running into a problem. is their a way to read multiple files from one and write the in a different directory one by one ... View Questions/Answers

image display  January 16, 2012 at 12:29 PM
sir the answer which you have sent to me is already I have I want to know that the syntax which you have writen for display "response.getOutputStream().write(bytearray,0,size); is absolutely right but i want to display in "div image from databse /div" plz help me i will wait for ur reply ... View Questions/Answers

image display  January 16, 2012 at 12:27 PM
sir the answer which you have sent to me is already I have I want to know that the syntax which you have writen for display "response.getOutputStream().write(bytearray,0,size); is absolutely right but i want to display in image from databse plz help me i will wait for ur reply ... View Questions/Answers

Advertisement

how can i display the dates of one week by selecting the date randomly from the calendar?  January 16, 2012 at 12:08 PM
I am facing a problem in my application,Here i should display the calendar, simultaneously i want to display the list of seven dates from the date selected from the calendar. how can we display the dates by picking the date randomly? ... View Questions/Answers

Hospital project  January 16, 2012 at 10:31 AM
hello sir i want hospital management system Source code in C # swing Back-end sql sever 2005. i want these type of model 1. Username and password 2. staff details i. Doctor details ii. nurse details iii. Compounder details iv. Lab technician details v. Wardboy details vi. Sweeper details ... View Questions/Answers

asp.net mobile website  January 16, 2012 at 8:09 AM
hello all.Which framework should I use to develop an asp.net mobile website?I'm currently using visual studio 2010 but it does not have the mobile webform as template. So, should I use the latter or normal web form to develop my website. Thanks :) ... View Questions/Answers

Code for opening a new mail from the default mail box and copy the database contents  January 15, 2012 at 11:16 PM
Guys, here is how it goes when i click on a button say "mail", the code fetches the receipients, subject and the body of the mail from database, now i want a code wherein when i click on "mail" the above said data should respectively be fetched ,and my default mail should be opened and a new mail... View Questions/Answers

national polling system in secure and manager  January 15, 2012 at 10:56 PM
plz help me..i want source code of my project..plz plz send to me ... View Questions/Answers

sorting  January 15, 2012 at 5:10 PM
I have got 3 questions in interview . please help me how to do ? 1) public int rotatedSearch(int[] values, int start , int end , int x) { //implement a search function for a sorted rotated array. //duplicates are allowed. Returning any one of the duplicates is acceptable. } 2) pu... View Questions/Answers

please help me here  January 15, 2012 at 2:09 PM
please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an o... View Questions/Answers

please help me here  January 15, 2012 at 2:09 PM
please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an o... View Questions/Answers

java programming code  January 15, 2012 at 2:00 AM
strong textHi I need the java code for the folllowing java output can you help me?The user inputs for the program are in inverted commas thank you. Blockquote HARDWARE ITEMS CODE DESCRIPTION UNIT PRICE K16 Wood screws, brass, 20mm, pack of 50 $ 7.75 D... View Questions/Answers

ask user how many numbers to be inputted and determine the sum and highest number using an array in java  January 14, 2012 at 6:28 PM
ask user how many numbers to be inputted and determine the sum and highest number using an array in java ... View Questions/Answers

command prompt is compilation is not working  January 14, 2012 at 6:06 PM
Dear java users can anyone help me to run the program in command line prompt i tried by selecting the environment variable and class path and path in my system my program is compiling and generation the class file using javac c:\helloworld.java command and the class file is also getting generated... View Questions/Answers

image display  January 14, 2012 at 5:41 PM
hello sir this is saurav srivastav, I am developing my website I have seen all the results of displaying and I got some good code for uploading image in ms access database and also seen the result of displaying image from access database but Sir I want that how I display image from database on a ... View Questions/Answers

core java  January 14, 2012 at 2:38 PM
Dear Friends, I am new to java and i faced one program.Can any one just help me getting output for this program given below: a a b a b c a b c d a b c d e a b c d e f a b c d e a b c d a b c a b a how can we get this out using for loop.please help me.Thank you!!! ... View Questions/Answers

playing an audio file  January 14, 2012 at 12:02 PM
In playing an audio file we have to take one method getAudioClip(getCodeBase(), "TestSnd.wav") inside that getCodeBase() is there which generate an object of URL class .it generates an error.please tell me how to solve this problem and also tell me where i should pass my audio clip path ... View Questions/Answers

is it possible to connect the multiple databases from the hibernate application  January 13, 2012 at 11:25 PM
is it possible to connect the multiple databases from the hibernate application,if it is possible then tell me with step wise manner ... View Questions/Answers

HTMLEncode and HTMLDecode  January 13, 2012 at 11:13 PM
Sir I need your help... Suppose there are 2 dropdownlists in my page. Firstly, I fill the first one with values from database using ajax. There is a field (say code) in the database that contains values with some special characters (e.g ten&five>four)... View Questions/Answers

HTMLEncode and HTMLDecode  January 13, 2012 at 11:09 PM
Sir I need your help... Suppose there are 2 dropdownlists in my page. Firstly, I fill the first one with values from database using ajax. There is a field (say code) in the database that contains values with some special characters (e.g ten&five>four)... View Questions/Answers

HTMLEncode and HTMLDecode  January 13, 2012 at 11:09 PM
Sir I need your help... Suppose there are 2 dropdownlists in my page. Firstly, I fill the first one with values from database using ajax. There is a field (say code) in the database that contains values with some special characters (e.g ten&five>four)... View Questions/Answers

Is the logic correct to detect IE version..plz let me know  January 13, 2012 at 5:52 PM
<html> <head> <script type="text/javascript"> function checkIEVersion() { var IE_Version; var IE_Engine; /*@cc_on @if( @_jscript_version < 9 ) { if( @_jscript_version >= 5.8 ) IE_Version = "8"; ... View Questions/Answers

hello there i need help  January 13, 2012 at 12:42 PM
: i need to do a program like this: Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an option then i should proceed here if i choose b: YOur Balance is __ i... View Questions/Answers

convertig biginteger value into integer  January 13, 2012 at 12:05 PM
I want to parse a BigInteger class variable into integer like BigInteger p = BigInteger.valueOf(10); now i want to convert p value into int . I searched so many times on google to solve this problem but i found no solution so please somebody help me to solve this problem .I am the beginner in ja... View Questions/Answers

forwarding request to a jsp when user clicks on back button in ie  January 13, 2012 at 12:03 PM
Hi all, I have developed a web based application. After user log out of the application, We should not allow the customer to go back to the previous page. Can we forward request to a jsp page whenever user clicks on back button?. If it is possible, please help me in resolving this proble... View Questions/Answers

how to validate all form field values at once.  January 13, 2012 at 12:02 PM
how to validate all form field values at once. condition:no form field shold contain sometext("--select--") ... View Questions/Answers

jsp images  January 13, 2012 at 10:55 AM
hi I had done a demo application using jsp. And i tried to display some images which is located in the server folder. It has done by using the IP address path of that image folder.. It has been success full in IE. But it doesn't get displayed in chrome and Mozilla. What's the problem with... View Questions/Answers

Doubts regarding images  January 13, 2012 at 10:49 AM
hello, I am dynamically generating an image in my system with out using database.. And i want the same image if i access the address bar url in other system image xhould be occur in other system also.. so can any one help me out in doing this.. thanks in advance. ... View Questions/Answers

Setting environment variables  January 13, 2012 at 10:26 AM
Hi, I have a java web application running on jboss AS. 1)How do I set the environment variable in jboss? 2)How do I get the environment variable from jboss? ... View Questions/Answers

Network monitoring under LAN  January 13, 2012 at 10:00 AM
am in search of a java program that monitors the real time traffic statistics such as datarate,traffic flow of a LAN....can any one help me by posting java codes or related ideas.. ... View Questions/Answers

lists  January 13, 2012 at 6:02 AM
how to implement lists by using array? ... View Questions/Answers

database and servlets  January 13, 2012 at 2:10 AM
how can get the questions from a database and use it as questions for a form. and present one question per page. its for a tomcat server ... View Questions/Answers

code for program  January 13, 2012 at 12:30 AM
hello,I am new to java and need to get the code for a program,i've been trying all sorts of code and nothing works any help would be appreciated.Below is what the program should output with the user's input enclosed in inverted commas thank you. BlockquoteHARDWARE ITEMS C... View Questions/Answers

compilation error  January 12, 2012 at 11:12 PM
Hi my program below is not compiling,when I try to compile it i'm getting the error message "tool completed with exit code 1".The loop has to be at the end of the program can you help me. Blockquoteimport java.util.*; import java.text.*; class HardwareItems { St... View Questions/Answers

super class  January 12, 2012 at 11:08 PM
which is the super base class in java..? ... View Questions/Answers

abstract method  January 12, 2012 at 11:05 PM
is final method is in abstract class or not ...? ... View Questions/Answers

mailserver  January 12, 2012 at 10:38 PM
how to fatch email into mailbox? ... View Questions/Answers

threads in java  January 12, 2012 at 9:22 PM
how to read a file in java , split it and write into two different files using threads such that thread is running twice ... View Questions/Answers

struts 1.3  January 12, 2012 at 6:25 PM
my requirement is i have two drop downs.second drop down menu is connected to first drop down.when i click an item from first drop down all the data related to that item in database will come in next drop down menu using struts 1.3 but without using ajax. ... View Questions/Answers

event tracking code  January 12, 2012 at 6:24 PM
a javascript written that will help us to track sitewide, even tracking in Google Analytics ... View Questions/Answers

parse url iphone sdk  January 12, 2012 at 4:58 PM
How can i parse two different URL's using NSXMLParser.... ... View Questions/Answers

Modify Data Type with ALTER Command  January 12, 2012 at 3:18 PM
Is it possible to modify the Data type of a column which has at least one data in it?If it is possible,then what will happen to the data in the column? Example. Table Name: Emp EmpName | Salary Smith | 10000 The above table is with 'Char' as datatype for... View Questions/Answers

using java.lang.OutOfMemoryError: Java heap space  January 12, 2012 at 1:51 PM
i wrote a program that reads and writes multiple files and combines them and writes them as one single file in as CVS format(bin.txt). After the program is done then another class reads the new file and removes extra delimiter(,) that the first file had at the end for some reason. the problem com... View Questions/Answers

database  January 12, 2012 at 12:02 PM
i need optimised search algorithm and ranking algorithm for my project. i planned to develop one real time application. in that i search user required data from the database and rank the results and display it to the user can you tell any real time application which is not currently available? ca... View Questions/Answers

database  January 12, 2012 at 12:01 PM
i need optimised searching algorithm to retrieve the data from the database and optimised ranking algorithm to display the reults into the user.. ... View Questions/Answers

json and android  January 12, 2012 at 4:52 AM
how can i use a json string [{"Id":10,"News":"sportnews"}] and fill a spinner for a android app?. i tried and i got a: AndroidRuntime:android.widget.ArrayAdapter.createViewFromResource(Adapter.) ... View Questions/Answers

jsp code plz  January 12, 2012 at 12:46 AM
write jsp code which takes student roll number as input and prints the student group,study center, and his grade card ... View Questions/Answers

Hybernate technology  January 12, 2012 at 12:03 AM
what is hybernate technology in java ... View Questions/Answers

adding loop  January 11, 2012 at 11:42 PM
Hi I have a program that is not compiling when I add a loop can you help me?The program below is compiling without the loop. > Blockquote mport java.util.*; import java.text.*; import java.util.Scanner; class HardwareItems { String code; S... View Questions/Answers

ajax  January 11, 2012 at 10:47 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

ajax  January 11, 2012 at 10:47 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

ajax  January 11, 2012 at 10:47 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

ajax  January 11, 2012 at 10:46 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

form field mapping with pdf file using java  January 11, 2012 at 5:05 PM
Hai all, I have one requirement that i have one html form.i have to map the form fields with pdf file. means, if click on text field according that perticular field .the data related to the field in pdf file should marked with a color. can any one give an idea regarding ... View Questions/Answers

insert rows from browsed file to sql database  January 11, 2012 at 3:50 PM
i need to insert rows from excel to database by browsing the file in jsp. by connecting both the databases using odbc i can do this. but after browsing and uploaded the file, content of the file has to go to database. how can i insert record into database by browsed file??? ... View Questions/Answers

Searching operation in JAva  January 11, 2012 at 1:52 PM
Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular date. I want to refine my search. Can anybody plz tell me how can I perform search using date, let... View Questions/Answers

Searching operation in JAva  January 11, 2012 at 1:52 PM
Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular date. I want to refine my search. Can anybody plz tell me how can I perform search using date, let... View Questions/Answers

Searching operation in JAva  January 11, 2012 at 1:52 PM
Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular date. I want to refine my search. Can anybody plz tell me how can I perform search using date, let... View Questions/Answers

Searching operation in JAva  January 11, 2012 at 1:52 PM
Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular date. I want to refine my search. Can anybody plz tell me how can I perform search using date, let... View Questions/Answers

xml Converting to java using JDOM  January 11, 2012 at 1:26 PM
Hello , I am new to java and JDom so i make a Xml file and i need help to read it from java using objects , my idea is i have school has a class,class has a 3 students ,student has a address and in java i have school,class,student,address class each one have a setter and getter , i dont know how ... View Questions/Answers

Static Variable  January 11, 2012 at 12:43 PM
What is the basic use of introducing static variable type in java?Please explain clearly.... ... View Questions/Answers

How to retrieve single row from MSSQL  January 11, 2012 at 12:05 PM
Hello sir, Sir i had created the table in MSSQL,the fields with patient name,pid,Dname(doctor name),technician name.Here it contains say four names in the table.I had created the patient name and doc name and search button in GUI window.What i want is after giving the name of ... View Questions/Answers

How to retrieve single row from MSSQL  January 11, 2012 at 12:05 PM
Hello sir, Sir i had created the table in MSSQL,the fields with patient name,pid,Dname(doctor name),technician name.Here it contains say four names in the table.I had created the patient name and doc name and search button in GUI window.What i want is after giving the name of ... View Questions/Answers

How to retrieve single row from MSSQL  January 11, 2012 at 12:05 PM
Hello sir, Sir i had created the table in MSSQL,the fields with patient name,pid,Dname(doctor name),technician name.Here it contains say four names in the table.I had created the patient name and doc name and search button in GUI window.What i want is after giving the name of ... View Questions/Answers

Drools Application in Java  January 11, 2012 at 12:03 PM
when I have make a drools application using java and eclipse i have a facing a error Unable to instantiate service for Class 'org.drools.builder.KnowledgeBuilderFactoryService' I was searching this error in net but I'll not find a proper solution any one plz.. give me a solu... View Questions/Answers

Tomcat Server configuration with Eclipse at remote machine  January 11, 2012 at 10:52 AM
"Several Ports (8081,8009), required by /Tomcat v6.0 Server at a localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)." This ... View Questions/Answers

invoice  January 11, 2012 at 5:17 AM
Hello I need the code to output an invoive for a java program any help would be appreciated.The output would look like this: INVOICE FOR ORDER John James Apt 23 Building 10 California POST CODE:67852 D24 Paint,blue,1 litre 2 @ $ 5.50 $ 11... View Questions/Answers

weblogic server  January 11, 2012 at 12:06 AM
as a java developer how much knowledge he has to know about the weblogic sever,if one know please give me reply ... View Questions/Answers

Sending SMS From Java Programs  January 10, 2012 at 10:34 PM
I want to develop and application to send sms from my computer, can someone please help me, like tell me where to start and what i need? ... View Questions/Answers

Sending Emails In Java  January 10, 2012 at 9:39 PM
I want to send emails from within a java program. I saw some online java programs to do that, but they needed me to enter a smtp server, but i don't know what that should be. Can someone please help with how to write the code? ... View Questions/Answers

Sending Emails In Java  January 10, 2012 at 9:39 PM
I want to send emails from within a java program. I saw some online java programs to do that, but they needed me to enter a smtp server, but i don't know what that should be. Can someone please help with how to write the code? ... View Questions/Answers

Sending Emails In Java  January 10, 2012 at 9:39 PM
I want to send emails from within a java program. I saw some online java programs to do that, but they needed me to enter a smtp server, but i don't know what that should be. Can someone please help with how to write the code? ... View Questions/Answers

error in uploading image from jsp to oracle 10g database  January 10, 2012 at 7:59 PM
java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested when i try to insert into the image into the database i got the above error please advice how to get rid of error ... View Questions/Answers

Graph  January 10, 2012 at 7:38 PM
What is the code to generate the following graphs? 1.Simple Bar diagram 2.Sub-divided Bar diagram 3.Pie chart Please Help!!!! ... View Questions/Answers

string  January 10, 2012 at 6:54 PM
difference detween "public static void main (String[] args) " and "public static void main (String args[])" in java but it executes both ,in java which one is legal ... View Questions/Answers

txt to cvs format  January 10, 2012 at 6:45 PM
i am writing a simple program that read a text file from one directory and writes an new one in cvs format in another one. I am running into a problem on how to correctly format it . for now this is what i have can someone help me.. thank you :) first class: package elite.tech.com... View Questions/Answers

XmlBeanFactory is depricated from spring3.0  January 10, 2012 at 4:42 PM
XmlBeanFactory is depricated from spring3.0 So how to load Sping config ... View Questions/Answers

query regarding arraylist  January 10, 2012 at 4:21 PM
i m using sql server + jsp to develop my program. i have a problem of fetching data from the table in database. i m storing my keys in arraylist, now i want to get data according to that keys. keys are ids in database. The corresponding data should be displayed on click of an item in the list.... View Questions/Answers

I am writing a program which converts a string to a timestamp and add days to it  January 10, 2012 at 4:04 PM
java.sql.Timestamp ts2 = java.sql.Timestamp.valueOf("2012-01-11 12:34:39"); long l=ts2.getTime() +(100060602424);//add 24 days Date d=new Date(l); System.out.println(d); output=Sat Feb 04 12:34:39 IST 2012 //correct java.sql.Timestamp ts2 = java.sql.Timestamp.val... View Questions/Answers

Publish WSDL  January 10, 2012 at 3:57 PM
How can we publish Web Services using Eclipse? What all plugins are required? Do we have to create our own registry for publishing or are private UDDI registries still available? ... View Questions/Answers

Publish WSDL  January 10, 2012 at 3:56 PM
How can we publish Web Services using Eclipse? What all plugins are required? Do we have to create our own registry for publishing or are private UDDI registries still available? ... View Questions/Answers

Tomcat Configuration For Eclipse Server  January 10, 2012 at 3:35 PM
How to configure Eclipse Tomcat Server? I am using Tomcat 6.0v Thanks In Advance ... View Questions/Answers

Java Example projects about STRUTS  January 10, 2012 at 2:13 PM
Hai... I completed MCA but i have no job in my hands. But i do some small projects about STRUTS. Please send me some example projects about STRUTS. ... View Questions/Answers

prime nos  January 10, 2012 at 1:22 PM
Instead of using break statement in finding the prime nos ,is there any other way ?? if it is there pls tell that also ... View Questions/Answers

how to disable submit button in jsp using servlet when some condition is satisfied  January 10, 2012 at 10:45 AM
how to disable submit button in jsp using servlet when some condition is satisfied ... View Questions/Answers

jsp  January 10, 2012 at 10:27 AM
sir i am trying to connect the jsp with oracle connectivity ,but i am facing some prblems please help me. ... View Questions/Answers

java  January 10, 2012 at 8:30 AM
how to work with netbeansIDE7.1.sir,i am doing project in java. ... View Questions/Answers

loop  January 10, 2012 at 5:31 AM
strong textHello can someone help me with this problem,I need to output the following code using a loop the code is as follows with the user inputs in inverted commas,thanks. ENTER CODE(XX to Stop) CODE:"D24" QUANTITY:"2" CODE:"K19" QUANTITY:"1" CODE:"XX" ... View Questions/Answers

servlet and jsp  January 10, 2012 at 5:17 AM
how can i get a form question from a database and post it as a form? and is it possible to get a previous and next button for each question in the form? And what is the best way to bind a user id with the form answers and form questions in a database? what i want to make is a survey system with s... View Questions/Answers

Variable length arrays?  January 10, 2012 at 1:19 AM
Hi: I enjoy reading from your site especially the example seem to speak louder than the description. Thanks for your service. I would like to know what type data structure can be used to represent a variable length string array such as the following itemList[0] = {"r... View Questions/Answers

Allow to Enter only numeric data.  January 9, 2012 at 11:24 PM
hi....... I want to ask that in my project i have a textfield where user is going to enter the data so i want that the user should allow to enter only numeric data. I mean to say that if user enters character or string data a message must be displayed in message box that enter on... View Questions/Answers

Modifying a single row of database based on selection in jsp  January 9, 2012 at 7:00 PM
Hi guys, i have a problem, I am Fetching the results from database and displaying in a row with s3everal columns, each row having a radio button and a value to a radio button is unique... Now i ve to write a code wherein i wil be able to modify or delete the selected row and update to database..... View Questions/Answers

Web Services  January 9, 2012 at 5:20 PM
Explain web services with example?? asked by 4p3 ... View Questions/Answers

WEB Design  January 9, 2012 at 4:53 PM
Write a program to open the link in first frame in another frame? ... View Questions/Answers

Select from drop down and load the appropriate application resource.properties in struts2  January 9, 2012 at 4:39 PM
I would like to use a dropdown for selecting a language in my application .On selecting a language the appropriate applicationresources.properties must be loaded . Please Help. ... View Questions/Answers

How to insert rows from Excel spreadsheet into database by browsing the excel file?  January 9, 2012 at 3:49 PM
I want to insert rows from excel sheet to database.for this i have connected both the database using ODBC and inserted. but i need to select the excel file using file browsing dialogue through form in JSP. How can i select excel file and insert rows into MSSQL database in JSP??? ... View Questions/Answers

Problem  January 9, 2012 at 3:32 PM
import java.io.*; import java.net.*; public class EchoClient { public static void main(String[] args) throws IOException { Socket echoSocket = null; PrintWriter out = null; BufferedReader in = null; try { echoSocket = n... View Questions/Answers

Problem  January 9, 2012 at 3:31 PM
import java.io.*; import java.net.*; public class EchoClient { public static void main(String[] args) throws IOException { Socket echoSocket = null; PrintWriter out = null; BufferedReader in = null; //InetAddress address ="192.168.1.... View Questions/Answers

request to help  January 9, 2012 at 3:25 PM
how to write the program for the following details in java Employee Information System An organization maintains the following data about each employee. Employee Class Fields: int Employee ID String Name Date date... View Questions/Answers

DMCA.com