Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Recommendation engine code  March 2, 2015 at 5:43 AM
recommendation engine code in java ... View Questions/Answers

Recommendation engine code  March 2, 2015 at 5:43 AM
recommendation engine code in java ... View Questions/Answers

objects  February 27, 2015 at 10:54 AM
What's the difference between the c++ object and the java object ... View Questions/Answers

Advertisement

Failed to Call Procedure  February 27, 2015 at 3:31 AM
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sum(case when c.result = '1' then 1 else 0 end ) as Pass_total, sum(case when c' at line 1 ... View Questions/Answers

Selenium webdriver - Getting Xpath for element in IE  February 26, 2015 at 5:25 AM
How to get Xpath for element in IE? ... View Questions/Answers

Selenium webdriver - Getting Xpath for element in IE  February 26, 2015 at 5:25 AM
How to get Xpath for element in IE? ... View Questions/Answers

Delete multiple records with pagination by selecting checkboxes  February 24, 2015 at 10:32 PM
Hi there,I'm working with PHP.I want to delete my database records which is displayed using pagination by selecting check boxes.But I'm able to delete only records each page wise.I want to check all the desired records from all the pages and then delete it.Can any one please help me.Also i want t... View Questions/Answers

C++  February 24, 2015 at 6:20 AM
Hi I do not understand the question stated below. Does anyone know what does it mean so I can kick start with it? The program has two array of character. One of them has size 26 and is initialized with the alphabet a to z. A random number generator generates two numbers and these two numb... View Questions/Answers

J2me image use ase smiley  February 24, 2015 at 1:49 AM
Hi , i am developing chat application in j2me i am success full in my work but one thing that i have not find smiley option i do search but cant find please help me to give me code that will add smileys in my chat , means enter a code in textbox and that will replace by image please help me thank... View Questions/Answers

approve or reject multiple selected rows using check box  February 17, 2015 at 11:44 PM
Select Article Document Type Document Sub Type Submitted Date Submitted By ... View Questions/Answers

Testing  February 16, 2015 at 11:51 PM
Spring mvc with jdbcTemplate.i want to write mock testing how do i write please give me one simple code example for me ... View Questions/Answers

spring with junit and mock testing  February 16, 2015 at 11:47 PM
spring with junit mock testing ... View Questions/Answers

MY Sql Query Error - Not able to Understand the issue  February 15, 2015 at 10:53 AM
I am new at MYSQL,I wrote simple query as follow: CREATE Table tblFeedBack ( FeedBackID INT AUTOIncremeNT, UserID INT, InsertedTS TIMESTAMP , FeedBackValue VARCHAR(100), PRIMARY KEY (FeedBackID) ); CREATE PROCEDURE tblFeedBackInsertUpdate ( IN UID INT, IN FB_Valu... View Questions/Answers

Scanner vs. BufferedReader  February 14, 2015 at 6:09 PM
I have to decide from these two classes to read a file. File is of .txt type and its size is around 4.5 GB. There other text files also which is around 7 to 10 GB. So, which class is to be used to read the data? Thanks ... View Questions/Answers

What is the fastest way to read a file in Java?  February 14, 2015 at 5:31 PM
Hi, I am reading my file using the Scanner class. My code is below: import java.io.*; import java.util.Scanner; class filereader { public static void main(String[] args) { try{ Scanner sc = new Scanner(new FileReader("myfile.txt"... View Questions/Answers

cannot find symbol Scanner sc = new Scanner(system.in)  February 14, 2015 at 5:22 PM
In my one of the program in getting the error: cannot find symbol Scanner sc = new Scanner(system.in) How to resolve the error: cannot find symbol Scanner sc = new Scanner(system.in) Thanks ... View Questions/Answers

java - read file line by line in Java  February 14, 2015 at 4:32 PM
Hi, how one can read a text file line by line in Java? What is the benefits of reading a file line by line in Java? Why I can't read a big text file in memory? Thanks ... View Questions/Answers

How to add one hour in php date?  February 14, 2015 at 4:11 PM
I have a date variable in PHP and I want to add one hour to it. What is the code for adding one hour to the PHP date? Thanks ... View Questions/Answers

Country wise redirection to files  February 13, 2015 at 11:16 AM
**how can i redirect a file to another file on the basis of countries? I'm using this code, please correct if i am wrong** <script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script> <script language="Ja... View Questions/Answers

How to print ireport multiform difference contect in once time ?  February 12, 2015 at 10:06 PM
How to print ireport multiform difference contect in once time ? JAVA Sample Page 1 A.jrxml Sample Page 2 B.jrxml ... View Questions/Answers

How to cascade two text boxes??  February 9, 2015 at 4:37 AM
I am having 3 text boxes if i entered the value in the first text box then the values of the two text boxes should come from the database with respect to first text box value. ... View Questions/Answers

plotting of points inside a rectangle  February 5, 2015 at 1:08 AM
I want to plot various points inside a rectangle such that any two points are at a distance of at least 3 units from each other. I want all possible configurations that are possible.For example ,if I have a Rectangle of 20m by 14m then one possible placement of points are at all the respective ve... View Questions/Answers

fingerprint recognition in Java language.  February 3, 2015 at 7:14 AM
I want a programing source code for fingerprint recognition in Java language. ... View Questions/Answers

How to Remove audio from video file with FFmpeg?  February 2, 2015 at 2:17 AM
I have a video test.mp4 and I want to remove the audion from the video. So, that there is no audion in video. How to remove audio from video file with FFmpeg? thanks ... View Questions/Answers

Using the escape percent in the batch file  February 2, 2015 at 2:08 AM
If you use the one % in the batch file it will consider it as the parameter input and will try to find the variable and replace it. But how to use the percentage in batch file? Thanks ... View Questions/Answers

ffmpeg silent execute example  February 2, 2015 at 12:58 AM
Example of executing of ffmpeg command silently from the command line. Actually i need this as ffmpeg is creating lot of outputs and i am not interested in these debug message. How to silently execute the ffmpeg command? ... View Questions/Answers

Query conversion  January 31, 2015 at 5:20 AM
can please convert the following mysql query to hibernate query select * from table1 where field1 not in (select field_1 from table3); ... View Questions/Answers

WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED  January 29, 2015 at 7:21 AM
WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED ... View Questions/Answers

WEB APPLICATION IN JSP  January 29, 2015 at 4:19 AM
Can you help me with a JSP code which can search and update existing data in mysql database ... View Questions/Answers

compile  January 28, 2015 at 9:10 AM
how to compile a java program using jre7? ... View Questions/Answers

were to start with xml, XSD and java  January 25, 2015 at 7:58 AM
where to start with XML, XSD and java ? my task is to develop an application that read from tcp/ip and manipulate the received messages that XML xsd formated, could any one please tell me where to start with this, since I'm a java developer but never working with xml. than... View Questions/Answers

Network programming  January 23, 2015 at 7:39 PM
write and run a client and a server program using C language in Unix as per the following specifications: a) A TCP client program will establish a connection and send a text string to the server. b) A TCP server will accept the string and send back the sum of ASCII values of each charact... View Questions/Answers

network programming  January 23, 2015 at 7:29 PM
Tutorial for Network programming and administration ... View Questions/Answers

PLease reply its urgent  January 21, 2015 at 5:53 AM
Write a java function that has the signature â??Public static int clock Inter sections(int hours, int minutes)â?? That takes a number of hours and minutes (up to several days), and returns the number of times the minute and hour hands of a standard analog clock would cross in that period ... View Questions/Answers

connection in php  January 18, 2015 at 9:36 PM
<?php include("include/db.php"); ?> <html> <head> <title>Mann Jewellary</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <link rel="stylesheet" href="styles\style.css" media="all" type="... View Questions/Answers

connection in php  January 18, 2015 at 9:34 PM
<?php include("include/db.php"); ?> <html> <head> <title>Mann Jewellary</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <link rel="stylesheet" href="styles\style.css" media="all" type="... View Questions/Answers

connection in php  January 18, 2015 at 9:34 PM
<?php include("include/db.php"); ?> <html> <head> <title>Mann Jewellary</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <link rel="stylesheet" href="styles\style.css" media="all" type="... View Questions/Answers

UILineBreakModeWordWrap is deprecated  January 18, 2015 at 1:52 AM
I am getting the error UILineBreakModeWordWrap is deprecated in IOS 6.0. What is the latest code to be used for this? Thanks ... View Questions/Answers

how to split string after first occurrence of alphanumeric character?  January 15, 2015 at 4:34 AM
String strArray="135(i),15a,14(g)(q)12,67dd(),kk,159";//splited by ',' divide string after first occurrence of alphanumeric value/character expected output : original expected o/p 15a s1=15 s2=a 67... View Questions/Answers

security  January 14, 2015 at 2:25 AM
generate a self signed java certificate and use it to encrypt and decript information. ... View Questions/Answers

security  January 14, 2015 at 2:25 AM
generate a self signed java certificate and use it to encrypt and decript information. ... View Questions/Answers

how to get string after first occurence of alphanumeric char in java?  January 12, 2015 at 4:44 AM
how to get string after first occurence of alphanumeric char in java For Example : String = "13(i),145afc34df,1ss,kk,90"; Required output : 13 (i) 145 afc34df 1 ss kk 90 ... View Questions/Answers

Fortran with mysql  January 10, 2015 at 2:00 AM
Can i connect mysql with Fortran using java ... View Questions/Answers

Framework for Mobile Applications  January 9, 2015 at 12:34 AM
Any Framework for mobile Application? ... View Questions/Answers

PHP  January 8, 2015 at 11:48 PM
what is REST AND SOAP API? ... View Questions/Answers

How to print UIButton id  January 8, 2015 at 2:55 AM
How to get the id of the button in the IOS application? Thanks ... View Questions/Answers

System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h' has been modified since the precompiled header  January 7, 2015 at 6:56 AM
Hi, I am getting the following error while compiling the Xcode project: fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h' has been modified ... View Questions/Answers

UINavigationController Navigating to back  January 6, 2015 at 7:09 PM
How to navigate to previous screen or simply go back or simulate the back button programmatically in iOS? Thanks ... View Questions/Answers

uinavigationcontroller add right button  January 5, 2015 at 10:28 PM
Hi, How to add the right button programatically to a UINavigation Controller? Thanks ... View Questions/Answers

UINavigationController how to set title  January 5, 2015 at 10:24 PM
I want to set the tile of the UINavigationController when a view is displayed once new view is pushed. Thanks ... View Questions/Answers

How to create runtime drag and drop form builder using asp.net mvc and jquery  January 5, 2015 at 6:47 AM
My task is related to Runtime drag and drop Form Builder. I have to design a dynamic form builder in which user has permission to drag the control(as of textbox, dropdown, checkbox, radio button etc) onto the form and set its property as of Label, Validation, Data Type etc.. For ... View Questions/Answers

Pagination in struts 2  January 2, 2015 at 12:40 AM
Hi, I have one question regarding pagination in struts 2 I saw one of your code that you explain here:- http://www.roseindia.net/struts/struts/struts2.2.1/paginationinstruts.html in this example you guys used display:table property, which display data in table form. But as you know nowada... View Questions/Answers

uitextfield hide keyboard on return  December 31, 2014 at 9:35 AM
I am working on a iPhone project. I want to hide the keyboard when use clicks on the return button of the IOS keyboard in iPhone/iPad. How to hide the keyboard on return key. What is the best way to hide the keyboard which was displayed automatically when user clicked on the UITextField? ... View Questions/Answers

Help  December 31, 2014 at 12:59 AM
i have a html file.. i have take input and store in database .. Tell me the steps to perform.. i have xampp it includes mysql,tomacat,apache. and how display the data from datbase .. please explain !! ... View Questions/Answers

java code  December 29, 2014 at 10:18 AM
Write a program in java for lru caching using two inputs one using integer and another using string of uppercase only ... View Questions/Answers

magento  December 29, 2014 at 5:03 AM
in my magento site product not show at front side ... View Questions/Answers

dismissmodalviewcontrolleranimated first deprecated in ios 6.0  December 28, 2014 at 12:24 AM
In Xcode 6.1 while developing an application I am getting the following error: dismissmodalviewcontrolleranimated first deprecated in ios 6.0 I used the following code in the AppDelegate file: UINavigationController *navigationController = (id) self.w... View Questions/Answers

write a program that Implement an integrated COM client server to add two numbers.by visuall studio 2010  December 27, 2014 at 11:58 PM
write a program that Implement an integrated COM client server to add two numbers.by visuall studio 2010 if someone can do this please help me??? send by email ayishu165@gmail.com ... View Questions/Answers

xcode 6.1.1 download  December 25, 2014 at 1:28 PM
Hi, I want to download the Xcode from my windows computer. What is the direct url to download Xcode 6.1.1? Thanks ... View Questions/Answers

struts2 filterdispatcher is deprecated please use the new filters  December 25, 2014 at 6:32 AM
Hi, We have a Struts 2 based application and it is giving following error on starup: struts2 filterdispatcher is deprecated please use the new filters *********************************************************************** * ... View Questions/Answers

java program  December 21, 2014 at 8:47 AM
Hello,I have a java program that i'm working on and i'm experiencing some problem with coding.The code that I listed below compiles but does not output the desired result,i.e the computation of the various tax calculations.I am new to java so any help would be appreciated.Many thanks! imp... View Questions/Answers

Interview question.  December 19, 2014 at 6:14 AM
Program to read the integers from the standard input (until it gets a negative number) and puts them in to an array.after that it calls process Array on the array,and then prints the content of the array on the standard output. Curruntly ,processArray does not modify thearray.you have to changeth... View Questions/Answers

in Spring MVC, i would like to download my Mysql database table in pdf,msword,excel formats.  December 19, 2014 at 12:22 AM
in Spring MVC, i would like to download my Mysql database table in pdf,msword,excel formats: in View: radio buttons: pdf 2. mswod 3. excel Choose date: ... View Questions/Answers

Convert BLOB to PDF and save it to a location  December 18, 2014 at 2:05 AM
I have a requirement to convert blob(stored in a DB table) back to .pdf in the UI(for the users to download). i could achieve this for single blob to file conversion(with a prompt to 'save as'), but the application also has a bulk download functionality wherein it has to convert each blob to a pd... View Questions/Answers

Split Data  December 17, 2014 at 8:35 AM
how to split data from to from e.g. sssss-3100@jdkck i want only 3100 data from that string. ... View Questions/Answers

Interface in javascript  December 17, 2014 at 6:56 AM
Implement an interface in javascript, which takes in a collection of objects, and the column names on which we should build indexes ( say a simple BST) and defines the "where" query functionality on the collection which uses the indexes to provide better performance. How to do this..?... View Questions/Answers

how to copy files from remote to local machine using SFTP SSL in java?  December 17, 2014 at 1:08 AM
I want to copy files from remote server to local machine using SFTP and SSL in java. Plz help....... ... View Questions/Answers

Like Team viewer  December 17, 2014 at 12:06 AM
As i am developing one small application, In that i have one doubt if any i was working in my application(o/p) that out put has been displayed on another computer whatever i do in the myapplication that will display another system via all system has been connected through the lan ... View Questions/Answers

Socket and Servert -Jsp  December 16, 2014 at 11:36 PM
I have two servers,one server we have one servlet and another sever we have one jsp when a client send the request to first server first servelt executes and inside that servlet we need to use the socket machanism to establish the connecation with second sever and execute the jsp file(In two serv... View Questions/Answers

swing to applet  December 16, 2014 at 10:35 AM
hi how i can isplay a java swing into applet java thanks ... View Questions/Answers

chrome extension  December 15, 2014 at 7:33 AM
how to develop an extension in google chrome for irctc next generation tatkal ticket booking? ... View Questions/Answers

how to copy files from remote location to local using java?  December 15, 2014 at 12:50 AM
I want to copy all files from shared folder to local. Please help....... ... View Questions/Answers

specifier  December 14, 2014 at 11:15 PM
hello , im a beginner in java .... i want to ask how i can make a space and 2 decimal place at once.. i mean at one S.O.P .. example : System.out.printf("%.7s %.2f", amount); i want to use two specifier but when i run it turns out to b an error :'( ... View Questions/Answers

specifier  December 14, 2014 at 11:15 PM
hello , im a beginner in java .... i want to ask how i can make a space and 2 decimal place at once.. i mean at one S.O.P .. example : System.out.printf("%.7s %.2f", amount); i want to use two specifier but when i run it turns out to b an error :'( ... View Questions/Answers

gcd  December 13, 2014 at 12:52 AM
. Write a method that returns the greatest common divisor (gcd) of two integers. For example, if the two integers are 6 and 15, the gcd is 3. Another example, if the two integers are 8 and 25, the gcd is 1. The two integers are passed as the methodâ??s parameters. Use the following method h... View Questions/Answers

convert into hql  December 11, 2014 at 6:59 AM
String sqlListSurveys= "select distinct s.surveyAutoID, s.surveyTitle, date(s.modifiedOn) modifiedOn, s.createdOn, " + "( CASE s.surveyState WHEN '0' THEN 'Created' WHEN '1' THEN 'Published' " + " ELSE 'UnPublished' END ) surveyState, s.createdby createdby, (select... View Questions/Answers

how to convert sql into hql  December 11, 2014 at 6:59 AM
StringBuffer questionDataSql = new StringBuffer(); questionDataSql.append( "select distinct q.questionVerbiage, qt.questionType, ") .append("GROUP_CONCAT(distinct ifnull(qo.optionVerbiage,'') order by qo.questionOptionAutoID SEPARATOR '\n') opti... View Questions/Answers

How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java  December 11, 2014 at 6:31 AM
How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java ... View Questions/Answers

Run a .exe from a class  December 11, 2014 at 2:56 AM
how to lauch a .exe file from a class in Java and to check the success ful execution of the same? ... View Questions/Answers

java.lang.NoClassDefFoundError: org/hibernate/engine/FilterDefinition error  December 9, 2014 at 8:07 PM
Hi, I am trying to run my application using the latest Spring version 4.3.7.Final. While initializing the spring content it is giving the following error: WARNING: Exception encountered during context initialization - cancelling refresh attempt org.sp... View Questions/Answers

how to create SOAP based web service in java?  December 6, 2014 at 3:00 AM
Hi, I want to create sample SOAP web-service based application using jsp/servlet. Please help me....... ... View Questions/Answers

callable interface  December 5, 2014 at 7:11 AM
When we use the callable interface instated of runable interface? ... View Questions/Answers

how to fetch data from mysql database table and draw a bar chart on that data using in jsp  December 5, 2014 at 4:16 AM
how to create bar chart fetch data from mysql database using in jsp.please give me a right code. yhanks in advance ... View Questions/Answers

how to create users in LDAP using java?  December 4, 2014 at 5:58 AM
how to create users in LDAP using java. ... View Questions/Answers

how to authenticate user using TIVOLI api in java?  December 4, 2014 at 4:12 AM
Hi, I want to integrate IBM TIVOLI API to create/authenticate users using java code. Please help....... Thanks in advance..................................... ... View Questions/Answers

how to create users using IBM Tivoi API in jsp/servelet?  December 4, 2014 at 3:35 AM
how to create users using IBM Tivoi API in jsp/servelet? ... View Questions/Answers

Operations on string  December 2, 2014 at 8:04 AM
Apply undo,redo operations on String pool in java ... View Questions/Answers

Read Bit values  December 2, 2014 at 6:42 AM
how to read bit values in the program Please give suggestion, which is useful in Simplified DES Algorithm ... View Questions/Answers

File Uploading Notification  December 2, 2014 at 12:28 AM
I am uploading files in my application and i want to know how can i know or be notified when file is uploaded. is there any file uploading event there which can tell me that process is going on and completed...?? ... View Questions/Answers

Java/J2ee  November 30, 2014 at 2:13 AM
I want to get the data from database in to text box in a jsp page. If I enter the letter A in the textbox it should show only those values which starts with a and from that i need to select the required value and i should store the selected value into a variable. Plz help me out(without use of ja... View Questions/Answers

viewing  November 27, 2014 at 10:14 AM
viewing from session and display e-ticket using struts ... View Questions/Answers

core java code for following program  November 26, 2014 at 10:25 PM
We are hosting the Olympic games. Write a program that will track all the details of this hosting. The program should track the countries and their players along with the games that they are participating in. It will track the medal winners for each game. The progr... View Questions/Answers

Nesting of loops  November 26, 2014 at 2:55 AM
Q 1. Write a C Program to draw the following pattern. 11 9 7 5 3 1 9 7 5 3 1 7 5 3 1 5 3 1 3 1 ... View Questions/Answers

importing CSV data into Database in java when the no of columns are known using javacsv  November 26, 2014 at 1:09 AM
I have imported CSV data into postgres Database in java using javaCSV jar. But now i have to convert it in such way that if the no of columns in the csv are not known then also i should be able to import it. But the condition i can use only javaCSv jar. No other jar is allowed. And also the perf... View Questions/Answers

Problem Statement : Show Booking System  November 24, 2014 at 4:55 AM
Yashwant Rao Chavan Auditorium has few stage shows running currently. Now that we have the details of the shows that are currently running, we will book our tickets using following method. The parameters that we are supposed to send to send to this method are : List<Show>showLis... View Questions/Answers

Problem Statement : Show Booking System  November 24, 2014 at 4:52 AM
Yashwant Rao Chavan Auditorium has few stage shows running currently. Initialize the Show data by de-serializing a serialized file provided in the Participant_Workspace of the project ShowBookingSystem. Use the following method signature to implement this functionality. Method that you s... View Questions/Answers

Please explain this code as many packages and classes are unknown to me .!  November 23, 2014 at 12:37 PM
print("code sample");package bluetooth; import java.io.OutputStream; import javax.microedition.io.Connector; import javax.obex.ClientSession; import javax.obex.HeaderSet; import javax.obex.Operation; import javax.obex.ResponseCodes; import javax.swing.JDialog; ... View Questions/Answers

Help to set the reminder  November 21, 2014 at 4:38 AM
set reminder for two months later from current date in C Programming. REM1 = DOC + 1 month For ( REM1 <= REM1 + 2 Days, REM1 + 2 hrs) { Play 'Go meet the ANM and Make the card.' } If (status = attended) {... View Questions/Answers

image processing matching an 2 image  November 20, 2014 at 10:38 AM
source code for dense and sparse matching feature in lbp ... View Questions/Answers

how to make previous and next Button Display Data in php  November 20, 2014 at 7:29 AM
mysql_num_rows($rs)) { unset($_SESSION[qn]); exit; }*/ if(isset($subid) && ... View Questions/Answers

DMCA.com