RE: action mapping question

2002-08-30 Thread Trieu, Danny
1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it throw the exception Because you have the input attribute setting. With this setting the controller makes assumsion that your mapping

Re: action mapping question

2002-08-30 Thread Darren McGuinness
1) I dont need a logoff form, but if i dont have one then i get errors of type: form bean null. 2) 1.0 Trieu, Danny wrote: 1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it

Re: action mapping question

2002-08-30 Thread Darren McGuinness
this error to be exact javax.servlet.ServletException: Cannot retrieve definition for form bean null Trieu, Danny wrote: 1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it throw the

RE: action mapping question

2002-08-30 Thread Trieu, Danny
:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:24 AM To: Struts Users Mailing List Subject: Re: action mapping question 1) I dont need a logoff form, but if i dont have one then i get errors of type: form bean null. 2) 1.0 Trieu, Danny wrote: 1) why would you need a logoff form? 2) what

RE: action mapping question

2002-08-30 Thread Bartley, Chris P
You shouldn't have to have a form bean. Here's the global forward I use for the logout action: forward name=forward.logout path=/exec/logout/ Here's my action mapping for my logout action (Struts 1.0.2, with Tiles): action path=/logout

Re: action mapping question

2002-08-30 Thread Ted Husted
The html:form tag expects there to be a ActionForm bean associated with the form. If you are using a button-only form, you still need to provide an ActionForm bean, even if it is an empty implementation. I generally keep one of these in my Struts toolkit to use throughout an application. Or,