Re: null actionform returned by action servlet

2006-05-23 Thread I HARIKRISHNA
ur 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 > > acti

Re: null actionform returned by action servlet

2006-05-22 Thread Asif Saleem
n? 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 always returning NULL ActionForm to the Action

Re: null actionform returned by action servlet

2006-05-22 Thread Richard Yee
et is always returning NULL ActionForm to the Action class. Note that I am using the struts 1.0 framework in which the ActionServlet instantiates and populates the actionform. I have checked the struts-config.xml file many times and I see no problem there. Kindly help me to figure out where else ca

null actionform returned by action servlet

2006-05-22 Thread Asif Saleem
Hi, I am starting to use struts for my project. I have a proble that the action servlet is always returning NULL ActionForm to the Action class. Note that I am using the struts 1.0 framework in which the ActionServlet instantiates and populates the actionform. I have checked the struts

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()); } -- Fr

Null actionform

2006-01-09 Thread Xavier Vanderstukken
Sometimes in my application, I call an action by this way : 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) -