You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hirschmann, Bernhard" <Be...@t-systems.com> on 2003/02/21 17:10:35 UTC
AW: error in the attribute input of actionmapping when accesing a
globalforward
Hey Ferran,
I think the problem is the path you're using:
/do/admin/AdminPreCreateUserentity=rol&action=find&reference=rol
The syntax is not correct. I can't see where the URI ends and the arrtibutes
start, but a correct syntax would be:
/admin/ActionName.do?attribute1=value&attribute2=anothervalue
So you at least miss the "?"
Bernhard
-----Ursprüngliche Nachricht-----
Von: Ferran Parra [mailto:ferran_p@mubimedia.com]
Gesendet: Freitag, 21. Februar 2003 16:49
An: Struts Users Mailing List
Betreff: error in the attribute input of actionmapping when accesing a
globalforward
Hi all,
I have the globalforward in the property input of the one action in
action-mapping, i configure this in the controller in the struts-config.xml
file in the struts1.1b3
in the struts-config.xml i have:
<controller
inputForward="true"
nocache="true"
locale="true"/>
and in one actionmapping in the input attribute i refer a global forward:
<global-forwards>
...
<forward name="adminCreateUser"
path="/do/admin/AdminPreCreateUserentity=rol&action=find&reference=r
ol" />
...
</global-forwards>
<action-mappings>
...
<!-- AdminCreateUser -->
<action path="/admin/AdminCreateUser"
type="com.mubimedia.project.struts.action.AdminAction"
input="adminCreateUser"
name="userForm"
scope="request"
validate="true"
>
<forward name="success" path=".admin.index.page" />
</action>
...
</action-mappings>
then the error ocurr when i have redirect to input attribute of
AdminCreateUser actionmapping. the tomcat says:
type Status report
message /adminCreateUser
description The requested resource (/adminCreateUser) is not available.
any idea??? thanks
Ferran Parra
Departament de Noves Tecnologies
MUBIMEDIA S.L.
----------------------
ferran_p@mubimedia.com
Mallorca, 275, 1r 2a
08008 BARCELONA
T. (+34) 93 215 21 91
F. (+34) 93 215 41 21
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org