Hello,
I'm trying to learn how to use bean-related standard actions. Would someone please help me resolving this issue? This is the error I'm getting:
Dec 10, 2011 3:52:57 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: /web/beerResult.jsp(24,17) The value for the useBean class attribute com.example.domain.Beer is invalid.
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1233)
....
Here's a partial example of what I've done:
Controller:
JSP:
Thanks for reviewing my code and any feedback you can provide.