The following is only a summary of personal experience, you are welcome to discuss together. 1.) When the JavaBean is quoted, the JavaBean bag is not included when JavaBean is written, and it will be lacking when running "." Error, then you need to add a package for Javabean, JavaBean's original Java file Add package ** statement Compile, while the compiled class file is placed in the project directory Web-INF below the Classes's corresponding package name, while don't forget to add the package name before the JSP of JavaBean is called. Also, please try to use Tomcat4, I don't know why, my classmate use Tomcat5, the specific version number does not know, when the code is wrong, there is no copy tool.jar, did not point out the specific problem, she used to be javabean. The problem is distressed for a long time. Later, I changed Tomcat4. The error prompts adapeted, and the problem is also resolved. 2.) May be the bug of Tomcat5, do not remember which version is specifically. In the JSP file, use the "%>"%> "%>"%> "in the jsp, such as head.txt, when the JSP file include it, it will display garbled, no in Tomcat4, if you have In this case, try a version, it will be blossoming.