You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Michael Jouravlev (JIRA)" <ji...@apache.org> on 2006/08/28 20:43:31 UTC
[jira] Closed: (STR-2211) [taglib] say in which scope searched when
"No bean found under attribute key" is issued, which tag, which jsp line
[ http://issues.apache.org/struts/browse/STR-2211?page=all ]
Michael Jouravlev closed STR-2211.
----------------------------------
Resolution: Won't Fix
Assignee: (was: Struts Developers)
Agree with Mike. Beans are searched in page->request->session->app sequence, same with JSTL. Closing with "Won't Fix".
> [taglib] say in which scope searched when "No bean found under attribute key" is issued, which tag, which jsp line
> ------------------------------------------------------------------------------------------------------------------
>
> Key: STR-2211
> URL: http://issues.apache.org/struts/browse/STR-2211
> Project: Struts 1
> Issue Type: Improvement
> Components: Unknown
> Affects Versions: 1.1 Final
> Environment: Operating System: other
> Platform: Other
> Reporter: Ralf Hauser
> Priority: Minor
>
> when having many tag references to a bean and one of them is tied to a wrong
> scope, it would be very helpful to say which scopes where searched when this
> happens. When the error message would name "session" where the bean was not
> found and all the other references do not specify a scope, it is much easier to
> know where the problem lies.
> javax.servlet.ServletException: No bean found under attribute key oneLoper
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
> org.apache.jsp.adminMoney_005fde_jsp._jspService(adminMoney_005fde_jsp.java:532)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause
> javax.servlet.jsp.JspException: No bean found under attribute key oneLoper
> org.apache.struts.taglib.logic.CompareTagBase.condition(CompareTagBase.java:221)
> org.apache.struts.taglib.logic.EqualTag.condition(EqualTag.java:90)
> org.apache.struts.taglib.logic.ConditionalTagBase.doStartTag(ConditionalTagBase.java:218)
> org.apache.jsp.adminMoney_005fde_jsp._jspx_meth_logic_equal_0(adminMoney_005fde_jsp.java:2343)
> org.apache.jsp.adminMoney_005fde_jsp._jspService(adminMoney_005fde_jsp.java:415)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
--
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