Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

add a new wcf service code to TFS and make it available to create an MSI. of its  September 2, 2014 at 3:37 AM
i need to add a new wcf service in the existing TFS and create a setup project foe the same . But how do i add the solution first to the TFS so that the setup folder recognizes it to create its setup file(.msi). ... View Questions/Answers

java program based on array  September 2, 2014 at 2:48 AM
Create Student class with attributes - marks, name, gender, email with appropriate data types. Create another class StudentDemo which will have main method. Declare array of Student object with size 10. Initialize all 10 elements of this array with new objects. Write logic which will display name... View Questions/Answers

Struts Exception Handling  September 2, 2014 at 1:21 AM
Hi I want to display an user defined error message in my JSP by setting it in Struts 1.x custom handler class when some exception occurs. For example, I have 2 classes, Category and Product. A Category can have more than 1 Product. When an user tries to insert a product with the u... View Questions/Answers

Advertisement

Fastest way to upload huge raw data in database - c#, Java or stored procedure  September 1, 2014 at 9:02 PM
I have huge raw data that needs to uploaded in database. This procedure repeats every 15days. I need to know which method would be fastest to upload this data - Stored procedures, Java or c#. Why? What are the advantages and disadvantages of each method ... View Questions/Answers

Salary and overtime  September 1, 2014 at 2:49 PM
Prompt the user for name and salary and calculate the overtime pay ... View Questions/Answers

java code  September 1, 2014 at 12:26 AM
hello sir, i want to devlop one simple app in java,c,c++ which is made without using database and awt system is multiplex cinema ticket booking. it define/add available screens & current movies.screen should have multiple category of seats operations to be pe... View Questions/Answers

how to apply globalisation to a world wide asp.net application  August 31, 2014 at 11:44 AM
how to apply globalisation concept on a asp.net web page ... View Questions/Answers

create a simple form  August 31, 2014 at 11:29 AM
Helo. i am learning php, and i need help creating below for. Its simple but i need help. Create a form that contains: 1. Name, textbox 2. Submit button If the user inputs the Name textbox and clicks the Submit button, the system must: 1. Display "Good morning, <Name>" if the se... View Questions/Answers

java  August 31, 2014 at 9:10 AM
why java is more reliable language than c ... View Questions/Answers

newyorklife insurance  August 30, 2014 at 11:31 PM
http://www.newyorklife.com/ ... View Questions/Answers

How to install JDK in Centos?  August 30, 2014 at 4:08 AM
Hi, I have to install the JDK on Centos 6 Linux server. Let's know the steps to install the JDK. Thanks ... View Questions/Answers

Standalone Product should support 64 bit java.  August 29, 2014 at 7:18 AM
I am working on a project and I am freshers. Today my Team lead told me to update our product and make it suitable for 64 bit java. Can you please answere me what I have to do. When we deliver our product we bundle jdk 32 bit with it. So now what jdk we should bundle. It s... View Questions/Answers

getElementById not working  August 29, 2014 at 4:16 AM
I have to get value from a hidden input. When I try using document.getElementById("issuer").value it gives me null but when I use document.forms[0].issuer.value it gives me the value of the field. Any guess why? I always thought getElementById was a bette... View Questions/Answers

inheritance  August 29, 2014 at 3:18 AM
write a programwhich has three classes,namely,FirmClass,Animal and Dog,to illustrate how these class Dog inherits from Animal .The class Animal should have a method called move() which prints out the string"Animal is moving"when it called.The class Dog should overide the move() methods in class A... View Questions/Answers

inheritance  August 29, 2014 at 3:07 AM
write a program that allow the user to enter test marks and calculate and display the avarage.Valid mark marks range from 0-100.If no valid mark has been entered,the program should abort,display a message and not attempt to calculate the avarage ... View Questions/Answers

How to display transfer speed with rsync?  August 29, 2014 at 12:25 AM
Hi, I am transferring the big file using rsync. I want to know how to display the transfer information such as transfer speed, total time, done precent ect. with the rsync command? Thanks ... View Questions/Answers

Anser for the Search cusing javascript  August 28, 2014 at 10:52 PM
table { background-color:#F2F2F5; border-width:1px 1px 0px 1px; border-color:#C9CBD3; border-style:solid; } td { color:#000000; font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif; font-size... View Questions/Answers

Anser for the Search cusing javascript  August 28, 2014 at 10:51 PM
table { background-color:#F2F2F5; border-width:1px 1px 0px 1px; border-color:#C9CBD3; border-style:solid; } td { color:#000000; font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif; font-size... View Questions/Answers

javascript code for search in html file  August 27, 2014 at 8:58 PM
Hi, I am looking for javascript code through which we can search data with specific name find in any rows in the table. Example: Id Name P001 A P002 B P003 C P004 P002 P005 e .......... Search: P002 After search result would be show like below format(like filt... View Questions/Answers

Check Digit Question not able to solve..  August 25, 2014 at 7:59 PM
Hi, I need some help asap. I been stuck for this question for more than 3 days. Using Java. User needs to key in identification number (e.g. U0906931E) system check for the first prefix either 'U' || 'A'. If its 'U' then it removes the first, last and the third digit. (096931) t... View Questions/Answers

i want to update values  August 25, 2014 at 6:06 PM
in my form i have 2 submit buttons one for edit and another for update on page load all my details need to fetch from database and it need to insert automatically in to disabled text boxs and once i press the edit button all text boxs need to enable so that i can edit my details and later once i ... View Questions/Answers

SocketException incompatible with java.sql.SQLException  August 25, 2014 at 3:50 PM
My application fails after sometime, if i login my application getting **java.net.SocketException incompatible with java.sql.SQLException** , but once i restart the Server, it'll get back application to normal mode. Can anyone pls help me wi... View Questions/Answers

how to show image as a link which path coming from database  August 25, 2014 at 1:58 PM
iam not getting proper answer for it. I am using netbeans .the url coming instring from database ,want to display as image on jsp . please help me ... View Questions/Answers

display image on jsp  August 25, 2014 at 1:47 PM
how to display image from database which path is coming in string. i want to display image and its discription and price. image is like link. on jsp . i am trieving that image path by which image is downloading on jsp. show i can open it. but i want to display that image on jsp. ... View Questions/Answers

keep spacings between images when adding to scrollpane  August 24, 2014 at 5:00 PM
!alt textI'm adding a list of images from a directory using an arraylist.When images are added,my ScrollPane gets crowded.How can I keep spacings between images ? here's my code File file = new File("D:\SERVER\Server Content\Ap... View Questions/Answers

keep spacings between images when adding to scrollpane  August 24, 2014 at 5:00 PM
!alt textI'm adding a list of images from a directory using an arraylist.When images are added,my ScrollPane gets crowded.How can I keep spacings between images ? here's my code File file = new File("D:\SERVER\Server Content\Ap... View Questions/Answers

Implement The Skeleton Code  August 23, 2014 at 8:03 PM
package jp.co.worksap.global; import java.util.NoSuchElementException; /** The Queue class represents an immutable first-in-first-out (FIFO) queue of objects. @param <E> */ public class ImmutableQueue<E> { /... View Questions/Answers

Implement This Skeleton Code  August 23, 2014 at 7:57 PM
package jp.co.worksap.global; import java.util.NoSuchElementException; /** * The Queue class represents an immutable first-in-first-out (FIFO) queue of objects. * @param <E> */ public class ImmutableQueue<E> { /** * requires default constructor. */ public ImmutableQueue() { // modify this c... View Questions/Answers

Mobile Automation using Appium  August 21, 2014 at 5:24 AM
Hi Can any one guide me how I can do mobile automation using appium and with java scripting language? ... View Questions/Answers

java pattern  August 20, 2014 at 7:42 PM
12345 23451 34512 45123 41234 12345 ... View Questions/Answers

album maker  August 20, 2014 at 5:09 PM
How to make a simple album maker using java API ... View Questions/Answers

Inserting id in place of name to database  August 20, 2014 at 10:45 AM
Hello, I have a database department where I have "id" and "name". I am fetching this data to a jsp form in dropdown list displaying "name" there and Now I wanted to insert data from this form to another table and in place of "name" of department I wanted to insert "id" to this table. ... View Questions/Answers

ArrayList  August 17, 2014 at 10:53 AM
import java.util.*; class ArrayListDemo2 { public static void main(String args[]) { ArrayList al=new ArrayList(); al.add("one"); al.add("two"); al.add("three"); al.add("four"); for(int i=0;i Expected Output:-... View Questions/Answers

Unexpected Behaviour of ArrayList  August 17, 2014 at 10:33 AM
import java.util.*; class ArrayListDemo2 { public static void main(String args[]) { ArrayList al=new ArrayList(); al.add("one"); al.add("two"); al.add("three"); al.add("four"); for(int i=0;i Expected Output:-... View Questions/Answers

Computer forensic application development using JAVA program  August 16, 2014 at 1:53 PM
Write a computer forensic application program in Java for Recovering Deleted Files and Deleted Partitions ... View Questions/Answers

Computer forensic application  August 16, 2014 at 1:18 PM
how to write computer forensic application using java for recovering deleted files and deleted partitions ... View Questions/Answers

extracting column and sorting csv data alphabetically  August 16, 2014 at 12:31 AM
hi here is my code and csv data save it as country.csv file *Australia;AU;1.5 Thaialnd;TH;1.6 India;IN;1.7 Malaysia;ML;1.8 Japan;JP;1.9 Korea;KO;1.10 Bangladesh;BD;1.11 China;CN;1.12 Chile;CH;1.13 Brazil;BR;1.14 Portugal;PG;1.15 Netherlands;NL;1.16 ... View Questions/Answers

Get Duplicate Objects from an ArrayList of Objects  August 13, 2014 at 8:22 AM
public class Order { private String portId; private String action; private String idType; private String id; private BigDecimal amount; public String getPortId() { return portId; } public void setPortId(String portId) { this.portId = por... View Questions/Answers

Why Generics was introduced in Java?  August 12, 2014 at 4:12 PM
Hi, Why Generics was introduced in Java and what is was its motive? Thanks ... View Questions/Answers

When were generics first introduced in Java?  August 12, 2014 at 4:07 PM
Hi, I want to know when were generics first introduced in java? ... View Questions/Answers

which should be learned 1st, either servlets or jsp??  August 12, 2014 at 11:34 AM
which should be learned 1st either servlets or jsp??? help me out asap plz..... ... View Questions/Answers

Java: Searching a string from doc files  August 12, 2014 at 10:56 AM
I want to search a string from DOC, DOCX files in java. Can anyone please help me on this!!! ... View Questions/Answers

how to print HTML using javascript or Jquery  August 12, 2014 at 7:35 AM
is there any way to print a document(created using Html and javascript) without using window.print, which works for all the browser specially chrome and firefox, I have used window.print but this required to enable pop-up and work only in firefox. and I have also used Iframe for print, but this o... View Questions/Answers

DB Insert  August 11, 2014 at 4:18 PM
How to insert XML data into a database column? Column data type is CLOB ... View Questions/Answers

Login modification  August 9, 2014 at 2:57 PM
How can I invalidate a user once he goes back to login page without signing out,I have already tried using session but it doesn't work please help! ... View Questions/Answers

Storing and retrieving data alongwith image in mysql db using jsp  August 9, 2014 at 12:32 PM
I want to store and retrieve the whole data as shown below in mysql db. I've put in my all efforts for building this jsp but I'm not able to understand where's the exact flaw in my code. Can anyone guide me through all this and help me out as it is really important for my project????? THIS IS MY ... View Questions/Answers

Removing the Title Bar of a JFrame  August 9, 2014 at 11:58 AM
How to remove the Title Bar of a JFrame in Swing Application? ... View Questions/Answers

How to make non resizable frame in Swing?  August 9, 2014 at 11:49 AM
I want code for making JFrame no re-sizable in the Swing based desktop application. Share me the code for this purpose. Thanks ... View Questions/Answers

Append Arguments to the URL  August 9, 2014 at 11:00 AM
Hi, How to append the query string to the Current Url when i click on a link. AM using Spring MVC i.e. My URL : http://localhost:8080/Sample/SampleApp?id=1 In my page having multiple links (a href tags). Here i need to add the query string. http://localhost... View Questions/Answers

Runtime error  August 8, 2014 at 6:17 PM
I have written 3n+1 code in java and it gives correct o/p but when i submit my code online for my contest it says runtime error.. how to know where is problem? ... View Questions/Answers

How we can integrate ASP .net website to payment gateway using SOAP xml request and response using wsdl.  August 7, 2014 at 5:58 PM
We have a e-commerce website in ASP.net, c#, Sql server database, now we need to integrate it to payment gateway, Payment gateway provider provide us SOAP Xml request and SOAP xml response format along with wsdl format. As i'm new in development. How i can integrate our website to payment gateway... View Questions/Answers

java code for swaping two number  August 7, 2014 at 4:44 PM
how to code for swaping two number without taking third variables ... View Questions/Answers

Magento  August 7, 2014 at 4:03 PM
How to set my custom template in magento... ... View Questions/Answers

Nb hours between 2 time stamps meets specific criteria  August 7, 2014 at 1:18 PM
sql - I have 2 columns with time stamps and 2 empty columns, named DAYHOURS AND NIGHTHOURS. I want to update DAYHOURS and NIGHTHOURS with Number of hours fall under - 06:00 to 21:00 and 21:00 to 06:00 respectively. Thanks ... View Questions/Answers

Selenium-HP-Alm framework  August 7, 2014 at 12:59 PM
selenium-hp-alm framework? ... View Questions/Answers

how can i display a pdf file in a jtextarea  August 7, 2014 at 10:26 AM
I need to display a pdf file in a jtextfield or in a jtextarea.Atlest i need to displat it in a jframe.I have a button and while clicking on it ,i need to choose the pdf file and need to displat it in my jframe.Also i need to edit it and i have to take the print of the page. ... View Questions/Answers

What is Swing?  August 6, 2014 at 5:16 PM
What is Java Swing? Where to get the tutorials of Swing? I am beginner in Java Swing programming and trying to find the tutorials of Swing. Tell me the urls to learn swing. Thanks ... View Questions/Answers

Fingeprint matching in java application  August 6, 2014 at 12:20 PM
I am developing a java application which require fingerprint identification and verification. It is a webservice application. following considration we have to take in to mind. 1. if I am getting an fingerprint as request - how to identify and verify that a user is existing one or new ... View Questions/Answers

quartz schedular in spring mvc  August 6, 2014 at 10:51 AM
how to apply auto emailing through sping mvc and want to pass some variable to that trigger job ... View Questions/Answers

Help for website development on Angular JS  August 6, 2014 at 12:05 AM
want to develop a website using angular JS. I am new to the platform or coding on angular JS. Can i update a database column and get that data uploaded on my webpage simultaneosuly.? ... View Questions/Answers

FoxPro  August 5, 2014 at 11:29 AM
Simple process to create calculator using FoxPro. ... View Questions/Answers

FoxPro  August 5, 2014 at 11:27 AM
Which is a simple process to create a menu bar using FoxPro Prog.? plz answer. ... View Questions/Answers

FoxPro  August 5, 2014 at 11:27 AM
Which is a simple process to create a menu bar using FoxPro Prog.? plz answer. ... View Questions/Answers

FoxPro  August 5, 2014 at 11:27 AM
Which is a simple process to create a menu bar using FoxPro Prog.? plz answer. ... View Questions/Answers

FoxPro  August 5, 2014 at 11:27 AM
Which is a simple process to create a menu bar using FoxPro Prog.? plz answer. ... View Questions/Answers

java linked list urgent !!!  August 4, 2014 at 11:35 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times - when nodes are attached and at the end of the last attach... View Questions/Answers

java linked list urgent !!!  August 4, 2014 at 11:34 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times - when nodes are attached and at the end of the last attach... View Questions/Answers

java linked list urgent !!!  August 4, 2014 at 11:34 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times - when nodes are attached and at the end of the last attach... View Questions/Answers

java linked list urgent !!!  August 4, 2014 at 11:33 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times - when nodes are attached and at the end of the last attach... View Questions/Answers

java linked list urgent !!!  August 4, 2014 at 11:32 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times ?¢â?¬â?? when nodes are attached and at the end of the... View Questions/Answers

java linked list urgent!!!  August 4, 2014 at 11:31 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times ?¢â?¬â?? when nodes are attached and at the end of the... View Questions/Answers

Where to download spring framework zip file?  August 4, 2014 at 7:21 PM
Hi, I am trying to find the link to download the full distribution zip file of the Spring Framework. But not able to find the url to download the full distribution of the project. Can anyone tell me the url from where I can download the full zip file of the Spring framework? ... View Questions/Answers

IO in java  August 4, 2014 at 4:46 PM
Your search mechanism will take as input a multi-word query and will return a list of documents where the given words appear. 1. Your score for this portion of the assignment will be based on the intelligence of your algorithm. The easiest solution is to simply return a list of documents where an... View Questions/Answers

how to integrate authorize.net in java web application?  August 4, 2014 at 10:34 AM
i want to integrate authorize.net in my web application.But they have given simple code in maven ,i want in simple java web application.Please help me ... View Questions/Answers

Database connection class in a live project ..??  August 3, 2014 at 12:15 PM
In a Live mvc project where should i put the database connection class ? I want to know in the best coding practice. ... View Questions/Answers

MYSQL Database  August 2, 2014 at 7:14 PM
Can any one brief me about how to use MYSQL Database to store the create new database, create tables. Thanks. ... View Questions/Answers

Strings in PHP  August 2, 2014 at 7:13 PM
Hi, I am beginners and want to know about strings in PHP and different ways to print a string. Can someone help me in this regards? ... View Questions/Answers

Creating an Applet  August 2, 2014 at 7:11 PM
Hi, I have get a task regarding Creating an Applet using all Layout Manager, can anyone help me in this regard. I don??t know how to make and please help me. Thanks. ... View Questions/Answers

Cloud Server Hosting  August 2, 2014 at 7:08 PM
Hi, Can anyone tell me about the Cloud Server Hosting and how it works for the benefit of environment? Thanks. ... View Questions/Answers

Hibernate 4 Example with Eclipse  August 2, 2014 at 7:02 PM
I am a beginner and want to know about the Hibernate 4 Example with Eclipse and how to install it. Can someone brief me about the same? Thanks. ... View Questions/Answers

finding the prime numbers  August 2, 2014 at 7:01 PM
Hi, I am a beginner to java and I have problem with the code in finding the prime numbers, can someone tell me about the problem. Thanks. ... View Questions/Answers

JPA Framework  August 2, 2014 at 6:58 PM
Hi, Can someone tell me about the JPA Framework and its Examples in Eclipse. Please give me details about. Thanks. ... View Questions/Answers

Beginners in Java  August 2, 2014 at 6:57 PM
Hi, I am beginners in Java, can someone help me in knowing if there any tutorials which can provide me in details about good tutorials for beginners in Java with example? Thanks. ... View Questions/Answers

maven mysql jdbc driver  August 2, 2014 at 2:37 PM
How to add the maven mysql jdbc driver dependency in the pom.xml file of a maven based application? ... View Questions/Answers

spring modelandview maven dependency  August 2, 2014 at 2:33 PM
Hi, how to add the spring modelandview maven dependency in pom.xml file. In my application its saying that ModelAndView class not found. Thanks ... View Questions/Answers

org.springframework.web maven  August 2, 2014 at 2:27 PM
Hi, In my maven web application the package org.springframework.web is not found. What code should i add to the pom.xml file? Thanks ... View Questions/Answers

org.springframework.stereotype maven  August 2, 2014 at 2:23 PM
In my maven application its not able to find the package org.springframework.stereotype. What should be the entry in the pom.xml file? Thanks ... View Questions/Answers

Good tutorials for beginners in Java  August 2, 2014 at 12:56 PM
Hi, I am beginners in Java, can someone help me in knowing if there any tutorials which can provide me in details about good tutorials for beginners in Java with example? Thanks. ... View Questions/Answers

Event Listeners  August 2, 2014 at 10:55 AM
I want to learn the Event Listeners in Java. Any good tutorial with example code on roseindia.net website? ... View Questions/Answers

How to learn Hibernate?  August 2, 2014 at 10:51 AM
I am beginner in Hibernate. Now I want to learn Hibernate. Can anyone explain me how to learn Hibernate from scratch? Thanks ... View Questions/Answers

How to convert eclipse project to Maven  August 2, 2014 at 10:43 AM
Hi, I have a Eclipse Project which is developed using Eclipse. Now I want to use the Maven to build the project. Let's know how to convert it to the Maven Project. Thanks ... View Questions/Answers

nio read file line by line  July 31, 2014 at 4:15 PM
Is there any way to read file line by line using the Java nio package? How to use the nio classes to read file line by line? Thanks ... View Questions/Answers

input fields to reject all inconsistent characters in webconfig  July 31, 2014 at 12:36 PM
I would like to write this statement in the webconfig as specified by my client. The purpose is to set the input fields to reject all in-consistent characters. The code was sent in php The code will remove the base URI path. i do not know the syntax in web.config $path = s... View Questions/Answers

Iterating through pages  July 31, 2014 at 11:51 AM
hello, I have a web page with a table display of 100 records. At the end of the page, we have a button, "Next Page". And the next 100 records will get displayed in the page2. The pages go on wrt the number of record that would be fetched from the database. Please help me with a s... View Questions/Answers

Zend Framework Installation in xampp?  July 29, 2014 at 4:26 PM
How to installed Zend framework in xampp with windows OS? and how to confirmed whether zend framework successfully installed or not? ... View Questions/Answers

Urgent java programming question.Pls help  July 24, 2014 at 7:07 PM
Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times â??? when nodes are attached and at the end of the last... View Questions/Answers

java how to get domain name from url  July 21, 2014 at 8:23 PM
How to get the domain name from a url string? Example program in java for "how to get domain name from url" Thanks ... View Questions/Answers

incompatible types: Row cannot be converted to XSSFRow  July 21, 2014 at 7:59 PM
In my POI project i am getting the following error: incompatible types: Row cannot be converted to XSSFRow How to solve the error? Thanks ... View Questions/Answers

how to set running watch with descending order in applycation with ajax  July 10, 2014 at 12:05 PM
like hh : mm : ss 23 : 59 : 59 23 : 58 : 10 22 : 20 : 01 21 : 45 : 59 . . . . . . 02 : 23 : 03 01 : 10 : 23 00 : 00 : 00 ... View Questions/Answers

DMCA.com