You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/27 07:35:45 UTC
[jira] Reopened: (STR-1346) Nested tags cannot find bean in any
scope in included JSP
[ http://issues.apache.org/struts/browse/STR-1346?page=all ]
David Evans reopened STR-1346:
------------------------------
Assign To: (was: Struts Developer Mailing List)
> Nested tags cannot find bean in any scope in included JSP
> ---------------------------------------------------------
>
> Key: STR-1346
> URL: http://issues.apache.org/struts/browse/STR-1346
> Project: Struts Action 1
> Type: Bug
> Components: Taglibs
> Versions: Nightly Build
> Environment: Operating System: other
> Platform: Other
> Reporter: elaine
> Priority: Critical
> Fix For: 1.1 Family
> Attachments: branchAdmin.jsp, branchRole.jsp
>
> This bug occurs after I upgraded from Struts 1.1 b2 to 1.1 RC, then to 1.1
> Nightly build 3-20 and 3-25 because I need the nightly build to fix the problem
> in 1.1 RC (Bug # 18066). Apparently, the nested:define issue in Bug # 18066 is
> resolved in the nightly builds.
> However, I ran into the exception below:
> javax.servlet.jsp.JspException: Cannot find bean OverviewForm in any scope
> at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:863)
> at org.apache.struts.taglib.logic.IterateTag.doStartTag
> (IterateTag.java:277)
> at org.apache.struts.taglib.nested.logic.NestedIterateTag.doStartTag
> (NestedIterateTag.java:116)
> at /jsp/overview/Borrowers.jsp._jspService
> (/jsp/overview/Borrowers.jsp.java:381) (JSP page line 23)
> After spending sometime on the problem, I noticed that the exception occured
> when the collection or bean using nested tag is referenced inside a included
> jsp page. If I move all included jsp into the main jsp (yes, I have a long jsp
> page), the problem seems to go away, meaning that the page can be displayed.
> However, the page won't be able to capture the newly entered information
> online, that is I cannot save the new information into database. Struts seems
> to not be able to identify the session information inside the nested tags. My
> trace shows the session keeps the old information even I change it online, so
> it simply saves in the old information.
> We heavily use nested tag in our application. This release has caused a major
> issue for us.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org