You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/15 23:42:04 UTC
DO NOT REPLY [Bug 31255] New: -
say in which scope searched when "No bean found under attribute key" is issued
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31255>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31255
say in which scope searched when "No bean found under attribute key" is issued
Summary: say in which scope searched when "No bean found under
attribute key" is issued
Product: Struts
Version: 1.1 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Unknown
AssignedTo: dev@struts.apache.org
ReportedBy: hauser@acm.org
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org