【报错】严重: Servlet.service() for servlet [jsp] in context with path [/Struts2Demo] threw exception [/loginTag.jsp (line: 15, column: 26) The end tag "</s:form" is unbalanced] with root cause
org.apache.jasper.JasperException: /loginTag.jsp (line: 15, column: 26) The end tag "</s:form" is unbalanced
【解决方案】
<body>
<h2>Struts2</h2>
<s:form action="tags.action" method="post">
<s:textfield name="username" label="用户名">
<s:password name="password" label="密码">
<s:submit value="提交" /></s:form>
</body>
<body>
<h2>Struts2</h2>
<s:form action="tags.action" method="post">
<s:textfield name="username" label="用户名"></s:textfield>
<s:password name="password" label="密码"></s:password>
<s:submit value="提交" /></s:form>
</body>