Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

how to move pointer in Textfield to newline  June 7, 2012 at 12:48 PM
consider my case and provide me solutions: import java.awt.; import java.awt.event.; class Table1 extends Frame implements ActionListener{ TextField tf1,tf2,tf3; Table1(){ Label l1=new Label("WELCOME TO TABLE WIZARD"); l1.set... View Questions/Answers

regarding css file in my eclipse  June 7, 2012 at 10:20 AM
hai frns i want a small help frm u.when ever i use css file in html or normal web browsers the output is coming means css file is effecting the output but wen i use the same code in myeclipse the output is not changing can anyone please tell me a solution regarding this....... t... View Questions/Answers

how can i export a .jar file include .mbd file?  June 7, 2012 at 9:52 AM
i have a project of java.it includes a .mdb file, when i export to .jar file i eclipse, it show a error that can't export .jar file width the .mdb file ? how can i import this .mdb file width the .jar file? and how can i run this file on the other computer without setting database again. thanks.<... View Questions/Answers

Advertisement

my hibernate showing the following exception so how i can resolve it  June 7, 2012 at 7:56 AM
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass... View Questions/Answers

classpath and path for structs1.3.8  June 6, 2012 at 10:01 PM
How to set classpath and path for structs1.3.8 ? ... View Questions/Answers

JSP  June 6, 2012 at 8:05 PM
Hello, I want to perform search based on the parameters entered in the JSP page and display the results back to the same JSP page. Thanks in advance:) ... View Questions/Answers

Hibernate one-to-many relationships.  June 6, 2012 at 7:02 PM
How does one-to-many relationships works in hibernate? ... View Questions/Answers

Hibernate one-to-one relationships  June 6, 2012 at 6:50 PM
How does one to one relationship work in Hibernate? ... View Questions/Answers

java  June 6, 2012 at 6:02 PM
write a java program of calculator having all arithmatic trignometric and power functions that take input and ask for operation after completing operation ask for furthur calculation ... View Questions/Answers

java  June 6, 2012 at 6:01 PM
write a java program of calculator having all arithmatic trignometric and power functions that take input and ask for operation after completing operation ask for furthur calculation ... View Questions/Answers

java  June 6, 2012 at 5:52 PM
write a java program of calculator having all arithmatic trignometric and power functions that take input and ask for operation after completing operation ask for furthur calculation? ... View Questions/Answers

start tomcat automatically by double clicking on exe  June 6, 2012 at 5:38 PM
Hi I wanted to start tomcat automatically by double clicking on exe. i made project in jsp and use tomcat 6 as a server. but now i wanted to do some challenging in that. i want to make an exe,if we double click on that exe tomcat should automatically start and simultaneously my first.jsp should s... View Questions/Answers

What is Request Dispatcher?  June 6, 2012 at 4:28 PM
What is Request Dispatcher? ... View Questions/Answers

What is servlet context?  June 6, 2012 at 4:28 PM
What is servlet Context? Given me an example. ... View Questions/Answers

How can we send request from JSP to servlet?  June 6, 2012 at 4:28 PM
How can we send request from JSP to servlet? ... View Questions/Answers

How to create session in servlets?  June 6, 2012 at 4:28 PM
How to create session in servlets? ... View Questions/Answers

What are cookies?  June 6, 2012 at 4:28 PM
What are cookies? ... View Questions/Answers

What is the difference between RequestDispatcher and sendredirect?  June 6, 2012 at 4:28 PM
What is the difference between RequestDispatcher and sendredirect? ... View Questions/Answers

What are the advantages of servlets over CGI?  June 6, 2012 at 4:28 PM
What are the advantages of servlets over CGI? ... View Questions/Answers

servlet question on web application  June 6, 2012 at 4:28 PM
how to write a programg on the web application. create two modules like admin and customer. customer can registrate with user id and password. after finishing of his registration he'll get a message like this ur registration under processing. if admin logged in fist he'll see the pending registr... View Questions/Answers

Need Project  June 6, 2012 at 2:16 PM
How to develop School management project by using Struts Framework? Please give me suggestion and sample examples for my project? ... View Questions/Answers

Need Suggistion  June 6, 2012 at 2:13 PM
how to call a callable statement in our jSp page using Struts environment? ... View Questions/Answers

Select Employee and display data from access database in a jtable  June 6, 2012 at 12:05 PM
I there Iam a java beginner. I have to create a application where I can select a employee's name from a comboBox and the jtable will be filled with all the cutomer's first name and last name which the employee served. The first name and last name of the customer is stored in a access database. ... View Questions/Answers

how to make two types of user for a web dynamic project  June 6, 2012 at 12:05 PM
Hello everyone, I am doing a dynamic web project using jsp and mysql so my problem is that i want to make two user one is admin other is genral user, the admin can see all the reports stored in database and the genral user can only see the data entered by him. i hv done the project but i ... View Questions/Answers

how to set time in jsp page  June 6, 2012 at 11:44 AM
I need code for set the time in jsp code .iam using struts frame work back end oracle 10g ide is eclipse 6.0 ... View Questions/Answers

how to run java application with out stoping  June 6, 2012 at 11:17 AM
I have one java application to download some pdf file but its going to stop downloading after some time it not giving any errors any thing can any one help me to solve this problem ... View Questions/Answers

session  June 6, 2012 at 11:06 AM
is there any possibility to call one session from another session? ... View Questions/Answers

session  June 6, 2012 at 11:06 AM
is there any possibility to call one session from another session? ... View Questions/Answers

Php frameworks  June 6, 2012 at 10:52 AM
What are the best framework in php to learn and work on? I know Smarty only. ... View Questions/Answers

calculate the time ..  June 6, 2012 at 10:47 AM
[CODE] Elapsed Time Example ... View Questions/Answers

Login With Drop Down  June 6, 2012 at 12:11 AM
Hi all, I am doing a project using JSP. My Issue is..... I have two departments name Customs and Accounts in the database with different tables. I have designed the HTML page in such a way the I have a drop down list consisting of Customs and Accounts. I have user accounts of both the de... View Questions/Answers

jsp project  June 6, 2012 at 12:02 AM
hello sir..i am doing one project in jsp in which there are two user type one is admin who is having all priviledge to add,edit and delete and can view all things and second one is student.In login page one registration link is there for registering either admin and student. If student login he c... View Questions/Answers

login page error  June 5, 2012 at 5:02 PM
How to configure in to config.xml .iam takin to one login form in that form action="/login" .when iam deployee the project following error arise ."The server encountered an internal error (No action instance for path /forgotaction could be created) that prevented it from fulfilling this reque... View Questions/Answers

imageview zoomin zoomout  June 5, 2012 at 12:27 PM
How to enable the ZoomIn and ZoomOut feature of UIImageView? ... View Questions/Answers

image upload  June 5, 2012 at 12:03 PM
Hello sir I want to upload image or any other type of file on website using jsp and servlet but the condition is that the file should be upload in the server and their path should be stored in database either in oracle or my sql. kindly help me. ... View Questions/Answers

How to access the following tag from xml to jsp  June 5, 2012 at 11:34 AM
How can i get the title where cat="1" and "My Title" from XML File? ... View Questions/Answers

How to access the Title tag from xml to jsp  June 5, 2012 at 11:34 AM
How to access the Title tag from xml to jsp ... View Questions/Answers

XML to JSP  June 5, 2012 at 11:32 AM
How to access the following XML tag Title tag in JSP ... View Questions/Answers

JSP Login Page Question  June 4, 2012 at 11:49 PM
hey..i have a login page where different users first registered and then after they can login. my question is how a user can see only his data after login where different users data are stored in database, plz...provide me answer its very urgent. ... View Questions/Answers

JSP data after login where different users data are stored in database  June 4, 2012 at 11:49 PM
hey..i have a login page where different users first registered and then after they can login. my question is how a user can see only his data after login where different users data are stored in database,plz...provide me answer its very urgent ... View Questions/Answers

JAVA what is different between static block and public static void main(String a[]) method  June 4, 2012 at 11:36 PM
what is different between static block and public static void main(String a[]) method,we execute method without main method(by static block) why need of public static void main(String [])? ... View Questions/Answers

Unable to send mail using php script  June 4, 2012 at 10:06 PM
Hello i am trying to send mail using mail function.But the message is never sent. I have installed a free smtp server which i run in background before executing the code.and my php.ini file settings are [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ... View Questions/Answers

Setter methods of form bean class in Struts applications  June 4, 2012 at 9:33 PM
who calls the setter methods of form bean class in struts applications? ... View Questions/Answers

Static Concept  June 4, 2012 at 9:16 PM
in what are all the situation we may use static concepts ... View Questions/Answers

static in java  June 4, 2012 at 9:02 PM
what is the need to go static? what use? ... View Questions/Answers

Hibernate criteria query using avg()  June 4, 2012 at 7:47 PM
How to calculate average in Hibernate criteria query using Projection? ... View Questions/Answers

Hibernate criteria query using Min().  June 4, 2012 at 7:44 PM
How to find minimum value in Hibernate criteria query using Projection? ... View Questions/Answers

Hibernate criteria query using Max()  June 4, 2012 at 7:42 PM
What is Hibernate criteria query using Max()? ... View Questions/Answers

Using sum() in hibernate criteria.  June 4, 2012 at 7:39 PM
How to calculate sum() in hibernate criteria by using projection? ... View Questions/Answers

JDBC Configuration in Ubuntu 10.04  June 4, 2012 at 6:04 PM
Hi everybody, Am using Linux Ubuntu 10.04, java jdk 1.6 and mysql 5.1 and I have trouble to load mysql connector and i have no such driver found for dbtest.java. pleas guide me to solve this problem. ... View Questions/Answers

jsp tabs  June 4, 2012 at 5:19 PM
Hi everyone, I want create the tabs in jsp page..both tab linked with another jsp page. the link jsp page with each tab having a form with submit button and after click on submitting button the value eneterd in the form field enterd in database. my problem is how to create tab in jsp. if... View Questions/Answers

add uibarbuttonitem to uinavigationbar  June 4, 2012 at 4:10 PM
add uibarbuttonitem to uinavigationbar ... View Questions/Answers

While retrieving text from database onto JSP, the alignment of line and paragraphs is not followed  June 4, 2012 at 2:56 PM
I have stored text database through textarea box. While trying to retrieve the same text from db, the text displayed onto the JSP is not as I had enterd. Instead, all the text are displayed in the same row. Please Help.Very,Very Urgent. ... View Questions/Answers

I have a doubt on java jdbc .The program is executed but empty page came  June 4, 2012 at 1:49 PM
import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.ht... View Questions/Answers

How to parse the attributes values from XML using KXML parser in j2me  June 4, 2012 at 12:38 PM
hai team, i did xml parsing from serverside...i got a resultant value from xml,but here tag value name only came from parsing attribute name cant come parsing..how to parsing the attributes..ple help me.Here i attached my code ..help me public void parseAddressTag(... View Questions/Answers

Need More Royalty Free Music Website  June 4, 2012 at 9:25 AM
Royalty free music, which is also known as stock or production music, is a type of good quality music that is generally utilized for videos, games, websites, etc. because it doesn't need people to pay royalties. Now I need more royalty free music websites to enrich my website database, ... View Questions/Answers

.jar file keeps giving me " could not find the main class". Program will exit.  June 4, 2012 at 8:31 AM
Hi I have been having problems with this on both netbeans and eclipse even with a simple file that displays a jframe with a jlabel on it. My netbeans's project properties clearly sets testing2.hihi as my Main class and I have clean and build it which produces a .jar file in my dist folder. When I... View Questions/Answers

Stateless Session Bean Example Error  June 3, 2012 at 11:40 PM
Dear sir, I'm getting following error while running StatelessSessionBean example on Jboss. Please help me! 22:56:40,131 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 22:56:40,141 INFO [Server] JBoss (MX MicroKernel) [4.2.0.G... View Questions/Answers

java image slider or code 4 java-image slideshow  June 3, 2012 at 8:28 PM
plz help me out with java code for running an application in which images wil slide automatically i have no idea about implementing image sliders using threads? if yes den how? can u suggest me code or sum relevent book.. i hav a d... View Questions/Answers

Actually this code of "virtual classroom" is not working. I am running it in netbeans and the databases are in netbeans only  June 3, 2012 at 5:30 PM
hey...actually this code of "virtual classroom" is not working.Can u help?plz...i am running it in netbeans and the databases are in netbeans only...plz... The structure of all tables included in the project is as under:- 1. STUDENT +--------+-... View Questions/Answers

"virtual classroom" is not working. databases are in netbeans  June 3, 2012 at 5:30 PM
hey...actually this code of "virtual classroom" is not working.Can u help?plz...i am running it in netbeans and the databases are in netbeans only...plz... The structure of all tables included in the project is as under:- 1. STUDENT +--------+-... View Questions/Answers

problem in inserting data in databases created in netbeans using jsp..  June 3, 2012 at 3:58 PM
i am trying to make a virtual classroom website in jsp using netbeans.i created table inside netbeans through sql editor.and tried to make a login page whose details are saved into that database.used ur code 1)register.jsp: <html> <form method=... View Questions/Answers

request processing in servlets  June 3, 2012 at 11:31 AM
how request processing is done in servlets and jsp ... View Questions/Answers

create a form using struts  June 3, 2012 at 10:28 AM
How can I create a form for inputting text and uploading image using struts? ... View Questions/Answers

Assertions  June 2, 2012 at 10:27 PM
Hi eveybody i am trying to understand the the class java.util.Assert. Is there anyway to catch AssertionError???. Preset i am using the following code to catch AssertinError.But it is not working. ArrayList list1 = new ArrayList(); list1.add(10); try{ Assert.isEmpty(list1); } ... View Questions/Answers

Validation  June 2, 2012 at 9:13 PM
Here is my form and what code should i write for validating it? - <form action="test4.jsp"> <ul> <b>User ID</b> :<input type="text" name="userid"> <b>Password</b> ... View Questions/Answers

Validation  June 2, 2012 at 9:13 PM
Here is my form and what code should i write for validating it? - <form action="test4.jsp"> <ul> <b>User ID</b> :<input type="text" name="userid"> <b>Password</b> ... View Questions/Answers

about pdf file handeling  June 2, 2012 at 8:43 PM
can i apend something in pdf file using java program? if yes then give short code for it. ... View Questions/Answers

sum and avg function using HQL.  June 2, 2012 at 6:33 PM
How to use sum and avg function in HQL? ... View Questions/Answers

Abstract and Interface  June 2, 2012 at 5:26 PM
what is the difference between Abstract and Interface accurateatly? ... View Questions/Answers

Pattern  June 2, 2012 at 12:08 PM
How to print this pattern in Java please help me A AC ACE ACEG ACEGI The program should be right to left. ... View Questions/Answers

Java Student Information System  June 2, 2012 at 11:29 AM
Write an application that represents a simple STIA1013 Student Information System . This application provides a menu that allows a user to perform the following operations: Enter (add) student data and store in a list of students. The data for each student are name, matric ... View Questions/Answers

convert html to excel using jsp  June 2, 2012 at 10:03 AM
i want to convert a html page into mcrosoft excel page using jsp.how i do that ... View Questions/Answers

How to parse the attributes from XML using KXML parser in j2me  June 2, 2012 at 9:55 AM
Dear Sir, I have doubt in How to parse the attributes from XML using KXML parser in j2me ..I parse the dge name value..but i didn't do parsing the attributes from xml...please help me for parsing the attributes in j2me... Regards Selva.... View Questions/Answers

JcomboBox to a Jlist  June 2, 2012 at 9:30 AM
How to transfer a data from a JcomboBox to a Jlist ? Each time I select 1 item from a JComboBox, it will display in a JList. ... View Questions/Answers

core java program in MyEclips  June 2, 2012 at 4:54 AM
Can we write core java programs in MyEclipse? If so, then give a pictorial representation of the steps followed. ... View Questions/Answers

main() method  June 2, 2012 at 4:35 AM
Can we define two main() methods having same parameter but with different return type in a program? ... View Questions/Answers

how can i make monthly register ?  June 2, 2012 at 1:44 AM
how can i make monthly register ? iam using jdeveloper ... View Questions/Answers

New to Java Please help  June 1, 2012 at 11:22 PM
Hi I need help, can some one help me with this. I am currently doing a project. drop me an email to my email address. Thanks! ... View Questions/Answers

collection frame work  June 1, 2012 at 9:58 PM
explain the hierarchy of one dimensional collection frame work classes ... View Questions/Answers

Using Min, Max and Count on HQL.  June 1, 2012 at 7:10 PM
How to use Min, Max and Count on HQL ? ... View Questions/Answers

Count distinct value in HQL.  June 1, 2012 at 7:06 PM
How do you count distinct value in HQL? ... View Questions/Answers

How to use AND OR operator in hibernate Detached criteria query?  June 1, 2012 at 5:46 PM
How to use AND OR operator in hibernate Detached criteria query? ... View Questions/Answers

How to use OR operator in hibernate Detached criteria query?  June 1, 2012 at 5:44 PM
How to use OR operator in hibernate Detached criteria query? ... View Questions/Answers

How to use AND operator in hibernate Detached criteria query?  June 1, 2012 at 5:40 PM
How to use AND operator in hibernate Detached criteria query? ... View Questions/Answers

.When to use detached criteria in hibernate?  June 1, 2012 at 5:38 PM
When to use detached criteria in hibernate? ... View Questions/Answers

Detachedcriteria in hibernate  June 1, 2012 at 5:34 PM
How to apply detachedcriteria in hibernate for given Query? ... View Questions/Answers

For my website,As soon as the user is able to succesfully login, a Testimonial form appears.  June 1, 2012 at 5:22 PM
For my website,As soon as the user is able to succesfully login, a Testimonial FORM appears in the same page. How to do. Please Help ... View Questions/Answers

how to use Excel Template to write excel file using java  June 1, 2012 at 5:08 PM
How to use Excel template to write data in that file using java ... View Questions/Answers

how to convert ACSII to HEX  June 1, 2012 at 5:05 PM
How to convert perticular ASCII charecter(~)"TILDA" from a no. of files to NULL(00:HEX value). ASCII value of ~7e HEX value of ~:00 ... View Questions/Answers

redirecting a login authenticated form to a form to be displayed on the same page from where the login authentication has taken place.  June 1, 2012 at 4:24 PM
I am successfully able to create a session on successful login, but I want to display the welcome page on the parent page itself instead of getting redirected to welcome.jsp,whisch is a different page altogether. Please Help Urgently. ... View Questions/Answers

i want to create an icon on my desktop... with this i want to open my web application  June 1, 2012 at 11:46 AM
i want to create an icon on my desktop... with this i want to open my web application(automatically run my server... )how ... View Questions/Answers

how can i run tomcat server and my home page come when i double click on an icon in servlets  June 1, 2012 at 9:41 AM
Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know to give the url... but he knows to double click on an icon to start his server and open his application.. so is there any chance in servlets to sol... View Questions/Answers

how can i run tomcat server and my home page come when i double click on an icon in servlets  June 1, 2012 at 9:41 AM
Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know to give the url... but he knows to double click on an icon to start his server and open his application.. so is there any chance in servlets to sol... View Questions/Answers

how can i run tomcat server and my home page come when i double click on an icon in servlets  June 1, 2012 at 9:41 AM
Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know to give the url... but he knows to double click on an icon to start his server and open his application.. so is there any chance in servlets to sol... View Questions/Answers

how can i run tomcat server and my home page come when i double click on an icon in servlets  June 1, 2012 at 9:41 AM
Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know to give the url... but he knows to double click on an icon to start his server and open his application.. so is there any chance in servlets to sol... View Questions/Answers

creating instance of table in jsp  June 1, 2012 at 12:52 AM
i face senario look kie as follows; 1)i write a code in jsp to retrieve the data from database. 2)the out put file is obviously a jsp page and shows the output in table manner. 3) now i want to make the instance of the data present in that paarticular table.... how i do that? ... View Questions/Answers

Javascript Create Calendar  May 31, 2012 at 11:17 PM
how to create calender application ... View Questions/Answers

Learn some thing about ajax  May 31, 2012 at 11:15 PM
please provied some simple ajax code for learning ... View Questions/Answers

hibernate...............  May 31, 2012 at 8:46 PM
goodevining. I am using hibernate on eclipse, while connection to database Orcale10g geting error .........driver ARNING: SQL Error: 0, SQLState: null 31 May, 2012 8:18:01 PM org.hibernate.util.JDBCExceptionReporter logExceptions SEVERE: Listener refused... View Questions/Answers

DMCA.com