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=33122>.
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=33122





------- Additional Comments From [EMAIL PROTECTED]  2005-04-22 07:02 -------
Ok, that code was not copied from a running example, but the following is a
complete jsp that does compile and run:

<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>

Hello
<% pageContext.setAttribute("bean", ""); %>

<% java.util.Map map = new java.util.HashMap(); %>
<% map.put("id", new Integer(2)); %>
<% pageContext.setAttribute("map", map); %>

<html:link action="/doIt" name="map" paramId="id" paramName="bean"
paramProperty="bytes">Link</html:link>
...


There is the expected exception which is correctly traced when used without the
portalStruts framework:
[java/lang/Integer incompatible with [L]: java.lang.ClassCastException:
java/lang/Integer incompatible with [L
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.ClassCastException.<init>(ClassCastException.java:56)
        at ...

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to