tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35351] - Unable to reference nested/inner classes in <jsp:useBean> tags
Date Fri, 09 Dec 2005 02:42:25 GMT
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=35351>.
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=35351





------- Additional Comments From kin-man.chung@sun.com  2005-12-09 03:42 -------
There are 3 attributes (type, class, and beanName) in useBean that can
potentially specify an inner class.  The spec isn't clear if binary names
(containing $) or canonical names (uses .) should be used with these attributes.
 My guess is the "type" attribute is intended for specifying the type of the
variable, and should use canonical names.  The attributes "class" and "beanName"
are ientended for classLoaders etc, so they should use binary names.  The only
problem is when the "type" attribute is not specified, in which case the spec
says it should use the value for the "class" attribute.  Therefore there should
be a translation from the binary name to the canonical name here.

I'll see if I can find a way to fix this, in the mean time, use the following
workaround:

To specify an inner class in <jsp:useBean>, use both the "type" and "beanName"
attributes.  Use canonical names for the "type" attribute, and binary names for
the "beanName" attribute.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message