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

Reply via email to