Re: null actionform returned by action servlet

2006-05-24 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 break it up as 
said above .You your self can do it

Asif Saleem [EMAIL PROTECTED] wrote:
  Hi Richard,

Here is the action mapping from my struts-config file:

type=websams.web.pft.AddPFTActivityForm/


type=websams.web.pft.AddPFTActivityAction
name=addPFTActivityForm
scope=request
validate=false
input=/jsp/pft/pftActivityDetail2.jsp 





I continue to get null action form from the action servlet.

Regards




On 5/23/06, Richard Yee wrote:

 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 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 can the problem be.
 
  Thanks
 


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





-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

Re: null actionform returned by action servlet

2006-05-23 Thread Asif Saleem

Hi Richard,

Here is the action mapping from my struts-config file:

form-bean name=addPFTActivityForm
  type=websams.web.pft.AddPFTActivityForm/


action path=/pft/AddPFTActivity
   type=websams.web.pft.AddPFTActivityAction
   name=addPFTActivityForm
   scope=request
   validate=false
   input=/jsp/pft/pftActivityDetail2.jsp 
   forward name=view path=/jsp/pft/pftActivityDetail2.jsp/
   forward name=add  path=/jsp/pft/pftActivityList.jsp/

/action

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 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 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 can the problem be.

 Thanks



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




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-config.xml file many times and I see no problem
there. Kindly help me to figure out where else can the problem be.

Thanks


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 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 can the problem be.

Thanks




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