alesj
Mar 21st, 2006, 12:58 PM
What's the easiest way to get your command bean bound with uppercase name params from request?
ex.
My class MCommand has confirmationID field. With normal getter and setter - getConfirmationID() & setConfirmationID(String cID).
How do I get the command object being filled when my param name is ...&ConfirmationID=mc123.
How come it works when whole name is in upper case and getters and setters also.
public int getTARIFFICATIONERROR() {
return tarifficationError;
}
public void setTARIFFICATIONERROR(int tarifficationError) {
this.tarifficationError = tarifficationError;
}
&ConfirmationID=EnPortal12&TARIFFICATIONERROR=2&Price=1000
Rgds, Ales
ex.
My class MCommand has confirmationID field. With normal getter and setter - getConfirmationID() & setConfirmationID(String cID).
How do I get the command object being filled when my param name is ...&ConfirmationID=mc123.
How come it works when whole name is in upper case and getters and setters also.
public int getTARIFFICATIONERROR() {
return tarifficationError;
}
public void setTARIFFICATIONERROR(int tarifficationError) {
this.tarifficationError = tarifficationError;
}
&ConfirmationID=EnPortal12&TARIFFICATIONERROR=2&Price=1000
Rgds, Ales