title: According to the TLD or the tag file, attribute name is mandatory for tag text
body: <p>I am new to Struts2. I got stuck with an issue:</p>
  
  <blockquote>
  <pre><code>According to the TLD or the tag file, attribute name is mandatory for tag text 
  </code></pre>
  </blockquote>
  
  <p><strong>Hi my JSP file is</strong></p>
  
  <pre><code>&lt;%@ taglib uri="/struts-tags" prefix="html"%&gt;
  &lt;%@ page language="java" contentType="text/html; charset=UTF-8"
      pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;title&gt;Login&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h2 style="color:red;"&gt;&lt;% if(request.getParameter("msg")!=null) {
      out.println(request.getParameter("msg"));
  }%&gt;&lt;/h2&gt;
      &lt;h1 class="welcome"&gt;Login To Your Account&lt;/h1&gt;
      &lt;div style="align-items: center;margin-left:200px;font-size:20px;white-space:pre;"&gt;
      &lt;html:form action="/loginsuccess"&gt;
      UserName &lt;html:text style="height:30px;width:300px;padding:10px;" property="username" /&gt;&lt;br&gt;&lt;br&gt;
      PassWord  &lt;html:password style="height:30px;width:300px;padding:10px;" property="password"/&gt;&lt;br&gt;&lt;br&gt;
      &lt;input type ="submit" value="Log in" /&gt;&lt;br&gt;&lt;br&gt;
      New User ? &lt;a href="signup.jsp"&gt;Signup&lt;/a&gt;
      &lt;/html:form&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>so this is giving me an error</p>
  
  <pre><code>org.apache.jasper.JasperException: /login.jsp (line: 44, column: 10) According to the TLD or the tag file, attribute name is mandatory for tag text
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
      org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237)
      org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:859)
      org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
      org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
      org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)
      org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
      org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
      org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2433)
      org.apache.jasper.compiler.Node$Root.accept(Node.java:474)
      org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1817)
      org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96)
  </code></pre>
  
  <p>Should i add anything more to the text tag? </p>