1.<jsp:useBean>标签中class属性其value必须是包名+类名。通过<%@ page import="包名" %>来导入包,在其class的value仅设置类名,这样编译不会通过,会报类似"org.apache.jasper.JasperException: /useBean.jsp(10,0) The value for the useBean class attribute JellyBean is invalid."的错误提示。
Jsp/Servlet 学习笔记之JavaBean
最新推荐文章于 2022-02-24 17:36:41 发布