This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Here's my problem... I have a javaBean that writes stuff to the database to be saved. It works fine when I use a testing Class to invoke the bean's method to write some dummy variables.
When I deployed it on a JSP page, I received the following error.
"org.apache.jasper.JasperException: /checkout.jsp(4,0) The value for the useBean class attribute limited.InsertDataBean is invalid. "
I should think my bean met the bean requirements. But I can't find out what's wrong. Any help would be really really really great..
Here's my insertDataBean code
Do you have a parka?<br /> <br /><a href="http://sg.geocities.com/inschooool" target="_blank" rel="nofollow">Visit my homepage</a> | <a href="http://parka.deviantart.com/" target="_blank" rel="nofollow">Parka Deviantart gallery</a>
There error you received has to do with the JSP syntax you used to import the bean, not a problem with the bean itself (Jasper's job is to turn JSP into java code, not to make sure you followed good programming practices while designing your bean)