[ 
https://issues.apache.org/struts/browse/STR-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Holmes moved WW-1987 to STR-3072:
---------------------------------------

    Component/s:     (was: Actions)
                 Taglibs
       Workflow: jira  (was: Struts)
            Key: STR-3072  (was: WW-1987)
        Project: Struts 1  (was: Struts 2)

> Cannot find bean testbean in any scope 
> ---------------------------------------
>
>                 Key: STR-3072
>                 URL: https://issues.apache.org/struts/browse/STR-3072
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Taglibs
>            Reporter: sri
>
>   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._jsp__tag1(__index.java:171) 
> at jsp_servlet.__index._jsp__tag0(__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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to