[java ee programming] Java EE, Building Bookstore application ex. bookstore5, LAB 4016

2010-06-15 Thread Preet K. Sekhon
Hi all, I am not able to run the bookstore5 sample application in Netbeans 6.8. It fails to make connection to the database. I have double checked driver, passwords, and database. Wondering if some one else had same problem. I am able to run bookstore1, bookstore2 and bookstore3 examples. I am

[java ee programming] struts-example assignment, JEE Programming with Passion

2010-06-09 Thread Preet K. Sekhon
I think there is a bug in Validation part of the original struts-example. I kept getting this error message when I entered a wrong password or when username entered was not unique. *org.apache.struts.action.ActionMessage cannot be cast to org.apache.struts.action.ActionError * It worked when I

[java ee programming] Struts Validation

2010-06-07 Thread Preet K. Sekhon
Hi everyone, I am working on the struts basic assignment. I am not able to understand the validation part. I have added the validate method. Created InputValidationError.jsp page. Its not working. Do we have to configure web.xml or struts-config.xml accordingly. Also do we have to have

[java ee programming] Java EE, Building Bookstore application ex. bookstore5

2010-06-02 Thread Preet K. Sekhon
Hi all, I am not able to run the bookstore5 sample application in Netbeans 6.8. It fails to make connection to the database. I have double checked driver, passwords, and database. Wondering if some one else had same problem. I am able to run bookstore1, bookstore2 and bookstore3 examples.

[java ee programming] J2EEHomework-el.

2010-05-25 Thread Preet K. Sekhon
Hi everyone, I started the class late but I am trying to catch up. I have run into a problem with lab 4006_el. I am not able to create Person object and initialize it. I am defining my classes Person and Name under beans package. When I try to initialize in Injit.java, I get an error message that