On 9/8/05, temp temp <[EMAIL PROTECTED]> wrote:
>   public class ServiceSelectionForm extends
> ActionForm {
> 
>    private AddressVO  addressVO;
>    public AddressVO getAddressVO() {
>        return addressVO;
>    }
>    public void setAddressVO(AddressVO addressVO) {
>        this.addressVO = addressVO;
>    }
>  }
> 
>  This is  AddressVO
> 
> 
> 
>  public class AddressVO {
>     private String state;
>     public String getState() {
>        return state;
>     }
>     public void setState(String state) {
>        this.state = state;
>     }
>  }

Just a wild guess, but, I suspect it would work if you renamed your
data member for the AddressVO class to something compliant with Java
Bean introspection expectations. For example:

  public class ServiceSelectionForm extends
ActionForm {

   private AddressVO  address;
   public AddressVO getAddress() {
       return address;
   }
   public void setAddress(AddressVO address) {
       this.address = address;
   }
 }

Of course, you would change your JSP reference to reflect this name
change like so too:

 <html:form    action="serviceSelection.do">
  <html:text  property="address.state"/>
  <html:submit property="NEWSEARCH" value="Submit"/>
 </html:form>

This may seem like a silly unnecessary change, but, the java bean
introspection mechanism doesn't respond favorably when you don't
strictly follow the firstLetterOnlyCapitalized data member names. At
least, that has been my experience.

Hope this helps, Van

-- 
- Mike "Van" Riper
  [EMAIL PROTECTED]

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

Reply via email to