struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sri Sankaran" <>
Subject RE: [Repost] Cannot Cast to Map
Date Fri, 07 Mar 2003 15:27:23 GMT
The first test below the (extracted) nested classes from 1.1b3 
  in your WEB-INF/lib...

should read the (extracted) nested classes from 1.1b3 
  in your WEB-INF/classes...

-----Original Message-----
From: Sri Sankaran 
Sent: Friday, March 07, 2003 10:24 AM
To: Struts Users Mailing List
Subject: RE: [Repost] Cannot Cast to Map

  If the only thing that's changed is the version of Struts you are using, we can safely (?)
assume that there is no need to dig through the JSP.

  We can take a few gumshoe steps.  One at a time:

* Use 1.1rc1 but remove the nested classes from the jar and place
  the (extracted) nested classes from 1.1b3 in your WEB-INF/lib.
  In this manner you are using 1.1b3 version of nested but 1.1rc1
  for everything else.
* Place the updated nested jar that Arron had posted
  I don't know if this has made it into any of the recent nightlies.
  If you use this jar, you can simply put it along with the struts.jar
  in the WEB-INF/lib.  This jar will be loaded first (since k < s)
* Last, but not least, I don't know if there have been any *feature*
  enhancements since 1.1b3, and even if there *are*, if you are
  interested in them.  If push comes to shove -- as I sense it
  is -- just stick with what works: 1.1b3

  Hope this gets you going.


-----Original Message-----
From: Jerry Jalenak [] 
Sent: Friday, March 07, 2003 8:58 AM
To: ''
Subject: [Repost] Cannot Cast to Map

	I'm in dire need of some help on this.  I can't seem to figure out what has changed.  This
worked with a mid-Feb build of 1.1b3, but has quit working since I swapped in the 1.1rc1 build
from both 03/05 and 03/06. Please?  Anyone?



I'm getting the following message from the <nested> tags following conversion to the
1.1rc1 nightly build from 3/5:

	[ServletException in:/WEB-INF/tiles/membersolutions/menu.jsp] Cannot cast to Map for name=Authenticated_UserKey
property=null scope=null' 

The jsp looks like

<%@ taglib uri="/bean"		prefix="bean"		%>
<%@ taglib uri="/display"	prefix="display"	%>
<%@ taglib uri="/html"		prefix="html"		%>
<%@ taglib uri="/logic"		prefix="logic"		%>
<%@ taglib uri="/nested"	prefix="nested"	%>
<%@ taglib uri="/tiles"		prefix="tiles"		%>
<%@ page language="java" %>
<nested:root name="Authenticated_UserKey">
<table align="left" border=0 cellpadding=0 cellspacing=0 width=100%>
	<nested:iterate property="menu">
		<td align="left" valign="middle">
			<html:img align="absmiddle" border="0" src="/images/navButton.jpg"/>
		<td align="left" valign="middle">
			&nbsp;<span class="bodytextbold"><nested:write
			<nested:define id="lobName" property="lobName"/>
		<nested:iterate property="applicationMenu">
		<nested:define id="urlValue" property="url"/>
		<nested:define id="urlDescription" property="description"/>
		<td align="left" valign="middle">&nbsp;</td>
		<td align="left" valign="middle">
			<nested:link forward="<%= urlValue %>" paramId="lob" paramName="lobName" styleClass="bodytextsmall"
title="<%= urlDescription %>">
				<nested:write property="name"/>
	<tr><td colspan=2 height=15></td></tr>

Any ideas?



Jerry Jalenak
Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS  66219
(913) 577-1496

This transmission (and any information attached to it) may be confidential and is intended
solely for the use of the individual or entity to which it is addressed. If you are not the
intended recipient or the person responsible for delivering the transmission to the intended
recipient, be advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is strictly prohibited.
If you have received this transmission in error, please immediately notify LabOne at the following
email address:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message