Cannot find bean testbean in any scope 
---------------------------------------

                 Key: WW-1987
                 URL: https://issues.apache.org/struts/browse/WW-1987
             Project: Struts 2
          Issue Type: Bug
          Components: Actions
            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