I am trying out the foo.Person example in HFSJ. I get the following error...
org.apache.jasper.JasperException: /result1.jsp(4,0) The value for the useBean class attribute foo.Person is invalid.
Person class is present in web-inf\classes\foo
in my
servlet in have
request.setAttribute("Person","<an object of foo.Person class>");
in my
jsp I have
<jsp:useBean id="Person" class="foo.Person" scope="request"/>
What am I doing wrong? Why am i getting this error message?
It works fine when I use scripting, but with useBean tag I face the above error.