Re: null actionform returned by action servlet

2006-05-23 Thread I HARIKRISHNA
Use Cris Cross Debugging technique. ie:remove each entry in Strutsconfig and try to replace the formbean name in Struts config and test it like this Surely you will have atleast one Action mapping where you are not getting this exception .Take backup of that Strutsconfig and try to brea

Re: null actionform returned by action servlet

2006-05-22 Thread Asif Saleem
Hi Richard, Here is the action mapping from my struts-config file: I continue to get null action form from the action servlet. Regards On 5/23/06, Richard Yee <[EMAIL PROTECTED]> wrote: Asif, Do you have a name attribute set in your action definition? The na

Re: null actionform returned by action servlet

2006-05-22 Thread Richard Yee
Asif, Do you have a name attribute set in your action definition? The name attribute should be set to a form-bean name. Why don't you send your struts-config.xml file? -Richard Asif Saleem wrote: Hi, I am starting to use struts for my project. I have a proble that the action servlet is alw

Re: Null actionform

2006-01-09 Thread Frank W. Zammetti
Good catch Wendy! I jumped right to trying to get what he asked for and I didn't even stop to think about WHY he was getting it in the first place :( -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL

Re: Null actionform

2006-01-09 Thread Xavier Vanderstukken
Wendy Smoak wrote: On 1/9/06, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: Sometimes in my application, I call an action by this way : Null usually means no form bean is associated with the Action. What does the action mapping in struts-config.xml look like? -- Wendy -

Re: Null actionform

2006-01-09 Thread Wendy Smoak
On 1/9/06, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: > Sometimes in my application, I call an action by this way : > > > In this case the ActionForm received in my struts action is null, Null usually means no form bean is associated with the Action. What does the action mapping in struts-

Re: Null actionform

2006-01-09 Thread Frank W. Zammetti
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. Za