Hi all,
I'm trying to create a link to an action using the Struts' html:link tag
like this:
<html:link action="getSearchResults" name="SearchActionForm"
scope="request">test2</html:link>
However when I load the jsp containing this l get the following
exception:
[ServletException
in:/WEB-INF/jsp/repository/collection-resource-search-results.jsp]
Cannot cast to Map for name=SearchActionForm property=null
scope=request'
When I disable the link and print some debug output from the
requestscope I get this:
request:
SearchActionForm=DynaActionForm[dynaClass=SearchActionForm,formFilledOut
=true,ftsQuery=,typeMappingId=,metadataFields={docato-title=,docato-modi
fier=},includeSchemaMappings={IModule},id=0,collectionUri=]
So there is a bean called SearchActionForm in the requestscope from the
class DynaActionForm which has a getMap() method returning a
java.util.Map.
Can someone please tell me what's causing this ServletException? I'm
using Struts 1.1 on Tomcat 5.0.19
Thanks in advance,
Jeroen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]