Dear all,
I am new to
JSP and
Servlet and now studying a book for SCWCD.
I have a set of JSP code as follows:
<html><BODY>
<jsp:useBean id="person" class="com.translate.Aclass" scope="request"/>
</BODY>
</html>
Where the class com.translate.Aclass does not exists. However the book said that it would automatically create one for me when it compiles. But the result is the compiler gives an error message.
"org.apache.jasper.JasperException: /test2.jsp(4,0) The value for the useBean class attribute com.translate.Aclass is invalid."
What is wrong ? Is there anything I have missed?
Would anybody help? Thank You.