Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Ads

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

Page is not getting loaded when I refresh the webpage???  March 2, 2011 at 9:40 AM
**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 sectio... View Questions/Answers

What is the best in Ajax Toolkit?  March 2, 2011 at 7:37 AM
What is the best in Ajax Toolkit? Is not Ajax toolkit similar to the Ajax control toolkit? Can you expand it? (Sr, I am not good at English) ... View Questions/Answers

Java GUI code- creating a circle  March 2, 2011 at 4:28 AM
My assignment is to write a program that prompts the user to enter the center and a point on the circle, which is (x,y)(x2,y2). The program should then output the circle's radius, circumference, and area. I did my code but I can't seem to figure out the mathematical code, can someone please help ... View Questions/Answers

How to delete the row from the Database by using servlet  March 2, 2011 at 2:04 AM
Dear Sir/Madam I am trying to delete the one user data in the Oracle SQL server database by using servlet program (Tomcat server). The given data is true then the user data to be delete from the database table. Assume in Database table have 25 users details are ther... View Questions/Answers

how to show data in database ?  March 1, 2011 at 10:04 PM
how to show the data in the database to the user in the textbox so that user can modify it and save it again? ... View Questions/Answers

Exception in PDFBOX  March 1, 2011 at 10:02 PM
"OperatorProcessor class org.pdfbox.util.operator.pagedrawer.StrokePath could not be instantiated" Not understanding about the exception.Kindly help me out to find why this exception is occuring? ... View Questions/Answers

java  March 1, 2011 at 8:15 PM
what is maplet and how it is better than strut? ... View Questions/Answers

java  March 1, 2011 at 8:02 PM
What is the drawback when we use the multiple inheritance? ... View Questions/Answers

Connect database in Access to Netbean?  March 1, 2011 at 8:00 PM
how to connect database in micrsoft access to Netbean?i know it can be connected by using JDBC-ODBC bridge, can i know the steps in connecting the database? Is there any source code for that? ... View Questions/Answers

i want for statement codding  March 1, 2011 at 6:55 PM
what is the for condition following out put 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 ... View Questions/Answers

JSF  March 1, 2011 at 6:41 PM
In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we are directly dealing with the Listeners... If soo... we can develop the frames and embed that into applets also rite.. Do u mean JSF also does the same internal... View Questions/Answers

sdf  March 1, 2011 at 6:40 PM
In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we are directly dealing with the Listeners... If soo... we can develop the frames and embed that into applets also rite.. Do u mean JSF also does the same internal... View Questions/Answers

core java  March 1, 2011 at 6:02 PM
how to display characters stored in array in core java ... View Questions/Answers

coding for chart  March 1, 2011 at 6:01 PM
I want to convert a character into binary then convert it into its diagram in form of digital electrical signals.How can I do java coding for this diagram? ... View Questions/Answers

can any one explain this  March 1, 2011 at 5:31 PM
class Clidder { private final void flipper() { System.out.println("Clidder"); } } public class Ex3 extends Clidder { public final void flipper() { System.out.println("Clidder"); } public static void main(Stri... View Questions/Answers

How to Create Keyboard in JAVA  March 1, 2011 at 4:59 PM
please help me to create On-Screen Keyboard with java and please give me an another idia to make it ..............iam waiting for your help ,think u so much... ... View Questions/Answers

please help me.  March 1, 2011 at 4:57 PM
How to move the edits.jsp in below link? http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit.html ... View Questions/Answers

servlet program for data store in oracle?  March 1, 2011 at 4:56 PM
how to store data in oracle through servlet program? ... View Questions/Answers

Please help me.  March 1, 2011 at 4:33 PM
Hi i am trinath in below there is a url.In that url there is a code of edit a jsp page.I understand that code but only one thing i not get it i.e; What is the work of "id".and what is the data type of id? http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit... View Questions/Answers

Java Class Size  March 1, 2011 at 4:26 PM
How to determine size of java class? ... View Questions/Answers

errors  March 1, 2011 at 4:24 PM
public class Win32OperatingSystem { public static void Shutdown(string machineName, string username, string password) { ManagementScope Scope = null; ConnectionOptions ConnOptions = null; ObjectQuery ObjQuery = null; ManagementObjectSearcher... View Questions/Answers

Display of value in Tabel cell  March 1, 2011 at 4:03 PM
I have added a custom field in the table cell by defining the cell editor.The cell is having a text field and calendar.When i select a date in the calendar the date will be displayed in the cell as formatted by me.The formatter I am using will format the date which was included in the renderer of... View Questions/Answers

prime number  March 1, 2011 at 3:27 PM
To check a number entered by user is prime or not? ... View Questions/Answers

Finally() in Java  March 1, 2011 at 3:08 PM
After an exception i excute some statement in Finally block.After Fianally block we can execute statements??? if possible in that place exception came means who'll handle??? ... View Questions/Answers

prime number  March 1, 2011 at 3:05 PM
To check a number entered by user is prime or not? ... View Questions/Answers

STRUTS2  March 1, 2011 at 2:24 PM
sir but my question is using ApplicationResources.properties in STRUTS 2.i cant get the values into my application.but in the exmple given at roseindia,u cant use the properties file.i use actionclass-validation.xml along with properties file but i can't get the values from the properties file.p... View Questions/Answers

how to connect mySql drivers into eclipse(configuration)?  March 1, 2011 at 1:53 PM
how to connect mySql drivers into eclipse(configuration)? I need the configuration in eclipse. what do i have to download from mySql and just downloading is enough or do i have to install anything to create a database and tables? ... View Questions/Answers

make trial application  March 1, 2011 at 1:21 PM
Hello java master, i want to ask something about make java application trial in one month or two month. how to combine my application and give a trial application. what i must to do? Can you give me a tutorial? Thank you ... View Questions/Answers

Passing a java property to a javascript variable  March 1, 2011 at 12:52 PM
i want to assign a java property to a js variable: action class: collegename have a property in action class which having its getter/setter method. JSP code: <%@ taglib prefix="s" uri="/struts-tags"%> <% response.setContentType("application/javascript"); %> var collegename ... View Questions/Answers

servlet  March 1, 2011 at 12:42 PM
Dear Deepak, is it compulsary to write the sevice() becoz i ve seen some example which does not ve sevice()..is it tue? plz replay me with thanks praveen ... View Questions/Answers

JSF Related  March 1, 2011 at 12:40 PM
In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we are directly dealing with the Listeners... If soo... we can develop the frames and embed that into applets also rite.. Do u mean JSF also does the same internal... View Questions/Answers

ERRor in executing DB program  March 1, 2011 at 12:25 PM
While executing following code an Error was generated.can any one help me for this. LiveDB liveDBObj = DataSourceFactory.getLiveDBInstance(); PreparedStatement pstmt=null; String qry=""; qry="insert into inst(id,name) values (?,?)"; pstmt =... View Questions/Answers

j2me mysql connectivity  March 1, 2011 at 12:04 PM
I do a project on reservation using j2me. I need a connectivity to a MYSQL database. How do I do this Thanks and regards Karthiga ... View Questions/Answers

JSP and XML .data store nd retrieve  March 1, 2011 at 11:53 AM
I have made a form in jsp having emp id, projectname and emp name.I want to store data related to employee in xml file.How can i store data entered by user in XML file and later retrieve data in another jsp page using retrieve submit button.Please tell step by step instructions .I am using Jdevel... View Questions/Answers

struts2  March 1, 2011 at 11:15 AM
dear deepak sir plz give the struts 2 examples using applicationresources.properties file. ... View Questions/Answers

email validation  March 1, 2011 at 11:12 AM
during email validation.... after domain name which it means if example example@gmail.co .... this address allowed by any validation program .... but i want to show invalid email address because domain name com, co.in, like that nly ... View Questions/Answers

email validation  March 1, 2011 at 11:12 AM
during email validation.... after domain name which it means if example example@gmail.co .... this address allowed by any validation program .... but i want to show invalid email address because domain name com, co.in, like that nly ... View Questions/Answers

regarding struts 2  March 1, 2011 at 10:56 AM
is it not possible to get values from applicationresources.properties into our application in struts 2 ... View Questions/Answers

hibernate Foreign key  March 1, 2011 at 10:34 AM
sir, I am using hibernate in netbeans. I have 2 following tables CREATE TABLE persons ( P_Id int(11) NOT NULL, LastName varchar(255) NOT NULL, FirstName varchar(255) DEFAULT NULL, Address varchar(255) DEFAULT NULL, ... View Questions/Answers

java  March 1, 2011 at 10:16 AM
what is demon thread? ... View Questions/Answers

Retriving data stored in database  March 1, 2011 at 9:45 AM
Hi, How to retrive data from my sql database using Hibernate,Spring and tapestry please give me an example.I am new to this Hibernate and Spring. ... View Questions/Answers

breaking  March 1, 2011 at 9:34 AM
code for breaking cipher image ... View Questions/Answers

hacking code  March 1, 2011 at 9:33 AM
how to hack the cipher image using brute force method for edge crypt algorithm ... View Questions/Answers

what is multi-threading .?  March 1, 2011 at 9:15 AM
what is multi-threading.what is the use in real time, with example programs. ... View Questions/Answers

string object  March 1, 2011 at 8:02 AM
Hi, how do i write a program that works with a user's password, when the program should prompt the user for a possible password, that is between 6 and 10 characters long, that contains at least one letter, and contains at least one digit? ... View Questions/Answers

dbms  March 1, 2011 at 7:56 AM
how to sum 2 columns in a table and put the result in new coluumn. the o/p should be col1 col2 col3 12 24 36 10 30 40 5 10 15 ... View Questions/Answers

How to select only .txt file to be zipped using java?  March 1, 2011 at 2:17 AM
Hello, i'm trying to zipp .txt files from a folder but i want to know how to select only .txt file. I try my code but it's not working, could any one help me please. [CODE] here is the code: import java.util.*; import java.util.zip.*; import java.io.*; public class ZipFile... View Questions/Answers

Read data from excel file and update database using jsp  March 1, 2011 at 2:06 AM
read data from excel file and update database using jsp Hi, I am using a MySQL database for scientific research analysis. My team members sends research data in excel file format and I need to update MySQL tables with new experimental data. How can I upload excel file and update database ... View Questions/Answers

how to color the Eclipse editor background programmatically?  February 28, 2011 at 10:47 PM
I have to color specific portion(background) of the of the Eclipse editor by running the java programm and provided that do the coloring from a given line number to another line number. Example Start line number is : 15 end line number is : 24 something like that . p... View Questions/Answers

display co-occurrence words in a file  February 28, 2011 at 10:08 PM
how to write java program for counting co occurred words in the file ... View Questions/Answers

display co-occurrence words in a file  February 28, 2011 at 10:08 PM
how to write java program for counting co occurred words in the file ... View Questions/Answers

problem in linking the html page using servlets  February 28, 2011 at 9:05 PM
i want to create a login page using html & servlets and as soon as i click the login button it should open my home page. and i have saved username and password in a database using MS-Access. how should i do this? please help me..m a fresher.. ... View Questions/Answers

searching books  February 28, 2011 at 8:24 PM
how to write a code for searching books in a library through jsp? ... View Questions/Answers

Please give me coding for this..  February 28, 2011 at 8:17 PM
Write an application that inputs one number consisting of five digits from the user.separates the number ibto its individual digits and prints the digits separated from one another by three spaces each.For Example.if the user types the number 42339,the program should print 4 2 3 3 9... View Questions/Answers

arrayq3  February 28, 2011 at 8:11 PM
Write a program that accepts two arrays, an array of fruit names and an array of price of fruits, and a fruit name and returns the price of the fruit. (Assume that a price in the second array corresponds to the price of the fruit at the same position in the first list) i. e. if inputs are {‚??Gra... View Questions/Answers

arrayq2  February 28, 2011 at 8:11 PM
Write a program that accepts an array of marks obtained by various students, and a rank, and returns the mark corresponding to the given rank. Assume that no mark is repeated in the array. ... View Questions/Answers

DMCA.com