In the struts-config I define the action like below
<action    path="/initSending"
          name="sendMailForm"
               type="com.bpam.mail.actions.CreateSendAction"
              scope="request"
           validate="false">
      <forward name="success"              path="/admSending.jsp"/>
    </action>



the form that is concerned in jsp is defined alike

 <form-bean      name="sendMailForm"
                    type="com.bpam.mail.forms.SendMailForm"/>

It seem like that no attribute of the form bean is identified in the jsp.

in the Create send action, I just call return the mapping defined in the config
file like this

forward = mapping.findForward("success");

          return forward;

can some one tells me why the jsp ignores my form bean

Meissa




ajTreece <[EMAIL PROTECTED]> on 06/11/2002 16:05:19

Veuillez répondre à "Struts Users Mailing List" <[EMAIL PROTECTED]>

Pour :    Struts Users Mailing List <[EMAIL PROTECTED]>
cc :
Objet :   Re: problem with html tags


Meissa....

Make sure that the jsp knows about the ActionForm. Check out the docs
for <html:form type=""  and  <html:form action""


Later, aj



[EMAIL PROTECTED] wrote:

>I have a strange problem in my jsp page .
>when I try to call html tag like this
>
><html:text property="mailBox" size="30" maxlength="50"/>
>
>I have the
>javax.servlet.ServletException: No getter method available for property mailBox
>for bean under name org.apache.struts.taglib.html.BEAN
>
>when a call the jsp.
>
>the property mailBox  is a private attribute of the concerned ActionForm.
>And the getter and setter exists .
>
>I really don't know why this happens .
>
>can someone helps
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>








--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to