Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to map MySQL View and Hibernate framework  August 29, 2012 at 12:56 PM
I found the following while trying to access MySQL View via Hibernate. HTTP Status 500 - java.lang.NoSuchMethodError: org.hibernate.hql.antlr.HqlBaseParser.recover(Lantlr/RecognitionException;Lantlr/collections/impl/BitSet;)V ................ Please solve this pro... View Questions/Answers

what is the jsp coding to insert a data in database tables  August 29, 2012 at 12:44 PM
Dear Sir, I Want to know the coding for insert the data from jsp to oracle database.. my html coding, <html> <form method="post" action="http://localhost:8080/examples/jsp/1/insert.jsp"> <table> <tr><td>DEPARTMENT_NAME<... View Questions/Answers

struts and hibernate  August 29, 2012 at 12:21 PM
i am new in advanced java technology and i am getting confuse myself struts tags are used in the front face of the page and also struts.xml file is work in background so what we can say its front end or back end. and same like hibernate is used to create database tables means its back end... View Questions/Answers

Ads

URL problem  August 29, 2012 at 11:31 AM
Hi. I have created a webpage for my project website. in that i have used frameset to split the page. Now if i click any link in the page its navigating to the another page. but the problem is here in the url its not showing the page name to which it is navigating. i hae given hyperlink. ... View Questions/Answers

session maintaining after logged in in jsp  August 29, 2012 at 11:15 AM
Hi. I have created a login page. after the user logged in successfully if the user gives refresh the the control goes to the website home page. i want to retain in the same page that the user is using. what to do? ... View Questions/Answers

Spring  August 29, 2012 at 11:00 AM
I write getter/setter methods in CustomerService class and configuration file ---.xml is ... View Questions/Answers

Listener refused the connectio n with the following error  August 29, 2012 at 9:59 AM
Hi I am getting the following error while trying to connect oracle database. I changed the sid in oracle listener.ora file also but the problem is not solved. Please find and reply me a solution. The error is like this as follows.. Exception in thread "m... View Questions/Answers

Direct jsp coding for gmail login page and to open mail  August 29, 2012 at 8:37 AM
DEAR SIR, i'm urgently in need of jsp coding to create login page of gmail and to open mail. ... View Questions/Answers

Not able to filter rows of jtable with textfield in netbeans  August 29, 2012 at 1:24 AM
DBOperations objDB; ArrayList alstStock; public TableRowSorter sorter; public void viewDailyStock() { initComponents(); setSize(Toolkit.getDefaultToolkit().getScreenSize()); objDB = new DBOperations(); alstStock = objDB.getStockList(); generateTable(); txtSearch.getDocument().add... View Questions/Answers

Not able to filter rows of jtable with textfield in netbeans  August 29, 2012 at 1:24 AM
DBOperations objDB; ArrayList alstStock; public TableRowSorter sorter; public void viewDailyStock() { initComponents(); setSize(Toolkit.getDefaultToolkit().getScreenSize()); objDB = new DBOperations(); alstStock = objDB.getStockList(); generateTable(); txtSearch.getDocument().add... View Questions/Answers

about connectivity  August 29, 2012 at 12:51 AM
hello i am basavaraj,will any one tell me how to use hibernate in struts. ... View Questions/Answers

java  August 28, 2012 at 10:54 PM
what is meant by "Classname is not abstract and does not override abstract method actionlistenerPerformed(java.awt.event.ActionEvent)in java.awt.event.actionListener" ? ... View Questions/Answers

string array sort  August 28, 2012 at 10:44 PM
Hi. How to sort a string array? ... View Questions/Answers

string array sort  August 28, 2012 at 10:44 PM
Hi. How to sort a string array? ... View Questions/Answers

string array sort  August 28, 2012 at 10:44 PM
Hi. How to sort a string array? ... View Questions/Answers

string array sort  August 28, 2012 at 10:44 PM
Hi. How to sort a string array? ... View Questions/Answers

string array sort  August 28, 2012 at 10:44 PM
Hi. How to sort a string array? ... View Questions/Answers

ios hide status bar  August 28, 2012 at 10:39 PM
HI, I am developing an application in IOS. Can anyone tell me how to? hide status bar? Thanks ... View Questions/Answers

String array sort  August 28, 2012 at 10:31 PM
Hi here is my code. If i run this code I am getting exception as java.lang.NllPointerException. I think its because of at the line Arrays.sort(route_number1). Please suggest some solution for this. <html> <body> <%@ page import="java.io.*"%> <%@ page im... View Questions/Answers

String array sort  August 28, 2012 at 10:31 PM
Hi here is my code. If i run this code I am getting exception as java.lang.NllPointerException. I think its because of at the line Arrays.sort(route_number1). Please suggest some solution for this. <html> <body> <%@ page import="java.io.*"%> <%@ page im... View Questions/Answers

session maintaining  August 28, 2012 at 9:50 PM
Hi. I have created a login page. Consider the user is logged in. Now if he/she gives refresh it goes to home page i.e. the home page of the website. i want to maintain session here. if user gives refresh after logged in it should retain in the same page. wat to do? ... View Questions/Answers

session maintaining  August 28, 2012 at 9:50 PM
Hi. I have created a login page. Consider the user is logged in. Now if he/she gives refresh it goes to home page i.e. the home page of the website. i want to maintain session here. if user gives refresh after logged in it should retain in the same page. wat to do? ... View Questions/Answers

session maintaining  August 28, 2012 at 9:50 PM
Hi. I have created a login page. Consider the user is logged in. Now if he/she gives refresh it goes to home page i.e. the home page of the website. i want to maintain session here. if user gives refresh after logged in it should retain in the same page. wat to do? ... View Questions/Answers

UIView frame x,y width and height  August 28, 2012 at 9:46 PM
HI, How to print the x,y width and height of UIView? Thanks ... View Questions/Answers

C language  August 28, 2012 at 9:41 PM
i want that when i hit any key only * to be print not the hit key in c language ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

time  August 28, 2012 at 9:25 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format. but i want as it is in 24hr format. ... View Questions/Answers

same thing i want but from db..  August 28, 2012 at 5:39 PM
http://www.roseindia.net/tutorial/javascript/dynamicCombo.html same thing i want but from db.. ... View Questions/Answers

Pentaho Report Designer connection through Property files  August 28, 2012 at 5:28 PM
Hi, I am using spring MVC and calling the .prpt file through connection string. But the problem is that, when ever i am deploying my application in the build server, every time i need to modify the report connection string. So if there are too many reports, changing connection string ever... View Questions/Answers

hide the url in address bar  August 28, 2012 at 5:18 PM
how i can hide url in address bar????? i have lot of jsp pages when i call one jsp in address another jsp page name also displayed in the address bar? url not visible to endusers please tell me any answer what i should do? If it is possible please send code..... ex:when will enter the username an... View Questions/Answers

Selecting particular data from multiple tables at database and perfoming calculations  August 28, 2012 at 5:16 PM
Hi fnds, I want to maintain the financial database of 20 users for 1 year and update the details in jsp page.. so i have decided to maintain the details based on month (because the other modules in this project needs the output based on month) .. I have created 12 tables with table name - mont... View Questions/Answers

interrelated two selection box  August 28, 2012 at 4:34 PM
hi i need two selection box .in 1 box all designation like manager, ceo etc , onclick on manager i should get list of managers names in second selection box.. like wise so on. from database eg: manager: sanjay ,amir , ram , mohan CEO: deep... View Questions/Answers

struts  August 28, 2012 at 4:14 PM
hi in my application number of properties file are there then how can we find second properties file in jsp page ... View Questions/Answers

spring  August 28, 2012 at 4:08 PM
hi how can we make spring bean as prototype how can we load applicationcontext in spring what is dependency injection. ... View Questions/Answers

Session expire and back button in jsp and servlet .  August 28, 2012 at 3:34 PM
Hii Sir, I have to make a login and logout page with sessions .Now i have to invalidate the session after a certain interval of time and after clicking logout button.Means that after session expiry time and logout action no one can access previous pages by clicking ... View Questions/Answers

id creation  August 28, 2012 at 3:17 PM
CREATE TABLE mohan2 ( sno bigint(20) NOT NULL AUTO_INCREMENT, name varchar(30) NOT NULL, sal int(30) NOT NULL, eid varchar(30) NOT NULL, PRIMARY KEY (sno,eid) ) import java... View Questions/Answers

how html tags are extracted using java?  August 28, 2012 at 2:13 PM
I would like to need the java code for extracting html tags. ... View Questions/Answers

how html tags are extracted using java?  August 28, 2012 at 2:13 PM
I would like to need the java code for extracting html tags. ... View Questions/Answers

Retrieval of Dropdown list  August 28, 2012 at 1:05 PM
Hi frnds... Am having problem with the below code... I have retrieved data from the mysql database into dropdownlist ... for eg, let A1,A2,A3,A4 be the values in dropdown.. if i click A1, the corresponding value of A1, list of name corresponding to A1 wil be displayed in another dropdown.. Am not... View Questions/Answers

how to pass a string from one class to another  August 28, 2012 at 11:11 AM
hi all, Good morning. I am trying to develop a coding pass a string from one class and declare in other class. the string which i need to pass is the data from an file and i want to move it to the main method. i am trying to find a solution for this. Thank's in Advance... :) this is the... View Questions/Answers

ASP.NET  August 28, 2012 at 10:20 AM
How to get multiple values of single textbox separated by commas using C#? ... View Questions/Answers

Spring  August 28, 2012 at 9:38 AM
What is AOP concept in spring? How AOP concept differ from DI concept? ... View Questions/Answers

Question?  August 28, 2012 at 4:40 AM
My question is how to: Add a menu bar to the program with a File menu. In the File menu, add a submenu (JMenuItem) called About. When the user clicks on the About menu item, display a JOptionPane message dialog that contains your name import j... View Questions/Answers

need of frameworks in java?  August 27, 2012 at 9:05 PM
What is need of frameworks in java? ... View Questions/Answers

need of frameworks in java?  August 27, 2012 at 9:05 PM
What is need of frameworks in java? ... View Questions/Answers

need of frameworks in java?  August 27, 2012 at 9:05 PM
What is need of frameworks in java? ... View Questions/Answers

need of frameworks in java?  August 27, 2012 at 9:05 PM
What is need of frameworks in java? ... View Questions/Answers

decimal to base 36  August 27, 2012 at 6:09 PM
procedure for converting decimal to base 36 ... View Questions/Answers

converting decimal to base 32  August 27, 2012 at 5:59 PM
procedure for converting decimal to base 32 ... View Questions/Answers

Accessing Ms access data in JAVA GUI Envi.  August 27, 2012 at 5:16 PM
Q.How to insert data into ms access data in java using swing ? Q.How to slove (access denided ("java.lang.RuntimePermission" "accessClassInPackage.sun.jdbc.odbc")" these exception ? ... View Questions/Answers

java code  August 27, 2012 at 4:52 PM
how to extract html tags using java ... View Questions/Answers

Core Java  August 27, 2012 at 4:49 PM
Hi, can any one please share the code to check the String s1="abcd"; String s2="bacd"; is permutaion of each other?? ... View Questions/Answers

Core Java  August 27, 2012 at 4:48 PM
Hi, Can any one please share the code to check the permutaion of the String?? ... View Questions/Answers

Abstract and Interface  August 27, 2012 at 4:23 PM
What is interface? When time is most suitable for using interface? Why we use interface instead of abstract? What is the differences between abstract and interface? ... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

hi..  August 27, 2012 at 4:05 PM
I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message is : file path...org/HR/HR1/EmployeeMaster/jsp... View Questions/Answers

java code for registration and login pages, mysql as a bankend.  August 27, 2012 at 3:48 PM
please send me the java code for registration and login pages and to store the data in mysql..? ... View Questions/Answers

java code to send email using gmail smtp server  August 27, 2012 at 3:45 PM
please send me the java code to send email using gmail smtp server. and how to send verification code..? ... View Questions/Answers

how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers  August 27, 2012 at 3:11 PM
how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers ... View Questions/Answers

Spring  August 27, 2012 at 1:58 PM
What is bean factory? When time beans are created and loaded? ... View Questions/Answers

Spring  August 27, 2012 at 1:58 PM
What is bean factory? When time beans are created and loaded? ... View Questions/Answers

hi..  August 27, 2012 at 1:04 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1... View Questions/Answers

hi..  August 27, 2012 at 1:04 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1... View Questions/Answers

hi..  August 27, 2012 at 1:04 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1... View Questions/Answers

hi..  August 27, 2012 at 1:04 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1... View Questions/Answers

hi..  August 27, 2012 at 1:04 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1... View Questions/Answers

hi..  August 27, 2012 at 1:04 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1... View Questions/Answers

sum of all values in a column of jtable  August 27, 2012 at 12:00 PM
hey everyone, is there a code to display the sum of all values in a column of a jtable namely CARTtbl in a jabel without using a button,and the sum will change when an item is added or deleted. ... View Questions/Answers

Hey guys, I'm new to this forum..select onclick show all fieds in textarea in line by line(name,address,state,country,mobile)  August 27, 2012 at 11:43 AM
<script type = "text/javascript"> function get_val() { var option = document.getElementById('TextBox1').value; alert(t); } </script> <Table width="767" border="1" height="150" cellspacing="0" cellpadding="0" bgcolor="white"... View Questions/Answers

logout problem  August 27, 2012 at 11:23 AM
I am stuck in my application --- hope anyone can take me out of this... the problem is -- when i logout , the user goes to logout.jsp (as simple), but when he presses back button , he again sees the page , where he has come from .. please get me out of this problem thanks. ... View Questions/Answers

Sending email with read and delivery requests  August 27, 2012 at 2:36 AM
Hi there, I am sending emails using JavaMail in Servlets on behalf of a customer from the website, and I'm having difficulty understanding how to implement, read and delivery receipts. Anyone got any ideas, or experience. All advice appreciated! Many thanks, Gareth ... View Questions/Answers

How to solve the Hibernate Common Exceptions?  August 26, 2012 at 8:33 PM
How to solve the Hibernate Common Exceptions? ... View Questions/Answers

How to Display Duplicate elements from more than one List in java?  August 26, 2012 at 8:31 PM
How to Display Duplicate elements from more than one List in java? //I mean common elements from two List? Ex: List a1=new ArrayList(); a1.add(50); a1.add(10); a1.add(20); a1.add(30); List a2=new ArrayList(); a2.add(50); a2.add(10); a2.add(20); a2.add(2... View Questions/Answers

String st="abc bca cab acb bac cba acb " ; But out put as ab ab ab ab ab ab how to get it?  August 26, 2012 at 8:23 PM
String st="abc bca cab acb bac cba acb " ; I want print as ab ab ab ab ab ab ab How to do? ... View Questions/Answers

material management system  August 26, 2012 at 8:01 PM
hi frnds i need a mini project based on material management system if u have the project please post to me on java beginners ... View Questions/Answers

Java Datatype  August 26, 2012 at 6:53 PM
What will be the output of following java program and why? class Datatype{ public static void main(String[] args){ byte number=0101; System.out.print(number); } } ... View Questions/Answers

Java Datatype  August 26, 2012 at 6:39 PM
What will be the output of following java program and why? class Datatype{ public static void main(String[] args){ byte number=0101; System.out.print(number); } } ... View Questions/Answers

How to Display values from databse into table  August 26, 2012 at 6:28 PM
I want to display values from database into table based on condition in query, how to display that? For example i have some number of books in database but i want to display books based on either bookname or authorname, for this i created one html page with fields bookname and authorname and sea... View Questions/Answers

time display only as hh:mm.  August 26, 2012 at 3:23 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? ... View Questions/Answers

retrieved time from mysql database  August 26, 2012 at 3:23 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? ... View Questions/Answers

time format hh:mm:ss  August 26, 2012 at 3:23 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? ... View Questions/Answers

time  August 26, 2012 at 3:23 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? ... View Questions/Answers

time  August 26, 2012 at 3:23 PM
Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? ... View Questions/Answers

Query  August 26, 2012 at 11:32 AM
HI, i'm getting a nullpointer exception.help me.it's urgent import java.awt.*; import javax.swing.*; //import public class Employee { final int WIDTH = 450; final int HEIGHT = 400; JFrame f; //MenuBar mb; //Menu m; //JButton b1,b2,b3,b4,b5,b6,b7; JPanel p,p1,p2,p3,... View Questions/Answers

error while running a jsp page in netbeans  August 25, 2012 at 10:00 PM
this is error that come under column "java db processes" in netbeans Exception in thread "main" java.lang.ExceptionInInitializerError at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:617) at com.mysql.jdbc.NonRegisteringDriver.acceptsURL(NonRegisteringDriv... View Questions/Answers

MINI PROJECT  August 25, 2012 at 9:08 PM
CAN ANYONE POST A MINI PROJECT IN JAVA? ... View Questions/Answers

TCP socket  August 25, 2012 at 8:24 PM
Respected sir/madam, Sir, i want to know about tcp sockets and udp datagrams which is used by mobile applications,shall i know how the chatting(sms) application can run by both people?how they enabled? ... View Questions/Answers

TCP socket  August 25, 2012 at 8:24 PM
Respected sir/madam, Sir, i want to know about tcp sockets and udp datagrams which is used by mobile applications,shall i know how the chatting(sms) application can run by both people?how they enabled? ... View Questions/Answers

i want to store dynamic number of value on one jsp and retrieve them on other.  August 25, 2012 at 6:12 PM
in my problem, i want to run a query from database.then while in loop of result processing i have dynamic number of drop downs on a single page which are being created in result loop. i.e while(rs.next){}. i want to store the value from each drop down in a different variable. i.e i want to create... View Questions/Answers

DMCA.com