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=22077>. 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=22077 <bean:define> tag's type attribute's RT EXPR value Summary: <bean:define> tag's type attribute's RT EXPR value Product: Struts Version: 1.1 Final Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi: My JSP page looks like this: <STUFF> <bean:define id="pageBean" name="stmtPage" type="com.XXX.YYY.ZZZ.report.CCSalesSummaryPage"/> <STUFF> When I change the above to <STUFF> <% String s ="com.XXX.YYY.ZZZ.report.CCSalesSummaryPage"; %> <bean:define id="pageBean" name="stmtPage" type="<%=s%>"/> <STUFF> I get the following compile error: java.lang.ClassCastException: java.lang.Object at org.apache.struts.taglib.bean.DefineTei.getVariableInfo (DefineTei.java:87) at weblogic.servlet.jsp.StandardTagLib.getTagPageVars (StandardTagLib.java:517) at weblogic.servlet.jsp.StandardTagLib.genericStartBegin (StandardTagLib.java:574) at weblogic.servlet.jsp.StandardTagLib.processStartTag (StandardTagLib.java:691) at weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(JspLexer.java:2642) MY QUESTION: bean:define tld says that we can have RT EXPR value for type. Then, how come it gives this error? Thanks for your help. -Alok --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]