Hi,

I don't know if there is a way to tell Struts to give you an empty
ActionForm, I suspect not, but you can always do it yourself in your
Action:

if (actionForm == null) {
  actionForm = RequestUtils.createActionForm(request, mapping,
mapping.getModuleConfig(), getServlet());
}

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

On Mon, January 9, 2006 1:53 pm, Xavier Vanderstukken said:
> Sometimes in my application, I call an action by this way :
>
> <html:link action="/list.do" ................
>
> In this case the ActionForm received in my struts action is null, is it
> a way to obtain an empty form instead of a null form? (Of course not by
> using a html:form)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to