Hello,
Thx Richerd you've pointed the right problem. Infact am using JBuilder
and it caches the compiled pakages. Now it's working as expected!
thank you all folks that replayed.

On 8/15/06, Richard Yee <[EMAIL PROTECTED]> wrote:
Make sure you don't have any old versions of your form bean in your
classpath or in old jar files from previous builds. From what you have
sent, things look correct and it should work. What tool are you using to
build? Are you using JDeveloper?

-Richard


Daoud Abdelmonem Faleh wrote:
> Hello folks,
>
> I use struts 1.2.9 and deploy to oc4j 10.1.3
>
> My struts-config.xml containes:
> ...
> <form-bean type="com.myapp.EditPersonneEtrangereForm"
> name="editPersonneEtrangereForm"/>
> ...
> <action input="/user/jsp/personneEtrangere/PersonneEtrangereDetails.jsp"
> type="com.myapp.EditPersonneEtrangere" validate="false"
> scope="request" path="/editPersonneEtrangere"
> name="editPersonneEtrangereForm">
>            <set-property property="cancellable" value="true"/>
>            <forward path="/listAllPersonneEtrangere.do" name="cancel"/>
>            <forward path="/listAllPersonneEtrangere.do" name="edited"/>
> </action>
> ...
>
> PersonneEtrangereDetails.jsp has:
> ....
> <html:form action="/editPersonneEtrangere.do">
> ....
> <td width="76%"><html:text styleClass="ReadOnlyTextField"
> property="perEtrDateNaissanceStr" onchange="isDate(this.value)"
> maxlength="10"/>
> ....
>
> public class EditPersonneEtrangereForm extends
> org.apache.struts.action.ActionForm {
> ....
> private Date perEtrDateNaissance;
> private String perEtrDateNaissanceStr;
> ...
>    public String getPerEtrDateNaissanceStr() {
>        return
> SQLDateConvertor.convertDateFormat(getPerEtrDateNaissance(),"dd/MM/yyyy");
>
>        //return perEtrDateNaissanceStr;
>    }
>
>    public void setPerEtrDateNaissanceStr(String perEtrDateNaissanceStr) {
>        this.perEtrDateNaissanceStr = perEtrDateNaissanceStr;
>        this.perEtrDateNaissance =
> SQLDateConvertor.convertToSqlDateFormat(perEtrDateNaissanceStr,"dd/MM/yyyy");
>
>    }
> ...
>
>
> When i request PersonneEtrangereDetails.jsp I get the followin exception
> javax.servlet.jsp.JspException: No getter method for property:
> "perEtrDateNaissanceStr" of bean:
> "com.myapp.EditPersonneEtrangereForm"
>
> What am I doing wrong or missing?
> Thanks folks.
>


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




--
"Le dieu n'est pas a craindre ; la mort ne donne pas de souci ; et
tandis que le bien est facile a obtenir, le mal est facile a
supporter."

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

Reply via email to