struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject No getter method for property message
Date Thu, 07 Nov 2002 13:02:20 GMT
I'm tearing my hair off about this very strange
error message.

here it is.
javax.servlet.ServletException: No getter method for property targetDir of bean

I get it when my jsp  is called. it seems like my own form bean is not
recognized even when I do define all
thins in my config file.

here is the definition in the struts config file

<form-bean      name="readMailForm"

 <action    path="/initReception"
      <forward name="success"              path="/admReception.jsp"/>

the form bean class contains simple String attributes.

in my jsp, the form is defined like this :
 <html:form action="/filterMails">
     <html:hidden property="taskAction" value="save"/>
      <table border="0"  width="90%" align="center" CELLPADDING="0" CELLSPACING=
"1" border="0" cla"form">

               <tr height="40">
                    <td width="3%">&nbsp;</td>
                    <td><bean:message key="libelle.repertoire"/></td>
                         <html:text property="targetDir" size="30" maxlength=

when I call them in admReception.jsp, I get error message above saying that the
targetDir has no getter method. what' wrong.

I've searching the all archive list, but there is nothing similar to my problem.

if someone can help .


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message