Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

upload image using JSP Hibernate  March 4, 2011 at 2:51 PM
sir, I want to take image from user and save to database(MYSQL) using Hibernate and JSP Thanks in advance. ... View Questions/Answers

here we r getting the problem with ut data and get data????????????  March 4, 2011 at 2:26 PM
private ArrayList keys; private ArrayList values; public Menus() { keys = new ArrayList(); values = new ArrayList(); } public java.util.Set keySet() { return new TreeSet(keys); } Hashtable<String,String> hash = new Hashtab... View Questions/Answers

java i/o operations  March 4, 2011 at 2:06 PM
how to write integer data to a file in java using random access file object or file writer or data outputstream i have already tried the write and writeInt methods....plz help ... View Questions/Answers


ExecuteScalar in java  March 4, 2011 at 1:58 PM
Hello Greetings I am developing web application in java using JSP and servlets. I would like to know one thing that is there any way to extract one value from database just like executescalar in .NET. Ex. select count(*) from userdetails i want to get count without using resultset... View Questions/Answers

array ADT  March 4, 2011 at 1:21 PM
Write a program using array_ADT to retrieve a list of elements from a file ... View Questions/Answers

array ADT  March 4, 2011 at 1:16 PM
Write a program using array_ADT to retrieve a list of elements from a file ... View Questions/Answers

take variables in text file and run in java  March 4, 2011 at 1:08 PM
I have a text file which have variables 17 10 23 39 13 33 How to take "17"in java code? ... View Questions/Answers

array ADT  March 4, 2011 at 1:03 PM
Write a program using array_ADT to retrieve a list of URLs from a file. In your program take an array index as the input and delete the entry corresponding to that index. ... View Questions/Answers

json  March 4, 2011 at 12:23 PM
how to get data in json object from database ... View Questions/Answers

jsp program related  March 4, 2011 at 11:57 AM
how to run jsp program ... View Questions/Answers

how to set size of button,textfield.  March 4, 2011 at 11:52 AM
how we set size of button textfield etc and reduce problem when click maximize button the text or textfield get large how to set as a preferd size in the panel or frame .when we click maximize button not effect on text or button to their of size the set on the prefered size ... View Questions/Answers

LOGIN PAGE  March 4, 2011 at 11:45 AM
A java program with "login" as title,menus added, and a text field asking for firstname, lastname, and displaying current date and time ... View Questions/Answers

Android  March 4, 2011 at 11:02 AM
how to read input values from a dialog box to hash table and put those values to another dialog box in android???? ... View Questions/Answers

URGENT !!!!! Any PERL language Expert .  March 4, 2011 at 10:51 AM
I have input 50 amino acid sequences in NetPhos 2.0 server to know position of phosphorylation sites. I want to extract or parse the position of phosphorylated serine, tyrosine and threonine residues from result table of NetPhos 2.0 server (ExPASy tool) in MS EXCEL sheet. Can this be d... View Questions/Answers

Mobile Communication  March 4, 2011 at 10:42 AM
how two mobiles communicates? ... View Questions/Answers

error in driver  March 4, 2011 at 10:27 AM
i have done connection settings for oraclethin driver in netbeans ide 6.9.1. and i was able to view tables of my database.but when i am trying to access tables from my java class i was getting error in the driver.could you please help me. ... View Questions/Answers

TextField on the Image  March 3, 2011 at 11:47 PM
how we set label or textfield etc. on the Image ... View Questions/Answers

javascript validation  March 3, 2011 at 11:42 PM
How to do javascript validations to check whether the entered primary key is present in the database or not .Iam using jsp language ... View Questions/Answers

javascript validation  March 3, 2011 at 11:42 PM
How to do javascript validations to check whether the entered primary key is present in the database or not .Iam using jsp language ... View Questions/Answers

help with JDateChooser to insert date into sql  March 3, 2011 at 11:32 PM
TextField3 = new com.toedter.calendar.JDateChooser(); TextField3.setDateFormatString("MM-d-y‚?¶ private void buttonActionPerformed(java.awt.event.Act‚?¶ evt) { try{ DateFormat df = new SimpleDateFormat("MM/dd/yyyy"); String value1=TextField1.getText(); String value2=TextField2.getText(); ... View Questions/Answers

JavaBean tutorials  March 3, 2011 at 10:08 PM
JavaBean tutorials ... View Questions/Answers

java script  March 3, 2011 at 9:29 PM
how to write a Java script program to enter number in two text fields and then automatically display the total in another text field.. ... View Questions/Answers

multivalued attribute  March 3, 2011 at 9:22 PM
I have a author as multivalued attribute and i have inserted values for it in database but now how to insert values in the database through form .I have written query as shown below and iam getting error . String query4="INSERT INTO author_det(accno,isbn,author) VALUES ('"+accno+"','"+is... View Questions/Answers

what is the difference between pop and oop  March 3, 2011 at 9:12 PM
what is the difference between pop and oop? ... View Questions/Answers

program for default constructor in java  March 3, 2011 at 8:55 PM
class Box { double l; double b; double h; Box() { l=2.3; b=3.4; h=4.5; ... View Questions/Answers

please tell me  March 3, 2011 at 7:48 PM
i have created one table,when i close and again login, table name will be there, but its content not displayed, showing as no rows selected, please tell me the reason ... View Questions/Answers

Wt is easy way to learn UML  March 3, 2011 at 7:31 PM
Hello Friends, Please guide me,How to learn UML in easy way and efficent way. Thanks in Adavance Thanks, Abiram ... View Questions/Answers

How to trim string till indexof the string  March 3, 2011 at 6:22 PM
how to trim string till indexof the string ... View Questions/Answers

loyality application  March 3, 2011 at 6:12 PM
Loyalty Application XYZ Bank is a leading public sector bank in India and has recently launched a credit card in alliance with Visa. The credit card industry in India is currently cluttered with many cards and the senior management wanted to create an attractive Loyalty Application for its custom... View Questions/Answers

logistic case study  March 3, 2011 at 6:11 PM
Logistics Case ABC is an upcoming logistics company .The company offers air cargo services from Bangalore Airport office to 10 international locations and vice versa. They can handle cargo up to 40 kilos in a single consignment. The company offers three kinds of services-normal, express & pla... View Questions/Answers

ipms case study  March 3, 2011 at 6:10 PM
IPMS Case Study ABC company is a small software company. Due to a good delivery track record, the company started to get more projects. The CEO felt the need for an in house project management tool. This would enable the organization comply SDLC process and scale up. Most of the clients of ABC co... View Questions/Answers

dth case study  March 3, 2011 at 6:09 PM
DTH Case Study BNM Corp is a new player in the DTH (Direct to Home) satellite TV business in India. It has a sister concern BNV Corp which is a broadcaster and owns few channels. BNM corp entered into the DTH space to complement the operations of its sister concern and to get a stronghold on the ... View Questions/Answers

computer manufacture case study  March 3, 2011 at 6:09 PM
Computer Manufacturer Case Study BNM is an upcoming computer manufacturer. The company was making a mark in the desktop and laptop segment due to aggressive pricing and good products. The sales of the company increased rapidly and then the company decided to implement a software solution to impro... View Questions/Answers

caller tunes case study  March 3, 2011 at 6:08 PM
Caller Tune Case Study ABC Corp is a new telecommunication player in India. The company was a player in the GSM space and had a pan India License. The company provided very good service and as a result added millions of customers in a short span. As a value add, the company introduced ‚??caller t... View Questions/Answers

broad band case study  March 3, 2011 at 6:07 PM
Broadband Case Study LKV Company is a new firm which won a Pan India broadband spectrum in the recently concluded broadband spectrum auction. The Company decided that the market roll out will be done in a phased manner. The company decided to set up the I.T infrastructure and implement a software... View Questions/Answers

case study  March 3, 2011 at 6:05 PM
Chocolate Manufacturer Case Study CDA Company is in the business of manufacturing chocolates. The company delivers various chocolate products like- chocolate bars ,chocolate powder ,chocolate gift box and chocolate tins/packets. Their main product is the chocolate bar which comes in various categ... View Questions/Answers

please help me  March 3, 2011 at 5:47 PM
interface Test1 { String toString(); } public class Test { public static void main(String[] args) { System.out.println(new Test1() { public String toString() { return "test"; } }); }} ... View Questions/Answers

Second level cache  March 3, 2011 at 4:53 PM
Hi, I have been asked one question which I have no idea about. It's like I have enabled second level caching and the data has changed behind the scene by some other application. How do I detect the changes and how do I refresh( reload) my second level cache. Please advise, and ignore my poor unde... View Questions/Answers

Servlet error Messsage  March 3, 2011 at 4:40 PM
Sir, I have a login jsp page, after checking input in servlet, I want to display error message from servlet to the same jsp login page from which I had taken login info. thanks in advance. ... View Questions/Answers

stop word removal from text file  March 3, 2011 at 4:08 PM
i need java source code for stop word removal from a text file ... View Questions/Answers

wnidows button  March 3, 2011 at 2:58 PM
How to handle windows back and forward button in struts applications, without using java script? ... View Questions/Answers

hibernate  March 3, 2011 at 2:28 PM
can any one one explain what is hibernate ? ... View Questions/Answers

how to retrieve data from database using gwt  March 3, 2011 at 2:24 PM
how to retrieve data from database using gwt ... View Questions/Answers

how to retrieve data from database using gwt  March 3, 2011 at 2:24 PM
how to retrieve data from database using gwt ... View Questions/Answers

coding of button  March 3, 2011 at 2:10 PM
What is code of fetching the value of button in a textbox using javascript? ... View Questions/Answers

please help me.  March 3, 2011 at 2:01 PM
Please send me the validation of this below link. the link is http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit.html Thanks Trinath ... View Questions/Answers

when refreshing the page the data is stored in data base again  March 3, 2011 at 1:26 PM
Hi, In my application, I am adding form data in database on click of submit button.But the problem is, when user refreshes the page, the data added one more time into the database and so on... What can be the solution for this, please some body give me good link for this problem.... View Questions/Answers

Please explain the logic....  March 3, 2011 at 1:17 PM
class A1 { } class B extends A1 { } public class ComingThru { static String s = "-"; public static void main(String[] args) { A1[] aa = new A1[2]; B[] ba = new B[2]; sifter(aa); sifter(ba); sifter(7); System.out.printl... View Questions/Answers

m mad  March 3, 2011 at 12:58 PM
pratiksha says - how to code the project?? :P ... View Questions/Answers

Jaca Collection  March 3, 2011 at 11:35 AM
does Java collection allow incompatible types to be stored in single collection? ... View Questions/Answers

answer me this program  March 3, 2011 at 11:33 AM
Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate Average of all marks and display it ... View Questions/Answers

answer me this program  March 3, 2011 at 11:33 AM
Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate Average of all marks and display it ... View Questions/Answers

getting byte[] at client side in SOAP Webservice framework (Axis2)  March 3, 2011 at 11:23 AM
How can I receive the byte[] data at the client side. I am serializing the Java Object, and sending as byte[], but not sure how can i get it at client side, so that I can deserialize and get my original Java Object ... View Questions/Answers

why it is throwing classCastException.  March 3, 2011 at 11:07 AM
public class Redwood extends Tree { public static void main(String[] args) { new Redwood().go(); } void go() { go2(new Tree(), new Redwood()); go2((Redwood) new Tree(), new Redwood()); } void go2(Tree t1, Redwood r1) { Redwood r2 = (Redwood)t1; Tree t2 =... View Questions/Answers

Problem while using tomcat 6.0 in eclipse with struts application  March 3, 2011 at 10:55 AM
Hi please provide solution for the following problem org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProcessor org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletW... View Questions/Answers

please help me.  March 3, 2011 at 10:39 AM
How to read a properties file in java with a suitable example. Please send me. Thanks Trinath ... View Questions/Answers

How to Remove Repeated Characters from the String?  March 3, 2011 at 10:25 AM
Hi, I trying to develop an application which will remove the repeated characters from the string. So, kindly suggest me any example or online reference so that i will try my self. Thanks ... View Questions/Answers

How to Create Multiplication Table from 1 to 10?  March 3, 2011 at 10:20 AM
Hi, I want to develop an small application store products. So, i how to create multiplication table 1 to 10. Please suggest online example related to creating multiplication table. Thanks ... View Questions/Answers

What is the use of Print or Echo Function in PHP?  March 3, 2011 at 10:12 AM
Hi, Can anyone explain what is the use of print or Echo function in PHP? Please provide online reference for this. Thanks, ... View Questions/Answers

java  March 3, 2011 at 8:49 AM
show the reverse output for the given input ... View Questions/Answers

voice recognition in j2me  March 3, 2011 at 7:41 AM
sir, how ca i implement voice recognition in j2me?i understood that audio can be recorded and then converting it into text.but this will be time consuming.can you suggest another method in j2me? ... View Questions/Answers

calender event  March 3, 2011 at 7:35 AM
hi, how we can set an alarm in calender through j2me and sending that reminder to another mobile? thanks in advance ... View Questions/Answers

hi  March 3, 2011 at 12:34 AM
'print("code sample");`class example(){ public.static.void.main(); system.out.println("this is first pro");} ... View Questions/Answers

Voice Recognition in Visual Basic  March 2, 2011 at 11:24 PM
Sir, I'm BCA final year student and "voice recognition" is my major project,I want to make it by myself in "Visual Basic" How can it possible in 'V.B.net'. which initial step should i follow. Thank you sir ... View Questions/Answers

How to delete the row from the Database by using while loop in servlet  March 2, 2011 at 10:56 PM
Dear Sir/Madam, I am trying to delete the one user data in the Oracle SQL server database by using Servlet program (Tomcat server). In Database table have 6 users details are there. Table name is ‚??JDUSER‚?? and columns are USERS (Char), PASS (Varchar2) and CODE (Va... View Questions/Answers

Regarding Database Creation  March 2, 2011 at 9:20 PM
How to use the hibernatetutorial database for running the first application. Is it enough to just create the database on the local host or do we need to create the tables in the database. If i need to create tables please provide the schema. your advice in this regard highly appreciated. ... View Questions/Answers

what is proper way to save pictures in SQl database and call it through JSP ?  March 2, 2011 at 9:14 PM
Hi guys, I usually store picture path in DB and call them through 'getContextPath()' mehtod using this method I can call pictures and Text on same page simultaneously, But if I use BiteStream to call pictures after changing MIME type i can't see text on same page. Please tell me proper way to do ... View Questions/Answers

looping with strings  March 2, 2011 at 9:00 PM
how to print this w we wel welc welco with loop? ... View Questions/Answers

for loop  March 2, 2011 at 8:51 PM
** * ... View Questions/Answers

odd numbers with loop  March 2, 2011 at 8:49 PM
get the odd numbers till 100 with for,while loop ... View Questions/Answers

Multiple url handling  March 2, 2011 at 7:28 PM
I want to pick URLs from excel/CSV file and assign those urls to String variable and use that string variable to open the specified url from browser. I have written code to open browser using selenium libraries. Can you please help me in first part? ... View Questions/Answers

How to send massage like sms websites  March 2, 2011 at 5:19 PM
Hi sir how i can make a small project in php (send massage by website like free sms website on internet) Please advice me. ... View Questions/Answers

Function pointer in c  March 2, 2011 at 5:08 PM
What is the difference between function call with function pointer and without function pointer(normal function call)? ... View Questions/Answers

Delete database Table through hibernate and Spring  March 2, 2011 at 4:56 PM
Hi, I am using Spring,Hibernate and Tapestry to save and also fetch data simultaneously from mysql database.I am facing a problem,whenever i refresh the number of data saved and fetched is repeated all the time.Please give me a solution to get data only once without repetation,or Detete table aft... View Questions/Answers

Date Format required to change in java  March 2, 2011 at 3:51 PM
can we change the format of date like sql as per our requirements???If yes then please give the detail solution. ... View Questions/Answers

page is not getting loaded when refreshing???  March 2, 2011 at 3:11 PM
I am loading an image section(image,demo link,Zoom) in a webpage by using javascript function in JSP. It will get all details of image section from database. I am getting header section always but page is not getting loaded after the header section when I refresh the page. Note: Header s... View Questions/Answers

RFT  March 2, 2011 at 2:55 PM
Hi I am new to RFT and I am trying to automate an application using it. I need to capture a Number displayed on the screen (e.g 0000000023) using java. I am using Mozilla and Rational Functional Tester (RFT 8.2). This number is somewhere in between a paragraph, I need to find it and capt... View Questions/Answers

Recorder  March 2, 2011 at 2:55 PM
I want to create an application for recording sound in .wav format.... Now it's save in .amr format..... Mobile used for testing is Nokia c1-02............ Please help me..... Thanks in advance............. ... View Questions/Answers

time difference  March 2, 2011 at 2:29 PM
How to subtract time? 12:38:35 pm - 00:15:48 am plz raply soon.... ... View Questions/Answers

button actions in struts  March 2, 2011 at 2:27 PM
in my jsp page i have two buttons add and sub.when i clicking the add button one action is performed and clicking the sub button another action is performed.how i will handle it using struts.i am using eclipse IDE ... View Questions/Answers

java util date - Time Zone throwing illegal argument exception  March 2, 2011 at 2:15 PM
Sample Code String timestamp1 = "Wed Mar 02 00:00:54 PST 2011"; Date d = new Date(timestamp1); System.out.println(d.toString()); String timestamp2 = "Wed Mar 02 12:57:52 IST 2011"; Date d2 = new Date(timestamp2); System.out.println(d2.toString()); ... View Questions/Answers

help me...  March 2, 2011 at 2:01 PM
Write a program that inputs four words and them displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are output : man bites mad dog mad man bites dog mad bites man dog etc... ... View Questions/Answers

help me to solve this question  March 2, 2011 at 1:58 PM
Write a program that inputs a series of integers into an array. The numbers are in the range 0 to 100. Calculate and display : a) The Largest number b) The Smallest Number c)The sum of the numbers d)The mean of the numbers ... View Questions/Answers

print word with max vowels  March 2, 2011 at 1:01 PM
if suppose i hava entered a sentence and in that sentence i have to print a word which has maximum vowels in it.... i have tried it but i am not getting it...please help ... View Questions/Answers

Java Applet  March 2, 2011 at 12:43 PM
when i performing the output as appletviewer.filename.java the applet window is opening and it shows that start applet not initialized. please give me solution for this problem. ... View Questions/Answers

struts 2 testing  March 2, 2011 at 12:35 PM
can i get an example for struts 2 action class unit test. ... View Questions/Answers

dynamic textfields  March 2, 2011 at 12:19 PM
Hi, I am a fresher and joined recently in one company. they gave me a desktop application project using swings.here is my detailed spec Screen 1 - The user enters the ingredients from a food product, saves it, then enters the next product. Screen 2 is a summary of all the ingredients. ... View Questions/Answers

calculate difference between two time in jsp  March 2, 2011 at 12:18 PM
How to calculate difference between two dates ... View Questions/Answers

servlet config  March 2, 2011 at 12:09 PM
Dear friend plz tell the Purpose of ServletConfig?? supose if v write sample application .say... hello world in this wat could be the init parameter need to pass !!r plz expalin some sample app where u used init parameter ..with servlet config.. with thanks praveen ... View Questions/Answers

servlet config  March 2, 2011 at 12:09 PM
Dear friend plz tell the Purpose of ServletConfig?? supose if v write sample application .say... hello world in this wat could be the init parameter need to pass !!r plz expalin some sample app where u used init parameter ..with servlet config.. with thanks praveen ... View Questions/Answers

collections  March 2, 2011 at 12:03 PM
hi ..iam sory iam not ask question in proper way my doudt is it is string or integer or double whatever it is we to add list like i.e i want to add integer i.e 1 to list then i want to add like list.add(1) is it work? or i add like list.add("1"); that means if we try to add an element to lis... View Questions/Answers

coding for eletric signal graph  March 2, 2011 at 11:45 AM
How can I draw an electric signal from Manchester and Differential Manchester coding from binary bits that converted from a character for example character 'a'? ... View Questions/Answers

collections  March 2, 2011 at 11:34 AM
hi... if add element to list we have to add like using string format only for example list.add("1"); is it right or wrong i.e list.add(1); ... View Questions/Answers

validation  March 2, 2011 at 11:25 AM
validation ... View Questions/Answers

making of dynamic textfields using swings  March 2, 2011 at 11:15 AM
How to make dynamic textfields using java swings ... View Questions/Answers

making of dynamic textfields using swings  March 2, 2011 at 10:54 AM
how to crate dynamic texfields by clicking on button ... View Questions/Answers

web application  March 2, 2011 at 10:23 AM
Dear friend, could u plz tell me wats difference bt web server,application server,container with thanks praveen ... View Questions/Answers

Validate telnet connectivity  March 2, 2011 at 9:46 AM
How to validate telnet connectivity in my java code ... View Questions/Answers

Window Script  March 2, 2011 at 9:44 AM
i want to write windows script can you help me in writing those i want to write script so that it follows below steps Step 1) downloading file from FTP 2) Unzip it 3) Edit it 4) zip it 5) upload again to FTP ... View Questions/Answers

its very urgent please help me  March 2, 2011 at 9:44 AM
how can i retrieve all images from ms access database and display in jsp pages ... View Questions/Answers