title: Struts html tags are not working
body: <p>I just tried to include a textbox in jsp page with struts provided tags. But it's behaving every typical.<BR></p>
  
  <h3>Working</h3>
  
  <p><code>&lt;html:text property="name" value=""&gt;&lt;/html:text&gt;</code><BR></p>
  
  <h3>Not Working</h3>
  
  <p><code>&lt;html:text property="name"&gt;&lt;/html:text&gt;</code><BR>
  So, with out property <code>'value'</code>, its not working. 
  Please help me guys.</p>
  
  <p>Note:
  Using <em>tomcat 6.0</em><br>
  bean, logics are working good and in html also most of them are working. radio, textarea, text are some which are causing issues.<br>
  <em>JSP FILE</em></p>
  
  <p><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1" 
      pageEncoding="ISO-8859-1"%&gt;</code> <BR> 
  <code>&lt;%@ taglib uri="http://struts.apache.org/tags-bean"  prefix="bean"  %&gt;</code> <BR> 
  <code>&lt;%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"  %&gt;</code> <BR> 
  <code>&lt;%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %&gt;</code> <BR> 
  <code>&lt;%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %&gt;</code> <BR> 
  <code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;</code> <BR> 
  <code>&lt;html&gt;</code> <BR> 
  <code>&lt;head&gt;</code> <BR> 
  <code>&lt;title&gt;Registration Form&lt;/title&gt;</code> <BR> 
  <code>&lt;/head&gt;</code> <BR> 
  <code>&lt;body&gt;</code> <BR> 
  <code>&lt;html:text property="name"&gt;&lt;/html:text&gt;</code> <BR> 
  <code>&lt;/body&gt;</code> <BR> 
  <code>&lt;/html&gt;</code> <BR></p>
  
  <pre><code>type Exception report
  
  message 
  
  description The server encountered an internal error () that prevented it from fulfilling this request.
  
  exception 
  
  org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 14
  
  11: &lt;title&gt;Registration Form&lt;/title&gt;
  12: &lt;/head&gt;
  13: &lt;body&gt;
  14: &lt;html:text property="name"&gt;&lt;/html:text&gt;
  15: &lt;/body&gt;
  16: &lt;/html&gt;
  
  
  Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  
  
  root cause 
  
  javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:79)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  
  
  root cause 
  
  javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
      org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:864)
      org.apache.struts.taglib.html.BaseFieldTag.prepareValue(BaseFieldTag.java:126)
      org.apache.struts.taglib.html.BaseFieldTag.renderInputElement(BaseFieldTag.java:102)
      org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:80)
      org.apache.jsp.index_jsp._jspx_meth_html_005ftext_005f0(index_jsp.java:96)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:69)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  
  
  note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
  
  
  --------------------------------------------------------------------------------
  
  Apache Tomcat/6.0.18
  </code></pre>