Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Blob column  October 25, 2013 at 11:19 AM
Hi all... How to store an excel file in Blob column? I m using oracle 11 g database. ... View Questions/Answers

how to configure apache tomcat for eclipse when already its used by netbeans  October 24, 2013 at 4:41 PM
How to configure Apache tomcat for eclipse when already it's used by net beans. Should i change the server port number if so how should i change it. Please provide me the answer on how to configure tomcat for both net beans and eclipse in a same system. I have tried it but... View Questions/Answers

Create SpreadSheet same as excel using java applet  October 24, 2013 at 8:28 AM
Hi Ji, May i know to create new excel sheet using java Applet ? ... View Questions/Answers

Advertisement

Create SpreadSheet same as excel using java applet  October 24, 2013 at 8:27 AM
Hi Ji, May i know to create new excel sheet using java Applet ? ... View Questions/Answers

Logic Building  October 21, 2013 at 5:05 PM
I wanted to devlop my logic ? How can i do so ? Can i start with java or i need to do c++ before it ? ... View Questions/Answers

How to change focus among multiple select boxes?  October 19, 2013 at 7:48 PM
Hello, I have three select boxes in three divs. All of the select boxes are focused when I click them one after the other. I want only one select box to be focused at a time not all. I tried to do this with an example below. But as you will see, select boxes aren't focused at one... View Questions/Answers

how to run java program  October 19, 2013 at 3:46 PM
i have jar file. in jar i have so many classes.in one of file i want modify .after modifying file i want replce in jar. please help me to how to generate class and how to replace. ... View Questions/Answers

Spring MVC and Hibernate with DWR 3 -- Configuration Using MySQL Database  October 19, 2013 at 10:35 AM
How to configure Spring MVC and Hibernate with DWR 3, Simple example -- reading a table, editing-deleting and adding new rows ... View Questions/Answers

DIRECT ACCESS USING URL SHOULD NOT PERMIT  October 18, 2013 at 8:06 PM
if someone know the url address like : http://localhost:8080/payment.jsp then he/she can open my page.i just want to revoke the user from such type of action i mean until he enter correct uid and pwd he can't open this page..... how to perform this action please let me help USING LOGIN I ... View Questions/Answers

click a word and search it from a file  October 17, 2013 at 3:46 PM
i want to link a word with a file and search it form the file by clicking it. what could the code for this process!!! ... View Questions/Answers

java programm  October 17, 2013 at 6:22 AM
Create program, which will calculate number of days between two dates. The program has to accordance with the leap-years (do not ignore leap-years). You must NOT use any libraries to calculate the number of days, you can use them just to verify results. Input data: The program reads one line f... View Questions/Answers

tokenring topology  October 14, 2013 at 11:47 AM
create a simulation for token ring topology using java.user has to give time difference as input.based on the time difference,application has to simulate the packet in the token ring network.minimum 5 nodes must be there in a ring ... View Questions/Answers

program  October 13, 2013 at 9:54 PM
i want a progra in java to print a sentence in alphabetic order, taking the input from the user.the program should writen without using the array for example : if input= this is a cat then output sould = a cat is this my Email Id is: suib072@gmail.com ... View Questions/Answers

for each  October 13, 2013 at 9:03 PM
Sir, is it possible to write bubble sort in java using for each loop ? or any two related nested loops using for each? Thanks in advance...? ... View Questions/Answers

dropdown  October 12, 2013 at 3:36 PM
how to hide textbox field when i deselect from select dropdown ... View Questions/Answers

Twitter Best Practices Questions  October 11, 2013 at 10:22 PM
Hello, What are the best practices of using Twitter for business? How you can get more from Twitter for your business? What is the use of Twitter? Tell me answers fast. Thanks ... View Questions/Answers

Twitter REST API  October 11, 2013 at 7:13 PM
While writing a program to post the tweet into twitter i am getting following error: The Twitter REST API v1 is no longer active. Please mig rate to API v1.1 What could the the solution? Thanks ... View Questions/Answers

how to show effect (visual) on jsp page using value from database  October 11, 2013 at 12:45 PM
I am making a ticket booking system. I have a databse with a clumn "booking status" I am thinking to use a map of seats ( with pictures controllers as seats) What i want is when the value in booking status is "booked" then the pictures shown as seats should be displayed red. when the value in boo... View Questions/Answers

encryption and decryption of files  October 11, 2013 at 10:50 AM
Please can any one provide me with the code for encryption and decryption of files using RSA algorithm. I want to use a browse option to search for the file which is needed for encryption and sending it to other user. I need this code for implementing my project..... ... View Questions/Answers

Spring Abstraction with Redis  October 11, 2013 at 10:16 AM
Hi.. I have implemented @Cacheable for one method like @Cacheable("parameter1") public String getCompaniesList(String parameter1, String parameter2) throws Exception { //code } in config file configured like ... View Questions/Answers

login application  October 10, 2013 at 9:59 PM
how to create login application ? ... View Questions/Answers

how to use string of one class into another Class  October 10, 2013 at 4:53 PM
I created textField(JTextField t1=new JTextField();(it is in ClassA. The input of this textField i.e t1.getText() is to be used in different(another Class say in ClassB. How can I get it in ClassB? ... View Questions/Answers

how to store JTree data hierarchically in mysql database from netbeans  October 10, 2013 at 3:14 PM
how to store JTree data hierarchically in mysql database from netbeans. I am new to this topics so I need a program and tables you are using in database . for ex: Items |-shoes |-shirts |-half shirt |-sarees when i click on add button it should add nodes ... View Questions/Answers

Write JQUERY Code  October 10, 2013 at 11:06 AM
Hi, Iam swathi.I created the table in the below format.can u please write the jquery code of this table..and my requirement is when i click the submit button in the "Name" filed beside show some mesg like("name field is required")..Every filed shown to the mesg like that only..can u please se... View Questions/Answers

Write JQUERY Code  October 10, 2013 at 11:03 AM
Hi, Iam swathi.I created the table in the below format.can u please write the jquery code of this table..and my requirement is when i click the submit button in the "Name" filed beside show some mesg like("name field is required")..Every filed shown to the mesg like that only..can u please se... View Questions/Answers

Java  October 10, 2013 at 3:55 AM
write a java program that will input a list of numbers from a text file and keep a list of all numbers entered and the count of times the number appeared in the input. When the inputting is complete, the program should print out the list of numbers and their counts ... View Questions/Answers

servlet  October 9, 2013 at 6:38 PM
i want to create a login page with servlet using database mysql? only in servlet not in jsp plzz help me out ... View Questions/Answers

How to calculate days in a year  October 9, 2013 at 12:59 PM
Hi, How to calculate no of days in a year? I want a program that calculates no of days in a year by specifying year a parameter. Thanks ... View Questions/Answers

Write a java pregram: Help with methods  October 9, 2013 at 3:22 AM
Write a Java method that returns the number of days in a year using the following header: public static int numberOfDaysInAYear (int year) Write a Java program that uses your method and displays the number of days in a year from 2013 to 2025 as a table. Include a title line for y... View Questions/Answers

jdk6 and oracle 8i  October 9, 2013 at 1:26 AM
I connecte oracle 8i and jdk6 I notice that why can not connect ... View Questions/Answers

How to redirect from a HTML page?  October 8, 2013 at 10:27 PM
Hi, Is it possible to redirect from HTML page to another page on the net? I have one page and I want to redirect it to another page. What will be the code for redirecting the page to another page when use visits the first page. Thanks ... View Questions/Answers

Strings  October 8, 2013 at 9:57 PM
Hi Kindly send me the code for to finding the longest substring in a string like "abccbcabcdab" ----The answer should be "abcd". please send me the code using the logic compare elements with their ASCII value. ... View Questions/Answers

Java Question  October 8, 2013 at 2:47 PM
what is Java? How it is useful in programming? Thanks ... View Questions/Answers

Dynamic table in jsp  October 8, 2013 at 12:02 PM
Hi..... I have a java file to read excel file. I have stored all the elements of excel file in a variable. Now i want to show all values of excel file on jsp page in a table format. All elements are displaying on jsp page but in vertical line. How can i cha... View Questions/Answers

Visitor IP Address and Host Name using jsp  October 8, 2013 at 10:02 AM
I have created one jsp page and i want to display the ip address of the visitor in my page. I used the following code to get the ip address: String ip=request.getRemoteAddr(); But i am not getting the correct ip address.I am getting the same ip address (127.0.0.1) for all the systems that i use.A... View Questions/Answers

connexion oracle 8i et jdk6  October 8, 2013 at 3:31 AM
j'ai connexion oracle 8i et jdk6 je remarque que connexion impossible comment ? ... View Questions/Answers

Text Editor with Syntax Highlighting  October 7, 2013 at 9:42 PM
How to write a java program for text editor with syntax highlighting ?? ... View Questions/Answers

Java write to file  October 7, 2013 at 7:18 PM
How to write to a file in Java? Is there any good example code here? Thanks ... View Questions/Answers

oracle database backup using jsp  October 7, 2013 at 5:01 PM
I want to take the backup of oracle database.I want to write the code in jsp ,so that when the page is loaded a backup of the database is stored in one of my local drives.Is it possible to do this task? If possible how can it be done ? ... View Questions/Answers

is this programm efficient to find the day of the given date . can it be more normalized ?  October 7, 2013 at 4:06 PM
#include <stdio.h> int main(void) { int dd,mm,yy,i,leap=0,ordi=0,odd_years,month_days= 0,total ; char week[7][10] ; strcpy(week[0], "Sunday") ; strcpy(week[1], "Monday") ; strcpy(week[2], "Tuesday") ; strcpy(week[3], "Wednesday") ; strcpy(we... View Questions/Answers

About captcha of strut2  October 7, 2013 at 2:58 PM
please do some captch using jcaptcha jar i am implementing but am not getting please do captcha using jar file.. Thanks in advance ... View Questions/Answers

About captcha of strut2  October 7, 2013 at 2:58 PM
please do some captch using jcaptcha jar i am implementing but am not getting please do captcha using jar file.. Thanks in advance ... View Questions/Answers

java [ cannot retrive date from sql ] why??  October 6, 2013 at 1:26 PM
import java.util.Date; import java.text.SimpleDateFormat; import java.text.ParseException; import java.io.*; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.DriverManager; imp... View Questions/Answers

hi,i'am new to Jsp.Can some one please let me know an answer for this question?  October 6, 2013 at 3:45 AM
how do we upload an xml file and validate them against WIPO DTD ... View Questions/Answers

Download.  October 5, 2013 at 2:59 PM
I need a swing program to download a file from the server. ... View Questions/Answers

download mp3 file on server in iphone  October 4, 2013 at 7:33 PM
I want to download mp3 file on the server in iphone......plz help me give me the demo code ... View Questions/Answers

How to make a ajax application which take data from textarea and that page is not refreshing.  October 4, 2013 at 6:37 PM
I am doing a application in that i am using Spring Framework.I am having a text area and a submit button. On pressing submit Button data is moved to spring controller and page must not be refresh. Actually i have done this without using AJAX but I want to do this using AJAX. ... View Questions/Answers

Which is the good website for struts 2 tutorials?  October 4, 2013 at 6:24 PM
Hi, After completing the MCA I have learned Java and now searching for good tutorial website for learning Struts 2. Suggest met the struts 2 tutorials good websites. Thanks ... View Questions/Answers

I want to Transfer only 1/3rd of contents from one folder to other but my code is transferring all contents  October 4, 2013 at 12:55 PM
private static void copyFilesRecursively(File src, File dest) throws IOException { if (src.isDirectory()) { dest.mkdir(); File[] entries = src.listFiles(); if (entries == null) { throw new IOException... View Questions/Answers

advance java  October 4, 2013 at 12:07 PM
application to demonstrate email validator ... View Questions/Answers

Wordpress Hosting  October 3, 2013 at 7:14 PM
Hi, What is Wordpress hosting and how is benefits of it? Thanks ... View Questions/Answers

doubt  October 3, 2013 at 11:55 AM
difference between .exe file and jar file ... View Questions/Answers

Order Entry System  October 3, 2013 at 3:50 AM
Create a new order entry system using netbeans and microsoft access.can anyone help me? ... View Questions/Answers

In JSP page, inside a javascript function, can I place a java code using scriptlet tag?  October 2, 2013 at 9:51 PM
Objective: When the user is trying to close a window, I need to check whether a particular list is empty or not. If its not empty, I need to make a hibernate call to do some action. Did Coding as below: While the user is trying to close a window, I am calling a java script function close... View Questions/Answers

Easiest method for expiring the css and js headers  October 2, 2013 at 3:27 PM
Hi, I have a website with many thousand users visiting per day. I have changes the css file and uploaded it on server. Now some user is getting the old css file. Let's know what could be the easiest method to solve the browser cache issue? There is not way to tell the users of my ... View Questions/Answers

Java  October 2, 2013 at 11:22 AM
how to draw class diagrams in java? ... View Questions/Answers

source code  October 2, 2013 at 10:36 AM
sir...i need an online shopping web application on struts and jdbc....could u pls send me the source code ... View Questions/Answers

source code  October 2, 2013 at 10:36 AM
sir...i need an online shopping web application on struts and jdbc....could u pls send me the source code ... View Questions/Answers

Spring Validations  October 1, 2013 at 10:34 PM
Hi.. i need code for validations using spring annotations ... View Questions/Answers

Converting jsp variable to java variable  October 1, 2013 at 11:02 AM
Hi how to convert java script variable to java variable on same jsp page?? ... View Questions/Answers

how to handle action events in case of more than one JFrame  September 30, 2013 at 4:02 PM
I have downloaded a snake game project from the internet, initially this project contains three java files namely 1. Engine.java 2. Snake.java 3. Gameoard.java when i runs Engine.java ,game starts running .. Now i have done some modification in it to improve the interactivity of t... View Questions/Answers

how can i set an object in focus  September 30, 2013 at 3:59 PM
There is a Canvas object in my game and this object is not set in focus, because of this my snake is not moving on the Board . Basically i am working on snake game project, and i want is when play button is clicked from PlayGame.java JDialog ,game should start ,but problem i am facing is ... View Questions/Answers

In Struts 2 how to pass the s: property value'  September 30, 2013 at 12:29 PM
In Struts 2 how to pass the s: property value' I have page where i display the list of treasury, their names. I need to have them as hyperlinks ans on click of A treasury name i need to call another jsp say "datafwd.jsp". This action will get data about this data.jsp from that DB and di... View Questions/Answers

if/else statements  September 30, 2013 at 10:29 AM
I'm having a hard time programming this question: code an if/else statement that test the value of a string variable named shippingMethod to determine if it has a value of "UPS," "FEDEX," or another value. If the value is "UPS," code another if/else statement that tests the value of a double vari... View Questions/Answers

4G  September 30, 2013 at 8:40 AM
I wish to know more about 4G technology ... View Questions/Answers

java program  September 29, 2013 at 11:31 PM
Write a program to create an applet and display The message "welcome to java" ... View Questions/Answers

java program  September 29, 2013 at 11:27 PM
Write a java program to find the number of Positive numbers in m* n matrix. ... View Questions/Answers

java program  September 29, 2013 at 11:22 PM
Write a java program to do matrix addition operation On two given matrices. ... View Questions/Answers

java program  September 29, 2013 at 12:31 PM
write a program to read 10 numbers from user and store it in a array. display the maximum n minimum number in the array ... View Questions/Answers

how to write a function to print for finding the longest palindrome in the given string  September 29, 2013 at 10:41 AM
how to write a function to print for finding the longest palindrome in the given string? ... View Questions/Answers

java  September 29, 2013 at 12:01 AM
what is classpath?describe various levels of access protection? ... View Questions/Answers

jsp  September 28, 2013 at 11:32 PM
how to upload image through csv format in jsp ... View Questions/Answers

java programming  September 28, 2013 at 12:38 AM
A computer is used to count the votes in an election. At the start of the election, the number of candidates standing is entered. Suppose this value is N ?? candidates will then be numbered 1 to N. Each elector in turn has ONE chance to choose his candidate from 1 to N. The program th... View Questions/Answers

java programming  September 28, 2013 at 12:32 AM
A name is ALREADY in a string variable in memory. The string is called NAME or NAME$ . The variable holds a person's name with a space between the first and family name. WILLIAM (space) JONES. Write a high-level language routine to extract from this single variable the two names,... View Questions/Answers

how to solve 'Stop Running This Script' Error ?  September 27, 2013 at 7:00 PM
Hi.. When opened the page on IE browser(version : 8.0),it gives an java script error (i.e.Stop Running This Script). I have used jsp/servlet for this. Please help to resolved this issue. Thanks...... ... View Questions/Answers

Configure Js request in Web.xml  September 26, 2013 at 10:51 PM
Hi all, I have 1 basic doubt,suppose i have 2 jsp,1 servlet,1 web.xml file.i need to redirect 1 page via servlet with help of web.xml file.Here just i need to redirect to mainCtrl.java file.Thats enough. for this purpose any thing i need to configure in web.xml .If it's Explain how do i... View Questions/Answers

Insert value of dynamic generated text box in jsp using javascript  September 26, 2013 at 4:28 PM
hello sir , i want to generate dynamic text box at run time and i did that using javascript code given at your site now sir problem is i am not able to insert that dynamically generated text box value into database at a time without reloading the page what i want is i can insert the multiple colu... View Questions/Answers

java program  September 26, 2013 at 3:38 PM
To find the sum of all integer numbers greater than 100 and less than 200 That are divided by 7. ... View Questions/Answers

jsp  September 26, 2013 at 2:51 PM
Hi I don know any frame works...I am tryin to create a page in jsp which should get translated to Indian languages like kannada , telugu etc..when user selects a language can u help me out.. thanks ... View Questions/Answers

random numbers  September 26, 2013 at 5:34 AM
Hi I need some help with the code for the this program. This program should randomly choose a number between 1 and 1000, and then challenge the user to guess what it is, giving hints ('too high!' or 'too low') for wrong guesses, and congratulations when the user finally guesses the right ... View Questions/Answers

Ascending order  September 26, 2013 at 5:08 AM
Hello,I need some help with the code for the following.A program that allows the user to type in three different integers (none of them equal to each other, in any order, (for example, 23, 7, 156; but not 23, 7, 23), and then it should print out the three integers in ascending order, saying which... View Questions/Answers

project  September 26, 2013 at 1:38 AM
I'm designing a netbeans java program/project. I have to design a program that captures the persons name and mark #.then find the average mark of the whole class.after that need to count and display who had the highest mark and who had the lowest mark from the class.then display how many people p... View Questions/Answers

how to create xls file and give download option using jsp/servlet?  September 25, 2013 at 5:21 PM
Hi, how to create file and give download option to user,so that the user can save the file on defined path. ... View Questions/Answers

i18n example  September 25, 2013 at 11:42 AM
Hi.. I need a code for jsp home where user can select his regional language like kannada, telugu , Tamil etc..so that jsp page gets displayed in that language. ... View Questions/Answers

execute dos commands  September 24, 2013 at 7:50 PM
how to execute dos commands using a java program ... View Questions/Answers

Data over Voice Communication  September 24, 2013 at 5:02 PM
I just Want to know that Data Over Voice communication is possible in India or Not, If not then Why. and If Yes then Why Please anyone give the answer. ... View Questions/Answers

how to open one Jframe from main method call  September 24, 2013 at 4:23 PM
I have downloaded a snake game project in java. Initially the project contains three java files i.e " Engine.java Snake.java GameBoard.java And Engine.java have the main() method, when i run this Engine.java class game starts ru... View Questions/Answers

SPSS Writer  September 24, 2013 at 3:23 PM
Please help me how to create spss file in java ? ... View Questions/Answers

How to threow timeout exception when DB is not responding  September 24, 2013 at 1:50 PM
How to throw timeout exception when DB is not responding ? ... View Questions/Answers

How to threow timeout exception when DB is not responding  September 24, 2013 at 1:48 PM
How to throw timeout exception when DB is not responding ? ... View Questions/Answers

How to create file and save it into user defined path using jsp/servlet?  September 24, 2013 at 12:49 PM
Hi.. Onclick event I have created one file.When file will create it should asked where to save file(like browse option). ... View Questions/Answers

duplicate values  September 23, 2013 at 5:15 PM
My database having cursor that has duplicate values.i want to remove duplicate values through java application. ... View Questions/Answers

instead of extend  September 22, 2013 at 9:41 PM
Hi, I want answer this question. Ouestion: Instead of extends keyword,is there any keyword available in java? Regards krishna ... View Questions/Answers

instead of extend  September 22, 2013 at 9:41 PM
Hi, I want answer this question. Ouestion: Instead of extends keyword,is there any keyword available in java? Regards krishna ... View Questions/Answers

connection of php to MySQL.  September 22, 2013 at 4:04 PM
I have a query on connection of php to MySQL. Website's serverspace by godaddy and provides phpmyadmin(interface of MySQL) for Database I have a page admin.php <?php if (isset($_POST["submitted"])) { include('connect-mysql.php'); $usern... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:15 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

java  September 20, 2013 at 8:14 PM
Accept a filename from the user and display the contents of the file. Accept the names of two files and copy the contents of the first to the second. Add Author name and Date in comments in the beginning of file. Add the comment ?end of file? at the end. Accept the names of three files and copy t... View Questions/Answers

DMCA.com