Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

download or save jsp page  October 12, 2014 at 7:53 AM
hii.., this is my jsp page .. This page is theater ticket. i want to download this page. so i need to save this page or download.. that depend on user wish how to make this page save or download <%@page import="app.TheaterRegistration"%> <%@page import="entity.TheaterTicket"%> <%@page i... View Questions/Answers

download or save jsp page  October 12, 2014 at 7:49 AM
hii.., this is my jsp page .. This page is theater ticket. i want to download this page. so i need to save this page or download.. that depend on user wish how to make this page save or download <%@page import="app.TheaterRegistration"%> <%@page import="entity.TheaterTicket"%> <%@page i... View Questions/Answers

how i connect two page  October 11, 2014 at 1:17 AM
strong textlink text ... View Questions/Answers

Advertisement

java program  October 10, 2014 at 2:22 AM
hi friends how to make a java program for getting non prime odd numbers in a given series ... View Questions/Answers

how to validate the email login  October 10, 2014 at 12:08 AM
// JavaScript Document JOIN US ... View Questions/Answers

java program run on thml page?  October 9, 2014 at 3:46 AM
how to run java program on html page using text area? ... View Questions/Answers

This code have created jTable that connected with a database.every cell of last column have a button.But this button doesn't work properly.Where is the error  October 9, 2014 at 3:11 AM
import java.awt.Component; import java.awt.EventQueue; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.swing.JOptionPane; imp... View Questions/Answers

package org.hibernate.util does not exist  October 8, 2014 at 1:12 PM
Hi, In my Spring (4.1.1.RELEASE) and Hibernate (4.3.6.Final) its giving following error: package org.hibernate.util does not exist Actually I am porting my old application to latest version ofSpring (4.1.1.RELEASE) and Hibernate (4.3.6.Final) . How to solve the er... View Questions/Answers

package org.springframework.scheduling.quartz does not exist  October 8, 2014 at 11:50 AM
Hi, I am using Spring 4.1.1 in my web application and its giving following error: error: package org.springframework.scheduling.quartz does not exist What is the solution? Thanks ... View Questions/Answers

springframework  October 8, 2014 at 4:39 AM
singleton class creates only one object throught the jvm is fact?explain how many objects are created in throght jvm? ... View Questions/Answers

program paradigams  October 8, 2014 at 4:07 AM
write a program to use a players class and provide the following 1.display players based on the tournment name 2.display the list of tournments played by a player 3.sort players based on their scores earned 4.assign$remove players to the tournment ... View Questions/Answers

program paradigams  October 8, 2014 at 4:07 AM
write a program to use a players class and provide the following 1.display players based on the tournment name 2.display the list of tournments played by a player 3.sort players based on their scores earned 4.assign$remove players to the tournment ... View Questions/Answers

program paradigams  October 8, 2014 at 4:04 AM
write a program to use a players class and provide the following 1.display players based on the tournment name 2.display the list of tournments played by a player 3.sort players based on their scores earned 4.assign$remove players to the tournment ... View Questions/Answers

C3P0 with Hibernate  October 8, 2014 at 1:23 AM
How to use C3PO with Hibernate? Thanks ... View Questions/Answers

Formatting numbers in Velocity Templates?  October 7, 2014 at 1:17 AM
I need to display amount in following formats: 1099 -> 1,099.00 100 -> 100.00 100.251 -> 100.25 10999 -> 10,999.00 1110999 -> 11,10,999.00 Right now I am using following code to display amount: $numberTool.format("#0.00... View Questions/Answers

Formatting numbers in Velocity Templates?  October 7, 2014 at 1:15 AM
I need to display amount in following formats: 1099 -> 1,099.00 100 -> 100.00 100.251 -> 100.25 10999 -> 10,999.00 1110999 -> 11,10,999.00 Right now I am using following code to display amount: $numberTool.format("#0.00... View Questions/Answers

File Handling  October 7, 2014 at 12:15 AM
how we do file handling of parsed XML code bu DOM in java ? ... View Questions/Answers

Web Page preprocessing  October 6, 2014 at 8:51 PM
Java code to extract unique words from an XML file( has different web pages embedded inside <DOCNo>.. ) and display the unique set of words for each document. Say for example, the XML file has 49 relevant documents for a certain topic, each document denoted by its DOCNo and unique set ... View Questions/Answers

java  October 6, 2014 at 11:36 AM
program on magic mirror ... View Questions/Answers

How to play FLV video files on Ipad using HTML code or javascript code?  October 6, 2014 at 12:35 AM
How to play FLV video files on Ipad using HTML code or javascript code? ... View Questions/Answers

calculate a list of products  October 5, 2014 at 5:57 PM
Hi can you help me with this java program. This program should allow the user to order from a small catalogue of three items displayed on the screen, then calculate the user's final bill, including taxation at 20%. A sample run might look like this: Our catalogue [Product Codes i... View Questions/Answers

Problem based on monitors  October 5, 2014 at 9:58 AM
A file is to be shared among different processes, each of which has a unique number. The file can be accessed simultaneously by several processes, subject to the following constraint: the sum of all unique numbers associated with all the processes currently accessing the file must be less than n.... View Questions/Answers

costructor  October 5, 2014 at 9:44 AM
how to create constructor in java? is there is any rules? ... View Questions/Answers

java q?  October 5, 2014 at 8:57 AM
how to get the average and rank of 1 million student records using threads ... View Questions/Answers

image is display from path of mysql database  October 4, 2014 at 1:45 AM
<%@ page import="java.io.,java.sql.,java.util.zip.*" %> <% String saveFile=""; String contentType = request.getContentType(); if((contentType != null)&&(contentType.indexOf("multipart/form-data") >= 0)){ DataInputStream in = new DataInputStream(request.getInputStream()); in... View Questions/Answers

i have an ques. of advanced java  October 4, 2014 at 1:16 AM
write a wap to implement AWT by login form ... View Questions/Answers

please reply the code to store dynamic fields in database?  October 3, 2014 at 2:58 AM
<%@ page import ="java.sql.*" %> <%@ page import ="javax.sql.*" %> <%@page contentType="text/html" pageEncoding="UTF-8"%> <title>Login User</title> <%! Connection con;Re... View Questions/Answers

java core basic problem  October 2, 2014 at 5:54 AM
my question is: write a program that illustrates interface inheritance. interface P is extended by P1 and P2. interface P12 inherits from both P1 and P2,Each interface declares one constant and one methode. class Q impliments P12 Instantiate Q and invoke each of its methods.Each of its ... View Questions/Answers

java core basic problem  October 2, 2014 at 5:54 AM
my question is: write a program that illustrates interface inheritance. interface P is extended by P1 and P2. interface P12 inherits from both P1 and P2,Each interface declares one constant and one methode. class Q impliments P12 Instantiate Q and invoke each of its methods.Each of its ... View Questions/Answers

How to create Mock/Skeleton SAML responder in java  October 1, 2014 at 8:16 AM
My requirement is, i need to create a SAML request based on the artifact received from 3rd party UI/Client. My webapp should fetch the Artifact and send SAML request to authenticate against the Mock SAML responder. However I have tried Shibboleth IDP but i could not complete the process. ... View Questions/Answers

Monitoring user's activity  October 1, 2014 at 7:26 AM
Hello, I am writing a client/server application using socket programming in java. My application include monitoring and storing user's activities on the computer such as opening microsoft office word, opening a web browser etc. I have been working on this but could not reach any success. Can any ... View Questions/Answers

date  October 1, 2014 at 7:19 AM
how to store in database (oracle 10 g) using JDBC and servlets i know that taking input request.getParameter("dob"); and also im having database table name birthday (DOB date); dob with DATE data type in database while insert im trying the follow... View Questions/Answers

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

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

DMCA.com