struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sri Sankaran" <Sri.Sanka...@sas.com>
Subject RE: [Repost] Cannot Cast to Map
Date Fri, 07 Mar 2003 15:27:23 GMT
The first test below 

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

should read

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

Sri
-----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


Jerry:
  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 
  http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar
  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.

Sri

-----Original Message-----
From: Jerry Jalenak [mailto:Jerry.Jalenak@LABONE.com] 
Sent: Friday, March 07, 2003 8:58 AM
To: 'struts-user@jakarta.apache.org'
Subject: [Repost] Cannot Cast to Map


<begging>
	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?

</begging>

<repost>

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">
	<tr>
		<td align="left" valign="middle">
			<html:img align="absmiddle" border="0" src="/images/navButton.jpg"/>
		</td>
		<td align="left" valign="middle">
			&nbsp;<span class="bodytextbold"><nested:write
property="applicationMenuHeading"/></span>
			<nested:define id="lobName" property="lobName"/>
		</td>
	</tr>
		<nested:iterate property="applicationMenu">
		<nested:define id="urlValue" property="url"/>
		<nested:define id="urlDescription" property="description"/>
	<tr>
		<td align="left" valign="middle">&nbsp;</td>
		<td align="left" valign="middle">
			&nbsp;
			<nested:link forward="<%= urlValue %>" paramId="lob" paramName="lobName" styleClass="bodytextsmall"
title="<%= urlDescription %>">
				<nested:write property="name"/>
			</nested:link>
		</td>
	</tr>
		</nested:iterate>
	<tr><td colspan=2 height=15></td></tr>
	</nested:iterate>
</table>
</nested:root>


Any ideas?

</repost>

TIA.

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

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: securityincidentreporting@labone.com



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message