Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

Double To Int Without TypeCasting  January 9, 2012 at 3:10 PM
How to convert Double to Int without using typecasting? ... View Questions/Answers

Programming with JSP  January 9, 2012 at 3:02 PM
Who will post me the answer? ... View Questions/Answers

Programming with JSP  January 9, 2012 at 3:01 PM
Write a program using jsp that accepts a course code as input and displays the course title the program to which it belongs ? ... View Questions/Answers

converting binary text to ascii readable text  January 9, 2012 at 1:50 PM
is there a way to read binary txt file and write them as ascii readable text files ... View Questions/Answers

how to do actionsheet in iphone?-RV  January 9, 2012 at 1:10 PM
-(IBAction)buttonClicked { UIActionSheet *asheet = [[UIActionSheet alloc] initWithTitle:@"Share With" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Facebook",@"Twitter",@"Mail",@"SMS", nil]; asheet.actionSheetSty... View Questions/Answers

reading multiple files from a directory and writing them into a single file  January 9, 2012 at 12:25 PM
i have done the following code but the every time i write to the single file i get an empty text file can you guide me how to do this: /*this program reads multiple files * from a single directory. */ package elite.tech.com; import java.io.File; im... View Questions/Answers

how to do map in iphone?-RV  January 9, 2012 at 12:23 PM
In Appdelegate.h @class MapKitDisplayViewController; @interface MapKitDisplayAppDelegate : NSObject <UIApplicationDelegate> { UIWindow *window; MapKitDisplayViewController *viewController; UINavigationController *navigationControlle... View Questions/Answers

Checking the decimal whether comma used or not  January 9, 2012 at 11:26 AM
I need to check the given integer whther comma used or not. For example. If the user given 123456 The output should be like 123,456 If the user given 123,456 The output should be same as the input given(ex:123,456) If the user gives 123456.5 The output should be like 123,456.5 The... View Questions/Answers

Core Java  January 9, 2012 at 3:00 AM
Please write a Java Program to design login form and store the values in file & validate and display the MainForm. ... View Questions/Answers

collection  January 9, 2012 at 1:56 AM
What are differences between Enumeration, ArrayList, Hashtable and Collections and Collection? ... View Questions/Answers

binary search tree  January 9, 2012 at 12:28 AM
how can i make binary search tree? i want write a code that make dictionary with binary search tree data structure.please help me? ... View Questions/Answers

file  January 9, 2012 at 12:24 AM
hi i want read special line of file. what am i doing ? I write a code but is false in this programm i want make tree with java but i should read data from file. please help me! void maketree(BtNode root,int i) throws FileNotFoundException, IOException{ ... View Questions/Answers

About java and JDBC  January 8, 2012 at 11:59 PM
Hello sir, I am doing project on java thats on swings,and using the dbase as MSSQL. what i want to know is i had created a name ,textfield ,calender(for DObirth selection), this is displayed in GUI window. Then i had created a table of Patient name ,DOBirth fields in MSSQL.Here... View Questions/Answers

About java and JDBC  January 8, 2012 at 11:59 PM
Hello sir, I am doing project on java thats on swings,and using the dbase as MSSQL. what i want to know is i had created a name ,textfield ,calender(for DObirth selection), this is displayed in GUI window. Then i had created a table of Patient name ,DOBirth fields in MSSQL.Here... View Questions/Answers

help me  January 8, 2012 at 10:51 PM
Dear sir/medam i would like to know how to use the java string class method my programm have four button,(enter the text) that first button is To upper case,second button is lower case Third button is Reverse the order, Fourth button is Find length of text. and there are panels. Please help m... View Questions/Answers

help me to solve this question  January 8, 2012 at 8:22 PM
A user needs to key in data into system in order to save data into array. The data are: a. Lecturer ID, Lecturer name, School, course code, course name, session, semester A user can edit the data that has been added into array with the following features: a. Edit the course code,... View Questions/Answers

about form  January 8, 2012 at 7:29 PM
how to dynamically increase the textbox in the 2nd form when i gave any value in textbox of form1 . if i gave 5 in the textbox of form1 , totally 5textbox have to be created in form2. ... View Questions/Answers

how to do CRUDE operation in iphone?-RV  January 8, 2012 at 4:04 PM
.h file #import <sqlite3.h> @interface RootViewController : UIViewController { IBOutlet UIView *page1; IBOutlet UIButton *b2; IBOutlet UITextField *textid; IBOutlet UITextField *textname; IBOutlet UILabel *status; ... View Questions/Answers

How to implement xml parsing in iphone ? -RV  January 8, 2012 at 3:51 PM
In .h file @interface RootViewController : UITableViewController<NSXMLParserDelegate>{ IBOutlet UITableView *page1; NSMutableArray *titlearray; NSMutableArray *descarray; NSMutableArray *linkarray; NSMutableArray *pubdate... View Questions/Answers

can any one give the frogort password code using jsp,  January 7, 2012 at 10:17 PM
plz give the code for frogot password ... View Questions/Answers

database  January 7, 2012 at 5:30 PM
how to search data from database using jsp & how to rank the searched result using any searching algorithm ... View Questions/Answers

JAVA PROGRAMMING  January 7, 2012 at 3:30 PM
WAP to generate the following Series * * * * * * * * * * * * * * * ... View Questions/Answers

Add/Remove Rows Dynamically with drop down list in html table using php  January 7, 2012 at 12:41 PM
Here Is My Code. I want to give and get the id of drop down list. Can Anyone Help? Dropdowndesign.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title... View Questions/Answers

stack using linked list  January 7, 2012 at 12:36 PM
how to implement stack using linked list? ... View Questions/Answers

contact and activity management system  January 7, 2012 at 12:20 PM
how to make a web application on contact and activity management system. can anyone help me.. ... View Questions/Answers

find the given input is integer or string  January 7, 2012 at 12:02 PM
simple coding for to check the given input value is integer or no.If the given value is integer display "Value is integer" otherwise "Value is not a integer"? ... View Questions/Answers

java  January 7, 2012 at 11:37 AM
i need array programs... ... View Questions/Answers

implementation of stacks using linked lists in c++  January 7, 2012 at 9:07 AM
how to implementation of stacks using linked lists in c++ ... View Questions/Answers

Database  January 6, 2012 at 9:16 PM
How to represent data from database in a tree? ... View Questions/Answers

javascript  January 6, 2012 at 4:32 PM
javascript code to dynamically add table on button click ... View Questions/Answers

need code for file browser  January 6, 2012 at 3:47 PM
hi, i need to write a code to browse the file in my computer using Jsp or java.. what is the code for file browser? ... View Questions/Answers

dyanamic upload of images using struts without database connection  January 6, 2012 at 3:25 PM
I want to upload images dynamically with out using data base..and want to create image for every user in my db ... View Questions/Answers

dismiss uialertview  January 6, 2012 at 3:20 PM
How to dismiss UIAlertview ? ... View Questions/Answers

Live Chat Application  January 6, 2012 at 2:54 PM
Hello sir, I want to create "Live Chat Application" for my web site. When any person click on the Live Chat tab, it should be able to communicate with me. please help me sir, by providing the source code. Thanks in Advance.. ... View Questions/Answers

Query regarding hashmap  January 6, 2012 at 2:38 PM
I want to store some names and ids in hashmap in session, then retrieve it on next page and iterate through ids to run a query using ids one at a time. ... View Questions/Answers

Java Swing  January 6, 2012 at 2:16 PM
i have a Label more than that of a frame .... how to extend the frame to view the label which are hidden.. please send me the coding sir/madam..... ... View Questions/Answers

Java Swing  January 6, 2012 at 2:16 PM
i have a Label more than that of a frame .... how to extend the frame to view the label which are hidden.. please send me the coding sir/madam..... ... View Questions/Answers

Java Swing  January 6, 2012 at 2:16 PM
i have a Label more than that of a frame .... how to extend the frame to view the label which are hidden.. please send me the coding sir/madam..... ... View Questions/Answers

How to transfer a file in java using SSH & Telnet  January 6, 2012 at 2:11 PM
How to transfer a file in java using SSH & Telnet? ... View Questions/Answers

Java Swing  January 6, 2012 at 1:55 PM
i have a Label more than that of a frame .... how to extend the frame to view the label which are hidden.. please send me the answer sir/madam..... ... View Questions/Answers

JScrollBar  January 6, 2012 at 1:48 PM
if i move the scroll bar (vertical/horizontal) in a frame means the screen should be moved... please send the coding for that sir/mam.. ... View Questions/Answers

address1 and address 2 validation  January 6, 2012 at 11:17 AM
Hi sir/Madam, I m doing One Project Quite now. I would like to validate address that comprises of door numbers,street name, area name .Please provide java-script to do the same.Thanks in advance. ... View Questions/Answers

use of ActionMapping in validate()  January 6, 2012 at 10:54 AM
why do we pass actionmapping in validate(ActionMapping mapping,HttpServletRequest) even we don't use actionmapping in that method. ... View Questions/Answers

Uploaded File View Page  January 6, 2012 at 10:45 AM
hello, How to view the uploaded file with out downloading it into the machine by using JSP. Sharath ... View Questions/Answers

Java Swing  January 6, 2012 at 10:33 AM
I want scroll bar in a frame is it possible? if it is possible means i want coding for that please send me a reply.... ... View Questions/Answers

Problem with arraylist  January 5, 2012 at 8:04 PM
I am currently working on a java project and there is an if loop within the for loop.... for(int i = 1;i < iterationsNo;i++) { if(areEqual(cluster1_output_record.get(i),clusterMean1) && areEqual(cluster2_output_record.get(i),clusterMean2) &a... View Questions/Answers

How to ensure the same output by java code on 32 bit m/c and 64 bit m/c  January 5, 2012 at 7:12 PM
How to ensure the same output by java code on 32 bit m/c and 64 bit m/c? ... View Questions/Answers

How to invoke method of a library from command line  January 5, 2012 at 7:11 PM
Suppose there are two methods in a libray and you have to invoke one of the method from that library directly from the command prompt. How will you do it? ... View Questions/Answers

JAVA BEGINNER  January 5, 2012 at 6:07 PM
IS JAVA PURE OBJECT ORIENTED OR NOT? ... View Questions/Answers

SWINGS  January 5, 2012 at 6:05 PM
WHAT ARE THE DIFFERENCES BETWEEN AWT AND SWINGS? ... View Questions/Answers

Live Chat Application using java  January 5, 2012 at 4:03 PM
I want to develop Live Chat Application for my web site, please help me by posting the code or by giving any suggestion, by which i can develop it.... Thanks in advance ... View Questions/Answers

Live Chat Application using java  January 5, 2012 at 4:03 PM
I want to develop Live Chat Application for my web site, please help me by posting the code or by giving any suggestion, by which i can develop it.... Thanks in advance ... View Questions/Answers

server side validation in struts  January 5, 2012 at 4:01 PM
Hello sir, i want to do server side validation in struts based on 3 fields. those 3 field are BatchNo,LotNo,StepNo.Here we can have the same batchno,lotno for different forms,but the stepNo should be unique....i have to display error if these 3 are repeated again...This should be done th... View Questions/Answers

Query regarding JSP, JDBC  January 5, 2012 at 3:20 PM
can I get the code for the question asked by me regarding JSP,JDBC. ... View Questions/Answers

Query regarding JSP, JDBC  January 5, 2012 at 3:11 PM
I have a table in SQL Server database storing some ids and names. In my jsp code a while loop is displaying the list of names from the database as links. I want that on click of a link of name furthur information corresponding to it in the database should be displayed on next page by runn... View Questions/Answers

access into radio button  January 5, 2012 at 1:07 PM
access the four fields of database called access,access file and stored in radio button.please help ... View Questions/Answers

when will we get JasperException and parseException?  January 5, 2012 at 11:33 AM
when will we get JasperException and parseException? ... View Questions/Answers

java code Translitrator from english to hindi  January 5, 2012 at 10:30 AM
I need help to develop a java translitrator application that transforms english to hindi.. ... View Questions/Answers

c-language pointer functions  January 5, 2012 at 8:11 AM
what is the execution process of character pointer functions with example ... View Questions/Answers

java game  January 5, 2012 at 5:01 AM
Can anyone please give me a game source code? ... View Questions/Answers

Array and input  January 5, 2012 at 4:47 AM
if this is my array int briefcases [ ]={1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26}; i want to ask user to input one of the above numbers then i want to print the array without the number user input. how will i do tht? ... View Questions/Answers

convert voice to digital  January 4, 2012 at 9:26 PM
How to convert human voice to the digital signal(binary) that can stored in notepad. Then, this notepad can be used for data input to the back propagation neural network. Example in notepad, 167,1,0,125,0,0,0 1,0,11,10,01,11,01 1,1,11,01,11,11,11 ...... View Questions/Answers

File insertion into oracle database  January 4, 2012 at 8:39 PM
How to Read and Insert a file (any format) into a Oracle database? ... View Questions/Answers

How to parse an HTML link and display whole content, in iPhone?  January 4, 2012 at 5:59 PM
I want to display whole content of any HTML link in a textview. I searched so many links , i could only get page titles or some part of the HTML page. But I could not get the whole content. Please refer any links or code to display whole content. Thanks in advance. ... View Questions/Answers

Packages needed for JDBC in Linux  January 4, 2012 at 4:30 PM
Can anyone tell me the packages needed to run a program with JDBC in Red Hat 5? ... View Questions/Answers

JProgressBar  January 4, 2012 at 4:17 PM
Have written the following code (with help from this website).My problem is that i want the JProgressBar to disappear and a new JFrame to appear as soon as the progress bar is complete. Please Help!!!!!! Here is my code import java.awt.*; import java.awt.even... View Questions/Answers

DMCA.com