DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21067>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21067 tag file handler generation with array attributes Summary: tag file handler generation with array attributes Product: Tomcat 5 Version: 5.0.3 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have written a tag file with a attribute of string array. just like this: <%@ attribute name="columns" type="java.lang.String[]"%> I wrote a JSP file to invoke this tag file. the variable "columns" has been set. 1. <tags:test columns="<%= columns %>"/> When I pass attribute in the JSP file using scriptlet, it's ok. 2. <tags:test columns="{columns}"/> But when I pass attribute using EL, something will be wrong, The following is the error statement reported by japser compiler when compiling the JSP file: setColumns(([Ljava.lang.String;) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${columns}", [Ljava.lang.String;.class, (PageContext)pageContext, null, false)); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]