struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Raman <>
Subject Re: action class perform method
Date Fri, 16 Mar 2001 05:40:39 GMT
hi guys
Definitly u can use the perform method without the ActionForm parameter.
A null will be passed as the ActionForm parameter if the Action configuration directive in
struts-config.xml file doesnt contain a "name" attribute

Hope this helps

On Wed, Mar 14, 2001 at 10:56:16AM -0500, Puneet Vardhan wrote:
>  Method 'perform'  in action class needs ActionForm as one of the
>parameters. I dont have a form and I dont need one as I just need to call
>perform method
> from a url . 
>	like <a href="" ...
>Can I use perform method and ActionMapping inside perfom without having
>ActionForm class?	
> Thanks

View raw message