Hi, Senthil. if you don't set initial values for fields you declare, they are initialized as mentioned in java specification. you can check at http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.12.5 so, long productId; long productId = 0; are the same. String abc; String abc = null; are the same. these are not struts specifc. are you talking about anything struts-specific thing such as ActionForm? regards ichy
- Re: Struts how initialises the value ichy
- RE: Struts how initialises the value raghavendra
- Re: Struts how initialises the value senthil Kumar