-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sateeshn,

Sateeshn wrote:
> Hi,
> I'm getting the following error when the form name is used in the action
> mapping.
> 
> However, its working fine if the name attribute is removed.

Usually, this is an indication that you have validation turned on, the
validation is failing, and the "input" attribute is not set (i.e. it's
NULL). That does not appear to be the case, here:

>     <action-mappings>
>         <action path="/viewAll"
>                 type="com.admin.DisplayAllAction"
>                 name="viewAllForm"
>                 scope="request">
>                 <forward name="success"
> path="/marketing/viewAllPromos.jsp"/>
>         </action>
>     </action-mappings>

Are you using Struts 2? If so, I don't understand how the validation
plays into S2 action flow, but is it possible that your validation is
failing and you therefore need an "input" attribute in your <action>
mapping?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGCR5G9CaO5/Lv0PARAvvCAKCS6CaIBOdphhL542XRGNkQEsabOQCePOIx
JO81sn4RwLsmcilY14tOZqg=
=fplp
-----END PGP SIGNATURE-----

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

Reply via email to