提交后跳轉就會報錯,怎么回事
<body>
? ?<jsp:useBean id="myUser1"class="com.po.Users" scope="page"/>
? ? <h1>setPropert動作元素</h1>
? ? <!--根據表單自動匹配所有的屬性 ?-->
? ? ? <jsp:setProperty name="myUser1" property="*"/>
? ? ? ? ? ? ? ?用戶名:<%=myUser1.getUsername()%>
? ? ? ? ? ? ? ? ?密碼:<%=myUser1.getPassword() %>
Servlet.service() for servlet [jsp] in context with path [/JavaBeansDemo] threw exception [/dologin.jsp (line: 24, column: 48) The JSP specification requires that an attribute name is preceded by whitespace] with root cause
org.apache.jasper.JasperException: /dologin.jsp (line: 24, column: 48) The JSP specification requires that an attribute name is preceded by whitespace