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:[EMAIL PROTECTED]]
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&amp;action=find&amp;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.
----------------------
[EMAIL PROTECTED]
Mallorca, 275, 1r 2a
08008 BARCELONA
T. (+34) 93 215 21 91
F. (+34) 93 215 41 21


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to