Re: Error from javax.servlet.ServletException: No getter method for property...

2004-05-17 Thread Daynell Trent
 Thanks Naveen for quick response.
It works after changing the property and its setter and getter methods from
aEndNpaNumber -> aendNpaNumber
getAEndNpaNumber -> getAendNpaNumber
setAEndNpaNumber -> setAendNpaNumber

but I still don't know why?



> - Original Message - 
> From: "Joshi, Naveen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, May 17, 2004 10:36 AM
> Subject: RE: Error from javax.servlet.ServletException: No getter method
for
> property...
>
>
> TRY changing the method name!!! this has worked for me... If it works then
> we can dig further on where the problem is? I had gone through this
before.
> Naveen
>
> -Original Message-
> From: Daynell Trent [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 17, 2004 11:28 AM
> To: Struts Users Mailing List
> Subject: Error from javax.servlet.ServletException: No getter method for
> property...
>
>
> I'm running struts 1.1 with weblogic 7.04.  I'm keep getting "No getter
> method for property aEndNpaNumber" but I've checked my ActionForm and it
> does has the getter and setter methods.  Does anyone know what I'm doing
> wrong.
>
> This is my custom form:
>
> package com.struts.RequestCriteriaForm;
>
> public class RequestCriteriaForm extends ActionForm {
>
> private String aEndNpaNumber;
>
> public String getAEndNpaNumber() {
>
> return aEndNpaNumber;
>
> }
>
> public void setAEndNpaNumber(String endNpaNumber) {
>
> aEndNpaNumber = endNpaNumber;
>
> }
>
> }
>
> Here is my jsp:
>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>
> 
>
> 
>
>  type="com..aca.struts.RequestCriteriaForm">
>
> A End NPA No.: 
>
> 
>
> 
>
> 
>
> 
>


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



Re: Error from javax.servlet.ServletException: No getter method for property...

2004-05-17 Thread Daynell Trent
sorry...mis type, here is the correct snippet of the code:

- Original Message - 
From: "Daynell Trent" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, May 17, 2004 10:28 AM
Subject: Error from javax.servlet.ServletException: No getter method for
property...


I'm running struts 1.1 with weblogic 7.04.  I'm keep getting "No getter
method for property aEndNpaNumber" but I've checked my ActionForm and it
does has the getter and setter methods.  Does anyone know what I'm doing
wrong.

This is my custom form:

package com.struts.RequestCriteriaForm;

public class RequestCriteriaForm extends ActionForm {

private String aEndNpaNumber;

public String getAEndNpaNumber() {

return aEndNpaNumber;

}

public void setAEndNpaNumber(String endNpaNumber) {

aEndNpaNumber = endNpaNumber;

}

}

Here is my jsp:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>







A End NPA No.: 










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



Error from javax.servlet.ServletException: No getter method for property...

2004-05-17 Thread Daynell Trent
I'm running struts 1.1 with weblogic 7.04.  I'm keep getting "No getter method for 
property aEndNpaNumber" but I've checked my ActionForm and it does has the getter and 
setter methods.  Does anyone know what I'm doing wrong.

This is my custom form:

package com.struts.RequestCriteriaForm;

public class RequestCriteriaForm extends ActionForm {

private String aEndNpaNumber;

public String getAEndNpaNumber() {

return aEndNpaNumber;

}

public void setAEndNpaNumber(String endNpaNumber) {

aEndNpaNumber = endNpaNumber;

}

}

Here is my jsp:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>







A End NPA No.: 










Use logic:equal tag to compare date?

2004-04-02 Thread Daynell Trent
Hi,
Does anyone ever use the  tag to compare a date value.  I can not get it 
to work because of the format that the Date object return.



How do I compare object properties using tag?

2004-04-02 Thread Daynell Trent
I have an object that I put in the session.  In my jsp, when I interate through a 
collection I want to test each object in the collection to see if it matches the 
session object.  Can this be done with the ?  If so, how do I specify 
which property to compare with.