You might want to take a look at the Java Code Conventions. Also, just
use a String for the getters and setters, you don't need to use a String
array.

http://java.sun.com/docs/codeconv/

On Fri, 2003-06-06 at 08:22, Sashi Ravipati wrote:
> Hi
> 
> I get the following error when the jsp page is displayed after the
> validation fails (Validation errros are all working fine)
> 
> [Ljava.lang.String;@d23.
> 
> This happens when I am passing values to a String Array. eg: .jsp I have
> 
> 
> <html:text property="firstName"  />
> 
> These are my set and get methods in my ActionForm
> 
> private String [] FirstName=null;
> 
> public String[] getfirstName(){
>     return FirstName;
>   }
> 
>   public void setfirstName(String[] newName){
>     FirstName = newName;
>   }
> 
> It works fine when I use String but returns jusn when using String
> array. The values are being set correctly when I ran in debug mode.
> 
> Is this a bug??
> 
> Thanks



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

Reply via email to