Error:Cannot find bean: “org.apache.struts.taglib.html.BEAN” in any scope

Reason: HTML tags and struts tags are mixed, or there is no & lt; outside of the form element; html:form> Label the package

Solution: unified label

<html:form action="/login.do">
  <bean:message key="info.input.account"/>
  <html:text property="account"></html:text><br>
  <bean:message key="info.input.password"/>
  <html:text property="password"></html:text>
</html:form>

Similar Posts: