Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3072

Cannot find bean testbean in any scope

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Tag Libraries
    • None

    Description

      while populating values i am getting the following error. can any one help me.

      javax.servlet.jsp.JspException: Cannot find bean testbean in any scope
      at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:934)
      at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:225)
      at jsp_servlet._index._jsptag1(_index.java:171)
      at jsp_servlet._index._jsptag0(_index.java:143)
      at jsp_servlet._index._jspService(_index.java:109)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

      this is my jsp page

      <logic:iterate name="testform" property="filt" id="testbean"
      >
      <tr>
      <td align="middle"><bean:write name="testbean" property="rownum"/>.</td>

      <td><html:text name="testbean" styleClass="DashboardText"
      value="<bean:write name="testbean" property="fname"/>" size="30" /></td>

      <td><html:select name="testbean" property="fprop"
      styleClass="DashboardText">

      <html:option value="-1">Select Property....................</html:option>
      <html:optionsCollection value="value"
      label="label" />
      </html:select></td>

      <td><html:text name="testbean" property="furl"
      styleClass="DashboardText" size="50" /></td>

      <td align="middle"><html:checkbox name="testbean"
      property="factive" value="on" /> <input type="hidden"
      name="Sid1"></td>

      </tr>
      </logic:iterate>

      Attachments

        Activity

          People

            Unassigned Unassigned
            acme_sri sri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: