摘要:
详解 Tomcat: The value for the useBean class attribute is invalid 问题使用Tomcat 常见 "The value for the useBean class attribute is invalid" 错误。该错误是指 JSP 中给定的 useBean 标签的 class 属性的值无效(不是 Bean 的属性值)。在说明这个问题前,先看看有关的 Tomcat 源代码(org.apache.jasper.compiler.Generator): if (beanName == null) { try { ... 阅读全文