You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@bpam.fr on 2002/11/06 16:39:49 UTC
Réf. : Re: problem with html tags
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 <aj...@sun.com> on 06/11/2002 16:05:19
Veuillez répondre à "Struts Users Mailing List" <st...@jakarta.apache.org>
Pour : Struts Users Mailing List <st...@jakarta.apache.org>
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
meissa.Sakho@bpam.fr 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: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>