Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Monitoring user activity  October 1, 2014 at 6:32 AM
how to monitor opening of particular file such as Microsoft office or web browser on your java application? Thank you ... View Questions/Answers

Reloading issue in jsp  October 1, 2014 at 4:24 AM
I wrote one jsp page with one submit button. If we click on button it will execute business logic, but I want to stop reloading page if user refreshed the link. how we do this. ... View Questions/Answers

How to get Button Id ?  October 1, 2014 at 3:04 AM
How to get Button ID instead of its value in Servlet. (I am not using jsp right now...) ... View Questions/Answers

Advertisement

make a webpage  October 1, 2014 at 2:47 AM
I will provide you some basic requirements that you will be implementing over a small web page... Requirements: A web page having a title, heading, 3 text boxes, a checkbox, a submit button and a table with headers Textboxes: Name of a device (plain text) IP Address of a device (with dot... View Questions/Answers

Does the object type known during compilation in Java?.  September 30, 2014 at 6:20 AM
class A { } class B extends class A { } class checkType { public static void main(String[] args) { A ObjA = new B();/// Here ObjA is of type A--> this fact is known at compile time. But ... View Questions/Answers

Nitobi Grid is not working in IE10/IE11  September 30, 2014 at 5:48 AM
Nitobi grid is working in IE8, but not working in IE10/IE11. we are using above two javascript files to open the... View Questions/Answers

written exam  September 30, 2014 at 1:35 AM
Write a php code to take 3 input fields to enter marks for 3 subjects and calculate the average and display the grade according to the average from the following details. 80 - 100 => A; 65 - 79 => B; 50 - 64 => C; 40 - 49 => D; 0 - 39 => E; ... View Questions/Answers

email verification in e commerce application  September 29, 2014 at 12:19 PM
I have been developing an e-commerce application(Online shopping center)for my B level final project.I am using JSP(in Netbeans),Mysql,EJB(Session bean) and Servlet for developing the application.I am following Netbeans ecommerce tutorial(https://netbeans.org/kb/docs/javaee/ecommerce/intro.html).... View Questions/Answers

email verification in e commerce application  September 29, 2014 at 12:19 PM
I have been developing an e-commerce application(Online shopping center)for my B level final project.I am using JSP(in Netbeans),Mysql,EJB(Session bean) and Servlet for developing the application.I am following Netbeans ecommerce tutorial(https://netbeans.org/kb/docs/javaee/ecommerce/intro.html).... View Questions/Answers

java program  September 29, 2014 at 5:30 AM
pgm in java that connects to a database and generates a report consisting of the courses in whom the total percentage of number of students failed is more than 80% of the total number of students who appeared in the examination ... View Questions/Answers

jquery dependency dropdown box in spring hibernate my sql  September 28, 2014 at 3:46 AM
Hi Friends, Can you please provide me the code for dynamic drop down box using jquery in spring, hibernate and oracle/mysql database. Like if i select country then the related states has to display it's corresponding drop down box, those values has to come from database. Thanks in advance. ... View Questions/Answers

java question  September 27, 2014 at 3:28 PM
what is the difference between path and classpath in java ... View Questions/Answers

HTMl  September 27, 2014 at 2:09 AM
what is the difference between responsive design and mobile compatible design? ... View Questions/Answers

HTMl  September 27, 2014 at 2:09 AM
what is the difference between responsive design and mobile compatible design? ... View Questions/Answers

JQuery-JSP AJAX example not working  September 26, 2014 at 2:21 PM
Hi, I while back ran you tutorial at http://www.roseindia.net/tutorial/jquery/jqSquareroot.html. I copied to code to my location and ran it locally. It worked fine. When running my own development code (following your example (and by the way, thanks for helping me get started with AJAX)),... View Questions/Answers

Starting MySQL.. ERROR! The server quit without updating PID file  September 25, 2014 at 1:59 AM
I am issuing the command service mysqld restart and its giving following error: Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/mysql.pid) How to solve this? Thanks ... View Questions/Answers

I need help on my Java code.... please please help me out!?  September 24, 2014 at 5:00 PM
Well my code is supposed to ask for an input file and then (ex: input.txt), read the input file and create an output.txt file with the anagram for the words in the file. Also it should be displayed on the screen. However my code doesn't display the anagram on screen or the output file! Please sh... View Questions/Answers

calling one jap page from another jsp page  September 24, 2014 at 5:53 AM
i created a button in one jsp page i need to call another jsp page as an action to that button. so how can i call.. plz any one explain. its urgent. ... View Questions/Answers

Industrial problem  September 24, 2014 at 2:17 AM
Hello Friends, I wanna make an activeX for my IP camera (edimax 3030). Through this, i wanna integrate a webcam software in scada software, so i can take an image of the action of PLC Output. That image should directly save to my specified folder. and i wanna use that image in automatic report g... View Questions/Answers

please help java  September 23, 2014 at 5:12 PM
How to Change the background color of the dashboard to black with an opacity of 0.6. Change the opacity of the images in the dashboard to 0.5 before the dashboard slides out. Change the opacity of the dashboard images to 1.0 when each image is moused over. ... View Questions/Answers

jquery issue plese help  September 23, 2014 at 5:07 PM
Im am trying to Change the background color of the dashboard to black with an opacity of 0.6 Change the opacity of the images in the dashboard to 0.5 before the dashboard slides out. Change the opacity of the dashboard images to 1.0 when each image is moused over. <... View Questions/Answers

[Mini-Project]  September 23, 2014 at 10:06 AM
[Mini-Project] Develop a programmer's editor in Java that supports syntax highlighting, compilation support, debugging support, etc. ... View Questions/Answers

Jcombobox  September 23, 2014 at 5:01 AM
Hii, I am doing my final year project and i am using java swing as a front end.I have used Jcombobox for displaying my on bluetooth devices and i also made a refresh button.when i click on the refresh button i want updated list of on devices in that same co... View Questions/Answers

display database results  September 23, 2014 at 2:29 AM
how to display database results using php? ... View Questions/Answers

question  September 23, 2014 at 1:54 AM
Sir, could you please help me to write a php program to display the contents of html registration form in a php page but i need to verify the phone number is number or not and also verify the email is valid or not. ... View Questions/Answers

login  September 23, 2014 at 12:12 AM
How to create login page in jsp? ... View Questions/Answers

login  September 23, 2014 at 12:12 AM
How to create login page in jsp? ... View Questions/Answers

Java Database Program  September 19, 2014 at 9:44 AM
Write a program in Java that connects to a database and generates a report consisting of the courses in whom the total percentage of number of students failed is more than 80% of the total number of students who appeared in the examinations. Make assumptions wherever necessary. ... View Questions/Answers

jdbc  September 18, 2014 at 3:26 AM
Write a web based student registration application where the students can register online with their enrollment no. You are required to use JSP, Servelet and JDBC ... View Questions/Answers

xml question  September 18, 2014 at 3:24 AM
> mplement award list of MCA 1 st year > as a XML document. The table must > have semester No, student√Ę‚?¨‚?Ęs Enrollment > No, TEE marks of all the theory > subjects, practical subjects and > assignments. ... View Questions/Answers

OptionPane.GetInputDialog. Is it really Modal?  September 17, 2014 at 6:48 AM
I have a button (ReCalc) which loads a dialog with a textbox. If I use the mouse to click 'ReCalc" and to click the 'OK' in the dialog then all is ok. If I put the focus on 'ReCalc' and hit 'Enter' then the dialog loads but the focus is not in the text box. I must put the focus there with the mou... View Questions/Answers

Class and interface in same file and accessing the class from a main class in different package  September 17, 2014 at 6:21 AM
Hello everyone; I was going through some design pattern videos on YouTube, however I have a small doubt on some basic Java concept. I tried searching for solution, but was unable to find one. Below is my query. I have some classes Animal.java, Dog.java... View Questions/Answers

Class and interface in same file and accessing the class from a main class in different package  September 17, 2014 at 6:21 AM
Hello everyone; I was going through some design pattern videos on YouTube, however I have a small doubt on some basic Java concept. I tried searching for solution, but was unable to find one. Below is my query. I have some classes Animal.java, Dog.java... View Questions/Answers

username and password in servlet  September 16, 2014 at 8:08 PM
i'm usng eclipse luna(java programming) Sevlet and apache tomcat8.0 i need to do a login page then after login it must display either invalid user or valid user here is what i done for login page after i login it shows error Login Page... View Questions/Answers

question  September 16, 2014 at 2:08 AM
public class TestSingletone { private static TestSingletone t=null; private TestSingletone() { } public static TestSingletone getTestSingletone() { if(t==null) { t=new TestS... View Questions/Answers

What do you understand by JPA?  September 16, 2014 at 12:58 AM
What is JPA and how it can be integrated? Thanks ... View Questions/Answers

JAVA SWING  September 15, 2014 at 8:50 AM
Hi.... Iam doing project in java...and my front end in swing ..our project is like billing software... then what are the topics i want cover? then how to design? pls help me.... ... View Questions/Answers

Hibernate Query Checker  September 15, 2014 at 1:54 AM
How in Hibernate. We can control that programmer should not make query which hang the system. Like table having more the 20 million of data. Query must have where clause. ... View Questions/Answers

Hii i want a JMS application can anybody help me  September 15, 2014 at 12:24 AM
jms application ... View Questions/Answers

Default value of path variable in Windows 7  September 14, 2014 at 8:41 AM
Hi, In Windows 7 i accidentally deleted path in environment variables. Now ifconfig is not working and its saying invalid command. What is the default value of the path variable in the Windows 7? ... View Questions/Answers

How to Convert SOAP Web service to REST Web service In Java ?  September 13, 2014 at 11:56 AM
I want to Convert SOAP Web service(WSDL) to REST web service in JSON Format with GET,POST action method, where inputing only SOAP End Point will Generate REST Web service. What I know is that JAX-RS api is used to generate REST Web service,and Jersey is a tool for REST. Please tel... View Questions/Answers

Jpa many to many relationship  September 12, 2014 at 10:50 PM
I HAVE Employee, EmpSchedule, EmpSubstitution tables Employee EMP_ID NAME PHONE EmpSchedule EMP_ID Start_date End_date EmpSubstitution EMP_ID Start_date End_id ... View Questions/Answers

How to get length of string in Java?  September 12, 2014 at 5:50 AM
What is the method of String for getting the length? How to get length of string in Java? Tell me code fast. Thanks ... View Questions/Answers

How to split string in Java?  September 12, 2014 at 5:05 AM
Hi, I have a string seperated by ',' comma. How to split the string? Thanks ... View Questions/Answers

How to find hashtable size in Java?  September 12, 2014 at 4:31 AM
Hi, What is the code for Hashtable in Java? How to find hashtable size in Java? Give me the easy code. Thanks ... View Questions/Answers

How to add key value pair in Java  September 12, 2014 at 4:13 AM
Hi, I have to store the key and value pair in Java. How to store key value pair in Java? Thanks ... View Questions/Answers

java key value pair  September 12, 2014 at 4:09 AM
Hi, How to save the java key value pair in Java? Thanks ... View Questions/Answers

Server side validation on dynamically generated fields from more than one table on spring framework.  September 12, 2014 at 1:49 AM
Server side validation on dynamically generated fields from more than one table in spring mvc framework. ... View Questions/Answers

code for inverted pyramid  September 11, 2014 at 1:45 AM
Write the code to print the following pattern. 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 1 2 3 4 5 6 7 6 5 4 3 2 1 1 2 3 4 5 6 5 4 3 2 1 1 2 3 4 5 4 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1 ... View Questions/Answers

Problem to get connection from DAO class to JDBC  September 11, 2014 at 12:56 AM
package controller; import java.sql.Connection; import java.sql.DriverManager; public class ConnectionProvider { private static Connection con=null; //static Connection con=null; static{ try{ Class.forName("DRIVER"); con = DriverManager.getCon... View Questions/Answers

How to access data yearly from DB in C# ?  September 10, 2014 at 1:20 AM
how to access data yearly from database in C#. I have code but i m not able to retrieve data yearly from DB table. string date1 = dateTimePicker1.Value.Date.ToString("dd/MMM/yyyy"); OleDbConnection con = new OleDbConnection(constr); Da... View Questions/Answers

What do you understand by Hibernate in Java?  September 9, 2014 at 10:57 PM
Hey, do you know about Hibernate in Java? I have to learn it for my next project. What is the best and probably most easiest way to learn this Hibernate stuff? How it is beneficial for the any Java based project? Thanks ... View Questions/Answers

What are criteria Queries in Hibernate?  September 9, 2014 at 10:16 AM
Just explain me what is Criteria Query in Hibernate with examples? Thanks ... View Questions/Answers

RegEx  September 9, 2014 at 12:44 AM
I want to know the javascript RegEx code for validation of ( ) parenthesis.. The code is validating the parenthesis but after submit the parenthesis is disappear. what should i do? ... View Questions/Answers

Ticket Pre sell  September 8, 2014 at 8:29 PM
I have to write an application to pre-sell a limited number of cinema tickets. Each buyer can buy as many as 4 tickets. No more than a 100 tickets can be sold. Implement a program called ticket seller that prompts the user for the desired number of tickets and then displays the number of remainin... View Questions/Answers

What are the new features of Spring 4.1?  September 6, 2014 at 3:46 AM
Hi, I am trying to find the new features of Spring Framework 4.1. What are the new features of Spring 4.1? Thanks ... View Questions/Answers

Page Loading Time  September 5, 2014 at 1:45 AM
I have a application which has a tab type structure in the JSP front end and Java backend. On clicking a tab, it opens the list by making ajax calls to server and then in the list after double clicking any row, a page opens(ajax calls to server) which has atleast two iframes in it. I want... View Questions/Answers

Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below  September 5, 2014 at 1:30 AM
HI, I have a table in which the data is fetched from database. The table has 20 columns and the total number of rows depends upon the user. The table has a vertical and horizontal scroll bar. Problem: When the vertical scroll bar is used to scroll the table rows up to view more underlying data, t... View Questions/Answers

How to use Associations and Joins in Hibernate?  September 5, 2014 at 1:23 AM
Hi. I am trying to find the examples of Associations and Joins in Hibernate. Give me the code and examples of Associations and Joins in Hibernate. Thanks ... View Questions/Answers

What is Ajax Framework  September 5, 2014 at 1:18 AM
What is Ajax Framework and how it is used in web application programming? ... View Questions/Answers

maths  September 4, 2014 at 8:26 AM
How to multiply 3*5 ... View Questions/Answers

How to write first example in Ajax?  September 4, 2014 at 12:13 AM
Hi, I am beginner in Ajax and want learn it. How can I write first example in Ajax? Thanks ... View Questions/Answers

What are Advantages and Disadvantages of AJAX  September 4, 2014 at 12:08 AM
Hi, I want to know about the Advantages and Disadvantages of AJAX. Let's know the details. Thanks ... View Questions/Answers

What is Ajax?  September 3, 2014 at 11:56 PM
What is Ajax? I have to learn Ajax to work on one project. Thanks ... View Questions/Answers

Sending hidden values  September 3, 2014 at 11:39 PM
how to send more than one hidden values through javascript function . Main purpose is to remove href link (Query string should not appear in url bar) ... View Questions/Answers

Windows 7 refresh DNS  September 3, 2014 at 12:34 PM
Windows 7 refresh DNS How to refresh DNS in Window 7/Windows and linux? Thanks ... View Questions/Answers

550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)  September 3, 2014 at 12:19 PM
HI, I am getting following error in the outlook while sending the email: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) What to solve this? Thanks ... View Questions/Answers

Tree structure from json whose parents can be dragged and dropped from child  September 3, 2014 at 6:36 AM
I want to create tree structure whose parents will get adjusted dynamically. For example, there are 2 dimentions named child and parent -Parent1 child1 child2 -Parent2 child1 child3 now if i drag child1 to Parent1 I mean if I want to make child elements as parent then tree... View Questions/Answers

Groovy Editor using Eclipse RCP Plugin Development  September 3, 2014 at 2:41 AM
Hi I am about to design a plugin for the groovy editor in eclipse that can highlight the syntax and compiles and runs the groovy code. Does anyone have any idea how to do the compilation of groovy scripts on eclipse and how to run it. If please then let me know .. :)Thank you in advance ... View Questions/Answers

Source code  September 2, 2014 at 11:51 AM
source code of html to create a user login page ... View Questions/Answers

I need jsp code for how to write text field value into property file.  September 2, 2014 at 6:59 AM
Hi , I need to set the text field value into property file using jsp code. Example : Username : Valar , I have entered the value "Valar" in the text field ,then the value should be stored in the property file like Username = Valar. Please this is very urgent ,can you plea... View Questions/Answers

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

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

DMCA.com